Commit graph

3259 commits

Author SHA1 Message Date
Alex Hong
592769127d Remove tetheroffload service
Test: m checkvintf
      run vts -m VtsHalTetheroffloadControlV1_0TargetTest
Bug: 207076973
Bug: 214494717
Change-Id: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
Merged-In: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb
2022-02-24 04:03:32 +00:00
Michael Wright
fe297bab89 Revert "Revert "Turn on SELinux"" am: 55730686f5 am: 0d7dda24aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16984063

Change-Id: Ic535c2ed6332f4802e81722fe5159863f3b04670
2022-02-24 01:32:26 +00:00
Aurimas Liutikas
5c11200b72 Revert "Turn on SELinux" am: 077aaa107b am: f0f6c7239f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982873

Change-Id: I84e03b77b31ecbaabe209bd1545d7fcbca5795bd
2022-02-23 23:22:05 +00:00
Michael Wright
27782040f9 Revert "Revert "Turn on SELinux"" am: 55730686f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16984063

Change-Id: I8966f8f9dd5fe4cf33c8c50fada1f0e3ef42cfcf
2022-02-23 20:43:29 +00:00
Aurimas Liutikas
e53375525d Revert "Turn on SELinux" am: 077aaa107b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982873

Change-Id: I2f9d973eef3106310944eb95f81070c96d8c80cf
2022-02-23 20:36:59 +00:00
Rick Chen
bcd8f03da5 Remove sensor HAL 1.0 config am: 553ae4fd8d am: 0411853a89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963965

Change-Id: I83c4f034c987daafd522a09da76a05c1ad0362c3
2022-02-23 19:32:57 +00:00
Rick Chen
1dcaab12f7 Remove sensor HAL 1.0 config am: 553ae4fd8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963965

Change-Id: I18e3f6496a0e6b804c8eaf99b2d1c41f35f2c66d
2022-02-23 18:13:21 +00:00
Michael Wright
0d7dda24aa Revert "Revert "Turn on SELinux"" am: 55730686f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16984063

Change-Id: I991e740905c7c6dd7cac5295c9d07e7c640c89d0
2022-02-23 17:24:52 +00:00
Aurimas Liutikas
f0f6c7239f Revert "Turn on SELinux" am: 077aaa107b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16982873

Change-Id: Ic9d06d07deb8b96fb3171fb3ad28db292b714126
2022-02-23 17:21:10 +00:00
Rick Chen
0411853a89 Remove sensor HAL 1.0 config am: 553ae4fd8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16963965

Change-Id: I86b7dd28b1fc4218e9bf968975b3a0812382e0d9
2022-02-23 17:15:16 +00:00
Alex Hong
5e3ac86e93 "Erase Downloaded sims" Checkbox is not visible
Enable the masterclear.allow_retain_esim_profiles_after_fdr for
checkbox is visible

This is picked from a8acce0

Bug: 220209981
Test: build pass
Change-Id: I930c4038ceabcaa214fc5c8ad434ab3861b24acf
2022-02-23 18:36:10 +08:00
Michael Wright
55730686f5 Revert "Revert "Turn on SELinux""
This reverts commit 077aaa107b.

Reason for revert: SELinux issues are fixed

Change-Id: I90f32b8b633988ab6f79606ac8464cbb07a861dd
2022-02-23 02:41:40 +00:00
Aurimas Liutikas
077aaa107b Revert "Turn on SELinux"
This reverts commit 3923566e2c.

Reason for revert: causing com.android.pixellogger crashes

Bug: 220935985
Change-Id: If97dd3585651167762890b98c2446f3b5222f9d4
2022-02-23 02:39:55 +00:00
Rick Chen
553ae4fd8d 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
(cherry picked from commit 1fef1eca2d)
2022-02-23 02:09:27 +00:00
Jimmy Shiu
04b84d343b powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 207573241
Change-Id: Idcebb479cb52b536ffd8d1f79f00293d3c0c4131
2022-02-22 17:22:48 +00:00
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