Kelvin Zhang
a8fdc57387
Add a build time constant to disable VABC
...
Test: m
Bug: 185400304
Change-Id: I4ed5676f4a1195f084ed447196ee9e3ce71ec84a
(cherry picked from commit c76afcf1ef68ce4e6362032aaa8b5e2ea77f9233)
2021-06-16 20:48:14 +00:00
Cyan_Hsieh
327fd8c824
Remove duplicate mk inherit am: 288dc595c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392
Change-Id: I73dcd0781df188250f399b84474bf2d58e3eca52
2021-06-16 11:49:49 +00:00
Cyan_Hsieh
dc2c524eb0
Remove duplicate mk inherit
...
Fix: 191233129
Change-Id: I84b72f196f23af6c7cad3c010617f100dcfc193a
2021-06-16 10:33:14 +00:00
Gillian Lin
f268e9e2d7
cts: VerifiedBootTest#testVerifiedBootSupport am: 84a4099e03
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972996
Change-Id: I70e31eec09956c887dcec60459e8a0130b9635fc
2021-06-16 09:37:30 +00:00
Gillian Lin
579543db80
cts: VerifiedBootTest#testVerifiedBootSupport
...
android.software.verified_boot.xml should be copied to TARGET_COPY_OUT_VENDOR instead of TARGET_COPY_OUT_PRODUCT
Bug: 190401885
Test: run cts-on-gsi -m CtsSecurityTestCases -t android.security.cts.VerifiedBootTest#testVerifiedBootSupport
Change-Id: Id17176f07e6ae8843f71b10ad9d01b18640fe675
2021-06-16 09:24:24 +00:00
Adam Shih
0aa70449be
remove vcd from user ROM am: 8cc14ed0c4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513
Change-Id: If091d59ad50f058231c626a361cfe7fdf1c8a690
2021-06-16 06:54:18 +00:00
Adam Shih
3e058b1e5c
remove vcd from user ROM
...
Bug: 190331325
Test: build all ROM variants with only user ROM without vcd
Change-Id: I0732f80c2adc663c807963b84c70080665212bb2
2021-06-16 06:40:27 +00:00
Edwin Tung
cbfaa3d554
gps: update gps driver 129.20.23.504156 am: 1266fa0996
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14963057
Change-Id: I37f4ab69b6aa00e173ddd7b9c8cdd042a4ffcc8c
2021-06-16 04:02:57 +00:00
Edwin Tung
3bbde56bae
gps: update gps driver 129.20.23.504156
...
Integrated CHPP- chpp-20210524-39bf8f5.zip
Adjust the noise table for GPS
False L5 SNR removed by adding valid peak check to L5 CN0
Fixed for SyncIn request to time out within 3 seconds
Support multiple measurement requests
Estimated better accuracy uncertainty in GLNS Only fix
Request UTC time from framework even if the request type is BREADCRUMB
Fixed Reset checking timer for default value of CpResetInvalidateSec to properly work
Bug: 188843280
Bug: 189793458
Bug: 188857474
Bug: 188127870
Bug: 188737899
Bug: 185200717
Bug: 184770261
Bug: 185884684
Sanity test: 190960119
Test: build pass
Change-Id: I969b3ce240583d726f28e93da76c74f1c369a505
2021-06-16 01:52:00 +00:00
Ahmed ElArabawy
1dcda84d03
WiFi: Modify OWNERS files am: 12ee99a6a1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14983198
Change-Id: I975a95d79a013c91d9304b982e67d049e3aec644
2021-06-15 23:55:27 +00:00
Ahmed ElArabawy
0c6ba84d72
WiFi: Modify OWNERS files
...
Replace kumaranand@ with arabawy@ in OWNERS files
Bug: 191158491
Test: None
Change-Id: Iefc7343bc311f5642b165d24217ea8d264918ea2
2021-06-15 23:35:50 +00:00
Wei Wang
02a04efcb2
Relax SurfaceFlinger cpuset and adding uclamp.min for RenderEngine am: 028c5241b0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14950241
Change-Id: I4ffd0a68a0b8aabfc08fb9dd54a7d5c17d7425e6
2021-06-15 19:46:22 +00:00
Wei Wang
2fee52bbf5
Relax SurfaceFlinger cpuset and adding uclamp.min for RenderEngine
...
SurfaceFlinger IPC improved with mid and big cores, relaxing cpuset will
help improve its efficiency. For render engine, we set uclamp.min to
skip scheduling on little cores.
FWIW, we let the RT scheduler figure out what is good for perf/power.
Bug: 170507315
Bug: 191054286
Test: Build and boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I880cf549e33a3a2f629e8260366c4ce8c34c3ae6
2021-06-15 19:15:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
329a3823d4
Remove little core hard freq boost for the INTERACTION am: bfe7388900
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I04ccf1fa5afd618ba3645bfcbcc1e0d6bd88f3b9
2021-06-12 06:19:09 +00:00
Jimmy Shiu
75cd4fc660
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I4c1220974d09c175cd9d18d3fc5d7598336a0c4f
2021-06-12 06:19:08 +00:00
Jimmy Shiu
c87b3df93e
Remove little core hard freq boost for the INTERACTION
...
Set SF uclamp.min instead of a min floor
Bug: 190145608
Test: Manual Test
Change-Id: Ie54be008739ea2555fcf8eb7878593d4bdddb89b
2021-06-12 06:05:29 +00:00