Commit graph

5707 commits

Author SHA1 Message Date
TreeHugger Robot
fde8e41f9b Merge "factory: udfps: Configure permission for display file node." 2022-10-13 10:42:41 +00:00
Kris Chen
962b33e652 factory: udfps: Configure permission for display file node.
Configure permission to get display DDIC chip id.

Bug: 228302164
Bug: 250740167
Test: Performed UDFPS calibration on SB3
Test: Verified the correct cali file was generated under /data/device_cali/
Change-Id: If629ce3a954252bf84e5ea20f54a5adbf1491db2
2022-10-13 17:44:51 +08:00
linpeter
242ea42ffb Disable dimming mode in factory build
Bug: 252965426
test: check dimming flag
Change-Id: I581d4449b8e68bfb996ddde3784b31ed98b12985
2022-10-13 16:36:42 +08:00
TreeHugger Robot
0ae466395b Merge "Update IDisplay to V7" 2022-10-13 08:11:55 +00:00
Jack Wu
42c035d7fa init: support boot.charger_mode feature
1. If the device is powered off by users, boot to charger mode
   after plugging in the charger. Otherwise, boot to OS.
2. Disable this feature by default
3. Enable this feature by persist.sys.boot.charger_mode.enable=1

Bug: 251680171
Test: can enter charger mode from power off
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia02e066ee78aaed1ec8873a10ffac800bc83b60e
2022-10-13 15:48:11 +08:00
Krzysztof Kosiński
f516772b0c Revert "usf: Include usf_product.mk for USF PDK."
Revert submission 20107117-usf_pdk_zuma

Reason for revert: no longer needed.
Reverted Changes:
I871eaf232:usf: Include usf_product.mk for USF PDK.
Icd19909d2:usf: Add USF config for PDK

Change-Id: Ic11efde6fcc27b7c3339c047767a316d5daf6b79
2022-10-12 20:57:06 +00:00
jimsun
343c88ce24 Enable GAudio feature
Bug: 253186589
Test: MO/MT call
Change-Id: I2ffc45d469a60c6fc23161bcaa20fce305c6c953
2022-10-12 23:37:50 +08:00
TreeHugger Robot
c898485528 Merge "Upgrade PRODUCT_SHIPPING_API_LEVEL to 33 for Zuma" 2022-10-12 09:02:52 +00:00
weichinweng
ef2333ceef Add acd-com.google.usf.non_wake_up file to AoC file context.
Bug: 195077076
Bug: 253178766
Test: ls -lZ dev/acd-com.google.usf.non_wake_up
Change-Id: I01e26cca3300eb284b22106367bc651ee3815581
2022-10-12 08:56:15 +00:00
Yi-yo Chiang
64fff3f861 Merge "Remove references to BOARD_BUILD_SYSTEM_ROOT_IMAGE" 2022-10-12 02:59:05 +00:00
TreeHugger Robot
4fdc5dc234 Merge "health: Remove SOC based throttling" 2022-10-11 21:10:44 +00:00
George Lee
6500ff0db7 health: Remove SOC based throttling
Bug: 244359848
Bug: 253059301
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I05d6d3e8d37ef5ee1d27275a433177dc29b07b1a
2022-10-11 19:58:04 +00:00
Yi-Yo Chiang
94ef63824b Remove references to BOARD_BUILD_SYSTEM_ROOT_IMAGE
This variable is always false or empty now.
Remove it so we can mark it as deprecated later.

Bug: 241346584
Test: Presubmit
Change-Id: I092d760f00c7bdb26dfd9c074691378cdecfa5b7
2022-10-11 19:04:16 +08:00
TreeHugger Robot
fb27d1a566 Merge "powerstats: update path for energy meter" 2022-10-11 04:14:53 +00:00
Ben Schwartz
2f39df8cb3 powerstats: Fix CPU DVFS frequencies
Bug: 250095402
Change-Id: I64ab645de194e5bc86b3e4a92a8ade6db1d51963
Test: dumpsys android.hardware.power.stats.IPowerStats/default
2022-10-10 22:11:08 +00:00
TreeHugger Robot
27dc0f83a2 Merge "update rc file to set dev/uci permissions for uwb" 2022-10-07 21:01:17 +00:00
Alex Hong
678bf7a183 Upgrade PRODUCT_SHIPPING_API_LEVEL to 33 for Zuma
Bug: 245496247
Bug: 251720107
Test: $ get_build_var PRODUCT_SHIPPING_API_LEVEL
Change-Id: Ib7e0d87e7d26b5390f3700b60450978b3840584e
2022-10-07 16:19:00 +08:00
Darren Hsu
ff90cfc166 powerstats: update path for energy meter
Bug: 250976913
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id97facc75794809ed1b5fe42e214281145b0dbd0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-07 11:16:25 +08:00
Rick Chen
d44db54ce4 usf: Include usf_product.mk for USF PDK.
Bug: 249408706
Test: Compile pass. Verified sensor list & sampling.
      The validation is done both on PDK build and master build.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I871eaf232244405174701d109cc473c0576b4191
2022-10-06 15:20:46 +08:00
linpeter
1ac9e6f064 Update IDisplay to V7
Bug: 241969007
Change-Id: I633046023da327abc48a48c06119962d5b2a588b
2022-10-06 11:57:55 +08:00
Adam Pierce
4102acd150 update rc file to set dev/uci permissions for uwb
Bug: 241468038
Test: Build and test uwb stack starts up and ranges
Change-Id: I800ef687a3fc82c6054100500cbdab9b533f6b16
2022-10-04 21:33:10 +00:00
Roger Fang
b8afd69df2 Merge "pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported" 2022-10-04 03:38:49 +00:00
Ryan Chu
99e7d26840 Zuma: Hold wakelock on boot
Hold wakelock on boot to mitigate suspend/resume

Bug: 247032124
Change-Id: I113862adbce70604cf184b5b1bb62fde8ab264d5
2022-10-03 14:27:09 -07:00
Roger Fang
b6ee86eeed sepolicy: add permission for AMS rate of pixelstats-vend
pixelstats-vend: type=1400 audit(0.0:524): avc: denied { open } for
    path="/sys/devices/platform/audiometrics/ams_rate_read_once" dev="sysfs"
    ino=87602 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0
    tclass=file permissive=1
    pixelstats-vend: type=1400 audit(0.0:525): avc: denied { getattr }
    for path="/sys/devices/platform/audiometrics/ams_rate_read_once"
    dev="sysfs" ino=87602 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:
    sysfs:s0 tclass=file permissive=1

Bug: 245057559
Test: maually test passed.

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I6cb477b3eecbb04fe1259f94e18e033cc152a671
2022-10-03 17:56:01 +08:00
Roger Fang
fc34f1b32a pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported
Bug: 245057559
Test: manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I498d8a62fb276cd51dd0e37445d304a4233013d8
2022-10-03 17:28:02 +08:00
Vova Sharaienko
cf1387dd92 Merge "hal_health_default: updated sepolicy" 2022-09-30 04:42:40 +00:00
Vova Sharaienko
f6826e0904 hal_health_default: updated sepolicy
This allows the android.hardware.health service to access
AIDL Stats service

Bug: 249827340
Test: Build, flash, boot & and logcat | grep "avc"
Change-Id: I45512225f11a0e3b06721f40e2355924188f703f
2022-09-29 23:34:29 +00:00
Cheng Chang
efd9331e4f Merge "gps: update gps driver 147.20.23.550494" 2022-09-29 06:57:01 +00:00
Denny cylee
c59e2b8aa0 sepolicy: add files to power_supply label
avc: denied { read } for name="resistance_id"
dev="sysfs" ino=57006 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

avc: denied { open } for
path="/sys/devices/platform/10cb0000.hsi2c/i2c-8/8-0036/power_supply/maxfg/resistance_id"
dev="sysfs" ino=57006 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

avc: denied { read } for name="serial_number"
dev="sysfs" ino=69725 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

Bug: 248391895
Test: check log

Signed-off-by: Denny cylee <dennycylee@google.com>
Change-Id: I1044cde13e11f85dbf57255edc462be1010f93e4
2022-09-28 08:11:01 +00:00
Adam Shih
0909e0b5fb Put gs_watchdog settings to one place
Bug: 248428203
Test: gs_watchdog is still in system_ext
Change-Id: I591f58eb1e31f156b4ecaef51fd0d603b262f027
2022-09-28 10:25:56 +08:00
Cheng Chang
31aeb8e05c gps: update gps driver 147.20.23.550494
Add NavIC factory test to improve the time of L5 CW test
Fix millisecond error in receivedSvTimeNanos and the corresponding pseudoranges
Add protection code when gpsd call sensor API
Fix invalid sensor availability status report in the PGLOR msg

Bug: 235192024
Bug: 236572839
Bug: 240389454
Bug: 244118456
Test: Verified at 247455369 by cherry-pick the patch
Change-Id: Iba791de4e95395be8dec13272bc12931648d4155
2022-09-27 04:40:11 +00:00
Taeju Park
a9e1ec6fea init.zuma.rc: update cpuset for the new architecture
Bug: 248616371
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I1a1bd1aee73fd441336802ea1330b8c24c0f5ef4
2022-09-26 22:19:41 +00:00
Lei Ju
207b766670 Merge "update namespace for generic hal" 2022-09-24 00:04:17 +00:00
Yifan Hong
a706eddca4 Merge "Delete HALs that are already in VINTF fragments (google_battery)" 2022-09-23 20:50:22 +00:00
Yifan Hong
02ce256ef4 Delete HALs that are already in VINTF fragments (google_battery)
These HALs are already included in VINTF fragments, so
there's no need to be specified here.

Test: TH
Bug: 148808037
Fixes: 248556785
Change-Id: I64403f18dfc6e206384c1675440cc622a357d0db
2022-09-23 13:19:46 -07:00
Lei Ju
e6442cca94 update namespace for generic hal
Bug: 248279570
Test: manual test by 1) compiling and installing the hal; 2) CHQTS.
Change-Id: I66759bc778f3045fa6091e07b25608b18fb6de6d
2022-09-22 16:22:16 +00:00
halleywang
1edb3dff04 gaf/debug: ignore gyro in factory rom by default
Gyro sensor readout is not applicable in factory rom. Ignores gyro value in AF side by default to prevent unexpected behavior.

Bug: 248155410
Test: Manual
Change-Id: I41a399847b608022707d4e964924f4fbfe5467fc
2022-09-22 09:32:58 +00:00
TreeHugger Robot
8bc677159f Merge "update display path" 2022-09-21 08:58:10 +00:00
JJ Lee
2959f5c451 dumpstate: corrected sysfs paths for aoc
Bug: 247448885
Test: build pass
Change-Id: Ie6eae294c080b125f4b042dc6e808773fc2f3fa5
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 14:37:18 +00:00
JJ Lee
192b97cad9 dumpstate: corrected sysfs paths for aoc
Bug: 247448885
Test: build pass
Change-Id: I793f5964820ff4b945abf5dcd04216e7c60b18ca
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 14:37:02 +00:00
JJ Lee
25a5093c9b sepolicy: add nodes for aoc memory votes stats
Bug: 247024476
Test: build pass, not blocking bugreport
Change-Id: Id4bba34927e730a62187b85d045e2872f57fdd04
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 15:13:13 +08:00
JJ Lee
70f65d36c6 dumpstate: Add aoc memory vote dump
Bug: 247024476
Test: Boot test, taking bugreport is not blocked
Change-Id: I487daa367af8dade3bca2a52d2c6099fcbf684dc
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 15:11:14 +08:00
Ted Lin
3b708f64fd Remove the tracking denials code.
Bug: 213817227
Test: Check the bugreport
Signed-off-by: Ted Lin <tedlin@google.com>
Change-Id: Iad27cc07585b12455c9bc3b1f01de61c0ce92e3e
2022-09-16 15:45:45 +08:00
TreeHugger Robot
2c11dd2440 Merge "init.zuma.rc: change owner of panel operation speed sysfs node" 2022-09-15 21:09:24 +00:00
Adam Shih
0431b09ac6 Merge "get bt permission xml to gs-common" 2022-09-15 01:18:10 +00:00
Shiyong Li
c54cc21010 init.zuma.rc: change owner of panel operation speed sysfs node
Bug: 202181466
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: I074d783ebdb0b2f5fc6a685f0dfee0379dcca3b1
2022-09-14 19:10:07 +00:00
Shiyong Li
2d80a80b22 update display path
Bug: 246809481
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: I34a13a88abc4324ac0738948d4270e8a535cd918
2022-09-14 19:06:35 +00:00
Dinesh Yadav
ff460182ee Merge "Add SEPolicy for gxp_logging" 2022-09-13 05:04:27 +00:00
Dinesh Yadav
bab8aa16e8 Add SEPolicy for gxp_logging
This commit adds the SEPolicy for gxp_logging service

Bug: 245903377
Change-Id: I1b9bde7327b131c768ea8a91bc6bfb52f219044b
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2022-09-13 03:13:15 +00:00
Siddharth Kapoor
54d08df2ac Merge "init.zuma.rc: Remove unused mali sysfs node" 2022-09-12 17:20:26 +00:00