Commit graph

1234 commits

Author SHA1 Message Date
Jack Wu
7d10003696 add permission for wireless charge_stats access am: 6eda19cc34 am: 6dd193bd55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731875

Change-Id: Ief7cac18836cdffa656b8108de97d1100894c44d
2021-06-19 03:12:25 +00:00
Jack Wu
fa8bba4d3f add permission for wireless charge_stats access am: 6eda19cc34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731875

Change-Id: Id8820ec32ad5972eb3f3a2639161c11789a83ca4
2021-06-19 02:58:13 +00:00
Daniel Mentz
cfd7475362 Add pktgen.ko to kernel module blocklist file am: 493c321945 am: e2b8d76a51 am: 198aec19e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15027507

Change-Id: I216095ba5d0c5e3ef84fc407acb0c3289b03fa78
2021-06-19 00:50:02 +00:00
Daniel Mentz
ce6afb7c2d Add pktgen.ko to kernel module blocklist file am: 493c321945 am: e2b8d76a51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15027507

Change-Id: I28b9a4ca06fc4e5fa241e22e483218fe4b28c574
2021-06-19 00:34:08 +00:00
Jack Wu
31d5416e15 add permission for wireless charge_stats access
Bug: 176195960
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia70c110de8bc1b6166c57e9c3df3d4f43f23a428
2021-06-19 00:33:13 +00:00
Daniel Mentz
cf36b3d9c2 Add pktgen.ko to kernel module blocklist file am: 493c321945
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15027507

Change-Id: Icec036fe0c62120a1969c2c29c7c66c2422a7f4d
2021-06-19 00:21:53 +00:00
Daniel Mentz
eaf85625c4 Add pktgen.ko to kernel module blocklist file
The Packet Generator module should not be loaded under normal
circumstances.

Bug: 190652328
Change-Id: Idfd65c9bb1f540e21ef1c51116ee6ca7d3a8eb46
2021-06-18 15:13:40 -07:00
yihsiangpeng
15e15ab3b2 Add permission for WirelessCharger HAL am: 6f297d4707 am: 7ebfe80be4 am: d5aaeddfa8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731873

Change-Id: I5b1a39c9b368a9e7e0018f971c7128facf53cf35
2021-06-18 17:44:17 +00:00
yihsiangpeng
4d5c12d8c7 Add permission for WirelessCharger HAL am: 6f297d4707 am: 7ebfe80be4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731873

Change-Id: I83b545031bf336a6197362286351960cd0c24c3d
2021-06-18 17:27:29 +00:00
yihsiangpeng
2c45f234a7 Add permission for WirelessCharger HAL am: 6f297d4707
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731873

Change-Id: Ibf9fc4707ec0360ec6dca19af3e1e6c753c076ff
2021-06-18 17:14:14 +00:00
yihsiangpeng
eb215e398b Add permission for WirelessCharger HAL
Bug: 186797309
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I8cd9d8c7e7acb35149a73a8beba8bb4be5a7ce1e
2021-06-18 17:01:00 +00:00
Daniel Mentz
1f8b55564a Add a kernel module blocklist file am: 76a571236e am: 76aa1dbf37 am: 2afcd9b51b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543091

Change-Id: I68b16eccd357c084d4a1e2690b922eac251b7862
2021-06-18 16:21:36 +00:00
Daniel Mentz
f3031edea7 Add a kernel module blocklist file am: 76a571236e am: 76aa1dbf37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543091

Change-Id: I3694b657d8995ab95a843df56e8995eefa7957d9
2021-06-18 16:08:38 +00:00
Daniel Mentz
5cd9a33d20 Add a kernel module blocklist file am: 76a571236e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543091

Change-Id: I613331e779d2bf5607cd9dffcc6370e853152aa5
2021-06-18 15:57:26 +00:00
Daniel Mentz
24b12e2935 Add a kernel module blocklist file
Kernel modules on the blocklist are not automatically loaded during
second stage init. Modules are often put on the blocklist if we want
them to get loaded only under certain circumstances.

Bug: 190652328
Change-Id: Ib67463555f498f4dc85d5d175e0bf9e4150771dd
2021-06-18 15:41:21 +00:00
Adam Shih
a951f29557 organize confirmationui settings am: 62efe878ba am: cf594029cc am: 1043f5a989
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735

Change-Id: I22f696a59fe3f28eda73a55c4647c9f9726ee3cc
2021-06-18 07:32:43 +00:00
Adam Shih
3a7f816538 organize confirmationui settings am: 62efe878ba am: cf594029cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735

Change-Id: I14ebd1112a9b5c3c613cd1d8a5cce2e6e2b45526
2021-06-18 07:18:30 +00:00
Adam Shih
3c679e5d0d organize confirmationui settings am: 62efe878ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735

Change-Id: Ieec700add5ed987e5e5fa9a46c6ffb3118f6f618
2021-06-18 06:57:36 +00:00
Rick Yiu
f02e0eaadd gs101: Modify nnapi uclamp settings am: e963005a1a am: abf85f6119 am: 8a668a7d19
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877105

Change-Id: I84fe62ec50bae2c555742d0dcd736ce93e2fde39
2021-06-18 06:57:36 +00:00
Ray Chi
33592437d7 usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3 am: f07a30543a am: 7f14602406
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390

Change-Id: I66777ebf419f0d6ed502f4b81332adb408012295
2021-06-18 06:48:35 +00:00
Ray Chi
c5ce69e719 usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3 am: c0242ce4d4 am: 38c94a5005
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390

Change-Id: I4d48319a65a475a72b132c0d27746a5cbe861b3b
2021-06-18 06:48:20 +00:00
Adam Shih
56978d9961 organize confirmationui settings
Bug: 190331547
Bug: 190331370
Test: build ROM and make sure file and sepolicy is still there
Change-Id: Ifc2bcf1616d3ee2df3943f0f1b3523ce485b689c
2021-06-18 06:47:38 +00:00
Rick Yiu
81f792c619 gs101: Modify nnapi uclamp settings am: e963005a1a am: abf85f6119
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877105

Change-Id: Ib606002f56165fa7b19f0b3358e19361a5b0cb76
2021-06-18 06:37:56 +00:00
Ray Chi
34584bd12e usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3 am: f07a30543a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390

Change-Id: I203e110b7ca751a49e89b793226377423b0ba273
2021-06-18 06:37:48 +00:00
Ray Chi
a983589047 usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3 am: c0242ce4d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390

Change-Id: Id786fd53e926cceb85a41f2ebbef24d098f1f3d5
2021-06-18 06:31:50 +00:00
Rick Yiu
47fc3c8b83 gs101: Modify nnapi uclamp settings am: e963005a1a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877105

Change-Id: Ie160a8bf20eed7b3e40af289dcbf349f2c091552
2021-06-18 06:21:42 +00:00
Ray Chi
e827088e39 usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390

Change-Id: Iaac058115f1358722054e80078afb8a791239fda
2021-06-18 06:21:33 +00:00
Rick Yiu
3ce37fb4f1 gs101: Modify nnapi uclamp settings
Chaning setting for better benchmark performance.

Bug: 189074148
Test: build pass
Change-Id: I3c33147ec88494ff5b709063d6568add0e17933a
2021-06-18 06:20:30 +00:00
Ray Chi
70e1cd7c84 usb: set sys.usb.mtp.batchcancel to true
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests

This patch will set the property to true to enable
batch cancel all requests.

Bug: 181729410
Test: build pass
Change-Id: I8d92cc676ff7be8fd22a574b32653bafc028b801
2021-06-18 06:03:59 +00:00
Badhri Jagan Sridharan
13780c986f dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: e5bb8985b9 am: 6f1fd10e0e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: I1d7a9078cac09d2da62feb01243778d0c239ca7f
2021-06-18 04:22:39 +00:00
Badhri Jagan Sridharan
1a6303604a dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: 23d0caab4d am: 3a43012eba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: Iaf092e281f39b131a103399d7f65f7f5c6ad45d2
2021-06-18 04:21:24 +00:00
Badhri Jagan Sridharan
ee51ee9d6e dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: e5bb8985b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: If7bc93c17ea7ec8f4503aaf52bfeee002d915d19
2021-06-18 04:10:47 +00:00
Badhri Jagan Sridharan
891c6c6749 dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: 23d0caab4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: I8bd5e6a2f3dd73f5b508077597510651b6328207
2021-06-18 04:08:42 +00:00
Badhri Jagan Sridharan
3a2a4b69d2 dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: I237e9f7aeef43559815f14cad92b3d64d519d48f
2021-06-18 03:55:10 +00:00
Badhri Jagan Sridharan
6e44d2ee0c dumpstate: dump logbuffer tcpm logs in bugreport
Bug: 189792358
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I64cf665985226c81ff23b32bda25c303d8031d5f
2021-06-17 16:19:38 -07:00
Wei Wang
cf113f4e9c Remove interaction boost completely am: ff2e2d13ff am: 75bbfd741c am: a9e1f7c24b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057

Change-Id: I04fd255032cf1af5b0fb5bcecb570da1b8a54d4b
2021-06-17 08:30:56 +00:00
Wei Wang
55a4d72632 Remove interaction boost completely am: ff2e2d13ff am: 75bbfd741c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057

Change-Id: I6878d3c228d4a586de430babd9efed0fc60a932a
2021-06-17 08:19:19 +00:00
Wei Wang
d6b5c59cb5 Remove interaction boost completely am: ff2e2d13ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057

Change-Id: Icd4fee565ea30c44e6c178c4e3855c30b0574251
2021-06-17 08:08:11 +00:00
Wei Wang
a1a0bdb333 Remove interaction boost completely
Now HWUI app is using ADPF already, for those non-HWUI app (probably
mostly games), let us try to just use FPS based boosting only.

Bug: 177493042
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I63fe7ff6edcb57819461a8c0ed5f3f43c26e0137
2021-06-17 07:45:10 +00:00
Devika Krishnadas
49e6a384d5 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0 am: 3f8cf61183
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: I8c7216a8d849a99824c4ad7acc92ffe328036f72
2021-06-17 07:03:53 +00:00
Devika Krishnadas
99bdf5a5a0 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: I362d40ab00893ef2685f878c57a16de531781829
2021-06-17 06:47:20 +00:00
Devika Krishnadas
389f7ae0c8 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: Ie060dc99a5e303d1794a7a50ffa633f6410ea6a4
2021-06-17 06:28:59 +00:00
Devika Krishnadas
e8b2e18eeb Increase maxFrameBufferAcquiredBuffers to 3
When display and SF falls out of sync, there is a possibility that while
display holds on to a buffer, a composed buffer could be waiting in the
decon thread. Since maxFrameBufferAcquiredBuffers is 2, GPU will have to
wait for display to swap out the buffer it is currently presenting to be
able to compose for the next frame, which leads to SF missing its
timeline for subsequent frames.

Bug: 190842189
Test: perfetto

Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I434e8644cff2538589c1c9b2bf731afae0aa8980
2021-06-17 06:14:37 +00:00
Daniel Mentz
ea85f911bc Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b am: c6915f105c am: 8913d6074f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823

Change-Id: I01f00d4c5a5daf51f9173f21fe68f8540cf33589
2021-06-17 04:53:40 +00:00
Daniel Mentz
1f6e5fc4b6 Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b am: c6915f105c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823

Change-Id: Ic0e5bee7dc1928a418e65cc50b816f1a72884535
2021-06-17 04:39:39 +00:00
Daniel Mentz
abc948daf0 Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823

Change-Id: I1d0e869995135c7b4b4140d376bd695e454128a5
2021-06-17 04:24:08 +00:00
Daniel Mentz
6a6d8f81c2 Read vendor_boot.modules.load and vendor_dlkm.modules.load
Previously, we copied all available kernel modules into the vendor_boot
ramdisk except for approx. 14 modules that we explicitly excluded.

Going forward, the kernel build will distribute the two additional files
vendor_boot.modules.load and vendor_dlkm.modules.load which define,
respectively, the lists of modules that should be loaded from
vendor_boot and vendor_dlkm.

The contents of the two *.modules.load files will be copied almost
verbatim into modules.load files in the respective images except for the
fact that the directory names of the .ko files are stripped. So, for
example, kernel/net/core/pktgen.ko becomes just pktgen.ko.

Additionally, we only copy those .ko files into the vendor_boot image
that are listed in vendor_boot.modules.load. On the other hand, the
vendor_dlkm partition image will contain all .ko files regardless of
whether they are listed in vendor_dlkm.modules.load.

Bug: 190652328
Change-Id: Ibda5b9368547ad089575333e2566697ec0e8465f
2021-06-17 03:57:10 +00:00
Ted Lin
60ea3c0416 Donot dump debugfs information in user build. am: cb541b07a6 am: c43834f9e4 am: d39cd673cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994

Change-Id: I726eca3a433c1f42ad5aa22653cfe65be8b85c88
2021-06-17 02:34:00 +00:00
Ted Lin
c21299806f Donot dump debugfs information in user build. am: cb541b07a6 am: c43834f9e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994

Change-Id: I3e54a49c7d561f317ad8fe3039316a7c78d94517
2021-06-17 02:16:46 +00:00
Ted Lin
e5a99bf7fb Donot dump debugfs information in user build. am: cb541b07a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994

Change-Id: I74d37157851f7acca7f9d433259c09a10a3d3b04
2021-06-17 02:04:58 +00:00