Commit graph

1041 commits

Author SHA1 Message Date
achigoliu
d6a9d8b6ec handheld_core_hardware.xml should be included at device specific layer.
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: Iaf784d28c76b4754a0337250e1bca6c123acc940
Merged-In: I391dce558e1a8407a20789497461700a67dcb5ef
2022-08-10 02:47:02 +00:00
Roger Liao
1fa1cf5d87 Scale the flexibility for snesor features settings
Support to exclude baro, HIFI, prox sensor features

Bug: 240652154
Test: adb shell pm list features
Change-Id: Ia1a14acc208f04e2264d3ee03a1cef958fd829af
2022-08-09 18:41:01 +08:00
wenchangliu
856edb8471 update bitrate modes capability for video encoder
Bug: 236896946
Test: check support bitrate modes from getEncoderCapabilities()
Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
2022-08-09 09:48:44 +00:00
TeYuan Wang
f14529ed67 thermal: allow system to overwrite the skin_therm's trip point
Bug: 236787614
Test: ls -al dev/thermal/tz-by-name/skin_therm/trip_point_0_*
Change-Id: I382214c4942a4f29ee13bf85c8900d131067ae39
2022-08-09 03:08:54 +00:00
GOOGLE\huangaustin
1e179afa61 [PixelLogger][P22] Update P22 Pixel_default.nprf to enable PAL-TraceAlert trace for Power team
bug: 238886084
Change-Id: I3c2c7350ab8301d4fe0c0110a3d6c65f3edafa8f
2022-08-08 15:39:21 +08:00
Randall Huang
a245c22458 Enable scsi error recovery log for debugging
Bug: 239451498
Test: run storage-qa pixel/039
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I4031bd245d8b22762a5fe5a678bc8568ff4eb0c5
2022-08-04 01:33:48 +00:00
Adam Shih
45c6492990 Remove IBluetoothCcc from common setting
Bug: 239658601
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I6debd45beb274321a055bba4d551f4646ebf0663
2022-08-03 09:21:49 +00:00
Edmond Chung
2b0b2ca387 Camera: Create video_bokeh_node folder at boot am: 38305941b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19499376

Change-Id: I80d7754b6d6eaf90172bd923cad31a0ffb22314e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-03 00:50:49 +00:00
Edmond Chung
38305941b6 Camera: Create video_bokeh_node folder at boot
Bug: 241054363
Test: Build, run on user-build
Change-Id: I8403c58ed5e9fa6f9bb68012298855d84cfec23e
2022-08-03 00:03:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jenny Ho
96ef4de2a7 set dev_sn for battery pairing
Bug: 238307181
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I8b1c0de4b57e6475627e279bd890fe66ca8e92c5
2022-07-08 02:01:29 +00:00
Jinyoung Jeong
af58241c9b Add notification pregrant for LPA on g s 2 0 1 am: 9c6e990eb3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19205332

Change-Id: Iff2dbcd83eded312e1b764a9002d1a0a4ebc2900
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 18:21:06 +00:00
Jinyoung Jeong
9c6e990eb3 Add notification pregrant for LPA on g s 2 0 1
Bug: 237497128
Test: manual
Change-Id: Ie2fe6b1479e3e1bfbf33c343bee48c1d6c252995
2022-07-07 07:24:45 +00:00
Ted Lin
ab63f085d7 [automerger skipped] Remove the unused attribute set from init.rc am: f451b3b7c3 -s ours
am skip reason: skipped by user tedlin

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

Change-Id: Ifd0db814273018ebba0f20e3451a7ccc860d26ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 01:31:19 +00:00