Commit graph

5343 commits

Author SHA1 Message Date
Chungkai Mei
01a4b14147 Remove UClamp Threshold setting am: ef9d0934c6 am: dc8331b958
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20673904

Change-Id: I7492213e6327ed343311550923842f8d77326bd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 23:01:25 +00:00
Chungkai Mei
dc8331b958 Remove UClamp Threshold setting am: ef9d0934c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20673904

Change-Id: Ib2c518fccc4f9267dfc2cffbad7aa2b08be38c55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 22:27:19 +00:00
Chungkai Mei
ef9d0934c6 Remove UClamp Threshold setting
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-09 21:43:57 +00:00
Xin Li
1c3f093247 Merge Android 13 QPR1
Bug: 261731544
Merged-In: Ifb3f692284eec45ca0c17838c1f39eaf2661650d
Change-Id: I6a92cefc2706d9f5527f7092043dffbe6d54f874
2022-12-09 10:24:31 -08:00
Gabriel Biren
e8b35d0e0a Update gs101 compatibility matrix and makefile
to use the AIDL wifi_ext service.

Bug: 205044134
Test: Start wifi on a Bluejay device.
Change-Id: I39c6d7177f50fd8f640f8cf31b0d99ae11b0cf77
2022-12-09 18:01:44 +00:00
Android Build Coastguard Worker
c3f1b93461 Snap for 9381392 from f41ee9ffe6 to tm-qpr2-release
Change-Id: Id5c2fe040130df1f0b0b39a3222791c9cf5ba20e
2022-12-08 00:03:07 +00:00
Daniel Mentz
b3f04d55e4 Import prebuilt kernel modules like fips140.ko am: f41ee9ffe6 am: b96da64e3d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19343856

Change-Id: Id4cfb71e19ed727cdfa91c83c345b5a097359104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 22:25:19 +00:00
Daniel Mentz
b96da64e3d Import prebuilt kernel modules like fips140.ko am: f41ee9ffe6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19343856

Change-Id: I9cf28f55b4dc779326c73660e8d5225778e78d7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 21:57:19 +00:00
Daniel Mentz
f41ee9ffe6 Import prebuilt kernel modules like fips140.ko
Add support for copying prebuilt kernel modules like fips140.ko into the
vendor ramdisk. These kernel modules are different in the following
ways:

- They do not appear in vendor_boot.modules.load provided by the
  kernel build system.
- We want to put their names at the very beginning of the output
  modules.load file to ensure that they are loaded prior to all other
  modules.

We define a new Makefile variable named
BOARD_PREBUILT_VENDOR_RAMDISK_KERNEL_MODULES. For every filename on this
list, we verify that the file exists in $(KERNEL_MODULE_DIR), and if it
does, we include its name in the modules.load for the vendor boot
ramdisk.

Bug: 194712883
Change-Id: Iff8923c2492296b8eb4d24ec94bbfccc19f4e8f5
2022-12-07 21:33:53 +00:00
Nicole Lee
34e9710a6b Update pixel stability logging mask am: da4c293712 am: 02c7f7d3d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20660934

Change-Id: I1a4dbefc71b978ae61eb5b7b375122b24ea6afaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 16:52:36 +00:00
Nicole Lee
02c7f7d3d3 Update pixel stability logging mask am: da4c293712
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20660934

Change-Id: Ie89b94d67088b5be5c41719a377ecb999bc8edee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 16:29:06 +00:00
Nicole Lee
da4c293712 Update pixel stability logging mask
- Enable _Normal logs in group GP_CH_COMM, GP_CH_NR
  GP_CP_COMM, GP_CP_NR, GP_DP_NR_H, GP_DP_NR_L, GP_SMPF_TASK

Bug: 261136798
Change-Id: I1da78e487947431769fefc9370257a84de6e4141
2022-12-07 18:19:30 +08:00
kierancyphus
23c0c033a2 [automerger skipped] Dumpstate.cpp: use new history dir and inc more files am: 242debae75 am: 1f72509f50 -s ours
am skip reason: Merged-In I1a57e0f4fea66929803fac350547b706d7442b26 with SHA-1 a381b21dfc is already in history

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

Change-Id: Idebd7e4ba1e918e9443e5a751070ea47b19649c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 08:12:19 +00:00
kierancyphus
1f72509f50 Dumpstate.cpp: use new history dir and inc more files am: 242debae75
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20614888

Change-Id: I46b07bb633864224ef82e19af1c9a6718cbc301f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 07:33:01 +00:00
Chien Kun Niu
3507989979 Revert "Migrate IUsbGadget implementation to AIDL"
This reverts commit bbcd013c41.

Reason for revert: Increase the boot time to cause the below bug.
b/261027750 | P0 | Broken test: v2/android-perfetto-dev-team/apct/perfetto/perfetto_integrationtests on git_master on oriole_hwasan-userdebug at 9355690

Change-Id: Idba7322ca86e70cf5d8e170936696586caa8c1c2
2022-12-07 03:56:16 +00:00
kierancyphus
a381b21dfc Dumpstate.cpp: use new history dir and inc more files
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).

Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included

Change-Id: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-07 03:18:53 +00:00
Android Build Coastguard Worker
769d17506d Snap for 9371302 from 09383c4690 to tm-qpr2-release
Change-Id: I12fafe69590812917af6d9da4645301f2d5fc03b
2022-12-06 00:03:04 +00:00
kierancyphus
242debae75 Dumpstate.cpp: use new history dir and inc more files
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).

Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included

Change-Id: I1a57e0f4fea66929803fac350547b706d7442b26
Merged-In: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-05 06:17:03 +00:00
Edwin Tung
a3ad3dea6b [automerger skipped] DO NOT MERGE gps: update gps driver 147.20.23.556285 am: 09383c4690 am: 9a93a62cca -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie8545de8cde01efaf7efdc992618a69cb88b4188
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 04:20:39 +00:00
Edwin Tung
9a93a62cca DO NOT MERGE gps: update gps driver 147.20.23.556285 am: 09383c4690
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20581153

Change-Id: I109730ea54e39a72784afb1dfa9dbbcf2388bb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 03:46:58 +00:00
Edwin Tung
09383c4690 DO NOT MERGE gps: update gps driver 147.20.23.556285
- Fix no GPGSV information in CP LPP session
 - Implement SIT_IND_GPS_NFW_MODE to make modem request NFW status from gpsd
 - Fix the high EA issue caused by last known position
 - Use network PLMN to determine carrier configuration when SIM PLMN is
   not available

Bug: 248476067
Bug: 252972119
Bug: 243358812
Bug: 258355692

Verify test: b/260669367
Test: CTS/VTS/PTS pass

Change-Id: I6ffda40cd851b85c3d60221b82ef6bc478f15d23
2022-12-05 03:10:22 +00:00
Gabriel Biren
aa62245e7b Revert "Update gs101 compatibility matrix to use the"
This reverts commit f155498d8a.

Reason for revert: Blocking Wembley team

Change-Id: Ib87dc0d1afd24b2b3707bcd9bd4b06d559442372
2022-12-02 16:13:58 +00:00
Neo Yu
3d95ab2e05 Enable GAudio feature for AOSP build
Bug: 246550953
Test: MO/MT call
Change-Id: Ie41837923362a2cd99b635f483c6ea5a17572f09
2022-12-02 05:56:08 +00:00
Android Build Coastguard Worker
ddc5bf58a9 Snap for 9358956 from b9fd6571c1 to tm-qpr2-release
Change-Id: I3e9723f512c1451133fdcc313a07c4b9fa7dc265
2022-12-02 00:03:22 +00:00
Ziyi Cui
cdd7192392 [automerger skipped] [DO NOT MERGE] gs101:dumpstate: Dump long irq metrics, resume latency metrics at bugreport am: b9fd6571c1 am: 6f0ec9f01e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iab2fb267d768fb78f38e0d5c1de81eeca028022f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:29:49 +00:00
Ziyi Cui
bb4e32f849 gs101: pixelstats: add pixel perf stats paths am: f57fca197d am: e6dd6da8cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20273385

Change-Id: Ief5d810d0414123b9a6e83b953fcaec3fdf5f138
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:29:44 +00:00
Ziyi Cui
5058d1ecb3 [automerger skipped] [ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport am: b7b91cdb14 am: 36ab854558 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id6451c40d21f324e7598e126239bee2759c12426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:28:37 +00:00
Ziyi Cui
bdd903fb0b gs101: pixelstats: add pixel temperature residency stats paths am: 19f686ee47 am: 391db7b2a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20528072

Change-Id: I8951bc8a92a75804b5935d8fba844ea5e34f8033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:28:30 +00:00
Ziyi Cui
6f0ec9f01e [DO NOT MERGE] gs101:dumpstate: Dump long irq metrics, resume latency metrics at bugreport am: b9fd6571c1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20590798

Change-Id: Ibf17f3730d3996004eb2065111adccb9028d40a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:03:14 +00:00
Ziyi Cui
e6dd6da8cf gs101: pixelstats: add pixel perf stats paths am: f57fca197d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20273385

Change-Id: I6b8a0af04c81bc86caa063a9929c55f89c3f2600
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 07:03:10 +00:00
Ziyi Cui
36ab854558 [ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport am: b7b91cdb14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20584367

Change-Id: Ibedcb51e62ac1cfec14ff2bbe28f9aa3a648a47e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 06:59:38 +00:00
Ziyi Cui
391db7b2a0 gs101: pixelstats: add pixel temperature residency stats paths am: 19f686ee47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20528072

Change-Id: I09a32a3763de7647b17f262b922efcac449ae715
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 06:59:37 +00:00
Ziyi Cui
b9fd6571c1 [DO NOT MERGE] gs101:dumpstate: Dump long irq metrics, resume latency metrics at bugreport
At the bugreport, capture long irq metrics and resume latency metrics

Bug: 227809911
Bug: 232541623
Test: "adb bugreport" includes metrics capture.
Change-Id: Ic60cb29b4e58996e7db1dc8fa406b46840ccd446
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:31:34 +00:00
Ziyi Cui
f57fca197d gs101: pixelstats: add pixel perf stats paths
Add pixel perf metrics paths in sysfs paths list for gs101

Bug: 232541623
Test: Verified the existence of atom and correctness of resume latency, irq stats
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I0c4b363e93a9ee651cedc35e2e1e09a691244828
2022-12-01 06:31:34 +00:00
Ziyi Cui
b7b91cdb14 [ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport
At the bugreport, capture Temperature Residency metrics

Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I7dcc42e88c3e24506298b9dc46e0728a3eaba518
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:27:22 +00:00
Ziyi Cui
19f686ee47 gs101: pixelstats: add pixel temperature residency stats paths
Add pixel temperature residency metrics paths in sysfs paths list for gs101

Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01 06:27:22 +00:00
Ricky Niu
bbcd013c41 Migrate IUsbGadget implementation to AIDL
This change migrates IUsbGadget implementation to AIDL.

Bug: 218791946
Test: USB function switch success and AIDL service is running.
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: Ib2cff64e75608572a005933bc94ecaf128b85559
2022-12-01 04:30:22 +00:00
Jinyoung Jeong
f2f77508ac [LPA][gs101] Add notification pregrant am: 050a62c778 am: c4590ae05a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20586028

Change-Id: Ia8dda1fbbb340e7116d01f799f05ac4527032f22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 00:52:33 +00:00
Jinyoung Jeong
c4590ae05a [LPA][gs101] Add notification pregrant am: 050a62c778
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20586028

Change-Id: I999fe37d13ffdd3513feaf529bbd2b71a18a26f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 00:22:57 +00:00
Jinyoung Jeong
050a62c778 [LPA][gs101] Add notification pregrant
refer to b/237497128

Bug: 251705860
Test: manual
Change-Id: I4c6609c0e36d7404adc4da23f91f0d0cf47285ad
2022-11-30 23:52:48 +00:00
Gabriel Biren
f155498d8a Update gs101 compatibility matrix to use the
AIDL wifi_ext service.

Bug: 205044134
Test: Start wifi on an Oriole device.
Change-Id: I6747b4917c9b243ce8f7cc21a8e8a6ad81ec5d17
2022-11-30 22:47:08 +00:00
RD Babiera
96ccf93453 Usb non-compliant port partner gs101 implementation
Adds vendor code for non-compliant charger feature. Currently
updates service version.

Test: atest VtsAidlUsbTargetTest
Bug: 236322506
Change-Id: Ie1a48b1acaaae9a53f3b9bfebcfee7a2f4814810
2022-11-30 01:39:11 +00:00
Michael Butler
74f5ca9888 Rename libedgetpu_dba_hal.google.so to libedgetpu_dba.google.so
Bug: 257312560
Test: mma
Test: atest edgetpu_dba_test
Test: atest edgetpu_dba_dlopen_test
Change-Id: I07d20366d05a7911eb8d950be7aff0e3ea04423b
2022-11-29 19:00:15 +00:00
Adam Shih
66379fde0e use touch dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I224a2a194c9e37768e8a5c7e879da97964d97fbf
2022-11-29 04:47:15 +00:00
Ziyi Cui
2f92bc0d38 gs101:use gs-common pixel_metrics dump
Bug: 227809911
Bug: 232541623
Test:"adb bugreport" includes metrics capture.
Change-Id: Ie1e6078713a969c490cba67ad64aac8328ac62df
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-29 01:02:45 +00:00
Ziyi Cui
cf6265fb32 gs101: pixelstats: add pixel perf stats paths
Add pixel perf metrics paths in sysfs paths list for gs101

Bug: 232541623
Test: Tested resume latency metrics
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I0c4b363e93a9ee651cedc35e2e1e09a691244828
2022-11-29 01:02:45 +00:00
kierancyphus
fddf45d940 Include modem log mask history in dumpstate
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered.

Bug: 241739027
Test: Trigger a bugreport with `adb bugreport` and check to make sure
the report contains the `LoggingMaskHistory` file. E.g. after
unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`.

Change-Id: Ibfa74194d13cb4dc5c3f2cf9f54ee81390a301a6
2022-11-25 03:58:45 +00:00
Kieran Cyphus
64575a8ba1 [automerger skipped] DumpstateDevice: include mask history file am: 72014f715c am: 0493537ce7 -s ours
am skip reason: skipped by user kierancyphus

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

Change-Id: I860f2aa2212283ce2969b86e67a4e73d27aa6817
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 02:47:26 +00:00
Android Build Coastguard Worker
448cb2d3e7 Snap for 9325773 from 72014f715c to tm-qpr2-release
Change-Id: Ie2e2bac3a21579907c0550b821ab95f034e97c37
2022-11-24 00:03:58 +00:00
Ziyi Cui
e7a2571a72 gs101: pixelstats: add pixel temperature residency stats paths
Add pixel temperature residency metrics paths in sysfs paths list for gs101

Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8
Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-23 23:37:19 +00:00