Commit graph

4092 commits

Author SHA1 Message Date
Xin Li
c04e26a280 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours am: c8a8b0a6f7 -s ours am: 2c97fadac6 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

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

Change-Id: Iaf4ad9cdd9f6b2127547d2c116f966413011009b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 11:01:05 +00:00
Xin Li
2c97fadac6 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours am: c8a8b0a6f7 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

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

Change-Id: I942a135279b6108d56f5b471649d51a8ad46273e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 09:51:15 +00:00
Xin Li
c8a8b0a6f7 [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours am: 30817a576a -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

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

Change-Id: I7c7af286c7b76518930fcd7266f4454da74ea735
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 08:59:35 +00:00
Xin Li
30817a576a [automerger skipped] Merge Android 14 am: 9cce39b482 -s ours
am skip reason: Merged-In I6f85889399c989a9a65ab7e7178fd02f89e7847f with SHA-1 91a692dae3 is already in history

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

Change-Id: I3eda5ba99136a9727bd622eedb88c5bf48982e97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 07:52:34 +00:00
Xin Li
9cce39b482 Merge Android 14
Bug: 298295554
Merged-In: I6f85889399c989a9a65ab7e7178fd02f89e7847f
Change-Id: Iba298169eab2a1765b463753769afdc52a3d8c92
2023-10-05 16:24:22 -07:00
Ian Elliott
8aa21312f5 Revert "gs201: Enable SkiaVk as RenderEngine backend" am: ac76fcf025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24864821

Change-Id: I75ee999893328ad08b0921fdb6d1194995092913
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 18:19:03 +00:00
Ian Elliott
ac76fcf025 Revert "gs201: Enable SkiaVk as RenderEngine backend"
This reverts commit db1a72ccdb.

Reason for revert: Increased jank reported, especially on the Pixel tablet

Bug: 301846142
Bug: 298975477
Change-Id: I81726fdd164b48dc72756e35e4dadd755909cb91
2023-09-26 17:41:07 +00:00
Avichal Rakesh
bad05cd4d1 usb.rc: Advertise 360p and 480p support through UVC am: cd00df2aeb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24804762

Change-Id: I6451d761b9a13af6c049551855f30448d798ad73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 17:14:07 +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
Kuen-Han Tsai
503f92156e Usb.cpp: Fix typos when unable to disable USB data am: f233bec505
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24792093

Change-Id: I0c93426f0162a87935c6e1a94dc4b3598edf8a59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 10:34:30 +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
Klines Jiang
b334db6588 [SELinux] Add gyotaku_app doamin to Pixel 2022. am: 45b53c05d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24741373

Change-Id: I28655c5758c84b002de6d5bc5dc5fe0d69322bc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 05:14:22 +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
0cee151356 UsbGadget: Update SDP enum timeout when gadget is pulled up am: d8e2a02998
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24740928

Change-Id: I407a8d7bf8b84ef1ede8640d59ca98a616382426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 17:37:57 +00:00
Amit Sunil Dhamne
3b48e7e17b usb: Modify sdp enumeration timeout value in charger mode am: 3644ca07e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24740939

Change-Id: I75e4b679aabffd9203988321cf8a362ceb9d797b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 17:37:07 +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
Qais Yousef
cd089a7f75 init.gs201.rc: Disable util-awareness am: c7042d8b23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24705002

Change-Id: I691a8f08b368fff7c8e245d38adf65fe5bc2ed09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 18:37:57 +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
f22cbcd7f3 Disable variable refresh rate when typing on gs201 am: e5cc14a479
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24798410

Change-Id: I6a572a6501359661d7c2dd72d39506879540d8ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 10:37:02 +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
aaa1b92975 gs201: ffu: add lifeC and activated date as condition am: 1fd5db8246
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24767768

Change-Id: I87c06e1ef212588193a6de47625b8c54f4a32bd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 04:27:42 +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
Hsiu-Chang Chen
3392e13da1 wifi: Update p2p overlay config am: 57ade0e64c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24680267

Change-Id: I32b86e1f2900d6449a4710cacf42cfde7faf2982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-18 04:27:45 +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
Jerry Huang
7d0761dd99 gs201: update media_codecs_performance_c2.xml based on UQ1A.230911.001 am: 4097af9977
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24728927

Change-Id: Ia435deeff391aea42136310bc6af46db1b7e74c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 06:40:00 +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
Martin Liu
022af82011 gs201: tweak memory management am: f7a71debb7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24728928

Change-Id: I5e7bdeb8fadb47abe42428e48ede8b098df2cd77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 21:12:20 +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
b61616ea63 Grant default permissions to PCS for camera connectivity am: c7b6ab33ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24667834

Change-Id: I9a65408ae238690d941758829b43249be6f4d243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 16:09:38 +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
Jorim Jaggi
67027aeb51 Revert "Enable small dirty detection for variable refresh rate" am: 679cf27ac4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24679217

Change-Id: I5548f73c125566bc583d5cf26522b6fa286a2f98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 19:43:44 +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
Xin Li
e3af3ef9d4 [automerger skipped] Merge UP1A.230905.019 am: 3a2da08097 -s ours am: fdd79481ab -s ours am: b6e0624393 -s ours
am skip reason: Merged-In I1b80b8ad427d8a0d2a6d967b98b89d808c549527 with SHA-1 5c4cbe4023 is already in history

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

Change-Id: I716fa5b11de065968068148d6da859e3a548d9bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 21:07:22 +00:00
Xin Li
b6e0624393 [automerger skipped] Merge UP1A.230905.019 am: 3a2da08097 -s ours am: fdd79481ab -s ours
am skip reason: Merged-In I1b80b8ad427d8a0d2a6d967b98b89d808c549527 with SHA-1 5c4cbe4023 is already in history

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

Change-Id: I6c0d14da0a9063b726ff51410f37b7a06ad4a259
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 20:34:30 +00:00
Xin Li
fdd79481ab [automerger skipped] Merge UP1A.230905.019 am: 3a2da08097 -s ours
am skip reason: Merged-In I1b80b8ad427d8a0d2a6d967b98b89d808c549527 with SHA-1 5c4cbe4023 is already in history

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

Change-Id: Ic48a3b120aa947386fde767347233fa0c1cb9a04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 19:45:13 +00:00
Arthur Hung
7ddb21de73 Enable small dirty detection for variable refresh rate am: 7b31924b74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24409478

Change-Id: Id562c418d3889a1447cf947929ba33c696d040ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 06:14:02 +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
Wilson Wu
5ec0f3f3e3 Support variable refresh rate when typing on gs201 am: 4369c3083d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24409488

Change-Id: Idd24d6eee9c9c1da88c71554dbb0ca6e3c9e2c04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-01 08:10:01 +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
Xin Li
3a2da08097 Merge UP1A.230905.019
Merged-In: I1b80b8ad427d8a0d2a6d967b98b89d808c549527
Change-Id: Ia94eacfd3db131d1deb86a857945119a80863bbe
2023-08-31 12:15:50 -07:00
Xin Li
fcebb0b337 [automerger skipped] Merge Android U (ab/10368041) am: afbdb37981 -s ours am: 907b76f7c3 -s ours am: ee6a8ca043 -s ours
am skip reason: Merged-In I55ebba80d19ae57c9c61361a2aaf59938d2f6af3 with SHA-1 8d0b587587 is already in history

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

Change-Id: I8c8645255e5d12687a677a731b4d05264342aae5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 01:11:23 +00:00
Xin Li
ee6a8ca043 [automerger skipped] Merge Android U (ab/10368041) am: afbdb37981 -s ours am: 907b76f7c3 -s ours
am skip reason: Merged-In I55ebba80d19ae57c9c61361a2aaf59938d2f6af3 with SHA-1 8d0b587587 is already in history

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

Change-Id: I7094e18024e8b0e31b8be72cf6ca5e4070ebfa6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 00:35:40 +00:00
Xin Li
907b76f7c3 [automerger skipped] Merge Android U (ab/10368041) am: afbdb37981 -s ours
am skip reason: Merged-In I55ebba80d19ae57c9c61361a2aaf59938d2f6af3 with SHA-1 8d0b587587 is already in history

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

Change-Id: I8ac46966eb01c1505e7c9dc7c7a857251904f64a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 23:59:40 +00:00
Krzysztof Kosiński
61e7a0b9ce Set USF SoC from board makefile. am: 9f82f3b251
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24546433

Change-Id: Ib76f69ab1720c909601b470e10ba577a455ac3c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 22:32:20 +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
Alec Mouri
4242f509ee Enable dimming in gamma space in screenshots for adaptive mode am: 11e675bb97
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24486018

Change-Id: I61830eb21827132d8bca06b557f7fdccad2a1c1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 20:31:44 +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
Kelly Rossmoyer
96c08c119d suspend: enable adaptive suspend am: 6ea9de413c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24247260

Change-Id: Ib8d6ea67e1f2b89aef9550d4c9f1a6dd2eccc9e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 00:03:45 +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