Commit graph

332 commits

Author SHA1 Message Date
Rios Kao
387cd61a6f audio: Phase in Waves mps in TG4
1. This mps file version modify Portrait and Landscape 1st~24th volume sound quality.
2. This is the EVT first version to make 1st~24th volume sound quality.
3. This file internal name: TG4_EVT_Release_20240618_tune4.mps

Files from the latest attachment on b/348309503

Bug: 348309503
Test: verified by supery@
Flag: NONE tuning table for existed feature
Change-Id: Ic50d336cab63224e2295727d49c21295138b3502
2024-06-20 07:32:43 +00:00
Peter (YM)
121ff95c7f Merge "thermal: use stats-updator to trigger virtual sensor and remove unused virtual sensor" into main 2024-06-20 07:01:02 +00:00
Leonard Ian
476aa950cf Merge "tegu: Enable all primitives" into main 2024-06-20 05:11:24 +00:00
Edwin Tung
eb3560f067 gps: update gps 4.13.3_1
Bug: 333849828

Test: b/347129137
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I1f6b0a387f58719e9c2e51ed5c45dfda6ff37383
2024-06-20 03:10:02 +00:00
Peter (YM)
1dd20df4df thermal: use stats-updator to trigger virtual sensor and remove unused virtual sensor
- Use stats-updator to ensure all the virutal sensor we want to monitor
can be trigger at the same time.

- Remove the un-used virtual sensor

- Update the name of VSKIN-SKIN-UNDER-52 to avoid confusion

Bug: 333834000
Test: Build on device and boot to home, b/333834000#comment8
Flag: EXEMPT (bug 337358613)
Change-Id: I9fc4df066b17417cee412d776a118ea1935fbc34
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-20 02:34:33 +00:00
Edwin Tung
f00036a047 Merge "gps: change emergency positioning method to SET-Based for KDDI" into main 2024-06-19 08:29:52 +00:00
Treehugger Robot
d432648042 Merge "Reduce CPUDVFSHeadroom for mid and big core (for 60fps and 240fps)" into main 2024-06-19 06:03:02 +00:00
Treehugger Robot
4e711d92ce Merge "Update PMU thresholds with PMU ignorance logic disabled" into main 2024-06-19 06:00:56 +00:00
Cathy Hsu
3d3aecfbe0 Merge "display: add primary display LHBM property" into main 2024-06-19 05:36:29 +00:00
Rios Kao
988f895191 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-06-19 02:58:43 +00:00
Rios Kao
0141b1dd73 Merge "Phase in TG4 speaker compensation tuning tables" into main 2024-06-19 02:45:10 +00:00
Rios Kao
213d136d9b audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize performance with EVT1.0 HW.

Files from the latest attachment on b/347861392

Bug: 347861392
Test: verified by ntkuo@
Flag: NONE tuning table for existed feature
Change-Id: I7cd37c26c6703658198849673221a5075709020e
2024-06-19 02:18:53 +00:00
Rios Kao
115a582481 Phase in TG4 speaker compensation tuning tables
Test: verify ntkuo@
Bug: 347858646
Flag: NONE tuning table for existed feature
Change-Id: Id3070afe921195d5181cd8893beb452a5c2c0a09
2024-06-19 02:13:13 +00:00
Pointer Kung
d55b1dadcc Reduce CPUDVFSHeadroom for mid and big core (for 60fps and 240fps)
Reducing CPUDVFSHeadroom can help save power in 60fps and 240fps
use-cases once RT threads are enabled. Even without the RT patch
(ag/27725456), we can see savings without any impact to framedrop rate.

sync from ag/27765730 and ag/27778356

Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE sync solution
Change-Id: Ib3ea575c8507c8e3ab331910176cb2245c1708fb
2024-06-18 08:11:11 +00:00
Pointer Kung
5df2fa3e01 Update PMU thresholds with PMU ignorance logic disabled
pa/2830448 removes the core ignorance logic in PMU and causes the
behavior of PMU to change. With the new PMU logic, we need to re-tune
all the SPC thresholds for camera use-cases. This CL adjusts SPC
thresholds accordingly, so that we do not have power regression once the
PMU change in the kernel is merged.

Refer to ag/27702721 and ag/27726436

Bug: 342502377
Test: Build pass, Boot to home
Change-Id: Ic8fd4eb4192774ba42e2cfbe5b567136c15a6357
2024-06-18 07:00:42 +00:00
Xin Li
2ed157dc58 [automerger skipped] Promote aosp-main-future to aosp-main-with-phones am: a7000f6da1 -s ours am: d098603fa3 -s ours
am skip reason: Merged-In Ib7e68ff9eace48b9278005a762136076458ac5ec with SHA-1 864a02b998 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27831191

Change-Id: If0ffb3ec1f49ea2f1a48e43142afabbbb291f0b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:25:51 +00:00
Xin Li
d098603fa3 [automerger skipped] Promote aosp-main-future to aosp-main-with-phones am: a7000f6da1 -s ours
am skip reason: Merged-In Ib7e68ff9eace48b9278005a762136076458ac5ec with SHA-1 864a02b998 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27831191

Change-Id: Icb5f59cdfd63957a20e0c8f1294405c4e5e5af9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 19:48:53 +00:00
Rios Kao
64f0a0b7b1 audio: Phase in Waves mps in TG4
1.This version modify Portrait and Landscape mode Max volume only.
2.This tuning fit TG4 EVT HW.
3.Internal file name: TG4_EVT_Release_V2_20240613_tune3.mps

Files from the latest attachment on b/347132693

Bug: 347132693
Test: verified by supery@ and pts-audio
Change-Id: I1ca04b53e7f1a8cdefd4942f6aa37e09d810ee61
2024-06-17 01:52:45 +00:00
Edwin Tung
6baf176879 gps: change emergency positioning method to SET-Based for KDDI
Bug: 334009791
Test: E911 test
Change-Id: I365b6e52cfc9084fee1cc1144889eedc7b04043f
2024-06-14 16:43:26 +08:00
Rios Kao
4f4d918233 Merge "tegu: sync missing path for incall, voip and hotword tap" into main 2024-06-14 02:37:04 +00:00
Will Song
8c0ac969e4 Merge "tegu: PREUPLOAD: Enforce jsonlint in preupload" into main 2024-06-14 00:24:33 +00:00
Xin Li
a7000f6da1 Promote aosp-main-future to aosp-main-with-phones
Bug: 346855327
Merged-In: Ib7e68ff9eace48b9278005a762136076458ac5ec
Change-Id: If81e16441cf15f4833cbb1c760b6e8c306248e0d
2024-06-13 14:51:39 -07:00
Will Song
aeb2ac194e tegu: PREUPLOAD: Enforce jsonlint in preupload
Checks syntax and simple brace balances for all JSON files.

Test: Edit any json file and try upload
Bug: 127794899
Change-Id: I3272d63d3380cce891f8b458cf6384b0dc09d748
2024-06-13 11:17:09 -07:00
Treehugger Robot
bd74564d02 Merge "thermal: enable quiet_therm mointor for backup shutdown" into main 2024-06-13 08:53:23 +00:00
Treehugger Robot
36b30c3e39 Merge "audio: add spatializer-offload-playback to sco device" into main 2024-06-13 08:40:32 +00:00
Yung Ti Su
b4b9617e8e audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manual

Change-Id: I313c70538cc08d9d31ab8eaf4c86a345f7293a5d
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-06-13 08:07:57 +00:00
Rios Kao
9abedcd622 tegu: sync missing path for incall, voip and hotword tap
Test: build pass
Bug: 345365730
Change-Id: I0b8a59c9252c69c329fc5cf8b203ba547a89b229
2024-06-13 07:51:55 +00:00
Robert Lee
193959cb8b audio: fix PTS audio error
- add initial value for TAS25XX controls
- remove useless control

Bug: 346473597
Test: builds
Change-Id: Ie48a38010df6e7ab31f98fdeb8544033901e2100
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-13 07:14:12 +00:00
Peter (YM)
a09374e841 Merge "thermal: add btmspkr_therm as trigger sensor" into main 2024-06-12 08:34:10 +00:00
Peter (YM)
e2f2401f32 thermal: add btmspkr_therm as trigger sensor
Align with latest Pixel setup.
Fix the issue that sensor trip temp not updated.

Bug: 346562574
Test: Build and boot to home, confirm the sensor trip temp is updated
Change-Id: I588e65e72158a0b9006f949688e0fa18e4f6d2b4
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-12 05:06:07 +00:00
Peter (YM)
61a7a29145 thermal: update vskin correlation to v2
- Model: based on evt 1.0 50 case and Proto 1.1 150 case
- Legacy: based on evt 1.0 50 case, also update the trigger temp based on legacy report (b/333834000#6)

Bug: 333834000
Test: Build and boot to home
Change-Id: Ibe4988ec2e9944a81c7a64a0315727a6c942e2e0
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-12 03:36:02 +00:00
Peter (YM)
671b3cf727 thermal: enable quiet_therm mointor for backup shutdown
- increase shutdown threshold to 60 to better monitor the thermal under
  high vskin
- Monitor vskin_legay - quiet_therm and vskin_model - quiet_them when vskin is higher than 52
- Monitor quiet_therm when it's over candidate shutdown threshold (55 degC)

Bug: 333485619
Test: Flash and boot to home
Change-Id: Id2ca58d427d342d353d7083e4771ac47caa074ec
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-12 03:06:19 +00:00
Peter (YM)
b1cec3fd6d thermal: align wth cellular-emergency threshold
The threshold was increased in early stage, since we have a better vskin
eqaution now, we can align the threshold value to other pixel device.

Bug: 346484703
Test: build and boot to home
Change-Id: Ie191e816e2a0a2be405c7c71ece38b7d2fb71d8e
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-11 08:21:29 +00:00
Treehugger Robot
864062b0b1 Merge "audio: update speaker tuning bin file" into main 2024-06-11 06:46:23 +00:00
Robert Lee
87a567779b audio: update speaker tuning bin file
Change List:
- EVT Speaker Model Update
- Change TA2 and PAM to fix output noise issue
- add flex cable Re setting

Bug: 345406081
Test: builds
Change-Id: I8127dbba9ad45128cb1e42995c480628bc9df015
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-11 06:27:02 +00:00
Lynn Yeh
8a8e7a1a70 [automerger skipped] Merge "gps: maintain one solution" into 24D1-dev am: f488403e3c -s ours
am skip reason: Merged-In I3bd3b09edd4e1ca1ecfa578095800c9052db5689 with SHA-1 66128d2b64 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27081096

Change-Id: I7749afa453709d98d4e79901a3dcf020b2b65702
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 02:49:55 +00:00
Wayne Lin
f8473f8632 [automerger skipped] gps: maintain one solution am: 135c5625c7 -s ours
am skip reason: Merged-In I3bd3b09edd4e1ca1ecfa578095800c9052db5689 with SHA-1 66128d2b64 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27081096

Change-Id: I3a0689be1008714c9a801e2e6e07d3bf4a13aa1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 02:49:51 +00:00
Lynn Yeh
f488403e3c Merge "gps: maintain one solution" into 24D1-dev 2024-06-11 02:25:19 +00:00
Michael Williams
55c33641a6 Merge "Switch Faceauth FACE_UNLOCK_BOOST Power Hint to Mid Cluster" into main 2024-06-06 15:19:29 +00:00
Kimi Hsu
7de6734a38 Merge "Update display shape" into main 2024-06-06 08:17:27 +00:00
Arindam Mondal
3e73817588 Convert tegu/preloaded_nanoapps.json's .mk file to Android.bp.
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
2024-06-06 03:14:06 +00:00
Arindam Mondal
64a738e66f Refactor product inheritance for tegu products.
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
2024-06-06 03:11:34 +00:00
Frank Yu
bf2d38ec1b Merge "Enable radio ext aidl service for dynamic ssc." into main 2024-06-05 10:07:55 +00:00
Treehugger Robot
6246660887 Merge "gps: Enable customgnss function" into main 2024-06-05 09:05:59 +00:00
Kah Xuan Lim
888193468c Merge "Revert "Disable Dex preoptimization"" into main 2024-06-05 07:50:58 +00:00
Treehugger Robot
4085949557 Merge "tg4: support touch sensitivity mode switching" into main 2024-06-05 03:33:28 +00:00
Kah Xuan Lim
99bfceca0a Revert "Disable Dex preoptimization"
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
2024-06-05 03:28:24 +00:00
Cathy Hsu
2efffb7164 display: add primary display LHBM property
Bug: 316357543
Bug: 316357220
Test: DTE verified
Change-Id: I83d8643bafe0ff655ea863a7d272c32dd3ef3476
Signed-off-by: Cathy Hsu <cathsu@google.com>
2024-06-05 03:11:05 +00:00
Sam Paradis
5b406f3ebe Switch Faceauth FACE_UNLOCK_BOOST Power Hint to Mid Cluster
Faceauth is pinning to the mid-core for this device. Adjust the power hint to boost the appropriate cluster.

Bug: 329893113
Change-Id: I7b0f228a1ecac523fee5b5dd607f27f99a608411
2024-06-04 19:13:09 +00:00
Frank Yu
9af99adb0b Enable radio ext aidl service for dynamic ssc.
Bug: 343576955
Test: Manual. RadioExt aidl service start successfully.
Change-Id: Ia2b7ff1c14fae8b7aedf40a594b346359072dc6a
2024-06-04 09:24:12 +00:00