Commit graph

3508 commits

Author SHA1 Message Date
Android Build Coastguard Worker
defac5849b Snap for 10850711 from cd00df2aeb to udc-qpr1-release
Change-Id: I80c827da0b160dcc3344de84b7c077b6f828f47b
2023-09-23 01:07:03 +00:00
Avichal Rakesh
cd00df2aeb usb.rc: Advertise 360p and 480p support through UVC
Many host applications expect and ask for lower resolution streams when
streaming from a USB webcam. To support those applications, this CL
adds support for 640x480 and 640x360 streams.

Bug: 301170431
Test: Manually tested that the resolution is advertised and streamed.
Change-Id: I0bb6e2073554de4e5ce8fe472dae6a77e69aeb54
2023-09-21 21:00:21 -07:00
Android Build Coastguard Worker
868046d0a0 Snap for 10844344 from f233bec505 to udc-qpr1-release
Change-Id: I3fc1a7a34428da81d46ae558b75231fb505b20fa
2023-09-21 23:02:27 +00:00
Kuen-Han Tsai
f233bec505 Usb.cpp: Fix typos when unable to disable USB data
If Usb.cpp cannot write a zero value to the USB_DATA_PATH file, display
the message of "Not able to turn off usb connection notification".

Test: refactoring CL. Existing tests still pass.
Bug: 301016122
Change-Id: I8e0f485e74d10a0154e4cd78af9f5ef5a22d328f
2023-09-21 09:54:59 +00:00
Android Build Coastguard Worker
b5d44d4fce Snap for 10838116 from d8e2a02998 to udc-qpr1-release
Change-Id: Ib3219fbb645a6bc8311bd4a546f47399d43d6078
2023-09-20 23:03:03 +00:00
Klines Jiang
45b53c05d0 [SELinux] Add gyotaku_app doamin to Pixel 2022.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I39a8aea20281f83f90657306b8de0233054cb60a
Merged-In: I39a8aea20281f83f90657306b8de0233054cb60a
2023-09-20 18:03:39 +00:00
Amit Sunil Dhamne
d8e2a02998 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

Bug:275687235
Test: Check `update_sdp_enum_timeout` is written into after usb
gadget is pulled up. Verify that the alarm timeout lowers.

Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-20 16:24:35 +00:00
Amit Sunil Dhamne
3644ca07e8 usb: Modify sdp enumeration timeout value in charger mode
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.

Test: Validate (in charger mode) that the sysfs attribute is 1
(meaning lower sdp timeout value is being used). Read dmesg to
see print showing timeout value is 5000ms.

Bug: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-20 16:23:49 +00:00
Android Build Coastguard Worker
b06c4d69cf Snap for 10832001 from c7042d8b23 to udc-qpr1-release
Change-Id: I69bdc532bac2b50c64092ea414d4382705489016
2023-09-19 23:03:02 +00:00
Qais Yousef
c7042d8b23 init.gs201.rc: Disable util-awareness
There are some regressions reports. Disable them completely for now.

Bug: 297496375
Change-Id: I6478931d73145a15471982738f0ff93eae5f2f07
Signed-off-by: Qais Yousef <qyousef@google.com>
2023-09-19 17:46:01 +00:00
Wilson Wu
e5cc14a479 Disable variable refresh rate when typing on gs201
Turn off config_variableRefreshRateTypingSupported on gs201.

Bug: 299966467
Test: presubmit
Change-Id: Idb98959749f365b7ed5f192a9f650b70a3840ae0
2023-09-19 09:22:02 +00:00
Leo Liou
1fd5db8246 gs201: ffu: add lifeC and activated date as condition
Limit the following devices to accept ffu upgrade:
- LifeC time < 10%
- Activated date < 1 year

Bug: 273305600
Test: run ffu process at local
Change-Id: I9cc9298eeb7cd32f02a9577efb71bda0737f284d
Signed-off-by: Leo Liou <leoliou@google.com>
2023-09-19 03:24:09 +00:00
Android Build Coastguard Worker
cb4b2a0536 Snap for 10825434 from 57ade0e64c to udc-qpr1-release
Change-Id: I72aa20a16cc7c541e4260d3482e3799d9a81e5d8
2023-09-18 23:02:41 +00:00
Hsiu-Chang Chen
57ade0e64c wifi: Update p2p overlay config
Align the p2p overlay config with other projects

Bug: 273897565
Test: P2P enables on 5GHz channel when DUT connected to 2.4GHz
Change-Id: I4e4dac3b1f2fa907dc7e57408f3744086a126860
2023-09-18 03:09:39 +00:00
Android Build Coastguard Worker
77764c68cd Snap for 10810697 from 4097af9977 to udc-qpr1-release
Change-Id: Ia19751ba5710f0225efbeb571bc13bd0ebeec4a2
2023-09-14 23:02:41 +00:00
Jerry Huang
4097af9977 gs201: update media_codecs_performance_c2.xml based on UQ1A.230911.001
Bug: 292555946
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: If04aa80ed736db924f0da7765a8a37bb5ddc81e3
2023-09-14 05:44:45 +00:00
Android Build Coastguard Worker
451ab9e912 Snap for 10804332 from f7a71debb7 to udc-qpr1-release
Change-Id: I9d3b4acf44130d0d59896b0587b07bd43ea2652d
2023-09-13 23:02:30 +00:00
Android Build Coastguard Worker
f077079f82 Snap for 10797983 from c7b6ab33ef to udc-qpr1-release
Change-Id: I5db26932536ecc6466828a479fb41ace644bfec6
2023-09-12 23:02:47 +00:00
Martin Liu
f7a71debb7 gs201: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

This tweak also aligns the policy with P23.

Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
2023-09-12 20:35:33 +00:00
Bethany Barrientos
c7b6ab33ef Grant default permissions to PCS for camera connectivity
- android.permission.POST_NOTIFICATIONS
- android.permission.BLUETOOTH_CONNECT
- android.permission.BLUETOOTH_SCAN

Test: Same as others in topc
Bug: 287069860
Change-Id: I96d5bcc4847138db92f89933ba084af7a2648456
2023-09-12 15:18:54 +00:00
Android Build Coastguard Worker
b6158a3ce8 Snap for 10776546 from 679cf27ac4 to udc-qpr1-release
Change-Id: I1ce8d0cd313fd8c018b904da7e4416333d91ad35
2023-09-07 23:02:22 +00:00
Jorim Jaggi
679cf27ac4 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I1d21a42726ba36f7f21a56bbc28c40befa7a5270
2023-09-07 17:48:31 +00:00
Android Build Coastguard Worker
2d2e22e8e8 Snap for 10763631 from 7b31924b74 to udc-qpr1-release
Change-Id: I3378fb52e1a16aecc66a0a833d7f0114fc410bd6
2023-09-05 23:02:37 +00:00
Arthur Hung
7b31924b74 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:22:06 +00:00
Android Build Coastguard Worker
38d488daec Snap for 10752753 from 4369c3083d to udc-qpr1-release
Change-Id: If23bd90ed752418992d30df454a0dc4f832213b7
2023-09-02 01:02:43 +00:00
Wilson Wu
4369c3083d Support variable refresh rate when typing on gs201
Enable config_variableRefreshRateTypingSupported
for gs201 devices.

Bug: 283055450
Test: build
Change-Id: I88757928225224f492365dc8cb85cc7fce01036b
2023-09-01 07:34:44 +00:00
Android Build Coastguard Worker
c75918a7a5 Snap for 10719298 from 9f82f3b251 to udc-qpr1-release
Change-Id: I3900275f4319e7b420e85bdac3d970b5aa2762c5
2023-08-26 01:02:27 +00:00
Krzysztof Kosiński
9f82f3b251 Set USF SoC from board makefile.
Bug: 296943650
Test: presubmit
Change-Id: I020eec4f355b4977ff1194a7f146f814874aeb55
2023-08-25 02:52:20 +00:00
Android Build Coastguard Worker
7031ab937b Snap for 10712072 from 11e675bb97 to udc-qpr1-release
Change-Id: I09fa8e3da3faf0ad22fd7ac1d798108aaf495280
2023-08-24 23:02:06 +00:00
Alec Mouri
11e675bb97 Enable dimming in gamma space in screenshots for adaptive mode
This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33171da4fbae416c9243dc6d036988418dd4f4fd)
Merged-In: I30cc2373acc089bac066c731bdd48632a7a79da3
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
2023-08-18 20:48:23 +00:00
Android Build Coastguard Worker
b2e5958a8e Snap for 10675748 from 6ea9de413c to udc-qpr1-release
Change-Id: Icb0108bc7db6c4c8cec8ebf57f17353587aef409
2023-08-17 23:02:13 +00:00
Kelly Rossmoyer
6ea9de413c suspend: enable adaptive suspend
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s.  This is the same configuration that
was deployed on the previous generation of devices.

The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.

Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior

Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
2023-08-16 23:17:16 +00:00
Android Build Coastguard Worker
39f467aaa0 Snap for 10643491 from 6ba21169aa to udc-qpr1-release
Change-Id: Ib0f6e08e3970082781ffa85d81f49a1bdf041bff
2023-08-11 01:07:54 +00:00
Mark Chang
6ba21169aa Remove IScreenProtectorDetectorService.
Service not enabled on gs201 devices.

Test: Failed tests no longer reported.
Bug: 293555121
Change-Id: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Merged-In: Iaaa21060c7c33d4e013d3d7c85065562a3f0c1ad
Signed-off-by: Mark Chang <changmark@google.com>
(cherry picked from commit 94e5bab69e)
2023-08-10 23:46:02 +00:00
Android Build Coastguard Worker
2c862a0525 Snap for 10635039 from f3dfb2dad7 to udc-qpr1-release
Change-Id: I891971a28de53e655b02d02cc4c0811ce5c3b528
2023-08-09 23:02:27 +00:00
Ziyi Cui
f3dfb2dad7 gs201: Add path reading for StormIRQ
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Merged-In: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Change-Id: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit e9dab393fc)
2023-08-09 00:50:07 +00:00
Android Build Coastguard Worker
2ab7790e62 Snap for 10628727 from e711587192 to udc-qpr1-release
Change-Id: I71ddbf7444ea385e08ae0e58b040ce53d589b3ca
2023-08-08 23:02:25 +00:00
Renato Grottesi
e711587192 Disable armnn nnapi backend am: e33182147a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24342934

Change-Id: I2eee7a6407a2720f4c113b77d93ae53b488b17fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 14:56:15 +00:00
Renato Grottesi
e33182147a Disable armnn nnapi backend
Discontinue maintenance and active support of ArmNN on Pixel phones.

Bug: 294459623
Test: Local nnapi_info
Merged-In: Ic0db64d2eec0cb955ae710fa0ac89de3d7136db6
Change-Id: Idfa020dc46070764ccfff148b1fdfc72ccd16442
2023-08-08 06:15:55 +00:00
Android Build Coastguard Worker
9f5608eba7 Snap for 10594510 from 52301273fb to udc-qpr1-release
Change-Id: Iffd49423c173b2a375a39594ef1608ead7de4377
2023-08-01 23:02:22 +00:00
Leo Chen
52301273fb Update IDisplay to V9
Bug: 255986866
Bug: 227384721
Change-Id: I85d56f6a3a20f512f42923af95d77e25375c8fde
2023-08-01 03:35:12 +00:00
Android Build Coastguard Worker
72c0906065 Snap for 10580366 from db1a72ccdb to udc-qpr1-release
Change-Id: Id2b9bc9a50a348334250c5854ca9aede94484448
2023-07-29 01:06:43 +00:00
Ian Elliott
db1a72ccdb gs201: Enable SkiaVk as RenderEngine backend
This changes RenderEngine from using the SkiaGL backend to using the
SkiaVk backend.

Bug: 290248072
Test: Manual testing
Change-Id: I2e9c9fe01c84ad06116435567bb1b02b54677cef
2023-07-28 18:34:30 +00:00
Android Build Coastguard Worker
c4067c3af6 Snap for 10566461 from 5f0318b21f to udc-qpr1-release
Change-Id: Ic51c6ab10a50d7b98ba10582707007d541c04201
2023-07-26 23:02:26 +00:00
Robin Peng
5f0318b21f do not mount the debugfs on userdebug builds
Bug: 278988913
Change-Id: I5c703310a4f82acf52fad87854682ca6e668d99b
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-07-26 00:25:54 +00:00
Android Build Coastguard Worker
682224cf26 Snap for 10557896 from 06b17a25e1 to udc-qpr1-release
Change-Id: Ifb18785e28beeb9d0634721460b2d8f8bd071995
2023-07-25 23:02:16 +00:00
Akilesh Kailash
06b17a25e1 Use lz4 compression instead of gz.
Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4

Test: OTA
Bug: 291594891
Signed-off-by: Akilesh Kailash <akailash@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:62afad0252b57c00847d4942504c6435105b8ccb)
Merged-In: I0a6b164432e16f531c0cc1157814411960915539
Change-Id: I0a6b164432e16f531c0cc1157814411960915539
2023-07-25 03:52:08 +00:00
Android Build Coastguard Worker
3a001d1e04 Snap for 10535291 from c011b953ff to udc-qpr1-release
Change-Id: I092c07e443da83d052b0f4c1c7640a8e570676ee
2023-07-20 23:02:30 +00:00
Ilya Matyukhin
c011b953ff Bump IDebugManager version to 4
Bug: 278914238
Test: build
Change-Id: I82bc2459776961a8a4d921aaecfa081dcbda6a00
2023-07-20 18:58:38 +00:00
Renato Grottesi
0d5fddfe8d Remove settings for old ArmNN HIDL backend am: c0baa17abe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24059470

Change-Id: If0ea12a125a6cc44dc157fb66c35884105ca34d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 07:28:19 +00:00