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/27690356 and ag/27683070 a common inheritance layer has been added to all `non-factory` products for `tegu`. Therefore, setting different `PRODUCT_SOONG_NAMESPACES` in the corresponding `tegu_generic.mk` and `factory_tegu.mk` files will allow factory products and non-factory products of tegu to use different preloaded_nanoapps.json.
FLAG: EXEMPT Mechanical refactoring
Bug: 336452008
Bug: 313835597
Test: 1. lunch tegu-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
2. Check ./out/target/product/tegu/.../preloaded_nanoapps.json
It should be the tegu version.
3. lunch factory_tegu-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
4. Check ./out/target/product/tegu/.../preloaded_nanoapps.json
It should be the factory version.
Change-Id: I483043ce3c55dc08b54699f332d654d18eedebd2
Add an additional layer of inheritance for tegu products.
This change adds a common layer of inheritance for non-factory
products (tegu_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `tegu` products now inherits from
`device/google/tegu/tegu_generic.mk` which inherit from
`device/google/tegu/device-tegu.mk`.
FLAG: EXEMPT mechanical refactoring
Bug: 336452008
Bug: 345198819
Test: lunch tegu-trunk_staging-userdebug && m
Change-Id: I5a48fe09f825ec7d8dff50ff36b1c1b1b1a6fa22
This reverts commit 6c52094291.
Reason for revert: Disabling dex preoptimization doesn't solve the root cause of the bug and will cause some performance issue.
Flag: build.WITH_DEXPREOPT
Bug: 343341492
Bug: 343367700
Test: Build with target non-aosp targets in presubmit and aosp targets following the reproduce steps in b/343341492
Change-Id: I2309453918333b1bce7e3194c77c9cd4762c1b69
Faceauth is pinning to the mid-core for this device. Adjust the power hint to boost the appropriate cluster.
Bug: 329893113
Change-Id: I7b0f228a1ecac523fee5b5dd607f27f99a608411
Write the sysfs node to set touch sensitivity mode when the property
changes.
Bug: 315239048
Test: toggle the touch sensitivity button in Settings and check log.
Change-Id: I02d1bc2051264a136d1487d63e295259c31f2980
Signed-off-by: Blackbear Chou <blackbearchou@google.com>
sync from ag/27280353
Set big core to group_cfs_skip_mask for sys group when screen is off,
so that sys group tasks will run less in big core.
Bug: 342968374
Test: boot to home
Change-Id: I4456641e8e99c83573887c4a3b56ba484b490773
Fix the issue that device not trigger usb throttle in off mode charging.
Bug: 344445952
Test: Build and flash on device, verify with uart.
Change-Id: Ic6d453b1cab4614f8f6b42a9b6f5fe521a98101d
Signed-off-by: Peter (YM) <peterym@google.com>
More info at go/touch_predump
Test: Test locally on test device and check predump_touch works.
Bug: 315239193
Change-Id: Ie06e91c68fc4af0fe58a1f5358793bffff2b02d8
Signed-off-by: Blackbear Chou <blackbearchou@google.com>
-A noop change by itself, but allows Google to later overlay
a different GPS engine within GmsCore.
Bug: 343731153
Test: Manual
Flag: EXEMPT resource only update
modified: tegu/overlay/frameworks/base/core/res/res/values/config.xml
Change-Id: Id4ea559c8fb666fee06ec73b5a30414bd8c232a8
The MPC is limited to 13 since Camera recording does not support
HDR 10-bit.
Bug: 343087302
Test: run cts -m CtsMediaPerformanceClassTestCases
Test: run cts -m CtsCameraTestCases -t android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Change-Id: Ic7ca5fe5d5a21ff6febf67799b80fc0f2da59a4a
note:
previous cl of mixer table is incorrect due to
bot wrong path setup.
Bug: 343570040
Test: check the file in the test build.
Change-Id: Ie6e17eab71255c605078bcd6da529e7a818b63db
- Update PGC, AGC and SNS settings for camcorder use case
- Update PGC, AGC and SNS settings for recorder use case
- Add SA-Lite in voice recognition use case for enabling MIC COMP function
Files from the latest attachment on b/343141249
Bug: 343141249
Test: verified by cartercheng@
Change-Id: I57052a1be4992a9a11fc83a67c189d033cb6a0ba
* changes:
[Camera] Change PMU max frequency for CL2 to 1164MHz
Enable PMU during photo capture
Disable CDPreferIdle, set DSUMin to 610MHz for 60fps
Increase SPC thresholds for 60fps
Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD
Increase TAUClampBoost during capture to reduce latency
Thermal Boost for severe thermal state
Powerhint: Enable big core reduction feature and CDPreferIdle, limit CPUset to 0-6, optimize MIF clock frequency
This CL enables PMU feature during photo capture. With the new settings, we can achieve up to 120ms saving in capture latency, while paying a penalty of 60mW. However, even with the added power, we are still below the F10 numbers (go/f10-camera-power-gtw).
Refer to ag/27238472 and ag/27255676
Bug: 342502377
Test: GCA photo capture
Change-Id: Iefe755e64e2e5bd6858f13adb4be7533c6b3e611
With MulticamRoutingNode on RT, the performance is no longer impacted by
having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to
610MHz, saving overall up to 50mW in CPU power.
Refer to ag/27091363 and ag/27105186
Bug: 342502377
Test: Build pass
Change-Id: I49c8a5aad237c76582388545ff83d44d440d84a0
This CL increase SPC threshold for little core to 55, and for mid core
to 32. Tests show that in a loaded scenario, framedrop rate can reduce
to almost zero, while not impacting the power in the unloaded (baseline)
scenario.
Refer to ag/27032799 and ag/27078536
Bug: 342502377
Test: Build pass
Change-Id: I9c50b58483cb5262c3550cb45907cbe522eb4e5a
SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.
Refer to ag/26943567 and ag/27018139
Bug: 342502377
Test: Build pass
Change-Id: I593b9ca4f85e844ebacdb8606147d51c9d8926da