Heuristic boost will adjust the ADPF boost profile when the
powerhal detects the power session is very janky, providing more
boost for deadline sensitive threads managed in the session.
Bug: 341111433
Test: adb shell dumpsys android.hardware.power.IPower/default;
check the device adpf sessions' traces.
Change-Id: I850a5e9e2132c0f62097f41cc77e81d1ff6986f0
Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.
Additionally, due to ag/27170563, a common inheritance layer has been
added to all `non-factory` products. Therefore, setting different
`PRODUCT_SOONG_NAMESPACES` in the corresponding `<DEVICE>_generic.mk`
and `factory_<DEVICE>.mk` files will allow factory products and
non-factory products to use different preloaded_nanoapps.json.
Bug: 338005353
Test: 1. lunch <product_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the <device_name> version.
3. lunch factory_<device_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the factory version.
Change-Id: Ie4551fc30c75a401a615a729e651949696117352
Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.
Additionally, due to ag/27170565, ag/27170566, a common inheritance
layer has been added to all `non-factory` products. Therefore, setting
different `PRODUCT_SOONG_NAMESPACES` in the corresponding
`<DEVICE>_generic.mk` and `factory_<DEVICE>.mk` files will allow
factory products and non-factory products to use different
preloaded_nanoapps.json.
Bug: 338332183
Test: 1. lunch <product_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the <device_name> version.
3. lunch factory_<device_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the factory version.
Change-Id: I97798f0e7876ceb016a31f7da74508fe5a701915
Add an additional layer of inheritance for `aosp_raven`,
`aosp_raven_64`, `aosp_raven_pkvm`, `aosp_raven_pgagnostic_64`,
`aosp_raven_hwasan`, and `aosp_raven_61`.
This change adds a common layer of inheritance for non-factory
products (raven_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `raven` products now inherits from
`device/google/raviole/raven_generic.mk` which inherit from
`device/google/raviole/device-raven.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338005353
Test: lunch aosp_raven-trunk_staging-userdebug && m
lunch aosp_raven_64-trunk_staging-userdebug && m
lunch aosp_raven_pkvm-trunk_staging-userdebug && m
lunch aosp_raven_pgagnostic_64-trunk_staging-userdebug && m
lunch aosp_raven_hwasan-trunk_staging-userdebug && m
lunch aosp_raven_61-trunk_staging-userdebug && m
Change-Id: Id5faed5a4be4c6480ee64654203d7f7e840c5c23
Add an additional layer of inheritance for `aosp_whitefin`,
`aosp_whitefin_64`, `aosp_whitefin_pkvm`, and `aosp_whitefin_hwasan`.
This change adds a common layer of inheritance for non-factory
products (whitefin_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `whitefin` products now inherits from
`device/google/raviole/whitefin_generic.mk` which inherit from
`device/google/raviole/device-whitefin.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338332183
Bug: 338332464
Test: lunch aosp_whitefin-trunk_staging-userdebug && m
lunch aosp_whitefin_64-trunk_staging-userdebug && m
lunch aosp_whitefin_pkvm-trunk_staging-userdebug && m
lunch aosp_whitefin_hwasan-trunk_staging-userdebug && m
Change-Id: I151d3e59141e566fad54f62ac01ab4372522fd5f
Add an additional layer of inheritance for `aosp_slider`,
`full_slider`, and `aosp_slider_hwasan`.
This change adds a common layer of inheritance for non-factory
products (slider_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `slider` products now inherits from
`device/google/raviole/slider_generic.mk` which inherit from
`device/google/raviole/device-slider.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338332183
Bug: 338333277
Test: lunch aosp_slider-trunk_staging-userdebug && m
lunch full_slider-trunk_staging-userdebug && m
lunch aosp_slider_hwasan-trunk_staging-userdebug && m
Change-Id: If0bbcdf2d4de3c2eca14e514b863f7416ef12e45
Add the "UclampMax_Efficient" value to the ADPF config in the
powerhint.json in order to allow efficient core scheduling for this
device.
Bug: 277285195
Test: manual
Change-Id: I3435eb6fce99afe732623dec813311a19623fde6