Commit graph

1214 commits

Author SHA1 Message Date
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
Ruslan Tkhakokhov
0947a2b506 [gs101] Swap Pixelmigrate for Restore APK in default-permissions
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I5d63d1cf918dead3c6fa6db6c131404e37f91232
2021-06-14 11:14:57 +00:00
Martin Liu
3fb75fea8b device-common: include Pixel common MM mk file am: e23cd74283 am: 41fa855429 am: f8bd625987
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512

Change-Id: I0e7d73cef560f71dbd2d5f02b2cb91c97117276f
2021-06-14 08:32:22 +00:00
Minchan Kim
54ad09ee59 enable zram writeback job scheduling am: 17fc9a8912 am: 55fc1dd52d am: dc9b2d659e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712

Change-Id: I4f28a3ceea2d1b52f96a114c4cc210c4749d0d7a
2021-06-14 08:32:21 +00:00
Martin Liu
0dd235229f device-common: include Pixel common MM mk file am: e23cd74283 am: 41fa855429
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512

Change-Id: I44e413290d292dff209aa74a6c880ba64ae19644
2021-06-14 08:19:13 +00:00
Minchan Kim
984c7f79a0 enable zram writeback job scheduling am: 17fc9a8912 am: 55fc1dd52d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712

Change-Id: Iac4540562e3b2b342d1710d0117e53f336f1b91e
2021-06-14 08:19:12 +00:00
Martin Liu
76a3bd4518 device-common: include Pixel common MM mk file am: e23cd74283
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512

Change-Id: Ibdc5eea8aee49d3560cc32f957e0071c0d2a7a30
2021-06-14 07:58:02 +00:00
Minchan Kim
bb1a3b6a8f enable zram writeback job scheduling am: 17fc9a8912
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712

Change-Id: I7fd921ac9f58e8b566f708bfcabdddce14b37a8a
2021-06-14 07:58:01 +00:00
Martin Liu
c739bbe115 device-common: include Pixel common MM mk file
This will enable zram and Pixel common config

Test: confirmed first writeback work via dumpsys jobscheduler | grep Zram
      check watermark_boost_factor
Bug: 190571517
Bug: 189938926
Bug: 190732106
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I1a475ea5481d21c7f9fa14eb5f01c6d6802def72
2021-06-14 07:43:37 +00:00
Minchan Kim
c255722fe9 enable zram writeback job scheduling
Test: Confirmed the initial write working with console  log
Bug: 190571517
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Idb9f800455c62251bad333a015385cb5bd5029cc
2021-06-14 03:14:53 +00:00
Sung-fang Tsai
17bd4bb4e7 Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28 am: 3d18c1ba2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: Ib947ddc14d6f46eb04e3fa1218873b4f9d17b60e
2021-06-13 12:18:38 +00:00
Sung-fang Tsai
8b4b6acb0d Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: I1460bece7310269f9806f34c51e2a57c111d4444
2021-06-13 11:55:29 +00:00
Sung-fang Tsai
249402cd55 Add GCA_CAMERA_SHOT power hint. am: 9591cc3322
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: I96e1d64cb86ae49441902081281bb72b0eb197c2
2021-06-13 11:45:04 +00:00
Sung-fang Tsai
27528a54d8 Add GCA_CAMERA_SHOT power hint.
GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.

Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
2021-06-13 09:30:22 +00:00
Kelly Rossmoyer
103f721941 Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3 am: 91a6cecba5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: Ib4c1fe0a9640be099aea6b0df67b51c7cd061540
2021-06-13 01:17:48 +00:00
Kelly Rossmoyer
a4fdba4ad5 Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: Ib5c81618db34a0bb93e1fca9d15eacbb28236813
2021-06-13 01:04:26 +00:00
Kelly Rossmoyer
432bd7173d Adaptive Suspend: configure first param set am: 3f428fafe4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: I129c2612cebde4e10d44d224d84ab32ea6182864
2021-06-13 00:51:24 +00:00
Kelly Rossmoyer
eba0f4ff66 Adaptive Suspend: configure first param set
This CL configures the first set of experimental parameters for Adaptive
Suspend on targeted devices, including:
* dropping the max backoff from default 60 seconds down to 40
* changing the break-even threshold from 5 seconds (which was just for
  collecting data) to 2
* enabling backoff on short suspends

BUG: 171433995
Test: ran on test device and observed suspend behavior
Change-Id: Icebf50aeade713591f1641664df11570d184d352
2021-06-13 00:34:09 +00:00
Kris Chen
8de9ffcfee Add power hint for fingerprint am: 68928345aa am: 169ed7c55e am: 476dfccd63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I29318adde11f2e07636df60845386529868a61d4
2021-06-12 10:52:48 +00:00
Kris Chen
70d989f79f Add power hint for fingerprint am: 68928345aa am: 169ed7c55e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I473e9c609b70ed899bebc5557d93cbdc67fffdd8
2021-06-12 10:41:00 +00:00
Kris Chen
793d8c77c0 Add power hint for fingerprint am: 68928345aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I7a7f622131e54d8ab078b77a5ba6f94b2276ab4a
2021-06-12 10:27:56 +00:00
Kris Chen
71391a0cec Add power hint for fingerprint
Boost frequency of CPUBigCluster when running fingerprint algorithm.

Bug: 185893477
Test: Observe from systrace that the CPU frequency is boosted when
      running fingerprint algorithm.
Change-Id: I9e8e727a61f9a2679fc2a00d6e2a1dd4a6c9de99
2021-06-12 10:08:33 +00:00
Jimmy Shiu
9eed5dbf3b Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 2ad6bc679c am: ca31c5ef61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I4d25d42f5293ed160eba9368894df2c12b73dded
2021-06-12 06:48:57 +00:00
Jimmy Shiu
8a4a6592dd Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: fcb45d98d2 am: 166aec4aa3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: Ibb1437a802a9448d3e238fe2daf4578bae23fed7
2021-06-12 06:48:56 +00:00
Jimmy Shiu
9d9ecc0238 Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 5645711e11 am: d428ab22af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I4c25e6ce1626d57629ecefd99592026960579d17
2021-06-12 06:48:48 +00:00