sdm710-common: Disable IOP and PERF HAL

* also revert 56f6504f61, eb7a690439, d5cb550169
 * in the favour of power-libperfmgr
 * also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2020-05-13 17:04:54 +05:30 committed by GiaSen
parent fdda56ab6d
commit 2d90abaa7c
5 changed files with 7 additions and 67 deletions

View file

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is PerfConfigsStore file which returns the value when a
particular property name is invoked -->
<!-- This file supports only Prop tag, which has the following fields
* Name, to identify the name of the property. The names of the
properties have been classified into Vendor and System property.
* Value, the new value to be returned as string when respective
property Name is called. -->
<PerfConfigsStore>
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="vendor.iop.enable_iop" Value="1" />
<Prop Name="vendor.perf.iop_v3.enable" Value="1" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="38" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="ro.vendor.iocgrp.config" Value="1" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
</PerfConfigs>
</PerfConfigsStore>

View file

@ -100,14 +100,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.build.fingerprint=google/flame/flame:10/QQ2A.200501.001.A3/6353761:user/release-keys
# QTI Performance
PRODUCT_BOOT_JARS += \
QPerformance \
UxPerformance
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/perfconfigstore.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/perf/perfconfigstore.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)

View file

@ -18,27 +18,6 @@ lib/libmmparser_lite.so
lib/libOmxMux.so
lib64/libmmosal.so
# Perf
bin/perfservice
etc/init/perfservice.rc
-framework/QPerformance.jar
-framework/UxPerformance.jar
lib/libqti-at.so
lib/libqti-iopd-client_system.so
lib/libqti-util_system.so
lib/libqti_performance.so
lib/libqti-perfd-client_system.so
lib64/libqti-at.so
lib64/libqti_performance.so
lib64/libqti-perfd-client_system.so
lib64/libqti-iopd-client_system.so
lib64/libqti-util_system.so
lib64/libqti_workloadclassifiermodel.so
product/lib/vendor.qti.hardware.iop@2.0.so
product/lib/vendor.qti.hardware.perf@2.0.so
product/lib64/vendor.qti.hardware.iop@2.0.so
product/lib64/vendor.qti.hardware.perf@2.0.so
# Power-off alarm
-product/app/PowerOffAlarm/PowerOffAlarm.apk

View file

@ -68,3 +68,9 @@ service cvphalservice /system/bin/true
service vendor.power-hal-1-0 /system/bin/true
disabled
service iop-hal-2-0 /system/bin/true
disabled
service perf-hal-2-0 /system/bin/true
disabled