Commit graph

3259 commits

Author SHA1 Message Date
Xin Li
ab4545674f [automerger skipped] Merge TQ2A.230405.003 am: 5f4db85425 am: f05813b13a -s ours
am skip reason: Merged-In Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b with SHA-1 bf79debcb2 is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2530227

Change-Id: Ia8e2eed236fbd95fc9ebea93e0af081d740ae2b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:22:55 +00:00
Xin Li
f05813b13a Merge TQ2A.230405.003 am: 5f4db85425
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2530227

Change-Id: Ia018a79cdb80fdc54d17265869a4993ac8df906b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 19:00:56 +00:00
Minchan Kim
21cea1d88e remove dump_gs201
The event trace dumping moved into gs-common.

Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: I4d0f0886ef9292f854c1009a80ba525347aa45a0
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-12 06:09:00 +00:00
kadirpili
714ff42ac8 gs201: Create folder for OTA UECap
Bug: 274737512
Change-Id: Ic2bd29d2f8a36fe8b432cf567aded0e9f27c8925
2023-04-12 01:16:55 +00:00
Xin Li
5f4db85425 Merge TQ2A.230405.003
Bug: 271343657
Merged-In: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
Change-Id: Id7ba254c0eaf0060c08c96d1f0f14b6aadf83c07
2023-04-10 23:55:29 -07:00
Jooyung Han
b97e826b28 Add BOARD_WLAN_CHIP to soong config
wcn6740 uses a new implementation for libwifi-hal-qcom. We need a soong
config variable for BOARD_WLAN_CHIP to switch the implementation.

Bug: 273376293
Test: m libwifi-hal (with gs201 target)
Merged-In: Iddeb4e76be213fde2d1bb4dbd614a1213bc35e89
Change-Id: Iddeb4e76be213fde2d1bb4dbd614a1213bc35e89
2023-04-11 04:20:42 +00:00
Edwin Tung
b7971451b2 [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.567385 am: 55613900fe am: 572b67c6da -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2b7492974e5bdd12933f7aae2739678a68798c71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 03:52:02 +00:00
Edwin Tung
572b67c6da DO NOT MERGE gps: update gps driver 147.20.23.567385 am: 55613900fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/22520855

Change-Id: Ia46e12622999ef4e1473b17d8a3dcd3b66c39bb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 03:22:01 +00:00
Edwin Tung
55613900fe DO NOT MERGE gps: update gps driver 147.20.23.567385
- Modify E911 SUPL over wifi dummy mac address

Bug: 277139165

Verify test: b/277291116
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I79e5648af4525d236c38b07ca91a52b71b2ddf5e
2023-04-11 02:35:18 +00:00
Edwin Tung
7118e3cb0d [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.567384 am: ea09993d6e am: 03dd759ae2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iadf8265d4d419db7aefff560cbf80065503900b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 18:39:40 +00:00
Edwin Tung
03dd759ae2 DO NOT MERGE gps: update gps driver 147.20.23.567384 am: ea09993d6e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/22520854

Change-Id: I56f94e73202e6af05136939bbf9be5c47308e682
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 18:09:57 +00:00
Adam Shih
f50f869a70 use dumpsate from gs-common
Bug: 273380985
Test: adb bugreport
Change-Id: I9ff3f7212c0821e5e880563ed503ea1d883a7a87
2023-04-10 01:11:14 +00:00
Armelle Laine
dba3d2f31c Add metrics to the gs201 makefile
Bug: 276821220
Test: /vendor/bin/trusty-ut-ctrl -D /dev/trusty-ipc-dev0 "com.android.trusty.crashtest"
Change-Id: I516129e1edd537f47d35e54834fdcdc96bab5354
(cherry picked from commit e573bfd11f)
2023-04-08 00:13:33 +00:00
Armelle Laine
93d9ad928b trusty: Add trusty_stats_test
Test: /data/nativetest64/vendor/trusty_stats_test/trusty_stats_test
Bug: 276821220
Change-Id: If3ad0e5eec831a8f5632504453994f29f350224c
(cherry picked from commit 1e26affe87)
2023-04-08 00:13:33 +00:00
Edwin Tung
ea09993d6e DO NOT MERGE gps: update gps driver 147.20.23.567384
- Modify E911 SUPL over wifi dummy mac address

Bug: 277139165

Verify test: b/277291116
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Ie0d68082e7103ad03a1028beab3f5d93d19cce10
2023-04-07 07:02:33 +00:00
Woody Lin
cfaaafcf40 DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled
Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
(cherry picked from commit 7d695f4bff)
2023-04-06 16:10:49 +08:00
Roy Luo
fdb65f4d14 Support GL852G USB hub JK level tuning
The JK level setting is configured to the hub via a vendor USB
command whenever the hub is enabled.
The shell command can be used to change the JK setting for testing
purpose, but the values take effect next time the hub is enumerated.

Bug: 261923350
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd
<hex wValue> <hex wIndex>
Test: verify on user/userdebug builds the vendor command is triggered
      in the following scenarios.
      1. boot with Kolan docked
      2. undock and dock Kolan
      3. kill android.hardware.usb.IUsb/default

Change-Id: I8873695c42f362138d99b45ffa2ef637c357202b
2023-04-06 01:54:13 +00:00
Adam Shih
15d11de144 move wlan dump to relevant devices
Bug: 273380509
Test: adb bugreport
Change-Id: Id3e11e69a1a0c6502ab2e7883cec34659922f660
2023-04-06 01:42:52 +00:00
Cody Heiner
22e4a142b5 Update ITouchContextService version
Test: build succeeds on all devices.
Test: failing tests from b/271227149 pass.

Bug: 271227149
Change-Id: I5e0b9c50c802e07e09374abac498b2afe27a1d18
2023-04-03 21:41:27 +00:00
Jack Wu
6ad02c5d5b init: add permission for first_usage_date access am: 3d6a5583f2 am: d9ac7ac603 am: b8c492f73a
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2514126

Change-Id: Iba99344f88c0b48dbe0f2c23662da81ce6df2ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 14:22:16 +00:00
Jack Wu
b8c492f73a init: add permission for first_usage_date access am: 3d6a5583f2 am: d9ac7ac603
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2514126

Change-Id: I270d9ea895d7d7b0b7cad8ed4eb52bfe99a1ddc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 13:53:10 +00:00
Jack Wu
d9ac7ac603 init: add permission for first_usage_date access am: 3d6a5583f2
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2514126

Change-Id: I8869ccc9352a397a1445f255a06e7657209a013c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 13:25:29 +00:00
Jack Wu
43a9133380 [automerger skipped] gs201: update AIDL IGoogleBattery manifest version to 2 am: 732562ab9c -s ours am: 5b1a37707a -s ours
am skip reason: Merged-In I1ea5ff7669cebff79944263fbc842f6b60fd547e with SHA-1 88992a6bb7 is already in history

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

Change-Id: I395e421865507b9a885bc38743549be71295a7d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:15:22 +00:00
Jack Wu
5b1a37707a [automerger skipped] gs201: update AIDL IGoogleBattery manifest version to 2 am: 732562ab9c -s ours
am skip reason: Merged-In I1ea5ff7669cebff79944263fbc842f6b60fd547e with SHA-1 88992a6bb7 is already in history

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

Change-Id: I44ac8b63668d5d0896f5dba08e36948b58bd0da5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:49:31 +00:00
Jack Wu
3d6a5583f2 init: add permission for first_usage_date access
Bug: 275441997
Test: write first_usage_date sysfs node successfully
Change-Id: Ic82fd8b367af6199d5a157a9e7d131cf4b8afd16
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-30 20:04:10 +08:00
Adam Shih
7fefcc231f Move power dump out of hal_dumpstate_default
Bug: 273380509
Test: adb bugreport
Change-Id: I25a3c384e085f8534d4917a73714a99579fbd8bd
2023-03-30 02:20:37 +00:00
chengfeitao
804ed04262 Force slowJpegMode on certain camera1 apps
Turn off the large JPEG stream on camera1 apps
that experience high power consumption during
video call

Bug: 254350466
Test: Manual testing with Messenger app video call
Change-Id: Ib5012a39caffc1a135b9e2a7a2ef9ed2df064b2e
2023-03-29 21:19:15 +00:00
Usama
3cbb3ee5d9 Revert "Update com.google.input version in manifest"
Revert submission 21686241-21686241

Reason for revert: Culprit CLs for b/275635399

Reverted changes: /q/submissionid:21686241-21686241

Change-Id: I4c19398985c54d5c33984fb469cf90887cefacb0
2023-03-29 07:40:02 +00:00
Adam Shih
e7b8ae32a3 create a dump for gs201
Bug: 273380509
Test: adb bugreport
Change-Id: I44564eca36026608d7fe599ca8b8e412caa50c92
2023-03-28 23:57:38 +00:00
Cody Heiner
48d6508920 Update com.google.input version in manifest
Test: Previously failing AOSP presubmit tests pass.

Bug: 271227149
Change-Id: Ia41b43626ee32a5552ccef9371cabc699277d342
2023-03-28 20:20:43 +00:00
Jack Wu
3d6da31422 [automerger skipped] gs201: update AIDL IGoogleBattery manifest version to 2 am: 88992a6bb7 -s ours
am skip reason: Merged-In I1ea5ff7669cebff79944263fbc842f6b60fd547e with SHA-1 5505ecb127 is already in history

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

Change-Id: Ie9c9d84b100ff99606379c9b16f3887c5efb2cb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 01:22:30 +00:00
Jack Wu
732562ab9c gs201: update AIDL IGoogleBattery manifest version to 2
Bug: 274701302
Test: TH
Change-Id: I1ea5ff7669cebff79944263fbc842f6b60fd547e
Merged-In: I1ea5ff7669cebff79944263fbc842f6b60fd547e
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from commit 5505ecb127)
2023-03-28 01:02:41 +00:00
Adam Shih
fbb7175244 use radio dump in gs-common
Bug: 273380509
Test: adb bugreport
Change-Id: Id60eefa3a78186f2bf093295490fb7d2524bf80b
Merged-In: Id60eefa3a78186f2bf093295490fb7d2524bf80b
2023-03-27 06:18:09 +00:00
Badhri Jagan Sridharan
1e3b4431f4 Usb: Update UsbDataStatus while being docked
Bug: 275150939
Change-Id: I09499642012c7e95bb5a5fef1ac6eb7b8c4e6832
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
2023-03-27 05:57:47 +00:00
Adam Shih
44ca8b2554 comply with VTS requirements
Bug: 275036679
Bug: 275034315
Test:
atest VtsHalDumpstateTargetTest:PerInstanceAndMode/DumpstateAidlPerModeTest#TestOk/0_android_hardware_dumpstate_IDumpstateDevice_default_FULL
atest VtsHalDumpstateTargetTest:PerInstance/DumpstateAidlGeneralTest#TestInvalidModeArgument_Negative/0_android_hardware_dumpstate_IDumpstateDevice_default

Change-Id: I734325c39c66dc536de42fb9d77631ccd1016c84
2023-03-27 03:41:16 +00:00
Jack Wu
88992a6bb7 gs201: update AIDL IGoogleBattery manifest version to 2
Bug: 274701302
Test: TH
Change-Id: I1ea5ff7669cebff79944263fbc842f6b60fd547e
Merged-In: I1ea5ff7669cebff79944263fbc842f6b60fd547e
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from commit 5505ecb127)
2023-03-24 14:44:44 +08:00
chengfeitao
1c828e13c9 [automerger skipped] DO NOT MERGE Force slowJpegMode on certain camera1 apps am: d3dc89c215 am: d34a3683f4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib12caa786188312594a71400fda7c6010e073b6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 22:09:00 +00:00
chengfeitao
d34a3683f4 DO NOT MERGE Force slowJpegMode on certain camera1 apps am: d3dc89c215
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21963232

Change-Id: I874c52ea60792f5638613851d64cbd677e827826
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 21:36:56 +00:00
chengfeitao
d3dc89c215 DO NOT MERGE Force slowJpegMode on certain camera1 apps
Turn off the large JPEG stream on camera1 apps
that experience high power consumption during
video call

Bug: 254350466
Test: Manual testing with Messenger app video call
Change-Id: Ib5012a39caffc1a135b9e2a7a2ef9ed2df064b2e
2023-03-23 21:30:03 +00:00
Wayne Lin
f0d52e96a6 [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.565105 am: 7929423816 am: 9a07711966 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7727efec6f70d6dd1e3191888e9d798891eb6afe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 11:14:11 +00:00
Wayne Lin
9a07711966 DO NOT MERGE gps: update gps driver 147.20.23.565105 am: 7929423816
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/22159882

Change-Id: I86bf8de10bc900581edfdb2e43621ef653db31fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 10:35:09 +00:00
Adam Shih
a3c81a57ad use gs-common gps dump
Bug: 273380509
Test: adb bugreport
Change-Id: I97ac88eb9b5ade2d5bfa262b00a2818bbbb789bb
2023-03-23 02:30:07 +00:00
Chris Paulo
77b78a9857 vibrator: Add adaptive haptics config
Add adaptive haptics config parameter to the build environment

Bug: 198239103
Test: atest VibratorHalCs40l26TestSuite
Change-Id: Id2a9e0d346c4722651f9d0a03e7c4f4aa5ac2861
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-03-22 21:58:42 +00:00
Wayne Lin
7929423816 DO NOT MERGE gps: update gps driver 147.20.23.565105
- fix issues in SUPL over WiFi test
 - fix incorrect measurement reporting interval issue
 - fix optimistic speed accuracy issue

Bug: 264216987
Bug: 270094312
Bug: 262351380
Verify test: b/274396195
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I8c21af3fe8e7e1f0e1e3eba50ca4e1b4eddffb15
2023-03-22 10:32:55 +00:00
Jörg Wagner
94cca488d3 Update Mali DDK to r40 : Sysprop configuration settings
Expose DDK's dynamic configuration options through the Android Sysprop
interface, following recommendations from Arm's Android Integration
Manual.

Bug: 261718474
Bug: 272740524

(cherry picked from commit 923c100ba6)
Merged-In: Ie2135862c61fada85c4e9cfa97aecbf635768721
Change-Id: I4de0dbe802663193031ce5b77a2179e0caa476bb
2023-03-21 10:30:22 +00:00
Edwin Tung
337a6e4c59 [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.565112 am: 6286f63b55 am: a5fc529921 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If3923c855c804528deecf983e9d8c4123de56b9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 08:47:36 +00:00
Edwin Tung
a5fc529921 DO NOT MERGE gps: update gps driver 147.20.23.565112 am: 6286f63b55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/22120481

Change-Id: I415cdf5dfab6827da1ce07beabb31f1cf0fa04d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-21 08:07:07 +00:00
Adam Shih
1b92506c4d use gxp dump in gs-common
The function is introduced in ag/21644929
Bug: 273380509
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content

Change-Id: Ife6e7dc1c399150b149f5fbd14c902da6cdeefcf
2023-03-21 05:26:25 +00:00
Chien Kun Niu
d72768a1fe usb: hal: add all the i2c nodes for tcpc functions
This change is to add all the possible i2c nodes for tcpc functions with the correct permission, due to the path may change with different android version.

Bug: 273391794
Test: limit 1.3A work when connect to Head Unit
Change-Id: Iefb44f37c5b42ae5579e928477efc927d270b724
2023-03-21 05:14:41 +00:00
Edwin Tung
6286f63b55 DO NOT MERGE gps: update gps driver 147.20.23.565112
- Fix E911 SUPL over wifi issue

Bug: 270273494

Verify test: b/274084913
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: Iedc1def99f610e3a88eb70cc2cbb713a6f78a01e

Change-Id: Ib9d8d53d8dfc81f51c3682875a7c00d819b3c507
2023-03-21 04:25:15 +00:00