Jenny Ho
f9ae6c981a
device-common: set testing_battery_profile default 2
...
set 2 to prevent limit battery level in unexpected testing situation
Bug: 180511460
Bug: 220679025
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9f0e66cf92b26c6946af162003378dcf0fd749f9
(cherry picked from commit 830f0880244cf691e5c028a8608f7dc00e09f01c)
2022-02-22 10:45:52 +00:00
Ray Chi
0d3afcfb12
recovery: add wait for dwc3 device to probe am: 48ebc5fe18
am: 815448bc3c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16938659
Change-Id: I84ea050864048c491ae79aa433245acace476267
2022-02-22 03:46:52 +00:00
Adam Shih
f617f3b9f2
Turn on SELinux am: 3923566e2c
am: 13651d5f16
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16939195
Change-Id: Ic2bf88e28146a743cc7d3f121ede775971a93865
2022-02-22 03:21:01 +00:00
Ray Chi
815448bc3c
recovery: add wait for dwc3 device to probe am: 48ebc5fe18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16938659
Change-Id: I385fa9749e2ab78ac7c7ce83c7d3bfe30a324dee
2022-02-22 02:59:17 +00:00
Ray Chi
48ebc5fe18
recovery: add wait for dwc3 device to probe
...
If fastbootd starts before the dwc3 device probes, fastbootd
would be failed to enable USB gadget.
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property.
Bug: 220393297
Test: build pass, fastboot works
Change-Id: I4e5b34354f19547f55acc53ccff0b54adce2d982
2022-02-22 02:32:17 +00:00
Adam Shih
13651d5f16
Turn on SELinux am: 3923566e2c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16939195
Change-Id: I6195f967070362d6a5ade45f7db0cdf9da4e771e
2022-02-22 01:45:26 +00:00
Adam Shih
3923566e2c
Turn on SELinux
...
Bug: 214923175
Test: Boot to home, OTA, adb connection, wifi, phone call, SMS, Bluetooth,
LTE, camera, video, audio, GPS, lock screen, sensor, fingerprint,
bugreport, no crash loops
Change-Id: I23adacc6f3d68becd86d238046a0458baacd122d
2022-02-22 01:27:53 +00:00
Ray Chi
9fbe536c12
[automerger skipped] modify the path of shell binary am: 4f30e468e4
am: d49f48995d
-s ours
...
am skip reason: Merged-In Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6 with SHA-1 e4796c373c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963964
Change-Id: I117366a13bd3eda5ecdf286fef9a1d347633784b
2022-02-21 19:23:29 +00:00
Ray Chi
d49f48995d
modify the path of shell binary am: 4f30e468e4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963964
Change-Id: I8975b67f3d5aa69614e0554c04a8973c1b783f14
2022-02-21 18:47:42 +00:00
Ray Chi
4f30e468e4
modify the path of shell binary
...
Currently, we should use the vendor shell to run irq script.
This patch will modify the shell path.
Bug: 202103325
Test: switch functions and check the value of smp_affinity_list
Change-Id: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6
Merged-In: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6
(cherry picked from commit e4796c373c
)
2022-02-21 18:22:53 +00:00
Lais Andrade
915c9e81b0
Add default alarm and media vibration intensity settings am: 0b02e303b1
am: ae53b4b420
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936270
Change-Id: Iac133238c1cb74b62dafc77df5b09a26e1938da4
2022-02-21 12:56:37 +00:00
Lais Andrade
ae53b4b420
Add default alarm and media vibration intensity settings am: 0b02e303b1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936270
Change-Id: Id57d6a1fa35d201dc4b849535b4774d16133b8cc
2022-02-21 12:34:40 +00:00
Lais Andrade
0b02e303b1
Add default alarm and media vibration intensity settings
...
Change-Id: Ib5cbda371672dde8cbcd17692ecf777a3c3c95e1
Fix: 219692498
Test: manual
2022-02-21 12:08:06 +00:00
Rick Chen
1fef1eca2d
Remove sensor HAL 1.0 config
...
Bug: 202249887
Test: Verify basic sampling functions on C10.
Run VtsHalSensorsV1_0TargetTest and see no test items.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I7ce97e417ce5e8c4589845a5138010aa9288ccb3
2022-02-21 02:42:49 +00:00
Jack Diver
6b95566a55
gs201: Build UMD from source am: 4438b07c71
am: 3d88e357aa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936271
Change-Id: If94c209a7d01fbb4ee9c9b06a5c41f74711d7db2
2022-02-18 23:16:56 +00:00
Jack Diver
50a92671f3
gs201: Build UMD from source am: 4438b07c71
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936271
Change-Id: I2177585fd23d277f9a291d5f91f4206b08684173
2022-02-18 22:32:33 +00:00
Jack Diver
3d88e357aa
gs201: Build UMD from source am: 4438b07c71
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16936271
Change-Id: Ie7d53bcee846dc23e9bd56847a58f241428831ce
2022-02-18 22:31:03 +00:00
Jacqueline Wong
a31c0571d3
Add gxp coredumps to Android bug report
...
- Add gxp dump files to dumpstate_board.bin of Android bug report:
/data/vendor/ssrdump/coredump/coredump_gxp_platform* and
/data/vendor/ssrdump/crashinfo_gxp_platform*
Test: adb root; adb remount -R; adb bugreport
Bug: 218358165
Signed-off-by: Jacqueline Wong <jacqwong@google.com>
Change-Id: Ib73659e94d86932b97756f13a19b7f093e23dc63
2022-02-18 21:19:02 +00:00
Kyle Lin
0136600cd9
powerhint: align the LAUNCH Hint
...
Bug: 207573241
Test: build and Trace
Change-Id: I2a214e1c68f3eb92ef95c382665b0acb720917a3
Signed-off-by: Kyle Lin <kylelin@google.com>
2022-02-18 17:42:22 +00:00
Jack Diver
4438b07c71
gs201: Build UMD from source
...
Bug: 185349920
Test: Build gs201 UMD from source
Test: Boot to home
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I34be0058ea1272966b0b848d9de365c23d28d5ec
2022-02-18 14:35:48 +00:00
Alex Hong
6bcf8bcf9a
Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices
...
Update the Target FCM level from 5 to 6
Update the product FCM xml
Bug: 207076973
Test: m checkvintf
Change-Id: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e
2022-02-18 07:55:02 +00:00
Alex Hong
ea7fe5242e
Remove tetheroffload service
...
Test: m checkvintf
run vts -m VtsHalTetheroffloadControlV1_0TargetTest
Bug: 207076973
Bug: 214494717
Change-Id: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
2022-02-18 07:55:02 +00:00
Ray Chi
e4796c373c
modify the path of shell binary
...
Currently, we should use the vendor shell to run irq script.
This patch will modify the shell path.
Bug: 202103325
Test: switch functions and check the value of smp_affinity_list
Change-Id: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6
2022-02-18 04:23:15 +00:00
Lais Andrade
0ef3bb4c8a
Add default alarm and media vibration intensity settings
...
Change-Id: Ib5cbda371672dde8cbcd17692ecf777a3c3c95e1
Fix: 219692498
Test: manual
2022-02-17 21:36:25 +00:00
diverj
7c11dd7d0e
gs201: Add pixel_mali_soc config var
...
* Add gs201 soc soong_config_variable
* Remove unused mali soong namespaces
Test: Build UMD from source for gs101, gs201 and zuma
Test: checkbuild
Bug: 185349920
Bug: 174232579
Change-Id: Ie175e70a4a61a14e93225522735e1b789c28f6fa
Signed-off-by: Jack Diver <diverj@google.com>
2022-02-17 12:53:42 +00:00
Midas Chien
e542e25078
display: allow composer to access panel idle node
...
Change panel idle node ownership to allow composer to access.
Bug: 198808492
Test: init and composer can write to panel idle node
Change-Id: I9fd7fe752cfe0694216d608765c4647dd3c00b95
2022-02-17 09:17:42 +00:00
Ted Lin
805826c2cc
fix the avc denied for maxfg/registers
...
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:28): avc: denied { search } for name="maxfg" dev="debugfs" ino=31872 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:29): avc: denied { read } for name="registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:30): avc: denied { open } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:31): avc: denied { getattr } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
Bug: 208909060
Test: adb bugreport
Change-Id: I72a6b72e568fe109350edd2a0a91747251e6fba4
Signed-off-by: Ted Lin <tedlin@google.com>
2022-02-17 09:04:23 +00:00
Darren Hsu
8c4f8807fd
powerstats: disable AoC power stats reporting
...
This is a workaround for the AoC long latency issue. Re-enable
AoC power stats reporting when the latency issue is fixed or
the timeout mechanism is merged.
Bug: 210045267
Test: Dump power stats while video streaming and see no timeout
Test: from dumpsys
Change-Id: I83545d45bb1bbb5bb18ca4bff4bd261f332a4570
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-02-17 10:26:50 +08:00
TeYuan Wang
ae8e17631b
thermal: provide gxp-cooling user_vote permission for thermalHAL
...
Bug: 219869479
Test: ls -al dev/thermal/cdev-by-name/gxp-cooling/user_vote
Change-Id: Id11ad3cb6b1770cbaffb760feaad571c678a22df
2022-02-16 19:34:39 +00:00
Robin Hsu
200d13758a
config.xml: enable zram writeback
...
Bug: 207572250
Test: cmd jobscheduler run -f android 812
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: If956c912325d820ad37c160d2d1d80d3e646a76c
2022-02-16 14:49:28 +00:00
Wei Wang
2b064d7831
Change restricted cpuset dynamically
...
Currently framework put tasks into restricted cpuset group when display
is off. However, when unlocking screen, SystemUI still runs in
restricted cpuset group leading to jank and delayed UDFPS action. This
CL mitigates problem by dynamically changing restricted cpuset group to
all cpus when display is back on.
Bug: 217481359
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I1a7d49c69c02f97d70cbb4d2d716ec68cf0b8701
2022-02-16 05:39:49 +00:00
Nate Myren
010d787802
Add notification pregrants to gs201
...
Test: build
Bug: 218409412
Change-Id: I6cfabcb5a54852f75384b2abd8aada898aa64006
2022-02-15 17:18:16 +00:00
Carter Hsu
dd48757095
audio: update AudioExt to 3.0
...
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia8decc9cb0962330cb0321b747929efe53f323ba
2022-02-15 09:13:54 +00:00
Gary Jian
9286e0a99f
Support 5G on both stacks
...
Bug: 218650003
Test: manual
Change-Id: I6cd66c1db1c826934008949d7a6007541480d3f9
2022-02-15 07:44:31 +00:00
Sayanna Chandula
589318e5c4
thermal: enable cooling devices cur state permissions
...
Enable permissions for wcl_fcc and dc_icl cooling devices
current state for charging throttling.
Bug: 204523879
Test: build and boot on device. Check charging throttling
Change-Id: Icf175bd270d0eb6a9d2adcde2199b034683a8b8f
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-02-15 05:10:46 +00:00
Ken Huang
ff3ce560fa
Set 120Hz frame rate multiple threshold for gs201
...
Bug: 215043570
Test: play 24fps video and check refresh rate
Change-Id: Ie638f9dcf11e25bdd903d6cde2d0eeb794668e52
2022-02-15 04:07:54 +00:00
Taeju Park
7fca68cdd9
Port missing hints from powerhint.json of gs101
...
Bug: 207573395
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Ia9289b674c988666c1e7cdd10756a0509ec97b39
2022-02-14 23:25:33 +00:00
Robin Hsu
59615c9496
config.xml: pin /system/bin/surfaceflinger
...
Add /system/bin/surfaceflinger to the pinner service default pin list
Bug: 207573339
Test: by 'dumpsys pinner' command
Change-Id: If29333eb06f2aaaf88fdfbad27fe9de4258c5b27
2022-02-14 11:36:35 +00:00
Rick Yiu
13a4cde946
Dumpstate: Dump vendor group value
...
Dump attributes and tasks for each vendor group.
Bug: 216844247
Test: build pass
Change-Id: I001efa93fb1ea2fc283daaa28363a0cfc1eefbe8
2022-02-14 06:05:03 +00:00
Carter Hsu
3069e185ee
audio: Update Audio HIDL to 7.1
...
Bug: 205235270
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie1d8b20b001936e6c72ffe3644475c4fb8dad604
2022-02-14 01:02:01 +00:00
Victor Liu
379b46448b
uwb: removed unused calibration files
...
Bug: 218719905
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Iabdbbe03f9aa3cad457d2e086f2f567c9687d5a7
2022-02-11 16:29:05 +00:00
Rick Yiu
1b0d78ac5b
Sync vendor task_profiles and init rc file
...
Sync the settings from P21.
Bug: 207573268
Test: build pass
Change-Id: Ia6f761c6247522707d34888347bec6736c227e9e
2022-02-11 13:47:55 +00:00
Kris Chen
0567190969
Configure permission for AOC UDFPS sysfs node.
...
Bug: 205242782
Bug: 215044794
Test: Verify system process can read/write to the node.
Change-Id: Iecadeb47e08abf300ccd93eb8e95c91eb3195fd2
2022-02-11 02:43:14 +00:00
Lokesh Gidra
a398ee823c
Use same dalvik heap config as gs101
...
A different dalvik heap config is being used than the one used in gs101.
Since all the p22 devices have 6+GB RAM, use the corresponding
configuration.
Bug: 218910184
Test: adb shell getprop
Change-Id: Idcb86c3ae14b3409821c01bc9bf16f5b9a820596
2022-02-11 01:27:59 +00:00
Ankit Goyal
0cde43a0c6
Remove outdated namespaces
...
Bug: 174232579
Test: Boots to home
Change-Id: Ic41bb8e9b0cde2d9c3ca2ed94d03472e939518c5
2022-02-11 00:52:54 +00:00
Ankit Goyal
6410beb4b5
gs201: Remove prebuilt string from target names
...
Bug: 174232579
Test: Boots to home (with and without prebuilts)
Change-Id: I07e0e2f6ca5d1ff1e6fe83f04c525207b60224d9
2022-02-11 00:52:54 +00:00
Ankit Goyal
2dceacff25
Update mali_csffw firmware target to match the generated one
...
Bug: 174232579
Test: Boots to home
Change-Id: I3902ed43059195e5d646473020ba6d33bd9f2f0a
2022-02-11 00:52:54 +00:00
Ankit Goyal
5a66a5bc3a
Update vulkan library name to vulkan.mali
...
Bug: 174232579
Test: Boots to home
Change-Id: I50d73b42accbb6984ae8c5df629bbc0f05e8e727
2022-02-11 00:52:54 +00:00
weichinweng
bb377d000c
Added new vendors for Bluetooth config migration
...
Tag: #feature
Test: manual
Bug: 211570675
Bug: 218454632
Change-Id: I9089bd4a3c8e747db4b1a2501989ae36e68a8d26
2022-02-10 15:15:52 +00:00
Darren Hsu
6dffe2029d
powerstats: add devfreq state residency for MFC and DISP
...
Bug: 218772968
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ib4b2986adf6cdd0ab74daa086ef843caa250ac84
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-02-10 13:00:20 +08:00