Commit graph

3232 commits

Author SHA1 Message Date
Jack Wu
38c98bf94e Update health AIDL HAL to V2 am: e1282e2c0e
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2356796

Change-Id: Iea023db8100c4b4dbc350eb8e1999d9874984b91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 01:20:54 +00:00
Jack Wu
5505ecb127 gs201: update AIDL IGoogleBattery manifest version to 2
Bug: 271224032
Test: TH
Change-Id: I1ea5ff7669cebff79944263fbc842f6b60fd547e
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-02 11:44:11 +00:00
Woody Lin
7d695f4bff DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled
Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
2023-03-02 07:14:55 +00:00
Jack Wu
e1282e2c0e Update health AIDL HAL to V2
Bug: 271222994
Test: TH
Change-Id: I9f7890e8bb0c56290e704a64e07b8bb819303df0
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-02 11:21:07 +08:00
Cody Northrop
483c217306 Reland "EGL: Configure multifile cache"
This reverts commit 4bf66d3569.

Reason for reland: Not the culprit of boot time regressions.

Test: Boot (quickly)
Test: pubg_mobile_launch ANGLE trace
Test: /data/nativetest64/EGL_test/EGL_test
Test: /data/nativetest64/libEGL_test/libEGL_test
Bug: b/266725576
Change-Id: I68521af5ca33accd8e0122f89ad99aa2ca8ad3ec
2023-03-01 02:08:30 +00:00
Anoush Khazeni
df7f9b8e42 [T6pro] Changing the volume steps from 25 to 20. am: 855a990106 am: 28a012e075
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21328684

Change-Id: I1e139b68253bcb98160aa2e3505580431a6911ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 22:46:41 +00:00
Anoush Khazeni
28a012e075 [T6pro] Changing the volume steps from 25 to 20. am: 855a990106
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21328684

Change-Id: I0d6172e2d2a7ae5e4ca69a7f57eb71178746c6ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 22:08:12 +00:00
Anoush Khazeni
855a990106 [T6pro] Changing the volume steps from 25 to 20.
Bug: 257544762
Test: Confirmed 20 steps from mute to max with a test build.
Change-Id: I1a3e27406f87fd34bc981b6706027f201f5d82a9
2023-02-27 21:20:34 +00:00
Xiang Wang
59332ea7e9 Move thermal utils to hardware/interfaces
Bug: b/269370789
Test: m
Change-Id: If7628b88a0b5a8d933dd0431eac2d3663649e834
Merged-In: If7628b88a0b5a8d933dd0431eac2d3663649e834
2023-02-23 04:29:33 +00:00
Jenny Ho
8e2f4d4b2d init: add permission to adjust temp_filter_enable am: 656976885e am: 565b592bdf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21414046

Change-Id: I6481581950943c582c70d3547ce04aa9d4dacbbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 03:41:12 +00:00
Jenny Ho
565b592bdf init: add permission to adjust temp_filter_enable am: 656976885e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21414046

Change-Id: Ie9b332294e3fe235def411933ab77c0b7e622d50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 02:06:56 +00:00
Jenny Ho
656976885e init: add permission to adjust temp_filter_enable
Bug: 262461194
Change-Id: I03cc764ac666512d00b058fd10311434d1fb8430
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-23 01:09:20 +00:00
Badhri Jagan Sridharan
7c2d62aafc Usb: Set connected status when connected to non compliant port partners
Set mode, power role and data role when connected to non compliant
port partners.

Bug: 268584498
Change-Id: I6c3e7df09a61e26f3b976a86bd65cb646edd653d
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
2023-02-22 22:05:43 +00:00
RD Babiera
fb37a2a183 Usb non-compliant port partner gs201 implementation
Adds vendor code for non-compliant charger feature. Currently
updates service version.

Minor port of  commit 96ccf93453583642a15dd96b1e4d6bf0645fc10b

Test: atest VtsAidlUsbTargetTest
Bug: 236322506
Change-Id: Ie1a48b1acaaae9a53f3b9bfebcfee7a2f4814810
(cherry picked from commit 96ccf93453583642a15dd96b1e4d6bf0645fc10b)
2023-02-22 22:05:43 +00:00
Cynthia Wasonga
962d5f25ac Fix gs201 preinstall config module loading on device
Adds fix for ag/20438528

Bug: 238970256
Test: Verify that TestRcsApp and BatteryStatsViewer are not installed on clone profile

Change-Id: I58e832866c67ff71dbda01f7b4952fe842494dd3
Merged-In: I58e832866c67ff71dbda01f7b4952fe842494dd3
2023-02-22 00:24:19 +00:00
Wayne Lin
a75122b024 [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.562029 am: 44ef8a7579 am: 3a9d440107 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3941c3e65b48dbb9e0a8dec32908f5630160e449
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-20 05:15:29 +00:00
Wayne Lin
3a9d440107 DO NOT MERGE gps: update gps driver 147.20.23.562029 am: 44ef8a7579
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21396293

Change-Id: I2d38a19b29605a349af0da2bca56d822976e7c74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-20 04:17:20 +00:00
Wayne Lin
44ef8a7579 DO NOT MERGE gps: update gps driver 147.20.23.562029
- gpsd segmentfault protect code
 - android.hardware.gnss@2.1-service-brcm segmentfault
 - AGC field is missing when requested deep indoor
 - TestGnssMeasurementIntervals_LocationOnAfterMeasurement fix
 - mismatch between bearing value and fixed location
 - location jumped in the office and the reported accuracy is
   much higher
 - Can't enter duty cycle mode
 - fix IGnssConfiguration setBlocklist issue

Bug: 260300008
Bug: 262632321
Bug: 266760732
Bug: 264597734
Bug: 266343909
Bug: 254357787
Bug: 262829108
Bug: 265106280
Verify test: b/269053586
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I67ed14362f9278fd5c60cf709bfa63a1912e457c
2023-02-20 02:43:47 +00:00
Xin Li
1e883124ce [automerger skipped] Merge TQ2A.230305.008 am: 6c675e56d0 -s ours am: de16c91ae2 -s ours
am skip reason: Merged-In I46ec45354ae72a6a758aba2c2a31af92f1da4038 with SHA-1 b6ad359353 is already in history

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

Change-Id: I542e0d7c5831dc37abfd3128122a52ac6411311e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:50:58 +00:00
Cody Northrop
4bf66d3569 Revert "Reland "EGL: Configure multifile cache""
This reverts commit 6e10ece738.

Reason for revert: Causing boot time regression.

Test: pubg_mobile_launch ANGLE trace
Bug: b/266725576
Bug: b/268595699
Change-Id: I6bbd5330acf02e245cc1d10d4d414740799a19b8
2023-02-15 22:44:19 +00:00
Xin Li
de16c91ae2 [automerger skipped] Merge TQ2A.230305.008 am: 6c675e56d0 -s ours
am skip reason: Merged-In I46ec45354ae72a6a758aba2c2a31af92f1da4038 with SHA-1 b6ad359353 is already in history

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

Change-Id: I1b3637bc890a17ad20f2af1dea80c19228664e76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 22:04:43 +00:00
Owen Kim
6d8e22d7fa Remove "vendor.android.hardware.camera.stream-usecase" feature
Bug: 267637637
Test: adb dumpsys
Change-Id: I320334c4a5b06f9e55ee63bdae1225cefba1f638
2023-02-15 17:14:13 +00:00
Xin Li
6c675e56d0 Merge TQ2A.230305.008
Bug: 264720040
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
Change-Id: I61d9dc073a7250dac7d10589c8c12922a1764e27
2023-02-14 16:11:07 -08:00
Xiang Wang
5f6267c0b0 Update USB HAL clients to use Thermal stable AIDL
Bug: b/264594715
Test: boot test
Change-Id: I2ff6095e8ea6f0c5cc48b303585b65acc8a14f53
2023-02-14 22:24:23 +00:00
Doug Zobel
1373ac3961 [automerger skipped] dumpstate: Collect PCIe link stats [DO NOT MERGE] am: b8ff3f3f68 am: 7b26364572 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id28c24017053ac7979c974899edbbb06fc248c43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 21:48:14 +00:00
Doug Zobel
7b26364572 dumpstate: Collect PCIe link stats [DO NOT MERGE] am: b8ff3f3f68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21319973

Change-Id: I1d667e368acd8a12d3d5a3858ea88c7178b5b55d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 20:50:31 +00:00
Roy Luo
4e38e3b8c3 Add shell command to send vendor command to GL852G
Bug: 261923350
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd
<hex wValue> <hex wIndex>
Change-Id: I83b56d28cfd89dfaf51fce88f97020196402f972
Signed-off-by: Roy Luo <royluo@google.com>
2023-02-14 20:31:24 +00:00
Doug Zobel
b8ff3f3f68 dumpstate: Collect PCIe link stats [DO NOT MERGE]
Collect PCIe link statistics in dumpstate.

DO NOT MERGE because the same functionality is already
implemented in dump_pcie.sh in upstream branches.

Test: adb bugreport && unzip bugreport*.zip &&
      grep link_stats dumpstate_board.txt
Bug: 266561593
Change-Id: I5b530b68f8c8cd6ed2bc5016d5aef55c3caafbd8
Signed-off-by: Doug Zobel <zobel@google.com>
2023-02-14 12:50:37 -06:00
Solti
ef2da8cce4 Update how USE_ANGLE is defined
USE_ANGLE can be overridden.  If the parent mk files don't define
USE_ANGLE, then we treat it as not-using-angle.

Test: build by cmd: `lunch panther_angle-userdebug` and then manual
download the build to test on a Pixel device.

Change-Id: I19d38ba98b5e1adc87d71643c733ce91e178d6a0
Bug: 266433747
Bug: 267670142
2023-02-14 18:42:20 +00:00
Android Build Coastguard Worker
4391c43f97 Merge cherrypicks of ['googleplex-android-review.googlesource.com/20729654'] into tm-qpr2-release.
Change-Id: I8ea402bab9c0a24212992294e9f1354b58582a0f
2023-02-14 18:20:13 +00:00
Ray Chi
b17381ae84 [DO NOT MERGE] gs201: usb: provide extcon and gadget state to monitorffs
Monitorffs needs to check the state of usb extcon and gadget state
to pull up USB gadget. Therefore, this patch provide extcon and gadget
state to monitorffs.

Bug: 263435622
Test: verified pass
Change-Id: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
(cherry picked from commit bf79debcb2)
Merged-In: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
2023-02-14 18:13:37 +00:00
Erik Staats
f2a55fc82e Set acd-com.google.umfw_stat permissions, owner, and group
Bug: 254464877
Test: Verified /dev/acd-com.google.umfw_stat permissions, owner, and
 group.
Change-Id: I9a1a781aadf592911cbc03f3fe92cb9c66ffcf57
2023-02-14 14:37:34 +00:00
Adam Shih
3f1d4813cc Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I04431cd22b3ec1cc8a1bb0c6e3a7b482ad5963f2
2023-02-14 07:22:05 +00:00
Adam Shih
c9a60c3497 Move led dump to tablet only
Bug: 240530709
Test: adb bugreport
Change-Id: I41ab1c21462a2efcdfe2eae0f9aab4ccaa52bbb6
2023-02-14 04:28:30 +00:00
Jaegeuk Kim
c8d7b9071b Remove deprecated f2fsstat am: 3354e92ca5 am: 531f379a52 am: 3c4d627347
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2434092

Change-Id: I1bb604635447e0b577e9d6258b100f861bdc1278
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 01:48:32 +00:00
Jaegeuk Kim
3c4d627347 Remove deprecated f2fsstat am: 3354e92ca5 am: 531f379a52
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2434092

Change-Id: I85f585c7ecff3302c08553adc4842e4c8691b042
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 00:50:11 +00:00
Jaegeuk Kim
531f379a52 Remove deprecated f2fsstat am: 3354e92ca5
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2434092

Change-Id: Ib2ae77bb5e6a09c5865ebdaf7cccaceb99a41372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 00:03:12 +00:00
Jaegeuk Kim
3354e92ca5 Remove deprecated f2fsstat
Change-Id: I35d4482bc91f29f2748fd29edbe5b96bce68c0a3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-02-13 12:57:10 -08:00
Android Build Coastguard Worker
0cd9beb290 Merge cherrypicks of ['googleplex-android-review.googlesource.com/21326479', 'googleplex-android-review.googlesource.com/21326480'] into tm-qpr2-release.
Change-Id: Icd36a156db0f8e034a2ca638102effc5d0d1ba10
2023-02-11 17:28:06 +00:00
Junyu Lai
5cab7ffe1b Set config_networkAvoidBadWifi overlay on gs201 devices for Verizon
Currently, config_networkAvoidBadWifi is customized in aosp
for only 2 Verizon mccmncs: 310-004 and 311-480.

However, from TAM feedback, there are few mccmncs
which are not customized yet. Explicitly add them for gs201 devices.

Test: manual
Bug: 267489867
Change-Id: I46ec45354ae72a6a758aba2c2a31af92f1da4038
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
(cherry picked from commit cc270214ed)
(cherry picked from commit b6ad359353)
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
2023-02-11 17:26:41 +00:00
Junyu Lai
f9c809ee9c Set activelyPreferBadwifi config to 1 globally for gs201 devices
This flag will not take effect if the system is configured to
avoid bad wifis. Set it to 1 globally. Then it will sprint
into effect for all mcc/mncs where config_networkAvoidBadWifi is 0.

For carriers that don't need this behavior change but
config_networkAvoidBadWifi is 0, set activelyPreferBadwifi
to 0 for their mccmncs.

Test: manual
Bug: 267489867
Change-Id: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
Merged-In: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
(cherry picked from commit 3357b8cf94)
(cherry picked from commit 2a3281dc86)
Merged-In: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
2023-02-11 17:26:35 +00:00
Adam Shih
2f82d55e05 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I938cd3f012fcb400185772f5760c0fd280cb2a08
2023-02-10 13:40:55 +08:00
Cody Northrop
6e10ece738 Reland "EGL: Configure multifile cache"
This reverts commit c7e2a540af.

Previous CL was reverted due to long boot times.

Test: Boot (quickly)
Test: pubg_mobile_launch ANGLE trace
Test: /data/nativetest64/EGL_test/EGL_test
Test: /data/nativetest64/libEGL_test/libEGL_test
Bug: b/266725576
Change-Id: Ia2054d7271a81403554024b58191f5a13a83ae61
2023-02-09 20:23:10 +00:00
neoyu
4a6ea2d8c2 Support SecureElement HAL for HIDL
Bug: 267525940
Bug: 268172771
Test: manual
Change-Id: I4d2dd9af751773308b2bdea3bc6b9583961ef2a6
2023-02-09 04:39:10 +00:00
Ricky Niu
f14cbd6370 Add resetCb
Add the resetCb to complete asynchronous

Bug: 267252826
Test: Boot to home and function work
Change-Id: I9d6624cbe15c86c63e28f8f176d7c560aed8446f
2023-02-09 02:02:50 +00:00
Cody Northrop
c7e2a540af Revert "Reland "EGL: Configure multifile cache""
Revert submission 21292947-reland_blobcache_20230203

Reason for revert: Suspected cause of boot time regression

Reverted changes: /q/submissionid:21292947-reland_blobcache_20230203

Bug: b/266725576
Bug: b/268248090
Change-Id: I94eb344e0e39b033016b745afd99c8dbba367c25
2023-02-08 19:37:07 +00:00
Junyu Lai
4199455b69 [automerger skipped] Set config_networkAvoidBadWifi overlay on gs201 devices for Verizon am: b6ad359353 am: bc064dcc0a -s ours
am skip reason: Merged-In I46ec45354ae72a6a758aba2c2a31af92f1da4038 with SHA-1 cc270214ed is already in history

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

Change-Id: I819c9115c4bbf67c952aafca947480979885da47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 08:05:08 +00:00
Junyu Lai
2a64ef39e9 [automerger skipped] Set activelyPreferBadwifi config to 1 globally for gs201 devices am: 2a3281dc86 am: 40488798e5 -s ours
am skip reason: Merged-In I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3 with SHA-1 3357b8cf94 is already in history

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

Change-Id: I4dff13b631fbe8c92702aa11dd3f52b251058561
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 08:04:42 +00:00
Junyu Lai
bc064dcc0a Set config_networkAvoidBadWifi overlay on gs201 devices for Verizon am: b6ad359353
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21326480

Change-Id: I07ff8b00eda2e36629a5a027761d423506d58e73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 07:24:20 +00:00
Junyu Lai
40488798e5 Set activelyPreferBadwifi config to 1 globally for gs201 devices am: 2a3281dc86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21326479

Change-Id: I1fe8a31974ec192d259cf0379d312fe45636f61f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 07:24:02 +00:00