From 6d5f581bc8af039fa620a25dccd05886207269e9 Mon Sep 17 00:00:00 2001 From: Nishant Panwar Date: Fri, 3 Jan 2025 12:16:52 +0000 Subject: [PATCH 1/4] Remove SystemUITitan from SPEED apps We are switching SystemUI from speed compilation to profile guided compilation on Pixel devices. This change removes the SystemUITitan from the list of speed apps and enables profile guided compilation in dexpreopt. Bug: 271887637, 381463273 Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE Test: Locally built and flashed on device. Verifed the compilation mode in dexpreopt. Change-Id: I0dbf43f9acda3c7dfe4a05c24c2775f283f99c7f --- device-tangorpro.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device-tangorpro.mk b/device-tangorpro.mk index 9670b84..8645ce4 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -71,7 +71,9 @@ include device/google/tangorpro/uwb/uwb_calibration.mk endif # Preopt SystemUI +ifneq ($(RELEASE_SYSTEMUI_USE_SPEED_PROFILE), true) PRODUCT_DEXPREOPT_SPEED_APPS += SystemUITitan # For tablet +endif # Touch files PRODUCT_COPY_FILES += \ From 7f7ddfbc45d6e411168e42d09cce42c36781a631 Mon Sep 17 00:00:00 2001 From: guibing Date: Mon, 3 Feb 2025 19:28:39 +0000 Subject: [PATCH 2/4] ADPF:tangorpro: remove unused adpf profiles. Bug: 393196667 Test: adb shell dumpsys android.hardware.power.IPower/default Flag: NONE powerhal doesn't have a flag yet Change-Id: I318e0bcd7b8bed396526b209e73872874a95412d --- powerhint.json | 72 -------------------------------------------------- 1 file changed, 72 deletions(-) diff --git a/powerhint.json b/powerhint.json index 973cd0c..5f07863 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1991,78 +1991,6 @@ "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 - }, - { - "Name": "UiHighBoostWithoutPid", - "PID_On": false, - "PID_Po": 0, - "PID_Pu": 0, - "PID_I": 0, - "PID_I_Init": 0, - "PID_I_High": 0, - "PID_I_Low": 0, - "PID_Do": 0, - "PID_Du": 0, - "SamplingWindow_P": 1, - "SamplingWindow_I": 1, - "SamplingWindow_D": 1, - "UclampMin_On": true, - "UclampMin_Init": 250, - "UclampMin_High": 197, - "UclampMin_Low": 197, - "UclampMax_EfficientBase": 500, - "UclampMax_EfficientOffset": 200, - "ReportingRateLimitNs": 1, - "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 - }, - { - "Name": "UiLowBoostWithoutPid", - "PID_On": false, - "PID_Po": 0, - "PID_Pu": 0, - "PID_I": 0, - "PID_I_Init": 0, - "PID_I_High": 0, - "PID_I_Low": 0, - "PID_Do": 0, - "PID_Du": 0, - "SamplingWindow_P": 1, - "SamplingWindow_I": 1, - "SamplingWindow_D": 1, - "UclampMin_On": true, - "UclampMin_Init": 250, - "UclampMin_High": 53, - "UclampMin_Low": 53, - "UclampMax_EfficientBase": 500, - "UclampMax_EfficientOffset": 200, - "ReportingRateLimitNs": 1, - "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 - }, - { - "Name": "UiLowNoneBoost", - "PID_On": false, - "PID_Po": 0, - "PID_Pu": 0, - "PID_I": 0, - "PID_I_Init": 0, - "PID_I_High": 0, - "PID_I_Low": 0, - "PID_Do": 0, - "PID_Du": 0, - "SamplingWindow_P": 1, - "SamplingWindow_I": 1, - "SamplingWindow_D": 1, - "UclampMin_On": true, - "UclampMin_Init": 250, - "UclampMin_High": 0, - "UclampMin_Low": 0, - "UclampMax_EfficientBase": 500, - "UclampMax_EfficientOffset": 200, - "ReportingRateLimitNs": 1, - "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 } ] } From 0d66d11b31c1027c3c5fa01036e21caf14559962 Mon Sep 17 00:00:00 2001 From: guibing Date: Mon, 3 Feb 2025 19:33:06 +0000 Subject: [PATCH 3/4] ADPF:tangorpro: use tagged ADPF profile for SYSTEM_UI. - Add a event node for SYSTEM_UI; - Add a separate SYSTEM_UI profile. Bug: 393196667 Test: adb shell dumpsys android.hardware.power.IPower/default Flag: NONE powerhal doesn't have a flag yet Change-Id: Iac35bf28d85b608c7949e4caeec49942f2787373 --- powerhint.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/powerhint.json b/powerhint.json index 5f07863..16bd4db 100644 --- a/powerhint.json +++ b/powerhint.json @@ -722,6 +722,16 @@ ], "DefaultIndex": 0, "ResetOnInit": true + }, + { + "Name": "SYSTEM_UI_ADPF_PROFILES", + "Path": ":SYSTEM_UI", + "Values": [ + "SYSTEM_UI_PROFILE" + ], + "DefaultIndex": 0, + "ResetOnInit": true, + "Type": "Event" } ], "Actions": [ @@ -1991,6 +2001,42 @@ "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 + }, + { + "Name": "SYSTEM_UI_PROFILE", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.0, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Init": 182, + "UclampMin_LoadUp": 730, + "UclampMin_LoadReset": 730, + "UclampMin_High": 514, + "UclampMin_Low": 2, + "UclampMax_EfficientBase": 500, + "UclampMax_EfficientOffset": 200, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 15.0, + "HeuristicBoost_On": true, + "HBoostModerateJankThreshold": 2, + "HBoostOffMaxAvgDurRatio": 4.0, + "HBoostSevereJankPidPu": 0.5, + "HBoostSevereJankThreshold": 8, + "HBoostUclampMinCeilingRange": [480, 722], + "HBoostUclampMinFloorRange": [230, 410], + "JankCheckTimeFactor": 1.2, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 } ] } From 460aea1f1c8280b1d7600fb099f18914351f8f0f Mon Sep 17 00:00:00 2001 From: Devin Moore Date: Wed, 5 Feb 2025 21:48:42 +0000 Subject: [PATCH 4/4] Remove old unused VINTF manifest file This file is out of date and unused, so remove it. It's targeting Android R FCM and declaring old HIDL versions of HALs that these devices do not use. Test: m Bug: 388074589 Change-Id: I8c310be86aa6765f45415a903ce3a01780449f84 --- aosp_tangorpro.mk | 3 -- manifest.xml | 125 ---------------------------------------------- 2 files changed, 128 deletions(-) delete mode 100644 manifest.xml diff --git a/aosp_tangorpro.mk b/aosp_tangorpro.mk index d09cd8f..e5dcc8b 100644 --- a/aosp_tangorpro.mk +++ b/aosp_tangorpro.mk @@ -29,6 +29,3 @@ PRODUCT_DEVICE := tangorpro PRODUCT_MODEL := AOSP on Tangorpro PRODUCT_BRAND := Android PRODUCT_MANUFACTURER := Google - -DEVICE_MANIFEST_FILE += \ - device/google/tangorpro/manifest.xml diff --git a/manifest.xml b/manifest.xml deleted file mode 100644 index a31c2c0..0000000 --- a/manifest.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - android.hardware.audio - hwbinder - 7.0 - - IDevicesFactory - default - - - - android.hardware.audio.effect - hwbinder - 7.0 - - IEffectsFactory - default - - - - android.hardware.soundtrigger - hwbinder - 2.3 - - ISoundTriggerHw - default - - - - android.hardware.media.omx - hwbinder - 1.0 - - IOmx - default - - - IOmxStore - default - - - - android.hardware.graphics.allocator - hwbinder - 4.0 - - IAllocator - default - - - - android.hardware.graphics.composer - hwbinder - 2.4 - - IComposer - default - - - - android.hardware.renderscript - passthrough - 1.0 - - IDevice - default - - - - android.hardware.dumpstate - hwbinder - 1.1 - - IDumpstateDevice - default - - - - android.hardware.bluetooth.audio - hwbinder - 2.1 - - IBluetoothAudioProvidersFactory - default - - - - android.hardware.boot - hwbinder - @1.2::IBootControl/default - - - android.hardware.neuralnetworks - hwbinder - @1.3::IDevice/google-edgetpu - - - android.hardware.health - hwbinder - 2.1 - - IHealth - default - - - - hardware.google.bluetooth.sar - hwbinder - 1.1 - - IBluetoothSar - default - - - - vendor.google.whitechapel.audio.audioext - hwbinder - 2.0 - - IAudioExt - default - - - -