Commit graph

1057 commits

Author SHA1 Message Date
Ananth Raghavan Subramanian
423562d561 init: Change pm_freeze_timeout
Reduce /sys/power/pm_freeze_timeout to 1s from default of 20s.
Data shows that the 20s timeout is rarely hit before suspend is aborted
due to a wakeup/interrupt. Reducing the timeout will help with
diagnosing task freezing issues and will reduce time spent attempting
suspend.

Bug: 239743579
Test: Successfuly boot to home, verify change in node
Signed-off-by: Ananth Raghavan Subramanian <ananthrs@google.com>
Change-Id: I839764dd06ebd66110c11953baf13c06e598dd80
Merged-In: I839764dd06ebd66110c11953baf13c06e598dd80
(cherry picked from commit e84f3603d1)
2022-08-02 16:43:51 +00:00
Android Build Coastguard Worker
4f785c00f2 Snap for 8892748 from 20c32a2874 to tm-qpr1-release
Change-Id: If49b6ee326cf6f54cfcd99f91d55e98202dc3aa8
2022-08-01 23:03:12 +00:00
Andrew Chant
20c32a2874 gs201: convert_to_ext4: copy .files, fix md5sum am: b108713200
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19399336

Change-Id: I5d452000eabacc5ee3ef3485d90c97911fcabc37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 18:17:31 +00:00
Jaegeuk Kim
74ff274895 Use EXT4 for /persist am: 83e0b84caf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19388119

Change-Id: Ic16b53341152a794ae2591e4a7fb25df26b41cd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 18:17:28 +00:00
Konstantin Vyshetsky
bab4345e6b gs201: add script to migrate persist to ext4 am: 214b76abd3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19391442

Change-Id: Ia821dfb32ba14e9610d63cc83653408fc80d20d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 18:17:27 +00:00
Andrew Chant
b108713200 gs201: convert_to_ext4: copy .files, fix md5sum
Copy files in persist/.*
Don't leave md5sums file in the persist folder.

Bug: 239632964
Signed-off-by: Andrew Chant <achant@google.com>
Change-Id: I7d351806f95ccc28fcfec4d45ecf3bda488e7e15
2022-08-01 18:00:49 +00:00
Jaegeuk Kim
83e0b84caf Use EXT4 for /persist
Bug: 239632964
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Idf41e3b71fec50029b77951550def1b8c750a42d
2022-08-01 18:00:49 +00:00
Konstantin Vyshetsky
214b76abd3 gs201: add script to migrate persist to ext4
Bug: 239632964
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: If3ac021dec5b25968e83f926518e2881c92d2275
2022-08-01 18:00:49 +00:00
Android Build Coastguard Worker
480ff2be4b Snap for 8887382 from 46a0ab6018 to tm-qpr1-release
Change-Id: I1e0d689aefd84965774e9beb6854173667ed38b2
2022-07-30 01:02:59 +00:00
Bruce Po
301ce08839 Add TARGET_PRODUCT variable to aoc daemon build
Add TARGET_PRODUCT variable to aoc daemon build. This will be useful for
including/excluding certain features depending on product type, e.g.
T6 hotword AP offload.

BUG: 240748763
Change-Id: I412309789279830e2380764bb475a9c65b39c355
2022-07-30 00:03:43 +00:00
Darren Hsu
46a0ab6018 powerstats: include WLAN data provider in PowerStatsHAL
The specific device uses QC solution on wifi. Include WLAN state
residency data provider in PowerStatsHAL for the device.

Bug: 231397821
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I268dd007c9998c9453107a7ff9507203aee0f87c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-29 03:34:51 +00:00
Stephane Lee
53dc3e39a6 Add device-specific support for GoogleBattery AIDL V1
Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: I8266f622641ca42672685ce3869f03b433cadbe6
Merged-In: I8266f622641ca42672685ce3869f03b433cadbe6
2022-07-28 20:01:51 +00:00
Android Build Coastguard Worker
a43aea1873 Snap for 8877244 from 19b932eb41 to tm-qpr1-release
Change-Id: I3425ee7d45e0ffaba7ba6618209094c9b7db444c
2022-07-27 23:07:44 +00:00
Darren Hsu
19b932eb41 powerstats: remove bluetooth data provider on the specific device
The specific device uses QC solution on Bluetooth. Remove support
of Bluetooth state residency data provider in PowerStatsHAL on the
specific device.

Bug: 231395549
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic94d9ca2ddefa5ac09bc83bf156a4972562506ea
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-27 07:56:02 +00:00
Android Build Coastguard Worker
83896a38b4 Snap for 8872621 from 424daa6932 to tm-qpr1-release
Change-Id: I9aaa865fbbaa035cfdeff90233b94bedb5a2306a
2022-07-26 23:03:04 +00:00
Roger Liao
bf885d8d52 gs201: exclude telephony.carrierlock feature if BOARD_WITHOUT_RADIO
Bug: 238702278
Test: build pass, boot successfully, adb shell pm list features
Change-Id: I16e25061ca63a9134a20db249e469e1a4b227657
2022-07-26 17:51:40 +08:00
Roger Liao
312ccd4c63 gs201: exclude vendor telephony code if BOARD_WITHOUT_RADIO
Bug: 235907512
Bug: 238702410
Bug: 238702413
Test: build pass, boot successfully, adb shell pm list features
Change-Id: Id2923e5b8ea0cce844a6436ce2a4b83a428c5b14
2022-07-26 17:51:40 +08:00
Roger Liao
424daa6932 Scale the flexibility for camera flash/autofocus settings
Let clients determine the configuration of camera flash/autofocus
features. Copy the rule by conditions:
- android.hardware.camera.xml for a non auto-focus camera.
- android.hardware.camera.flash-autofocus.xml for an auto-focus camera.

Bug: 239142680
Test: adb shell pm list features
Change-Id: I82fc7284743453712b6468efbb348c25b8c2ca88
2022-07-26 06:35:29 +00:00
Adam Shih
1334b20d50 Accelerate fetching trusty log am: b074658691
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19395411

Change-Id: I017794c4596b40cef0ad0b82059ae816fdd18a4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 00:34:12 +00:00
Adam Shih
b074658691 Accelerate fetching trusty log
Bug: 238980177
Test: vts-tradefed run vts -m VtsHalDumpstateTargetTest
Change-Id: Ib26f3c217ef4826495ee0d98a659503de2fb5ab2
2022-07-26 00:12:44 +00:00
Android Build Coastguard Worker
0db2cc1263 Snap for 8867503 from 41812d12e7 to tm-qpr1-release
Change-Id: Idbc95f995a99c5fdc0d9e5bd89917b5f86eefb24
2022-07-25 23:03:19 +00:00
Edwin Tung
41812d12e7 gps: update gps driver 143.20.23.545390 am: c73de44aea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19378472

Change-Id: Ib4017742e6cb92a6d8005f1d69ea94aab90fda5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-25 07:23:06 +00:00
Android Build Coastguard Worker
1e404bff1b Snap for 8862780 from ed1fa3ae48 to tm-qpr1-release
Change-Id: I9e7d0e263281917cc27cfef4d7153748cdfb848e
2022-07-23 03:03:02 +00:00
Jack Wu
ed1fa3ae48 init: disable dock-defend
User will enable/disable this feature from UI setting

Bug: 239889098
Test: dock-defend is disabled by default
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I1b0dd49208f345d4edeee81f9b07d2de93f97d45
2022-07-22 03:58:20 +00:00
badhri
7d34263bf9 Set powerBrickStatus to not connected when sourcing power
Bug: 239755044
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I7720bfaa5876c058643c52525b488ba22b3e5121
2022-07-22 02:31:35 +00:00
Android Build Coastguard Worker
23d193921f Snap for 8857231 from 713b995e29 to tm-qpr1-release
Change-Id: I80e704663e419e41429045a375d70c417cf6a983
2022-07-21 23:02:58 +00:00
Edwin Tung
c73de44aea gps: update gps driver 143.20.23.545390
Fix SUPL SI/NI race condition issue

Bug: 211060538

Verify test: 239810703
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I81c7a4f0887fe1a42074cd0a9f933b8c3e33c136
2022-07-21 22:01:08 +08:00
George Lee
713b995e29 logger: Change access right to lastmeal.txt
Bugreport cannot access lastmeal.txt due to access right.

Bug: 239709385
Test: confirm lastmeal.txt has system:system
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I50375ae10a7018b059245afbe571b6c0280ae808
2022-07-20 23:12:16 +00:00
Android Build Coastguard Worker
88c69427f0 Snap for 8852680 from a150e72f05 to tm-qpr1-release
Change-Id: I15a8e19f35c4e3735b20f810a493352c9e85efad
2022-07-20 23:03:07 +00:00
Cheney Ni
a150e72f05 Bluetooth: correct logbuffer_btpower owner to Bluetooth
Bug: 229691092
Test: Pass file permission check
Change-Id: I62c0c32124859db36b530a861bcc554d9a9d6c33
2022-07-20 19:05:20 +00:00
Hsiu-Chang Chen
8e65c0cf8f wifi: Disable 6GHz channels on P2P
Bug: 236231546
Test: Run P2P ACTS Tests
Change-Id: I22fb7785a35425e41fafc5ffb127c9a4ab0d68e4
2022-07-19 12:52:38 +08:00
Android Build Coastguard Worker
ac6aba6c9c Snap for 8837442 from e225662f04 to tm-qpr1-release
Change-Id: I6ec06e28f5b406cb80f139814960a92a7df16504
2022-07-16 03:03:06 +00:00
Christopher Ferris
e225662f04 Force build everything as 64 bit. am: f60ad6f3dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19294720

Change-Id: I84d781d76542eb9dbcc7dbfab7af9553190e73ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 20:27:37 +00:00
Christopher Ferris
f60ad6f3dd Force build everything as 64 bit.
When building the 64 bit and the 32 bit executables, there
are a few targets that are prefer32. Using this option forces
those executables to be built as 64 bit.

Bug: 229787331

Test: With this option, drmserver/mediaserver are built as 64 bit.
Test: Without this option, drmserver/mediaserver are built as 32 bit.
Change-Id: Ie76ffe17f14b5157983796a616436bfa12987136
2022-07-15 20:06:52 +00:00
Robin Peng
6f754fdde9 init.gs201.rc: remove vendor.device.modules.ready from 'on init' section
1) for projects with device specific modules, this property should only
   be set while device modules been loaded.
2) also remove "wait_for_prop vendor.device.modules.ready 1" to prevent
   infinite wait
3) migrate vendor.all.modules.ready/vendor.all.devices.ready to
   init.insmod.<DEVICE>.cfg and set these proprieties while .cfg not
   exist

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: Ie5a2b939191947c4fce154dde48859a28fe86329
2022-07-15 14:43:48 +00:00
TeYuan Wang
938a1692d5 thermal: allow system to overwrite the usb_pwr_therm2's trip point
Bug: 233003074
Test: ls -al /dev/thermal/tz-by-name/usb_pwr_therm2/
Change-Id: I2ac803d455ebd7240bedf70bbcf98ef3c9e1d8c3
2022-07-15 07:12:25 +00:00
Android Build Coastguard Worker
ec438493b6 Snap for 8832598 from 1af394158a to tm-qpr1-release
Change-Id: I4bed8fa1a8d010dffbc71b090b87341b837ec836
2022-07-15 01:03:00 +00:00
wenchangliu
1af394158a update performance-point for media performance class 13 am: 0da7092027
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19272129

Change-Id: I823a999bb35ee8732c9860111fdffd60f88c0fd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 16:11:26 +00:00
wenchangliu
0da7092027 update performance-point for media performance class 13
Support 6 instances of hardware video encoder/decoder
sessions (AVC, HEVC, VP9 or AV1) in any codec combination
running concurrently at 1080p resolution@30fps.

Bug: 235188037
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Change-Id: Ie2f4cd437f57c4a011cfd3f332193eb3276c39a7
2022-07-14 15:46:42 +00:00
Christopher Ferris
93e0af1927 Enable 32 bit building, but only 64 bit zygote. am: 377294ed9d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19281764

Change-Id: I6ce6619ae26e7933572a0d17bc03344fb08da477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 00:55:06 +00:00
Christopher Ferris
377294ed9d Enable 32 bit building, but only 64 bit zygote.
Bug: 229787331
Test: Build/Boot in progress.
Change-Id: I4686b567fd96a6cd7c3f6e269f0424811c0b3d6a
2022-07-13 12:20:58 -07:00
Android Build Coastguard Worker
b695cd018e Snap for 8818610 from 6497f603e9 to tm-qpr1-release
Change-Id: I3437311db78815abe02fa81a67ee6344e838438f
2022-07-12 01:02:43 +00:00
George Lee
6497f603e9 dumpstate: Enable print out of thismeal.txt am: cc1831b66a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19225814

Change-Id: I8edd99fc9e90b335be24f6aa7f0a1a36efdd7a7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 18:30:13 +00:00
George Lee
cc1831b66a dumpstate: Enable print out of thismeal.txt
thismeal.txt captures the ODPM breakdown when mitigation interrupt
occurs.  This can help understand the power breakdown when interrupt
happens.

Bug: 238435115
Test: Bugreport contains the thismeal.txt once mitigation interrupt
triggers.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I5dcfbaae9832b4e0c50293d0cc45d4b40ac9da7f
2022-07-11 18:01:18 +00:00
Android Build Coastguard Worker
0a12d60805 Snap for 8814657 from e31dc795f1 to tm-qpr1-release
Change-Id: I760baf1b66b75e345741e1811f4933b93c025193
2022-07-09 23:02:45 +00:00
Kyle Tso
e31dc795f1 dumpstate: Dump logs
Bug: 237082721
Test: log dumped in bugreport
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I8dfcbb397581644b6daf1a4c0aa45d53b5662dcd
2022-07-09 07:22:55 +00:00
Android Build Coastguard Worker
c862adc6b6 Snap for 8813441 from 4c0d4e0364 to tm-qpr1-release
Change-Id: Ib6e6040056fb8e498aa8f6f57b2663a665d105cc
2022-07-09 03:03:18 +00:00
Binhao Lin
7e18fbeaf2 Add "vendor.android.hardware.camera.preview-dis" feature am: d559670cb2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19221082

Change-Id: I245fee8fa6a012752fdbabaf51dda4b2207ad758
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-09 01:20:14 +00:00
Binhao Lin
d559670cb2 Add "vendor.android.hardware.camera.preview-dis" feature
Bug: 229759817
Test: adb shell pm list features | egrep -i camera
Change-Id: Ifd705f2035815a65b212fd37b0894e7353761305
2022-07-09 00:55:29 +00:00
Jenny Ho
4c0d4e0364 set dev_sn for battery pairing am: 96ef4de2a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19209955

Change-Id: I1158076554d24f0d61525d665bd3a9cdd6cdb765
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-08 02:28:48 +00:00