Commit graph

672 commits

Author SHA1 Message Date
GOOGLE\huangaustin
177fecbbd6 [PixelLogger][P22] Update P22 Pixel_default.nprf am: a581e2420c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17183531

Change-Id: I3a47a2fc45fb43c6676c714a9963497faf1b5f37
2022-03-16 04:53:16 +00:00
GOOGLE\huangaustin
a581e2420c [PixelLogger][P22] Update P22 Pixel_default.nprf
bug: 214351205
Change-Id: I5f5006711618e82bb1a65fe869200fdeed7dda81
2022-03-16 04:29:10 +00:00
Martin Liu
57c771c0dd sync RCU settings am: 66fe1adedd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17197743

Change-Id: Ib405450ddb8df9ecd801e4e4a6c8ea4366d3b2e8
2022-03-16 01:28:13 +00:00
Martin Liu
66fe1adedd sync RCU settings
sync RCU settings to improve overall RCU latency

Bug: 224756824
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I1d320a308009111a0598bbda3f5c5da9e447e17e
2022-03-16 01:00:26 +00:00
Jaegeuk Kim
2604a8e2f7 Remove android.hardware.renderscript to fix vts am: 46d2ff83a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17056300

Change-Id: Ib0b54c2fd72e3f0c51135fffedb8cbf6777d53b1
2022-03-15 18:14:37 +00:00
Jaegeuk Kim
46d2ff83a6 Remove android.hardware.renderscript to fix vts
Bug: 221171447
Bug: 213121817
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia9426fc34fea6494a810515dc102bd610cc6447d
2022-03-15 17:47:48 +00:00
Denny cy Lee
8073afbf9f Pixelstats: porting from p21 am: f9c2f03287
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17120763

Change-Id: Ic372c7a12d5885a8fa669c779e8de73a44a8161f
2022-03-15 03:16:24 +00:00
Denny cy Lee
f9c2f03287 Pixelstats: porting from p21
Bug: 222019890
Bug: 222657999
Test: check debug logcat in pixelstat, HardwareInfo
Change-Id: I110a2b2713b6c27e23418569bb8d1b726af07b95
2022-03-15 03:09:18 +00:00
Martin Liu
a9a5e2c16b Disable memcg am: e00a9b2099
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17184863

Change-Id: If7271f80132e3816bcf14ad936b4f74b8f674aea
2022-03-15 01:28:51 +00:00
Martin Liu
e00a9b2099 Disable memcg
Pixel kernel don't use MEMCG, let's disable it to
minimize the overhead.

Bug: 224521042
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I60681fb04e4f9a41814eda5988b6c1a0d4fb127c
2022-03-15 01:05:11 +00:00
Midas Chien
e5197a08da display: make early wakeup node is readable am: 93fdc4704e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17139604

Change-Id: I294beab6fe56ee4e5d7758edc010513bc4162479
2022-03-14 18:57:42 +00:00
Midas Chien
93fdc4704e display: make early wakeup node is readable
Bug: 221384860
Test: cat node
Change-Id: I69fe93f467c12e009e97d6f953ba404bec558834
2022-03-14 18:30:42 +00:00
Roshan Pius
4eda8091b2 gs(uwb): rename uwb HAL am: 5105ef7148
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17002988

Change-Id: Ib9ca8980d73f3ad3734261b18763e6ae1402d500
2022-03-14 16:40:40 +00:00
Roshan Pius
5105ef7148 gs(uwb): rename uwb HAL
Bug: 186585880
Test: Manual Tests
Change-Id: Ib534ee5dd27d41bdc0c386281044ed1a596d33d2
2022-03-14 16:09:02 +00:00
Jinting Lin
03601829ac Revert "Increase the default log file size and number" am: d34bde9355
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17167769

Change-Id: I4b1369aa1c80dba300775f0a1a05a79ab9f0dcf1
2022-03-11 15:28:19 +00:00
Jinting Lin
d34bde9355 Revert "Increase the default log file size and number"
This reverts commit 06a6fc0401.

Reason for revert: unexpected parsing failure

Change-Id: Ie4b42e085ee5677bb8e15ca716edf5ae1b976f72
2022-03-11 15:02:47 +00:00
George Lee
198801dfbf bcl: Increase hardware clock divider count am: 5d2540b63c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17128331

Change-Id: I75909874dc534354c90475e2e87e7d96b780ac72
2022-03-10 20:38:26 +00:00
George Lee
5d2540b63c bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If130d477f617c0e62efa5f35effa122b60253107
2022-03-10 20:17:32 +00:00
Nishok Kumar S
6198909b59 ueventd: Add gxp device with system group read write permission am: 37c514bbcf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17149088

Change-Id: I17ed6007db057f9edd5bf5c79e97450000904ce4
2022-03-10 16:48:42 +00:00
Nishok Kumar S
37c514bbcf ueventd: Add gxp device with system group read write permission
Test: adb shell setprop persist.vendor.camera.blur_refine.enable_dsp 1
      adb shell pkill -f camera
Bug: 223088240
Change-Id: I87e714e03320ae30ab885c4713d1031ffa6b2ae1
2022-03-10 06:34:06 +00:00
Andrew Chant
e032820f65 factory: add factory_post_boot.sh/boost adbd am: 2f2f7fd3de
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17130365

Change-Id: I235576a7f67f58932083e2db356639b3aff63260
2022-03-09 12:10:24 +00:00
Andrew Chant
2f2f7fd3de factory: add factory_post_boot.sh/boost adbd
Add factory_post_boot.sh for factory targets to boost
adbd on boot.

Bug: 222226268
Change-Id: If20455705e2632eda95297952cfd770a4e8ff6f7
2022-03-09 10:15:36 +00:00
wenchangliu
62a1b20854 Update correct max block counts am: dced35e5c5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17092191

Change-Id: I00ae0a357792e0227e93fc99cbb0cde440911251
2022-03-09 09:12:55 +00:00
wenchangliu
dced35e5c5 Update correct max block counts
Fix incorrcet video resolution capability report from
media_codecs_aosp_c2.xml.

Bug: 222095724
Test: demo-transformer HEVC 2160p transcoding
Change-Id: Ie0bb25c88440f7806b01bcaa49b23980d7f4e45f
2022-03-09 08:29:01 +00:00
Jesse Hall
6c3f7b3986 gpu: use hwui vulkan backend am: 6581005c3c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17125952

Change-Id: I6194c0c2c4f7132d58fe113348b408abb852f57e
2022-03-09 03:39:38 +00:00
Jesse Hall
6581005c3c gpu: use hwui vulkan backend
The Vulkan backend is the intended production configuration and what we
shipped gs101 with.

Also checked remaining gpu configuration and minimized textual
differences from the gs101 device.mk for easier comparison.

Bug: 223406172
Test: Launcher, YouTube video playback, Pixel Camera preview & shot
Change-Id: I85e3c34ef424f7cef97bcfb6f5a10746fc0b9804
2022-03-08 11:34:55 -08:00
Jimmy Shiu
5dad01fd7f powerhint: remove powerhint.json for separating configs am: 477bf34e81
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106012

Change-Id: I2f71aa70ecb111f99c95cbee99545e558626280e
2022-03-08 15:47:06 +00:00
Jimmy Shiu
477bf34e81 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 207573241
Change-Id: Idcebb479cb52b536ffd8d1f79f00293d3c0c4131
2022-03-08 19:34:50 +08:00
GOOGLE\huangaustin
8d730424cc [PixelLogger][P22] Update P22 default.cfg for L1 team am: 872fcc3e95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17115465

Change-Id: Icc5836fe6c81a4ef8e2746d5254cb30ce821eaeb
2022-03-08 10:20:29 +00:00
GOOGLE\huangaustin
872fcc3e95 [PixelLogger][P22] Update P22 default.cfg for L1 team
bug: 222409590
Change-Id: I368088bc46f44ee40dd0759ed0d5b296948c81f2
2022-03-08 09:44:31 +00:00
Tommy Chiu
b61c78f006 KM: Add Device ID attestation support am: 548aa0c030
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17106863

Change-Id: I745355fa6944704227a7cad92e3dbc1af0c2c89f
2022-03-08 07:30:51 +00:00
Tommy Chiu
548aa0c030 KM: Add Device ID attestation support
Reference: ag/14623068

Bug: 222635310
Test:
android.keystore.cts.KeyAttestationTest#testMandatoryDeviceidAttestation

Change-Id: I4acfaf0d82e5805c84b36d0750d7e013de8a83ea
2022-03-08 07:07:49 +00:00
Ray Chi
e9f3ebd776 tune usb irq (dwc3) in usb gadget hal am: f363704a92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17038887

Change-Id: I84d3d018abf87b63e0f916a3360fccee25ca1f33
2022-03-07 08:07:45 +00:00
Ray Chi
e72d138d8a usb: move the permission change to usb rc am: b30924e359
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17054700

Change-Id: I05a77d8c87938cf3769391a75c794df4277bd9f4
2022-03-07 08:07:43 +00:00
Ray Chi
f363704a92 tune usb irq (dwc3) in usb gadget hal
Since affinity permission is changed from root to system, original
permission change by script can't be used. Therefore, this patch
will move the functionality to usb gadget hal.

Bug: 220996010
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
2022-03-07 07:45:50 +00:00
Ray Chi
b30924e359 usb: move the permission change to usb rc
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.

Bug: 206902205
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
2022-03-07 07:45:50 +00:00
Jinting Lin
7baedc145c Increase the default log file size and number am: 06a6fc0401
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17084859

Change-Id: I1076d4babc1a2b7e596ccb47820e53a88124245c
2022-03-07 06:18:36 +00:00
Jinting Lin
06a6fc0401 Increase the default log file size and number
Bug: 223071809
Change-Id: I355648b8a83ebaea00d6144dfa29ef252b849ca4
2022-03-07 05:59:15 +00:00
Kris Chen
79c133e5c5 Set owner for mfg_data partiton. am: 997787e3f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17071754

Change-Id: I89cd4cb0f3f43ca0d3dd308b62404febef5ea416
2022-03-07 02:06:51 +00:00
Kris Chen
997787e3f7 Set owner for mfg_data partiton.
Bug: 197780765
Test: UDFPS HAL can access mfg_data
Change-Id: Ib68fd0ff2f7717000b918c580e459309e088cde2
2022-03-07 01:44:16 +00:00
Midas Chien
7a26ec23b0 display: allow composer to access panel idle handle exit node am: a7b2be93d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005132

Change-Id: I164eaf7142bf020be1e74c4526e8776bcf43e5c5
2022-03-04 07:21:53 +00:00
Midas Chien
a7b2be93d0 display: allow composer to access panel idle handle exit node
Bug: 202182467
Test: composer can access panel idle handle exit node
Change-Id: I1d117ba50871e633d044b4c8bb25da14df506b66
2022-03-04 06:55:04 +00:00
Ramji Jiyani
6c7432e0db Pixel T launch devices: Enable system_dlkm am: f53de92c92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17056289

Change-Id: I80af52925b6dd5d63cb9f4b5e54bd3c634f64c4c
2022-03-04 01:55:59 +00:00
Bob Badour
47d8a72183 [LSC] Add LOCAL_LICENSE_KINDS am: e3710a9f34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17072075

Change-Id: I52f0e47010de6858719373bdb2ee531b6013a6eb
2022-03-04 01:54:41 +00:00
Ramji Jiyani
f53de92c92 Pixel T launch devices: Enable system_dlkm
Set flags to enable system_dlkm dynmaic partition
for GKI Modules for T launch pixel devices.

Partition will be empty as of now but this adds
enough support to pass the vts for feature.

Bug: 222334390
Test: TH, manual build, Code testing gs101 & R6
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
Merged-In: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
2022-03-04 01:42:47 +00:00
Bob Badour
e3710a9f34 [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  usb/gadget/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Change-Id: Idea66093348d8c7e4a63b35e5f25a6d8bab9439a
2022-03-03 11:19:46 -08:00
SongFerngWang
8b12328808 copy the overlay from gs101 am: 00c06569c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17066723

Change-Id: I63ce023ef1cd455fdab0bfb236dfb236efda3b95
2022-03-03 12:54:11 +00:00
SongFerngWang
00c06569c6 copy the overlay from gs101
Bug: 221846447
Test: build pass
Change-Id: Ia977d59492d00bb5499523ca17cde92fd932292e
(cherry picked from commit 9e3dae6628)
2022-03-03 09:29:38 +00:00
Jenny Ho
480fc318e4 device-common: set testing_battery_profile default 2 am: 60fde324e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17045646

Change-Id: Ie8a1e1a482e652414d79c689e578751009d6ecd8
2022-03-03 02:52:50 +00:00
Jenny Ho
60fde324e3 device-common: set testing_battery_profile default 2
set 2 to prevent limit battery level in unexpected testing situation

Bug: 180511460
Bug: 220679025
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9f0e66cf92b26c6946af162003378dcf0fd749f9
(cherry picked from commit f9ae6c981a)
2022-03-02 21:53:36 +00:00