- These values were tested thoroughly on sm6150ac and sm7150.
Change-Id: I87deda9500237ce70a1411f830a3a872ad648e45
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This feature replaces IOP on the new perf stack.
Change-Id: I7b3513fa56c7b6f7ffd70022f8f09b8ad77a962b
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
W idmap2d : failed to parse idmap header of '/data/resource-cache/product@overlay@CellBroadcastReceiverResCommon_Sys.apk@idmap'
W idmap2d : failed to find resource 'bool/show_brazil_settings'
W idmap2d : failed to find resource 'bool/show_cmas_settings'
W idmap2d : failed to find resource 'bool/show_etws_settings'
[1]: 8c8a0f6cb9
[2]: cd2acb4d28
[3]: 107da0f351
Change-Id: Ic08d87724e7943fc20066da019ddca4e44da44ab
- For modemless qultivate targets, stop the qcrild and make
ro.vendor.radio.noril property to yes
Change-Id: I111fa5cabc8524ee76a5c5c8c6449b77d1ff6874
CRs-Fixed: 3694884
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
These may be common at some point, but for now, with
later SoCs using work durations and that changing
the values on all target versions, we'll leave them
separate for now. Putting them in device common rather than
vendor common allows us to modify as needed.
Change-Id: Ia9007b6db3ab5de49a23b0da10eecba0515872c2
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
- This reverts commit e4163edba7 as it is incorrect.
- It causes sideload to fail with kPostinstallRunnerError on a msmsteppe device.
- UFS sysfs nodes are labeled properly in sepolicy_vndr as vendor_sysfs_scsi_target and should be left as is.
- Labeling it incorrectly in qcom/common essentially causes update_engine_sideload to get a SELinux denial;
- when trying to search the UFS sysfs nodes with vendor_sysfs_mmc_host.
- The correct fix is to revert this as it was not needed to begin with.
Test: Build, sideload and check whether kPostinstallRunnerError occurs.
Change-Id: Ic15740660f123eefce22515e5ddafb5959c1fb4d
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This reverts commit 325222637d.
Reason for revert: Doesn't work (incorrect syntax), and this is already handled since long:
5edbd92a38/media/libmedia/MediaProfiles.cpp (L1156)
ro.media.xml_variant.codecs is set by media init scripts.
Change-Id: I8daf68b3fb5ca5e67df5010cac1428734ec74731
As part of changing scheduling policy of a process given its pid,
required the permissions mentioend.
Change-Id: I00d2c49a6bbb9168cd192ce398bf26104f5ff09e
Imported changes from: https://github.com/AOSPA/android_device_qcom_sepolicy_vndr uvite branch
Commits to be picked manually:
* Added sepolicy rules to access qfprom0 nodes (most probably not needed for this super legacy device)
Manual changes made:
* Removed "vendor_" prefix on some rules
* The counterpart of vendor_sysfs_mpctl in sepolicy legacy is sysfs_mpdecision
* Removed some sepol rules that has needed changes outside of hal_perf_default.te
* Changed vendor_hal_mem_pasrmanager to hal_pasrmanager_memory (might be correct)
Change-Id: Iab1aa42ca7e8af3a1e9b20a321f80fe487426518
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
Qualcomm labels all the DCVS/devfreq nodes in SoC policies. Instead of maintaining it every tag/SOC update, keep it in sepolicy_vndr to avoid conflicts and errors. This fixes high battery drain and performance issues by allowing the correct values to be set in init scripts. If SoC SEPolicies are broken, we can fix them rather than moving to common. These nodes differ a lot by platform, which makes common policies not particularly useful.
This reverts commit 9817d1f368.
Change-Id: Ifc22d9baaed8ed353987c95f79c87ec71d972bc5
[1] - Qualcomm has many platforms with several variants of the same SoC, and in general media_profiles_vendor is only used for the platform's main SoC, so allow an override of this in the device tree.
[2] - We could use an override prop in ODM and functions, but this causes double definition recording in the logs, so in SYSTEM_EXT it seems better for now
Change-Id: Ide473af87ae228aa99e0e5702d5cb3638ec2f495
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
- Needed for mediaserver to work on 64bit-only with google modules
Change-Id: I30d86f91ae6c00b3bb53910258380e808d96b38d
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Remove the option to register HIDL service for
wpa_supplicant with a separate instance(wigigsvc).
Change-Id: I953b7d69e7dcaff83cadd9a55f3b76ab2a1216f3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
To disable cdsp daemon by checking value of node
fastrpc_cdsp_status which is set after checking if
NSP is defective.
Acked-by: Ansa Ahmed <quic_ansa@quicinc.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Change-Id: I8f197c46d6cedb64a58ae49d0a5120c8a78e533f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
* While new sepolicy rules are working for AIDL, it might break for HIDL so restore to be safe.
This partially reverts commit b5d53449ab.
Change-Id: I3973e84c01d1a4ef403c5be07dd29b0977469b76
Workload Classifier spams the database errors
below on Android 14 QPR1.
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: WLCHGC.packagename (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:961)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1870)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1739)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at com.qualcomm.qti.workloadclassifier.WLCDBHelper.insertData(WLCDBHelper.java:110)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at com.qualcomm.qti.workloadclassifier.ApkDataExtractor.initADEDb(ApkDataExtractor.java:859)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at com.qualcomm.qti.workloadclassifier.ApkDataExtractor.scannerFunc(ApkDataExtractor.java:611)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at com.qualcomm.qti.workloadclassifier.ApkDataExtractor.ScanAllApps(ApkDataExtractor.java:657)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at com.qualcomm.qti.workloadclassifier.WLCService$1.handleMessage(WLCService.java:168)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.os.Handler.dispatchMessage(Handler.java:106)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.os.Looper.loopOnce(Looper.java:205)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.os.Looper.loop(Looper.java:294)
12-25 01:48:32.639 7029 9646 E SQLiteDatabase: at android.os.HandlerThread.run(HandlerThread.java:67)
Change-Id: I6e418cd6fefbb5ba4f14964878ae4340a11b34af