Commit graph

1238 commits

Author SHA1 Message Date
Armelle Laine
3539189e2c ueventd.gs101.rc add /dev/trusty-log0 am: bd213b1d56 am: 18671699dc am: 0815aa9484
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14958127

Change-Id: Id80e6bdd495676794b3368868d60b25f84a6733f
2021-06-15 15:30:21 +00:00
Armelle Laine
61d5af1f46 dumpstate: dump trusty log am: 20b9bee9bb am: d94ac5ccb0 am: 6b05171fbc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976

Change-Id: Iefa8868832cd98578a1ba1bb2f7fcfa271c2703b
2021-06-15 15:30:20 +00:00
Armelle Laine
3199deae5d ueventd.gs101.rc add /dev/trusty-log0 am: bd213b1d56 am: 18671699dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14958127

Change-Id: I65beea33d71648c43b907dc7b60cda99eaf0a055
2021-06-15 15:13:28 +00:00
Armelle Laine
e271d38e71 dumpstate: dump trusty log am: 20b9bee9bb am: d94ac5ccb0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976

Change-Id: Ia28f0a839da57c4de3f82dd4daf68f6a1ac59fe9
2021-06-15 15:13:25 +00:00
Armelle Laine
e6bfe00fae ueventd.gs101.rc add /dev/trusty-log0 am: bd213b1d56
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14958127

Change-Id: I6054c3d4228642009d2227d83adaf503705d8add
2021-06-15 14:52:28 +00:00
Armelle Laine
e1b7442bc9 dumpstate: dump trusty log am: 20b9bee9bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976

Change-Id: I763fb44db02ff1a101b771e67bb9f818f1aa2641
2021-06-15 14:52:27 +00:00
Armelle Laine
e81847c70d ueventd.gs101.rc add /dev/trusty-log0
Specify ownership to system and r/w permissions to user/group.
Allows dumpstate to access /dev/trusty-log0.

Bug: 188285071
Test: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default trusty
Change-Id: I935cb9dd11d1e0968ab0e2c9d7349de336502e7c
2021-06-15 14:35:43 +00:00
Armelle Laine
fbbe7e36c7 dumpstate: dump trusty log
Dump trusty log buffer

Bug: 188285071
Test: adb bugreport
Change-Id: Ic44816fe1df21e97ec87ec58cbc2f84abf0e6a98
2021-06-15 14:35:43 +00:00
samou
a1ee61690d powerstats: Fill in P21 TPU power profile number am: 6527b9a843 am: f1435ada6b am: 64ac740edc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715578

Change-Id: I98886c8de36e932fda39cb1bea60b60852ad924f
2021-06-15 12:03:46 +00:00
samou
a2f7bcb5ce powerstats: Fill in P21 TPU power profile number am: 6527b9a843 am: f1435ada6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715578

Change-Id: Ie2f229e2d1fe42444b73afe452c6208cf4dbaae3
2021-06-15 11:51:40 +00:00
Tai Kuo
7fe6ddd320 dumpstate: show touch HDM debug info am: ed38dde296 am: 77c65615f5 am: 41ff05d133
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14964816

Change-Id: Ia1e33b973c21c5363e49c3f15385291d55191f66
2021-06-15 11:41:44 +00:00
samou
796eba5051 powerstats: Fill in P21 TPU power profile number am: 6527b9a843
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715578

Change-Id: I70cb7dabf5437d0471be07e7d5f95ffc18102043
2021-06-15 11:36:54 +00:00
Tai Kuo
8279019943 dumpstate: show touch HDM debug info am: ed38dde296 am: 77c65615f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14964816

Change-Id: Ic1ded4e2fcba58e95943ac9cc60af70151250438
2021-06-15 11:27:11 +00:00
samou
c1cf9f84b5 powerstats: Fill in P21 TPU power profile number
Bug: 189249509
Change-Id: I134f3c005ec0eb17e97b829627ba22d552b7bfdb
2021-06-15 11:23:02 +00:00
Tai Kuo
4266059b87 dumpstate: show touch HDM debug info am: ed38dde296
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14964816

Change-Id: I66977cbfd1c8a775d0202e8047cc37f9821180de
2021-06-15 10:19:14 +00:00
Fiona Campbell
f9f4af5da5 Revert "usb: set sys.usb.mtp.batchcancel to true" am: e25ed304d7 am: 8c75a0958e am: 945bfb7a7d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14966816

Change-Id: I306ed256a023e164ae2320637bb55e00db57dd0b
2021-06-15 10:07:58 +00:00
Tai Kuo
ca8a4cc11d dumpstate: show touch HDM debug info
Bug: 187174041
Test: trigger a bug report.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I0bd8329f087391c95447e015be6f576a4ecbb3e2
2021-06-15 10:04:29 +00:00
Fiona Campbell
9cf38b2566 Revert "usb: set sys.usb.mtp.batchcancel to true" am: e25ed304d7 am: 8c75a0958e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14966816

Change-Id: Ie30b0096386ed29889d4d284a617abcb5d612c1d
2021-06-15 09:52:53 +00:00
Fiona Campbell
58b9993011 Revert "usb: set sys.usb.mtp.batchcancel to true" am: e25ed304d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14966816

Change-Id: I443d80466904e8cefa37f28674c63ef09a19d43a
2021-06-15 09:33:00 +00:00
Fiona Campbell
283a690993 Revert "usb: set sys.usb.mtp.batchcancel to true"
Revert "Add sys.usb.mtp.batchcancel to usb_config_prop"

Revert submission 14910151-mtp_cancel-sc-dev

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-dev&target=cf_x86_64_phone-userdebug&lkgb=7458085&lkbb=7458560&fkbb=7458104, bug b/191120942

Reverted Changes:
I44b2d9c36:Add sys.usb.mtp.batchcancel to usb_config_prop
I4e172fa62:MTP: add a new parameter for cancelEvents function...
Iad744e27e:usb: set sys.usb.mtp.batchcancel to true

Change-Id: I3189b76db2837f3c17b1cf42eaaed8da8cfb81ac
2021-06-15 08:52:16 +00:00
Ray Chi
b18d6375c9 usb: set sys.usb.mtp.batchcancel to true am: 9fe933f068 am: a168a37ab8 am: e4d8c28c3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788708

Change-Id: I5808fc0e4c81b025be1485f0f4ae4e02831e9eed
2021-06-15 05:57:43 +00:00
Ray Chi
204b6d02a6 usb: set sys.usb.mtp.batchcancel to true am: 9fe933f068 am: a168a37ab8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788708

Change-Id: If628b035a0d32a5b892dbaf9dd312edfec85176c
2021-06-15 05:43:36 +00:00
Super Liu
640c34a39f dumpstate: add touch #19 data type am: f3989ef7cb am: 539eeafc2d am: 1605f29373
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972990

Change-Id: I73d2eba08d0738242e517f0fdc40a8e30d73eba7
2021-06-15 05:34:15 +00:00
Ray Chi
3d32b53d9d usb: set sys.usb.mtp.batchcancel to true am: 9fe933f068
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788708

Change-Id: I42747f2a9c662d783b4904ef70bd01714f798e2f
2021-06-15 05:32:03 +00:00
Super Liu
ad3a2bdef5 dumpstate: add touch #19 data type am: f3989ef7cb am: 539eeafc2d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972990

Change-Id: Id56c1a2f199afc13a2abe0175df534c7397f05f4
2021-06-15 05:22:42 +00:00
Ray Chi
739399aed2 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: Iad744e27e6f843ae22fc499efbb803be51e1b820
2021-06-15 05:16:02 +00:00
Super Liu
6ff49878bb dumpstate: add touch #19 data type am: f3989ef7cb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972990

Change-Id: I8be0ea055465bfb1b54551333d729ef1696aef4b
2021-06-15 05:10:54 +00:00
Super Liu
69c195292b dumpstate: add touch #19 data type
Bug: 174189876
Test: check bugreport for #19 data.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I288d8079528f99834a1867ab973535d4e7b383b6
2021-06-15 04:55:54 +00:00
ChengYou Ho
74f7b557fc Report Verified Boot support am: 87339dfedd am: c906d045ef am: 27606e5492
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14791870

Change-Id: I0bd0446b36677ef3b7947f3127b6d532eb710182
2021-06-15 04:36:39 +00:00
ChengYou Ho
960a0e5e01 Report Verified Boot support am: 87339dfedd am: c906d045ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14791870

Change-Id: I7b2282624ebcf1c9d976b9e45cd7ec51cd39673b
2021-06-15 04:19:39 +00:00
ChengYou Ho
54e1ad5f76 Report Verified Boot support am: 87339dfedd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14791870

Change-Id: Icbfb1bfe36f57756b69002c653f528bd20845b8e
2021-06-15 04:02:16 +00:00
ChengYou Ho
ca32deaaf1 Report Verified Boot support
Bug: 187375216
Test: CtsSecurityTestCases
Change-Id: I26304f48019a4c5df7aa683eb19236125ddb5cd3
2021-06-15 03:41:30 +00:00
Ted Lin
4e0eeb221d Remove the attribute set from init.rc for debugfs am: b0ae57afda am: e28c5b5372 am: 34387753bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914950

Change-Id: I47ea269b8601b4997a728fd9d690a5f8b9096b15
2021-06-15 03:25:55 +00:00
Ted Lin
e06fe29639 Remove the attribute set from init.rc for debugfs am: b0ae57afda am: e28c5b5372
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914950

Change-Id: I431cca8ece12e234df6f42b47052385bf71e5335
2021-06-15 03:11:59 +00:00
Ted Lin
1976d725ad Remove the attribute set from init.rc for debugfs am: b0ae57afda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914950

Change-Id: I2ee545382486b539e234edc3c20f929d604e5f27
2021-06-15 02:55:32 +00:00
Ted Lin
0671df09b8 Remove the attribute set from init.rc for debugfs
[    2.993897] audit: type=1400 audit(1623037840.652:4): avc:  denied  { setattr } for
pid=374 comm="init" name="registers" dev="debugfs" ino=9 scontext=u:r:vendor_init:s0
tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0

[    3.079941] audit: type=1400 audit(1623037840.740:7): avc:  denied  { setattr } for  pid=374 comm="init" name="fg_model" dev="debugfs" ino=18 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=0

Bug: 190337297
Test: check bugreport
Change-Id: Ia6d33d6192b230be763e52298b86a21b632ffa90
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-15 02:37:45 +00:00
Jimmy Shiu
22f8e4ad75 ADPF: add ADPF_DISABLE_TA_BOOST for powerhint am: 7d974ac001 am: d9bfae854c am: ccd49013bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14665957

Change-Id: Iac504b7211551038d1af2ed2c510c522f0d442ea
2021-06-14 18:06:37 +00:00
Wei Wang
1e8e7d77ec Enable ADPF hint am: 65e9cc03ff am: 10c1915993 am: c3a78f1d51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079

Change-Id: Icbbdbcff054ff9a0a7270ad08247b4fe3a8e9f4a
2021-06-14 18:06:36 +00:00
Jimmy Shiu
d0277fe25b ADPF: add ADPF_DISABLE_TA_BOOST for powerhint am: 7d974ac001 am: d9bfae854c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14665957

Change-Id: I8ce4c56f6947a8328d58b8bbed51ca475ebd9f39
2021-06-14 17:39:39 +00:00
Wei Wang
1d0c424169 Enable ADPF hint am: 65e9cc03ff am: 10c1915993
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079

Change-Id: I3536350d060ec3adea15cec9a49babd3518e03df
2021-06-14 17:39:38 +00:00
Jimmy Shiu
887dd1a50d ADPF: add ADPF_DISABLE_TA_BOOST for powerhint am: 7d974ac001
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14665957

Change-Id: Ic59efc3c8379739260287bcc162ec61b4e6cb3b7
2021-06-14 17:25:05 +00:00
Wei Wang
21ac6dbc39 Enable ADPF hint am: 65e9cc03ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079

Change-Id: I2de22322f2ae0cd57aa340b25452e335dba59b10
2021-06-14 17:25:04 +00:00
Jimmy Shiu
16934c353f ADPF: add ADPF_DISABLE_TA_BOOST for powerhint
Add ADPF_DISABLE_TA_BOOST hint for masking TA boost when ADPF is active

Test: build, boot to home
Test: adb shell cat /sys/kernel/vendor_sched/ta_uclamp_min
Bug: 177493042
Change-Id: I6bbeebf80fe4ba7b1e957cde5ed0d4202a2da818
2021-06-14 17:09:07 +00:00
Wei Wang
4b696faee6 Enable ADPF hint
Test: build, boot and trace
Bug: 177493042
Change-Id: I05bc6b879506934ad35521ae21e2b3a33740f268
2021-06-14 17:09:07 +00:00
Automerger Merge Worker
24706eee16 Merge "[gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f am: 1a93c41068" into sc-v2-dev-plus-aosp am: 996a700073
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932

Change-Id: Ib8e4b703f56603ffb658f0cb7f07cfde4febc87c
2021-06-14 14:58:02 +00:00
Ruslan Tkhakokhov
cd5dcd525a [gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f am: f6dbbf81d3 am: 7721079cc7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932

Change-Id: Iba510fad1e7936212b15efd8b42dff92a99456da
2021-06-14 14:57:12 +00:00
Automerger Merge Worker
6a558a41ff Merge "[gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f am: 1a93c41068" into sc-v2-dev-plus-aosp 2021-06-14 14:38:44 +00:00
Ruslan Tkhakokhov
90908db9c3 [gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f am: 1a93c41068
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932

Change-Id: Ibfc0cc9a7db546234a1914c06a70b688702ba32d
2021-06-14 14:38:35 +00:00
Ruslan Tkhakokhov
3b13b3b8c9 [gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f am: f6dbbf81d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932

Change-Id: I6e259eb93f56f09482d32cf6cc0fb4e9c4b8d74a
2021-06-14 14:38:15 +00:00
Ruslan Tkhakokhov
ad8e134b9f [gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932

Change-Id: I09ca86e55d9068412b97b1b01f5b396a696490fa
2021-06-14 14:23:54 +00:00