Commit graph

309 commits

Author SHA1 Message Date
Adam Shih
e3ca80b43c Merge "Create RIL dump in gs-common" into udc-dev am: e02ea35ef4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21897621

Change-Id: I350a4da6ad47b32e079250341873874611949ed7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:44:50 +00:00
Adam Shih
24956a779d create second panel dump am: 32b37d33a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21810581

Change-Id: Ie33f996cda11a96ac329d6613110e1945c301986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:29:54 +00:00
Adam Shih
e02ea35ef4 Merge "Create RIL dump in gs-common" into udc-dev 2023-03-09 05:10:39 +00:00
Adam Shih
32b37d33a7 create second panel dump
Bug: 269212897
Test: adb bugreport
Change-Id: I281e716a943abf64d5d36ecf2a256db8e32a041a
2023-03-08 23:30:03 +00:00
Feiyu Chen
4a67b02b3e Merge "Allow NNAPI HAL to read tflite_delegate.force_disable_io_coherency flag" into udc-dev am: 7c791074db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21889477

Change-Id: I1c11b44ade032aa0c523b06bd2986f20f460d75f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 08:59:10 +00:00
Feiyu Chen
7c791074db Merge "Allow NNAPI HAL to read tflite_delegate.force_disable_io_coherency flag" into udc-dev 2023-03-08 08:20:58 +00:00
Adam Shih
2470b456ef Create RIL dump in gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ibf1e3c35725f9ccdc5361aa079b6cb11cef32440
2023-03-08 12:47:26 +08:00
feiyuchen
bd8d9ca737 Allow NNAPI HAL to read tflite_delegate.force_disable_io_coherency flag
The flag was added in ag/21062178.
After this CL, the flag is readable by all apps and all DarwiNN HALs.

Bug: 268548819
Change-Id: I28a185d66002f1656aeb10723c34d5eb517742c4
2023-03-07 20:53:10 +00:00
Adam Shih
91eaa9c956 Merge "move camera dump to gs-common" into udc-dev am: 31b4e30122
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21787009

Change-Id: Id71ae55a11373bdc57d6608031c1d7ed5c689bb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 00:03:59 +00:00
Adam Shih
31b4e30122 Merge "move camera dump to gs-common" into udc-dev 2023-03-06 23:29:45 +00:00
Erik Staats
8868324504 Set acd-com.google.umfw_stat type to aoc_device am: 3c7b1f03a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21789577

Change-Id: I27c64136901182dbf3c7c9cd64a39178db8a855b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 23:09:42 +00:00
Adam Shih
d37d5cf303 Merge "Move common display dump to gs-common" into udc-dev am: f4a07b204a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21646725

Change-Id: I59017a7070bd55a9284fa8944bbb3b16d239a52d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 23:09:17 +00:00
Erik Staats
3c7b1f03a1 Set acd-com.google.umfw_stat type to aoc_device
Set the /dev/acd-com.google.umfw_stat security context type to
aoc_device.

Bug: 254464877
Test: Verified /dev/acd-com.google.umfw_stat security context.
Change-Id: Ibeba4c65f479c38ab740e156dd244e2f40d00dd4
Merged-In: Ibeba4c65f479c38ab740e156dd244e2f40d00dd4
2023-03-06 22:47:48 +00:00
Adam Shih
f4a07b204a Merge "Move common display dump to gs-common" into udc-dev 2023-03-06 22:27:50 +00:00
Adam Shih
b359e08a33 Move modem dump log to gs-common am: 2a520ebbae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21689943

Change-Id: I22f890eee7023f67c7a986e40d12ff84b5bcd8b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 08:03:16 +00:00
Adam Shih
cd831a6189 Move common display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: I6739aec7a432e55e829bbd4a69fec50e0d4050ac
2023-03-06 06:33:40 +00:00
Adam Shih
2a520ebbae Move modem dump log to gs-common
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin

Change-Id: Ie6439c7487b11c564cd6c0d1266928e6b9b384ee
2023-03-06 02:37:14 +00:00
Adam Shih
1a62bec194 move camera dump to gs-common
Bug: 240530709
Test: adb bugreport
Create empty files starting with the following prefix
/data/vendor/camera/profiler/session-ended-
/data/vendor/camera/profiler/high-drop-rate-
/data/vendor/camera/profiler/watchdog-
/data/vendor/camera/profiler/camera-ended-
and do adb bugreport and make sure they end up in dumpstate_board.bin

Change-Id: I2f9dfb74476af295db8a392ebf7757681404841e
2023-03-06 10:02:00 +08:00
TreeHugger Robot
54e377d57d Merge "audio: introduce sepolicy for hal audio ext service" into udc-dev am: b5519577ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21563957

Change-Id: Iea3ee360506cb330820b7860b844cd617f895ee6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:03:16 +00:00
TreeHugger Robot
b5519577ea Merge "audio: introduce sepolicy for hal audio ext service" into udc-dev 2023-03-03 02:42:26 +00:00
Adam Shih
4758f6d5fc Merge "close stream after use" into udc-dev am: 1692bc1028
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21689946

Change-Id: I76f9ca989cdfb67cc37cfacec1091d8ea9492b2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 01:29:13 +00:00
Adam Shih
1692bc1028 Merge "close stream after use" into udc-dev 2023-03-02 22:22:38 +00:00
Ernie Hsu
29b40d7004 Merge "move mediacodec_samsung build config and sepolicy to gs-common" into udc-dev am: 5a2d8e7498
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21550436

Change-Id: I5f99833776597c8ecc3aefffe3b117308ef77591
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 09:19:42 +00:00
Ernie Hsu
5a2d8e7498 Merge "move mediacodec_samsung build config and sepolicy to gs-common" into udc-dev 2023-03-02 08:38:54 +00:00
Jasmine Cha
b6ccc2ea0f audio: introduce sepolicy for hal audio ext service
Bug: 206738075
Test: build pass

Change-Id: I742566946d744c966443f30740adb8a3a4b3c00c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-02 16:17:02 +08:00
Adam Shih
bd75d8f1ab close stream after use
Bug: 240530709
Test: adb bugreport
Change-Id: I251a0f8a8e7d6a233b201a0a79df6c1bca137cd0
2023-03-02 14:52:50 +08:00
Adam Shih
606fb82ea2 Merge "move gxp dump to gs-common" into udc-dev am: 29fdb2cffa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21644929

Change-Id: Ieb40ecd00d98220cf76350190d59ce6736c989e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 03:35:22 +00:00
Ernie Hsu
1669f9bb60 move mediacodec_samsung build config and sepolicy to gs-common
1. mediacodec_samsung.te is copied from ag/20742869
2. add common settings which will be used by differnt vendor

Bug: 263444717
Test: build pass, camera record, youtube
Change-Id: I62a4c33ea59d1b3f70990f221b11fe9d905e15f1
2023-03-02 03:33:51 +00:00
Adam Shih
29fdb2cffa Merge "move gxp dump to gs-common" into udc-dev 2023-03-02 02:45:47 +00:00
Adam Shih
a6fc6be0b0 create a function that copies a file am: 147df54dc6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21646726

Change-Id: Icc514effdb0ecff37c53e3c9a14b74510193714e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 23:31:02 +00:00
Adam Shih
60d07215ea move gxp dump to gs-common
Bug: 240530709
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content

Change-Id: I27b54b283609cf574796d706da0450802dc601a3
2023-03-01 22:23:18 +00:00
Adam Shih
147df54dc6 create a function that copies a file
Bug: 240530709
Test: adb bugreport
Change-Id: Ie09b70a7b9b10e42c46618944fa598f6c0120db2
2023-03-01 13:11:35 +08:00
Adam Shih
5cf0a199d8 create display userdebug dump am: 39e672acb4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21533852

Change-Id: Id117f0d9421e859adbf4f8e095a514308f5e15ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 05:41:10 +00:00
Adam Shih
39e672acb4 create display userdebug dump
Bug: 269212897
Test: adb bugreport
Change-Id: I666fb3e0872f8afcf5b8a2d8b598245fbcdbb151
2023-02-22 13:53:34 +08:00
Adam Shih
030e978994 Merge "create function dumpLog" into udc-dev am: 80fed77790
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21492984

Change-Id: Icf5bc88d8c0261085b11b2568b5c7ed39f80bf68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 04:06:06 +00:00
Cheng Chang
88b3bebc74 update gps sdk 147.20.23.562029 am: ecdabaa486
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21467580

Change-Id: Ib55881c612ba3a6b8eaa20ab05257f20dc7c05d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 04:05:00 +00:00
Cheng Chang
13fad88da5 gps: separate sdk version am: 1d7e24afdf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21467579

Change-Id: I7404421ba2e63c81569e80bb426a64c355254679
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 04:04:53 +00:00
Adam Shih
80fed77790 Merge "create function dumpLog" into udc-dev 2023-02-22 03:00:45 +00:00
Adam Shih
d0f5360b76 create function dumpLog
Bug: 240530709
Test: adb bugreport
Change-Id: I036757f10f18f5dcf4faa6574a7280912348aef4
2023-02-21 14:14:44 +08:00
Cheng Chang
ecdabaa486 update gps sdk 147.20.23.562029
- gpsd segmentfault protect code
 - android.hardware.gnss@2.1-service-brcm segmentfault
 - AGC field is missing when requested deep indoor
 - TestGnssMeasurementIntervals_LocationOnAfterMeasurement fix
 - mismatch between bearing value and fixed location
 - location jumped in the office and the reported accuracy is
   much higher
 - Can't enter duty cycle mode
 - fix IGnssConfiguration setBlocklist issue

Test: atest VtsHalGnssTargetTest
Test: atest CtsLocationGnssTestCases
Test: verify test at b/269048821
Test: verify test at b/269049429
Bug: 260300008
Bug: 262632321
Bug: 266760732
Bug: 264597734
Bug: 266343909
Bug: 254357787
Bug: 262829108
Bug: 265106280
Change-Id: I6097ed175b798df4324f26624ea30ca16447c405
2023-02-21 03:48:13 +00:00
Cheng Chang
1d7e24afdf gps: separate sdk version
- update gps sdk version 147.20.23.557990

Test: verify test at b/268167428
Test: verify test at b/268166962
Test: atest CtsLocationGnssTestCases
Test: atest VtsHalGnssTargetTest
Bug: 268165042
Change-Id: Ieb73195e0ff0cd45f85aa52035c4dc6b6a1256fc
2023-02-21 03:47:52 +00:00
TreeHugger Robot
cae07933b0 Merge "gs_watchdogd: add shutdown critical option" 2023-02-16 06:58:20 +00:00
Martin Liu
c04e69ae62 gs_watchdogd: add shutdown critical option
Watchdogd should be alive to complete shutdown
safely. This also aligns the behavior with previous
watchdogd.

Bug: 267080705
Test: boot
Change-Id: Iad85a0d730d032ae57530e0aa6965e2123488b2f
Signed-off-by: Martin Liu <liumartin@google.com>
2023-02-16 13:09:39 +08:00
Jayachandran C
9f60b5c506 Merge "Allow radio to access aoc_device for RTP encoding/decoding" 2023-02-16 02:59:18 +00:00
Jayachandran C
cdcd803b5a Allow radio to access aoc_device for RTP encoding/decoding
This CL labels new AoC devices used for RTP processing

This fixes the follow denials
type=1400 audit(0.0:11): avc: denied { write } for name="acd-audio_rtp_tx" dev="tmpfs" ino=1185 scontext=u:r:radio:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
type=1400 audit(0.0:12): avc: denied { read } for name="acd-audio_rtp_rx" dev="tmpfs" ino=1186 scontext=u:r:radio:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0

Bug: 259178236
Test: Manually verified on the device with AOC
Change-Id: Iffe0de3a27c89892af7ae280fa39dd28a0052542
2023-02-15 21:33:57 +00:00
feiyuchen
a59d019822 Allow EdgeTpu service to read persist.device_config.edgetpu_native properties
Background:
Darwinn Runtime team wants to use a cloud-based infra (Android Core Experiments) to push flags from server to device. The flags will be stored into android properties under the namespace: `persist.device_config.edgetpu_native`, which has a property context called `device_config_edgetpu_native_prop` as added by the other CL: https://android-review.git.corp.google.com/c/platform/system/sepolicy/+/2434232

Change:
Allow EdgeTpu service to read device_config_edgetpu_native_prop

Test: Verified EdgeTpu has access to read the property
Bug: 243553703
Bug: 246401730
Change-Id: I19dca0e2d3008e36bdbca50f610810148a7e11dd
2023-02-15 07:19:07 +00:00
Adam Shih
872e477e9f create device frequency dump
Bug: 240530709
Test: adb bugreport
Change-Id: I8db76f46e9e304b1d861c1d6b8ab031611c25e7e
2023-02-15 11:14:37 +08:00
TreeHugger Robot
adefb37275 Merge "Storage: fix init avc denials" 2023-02-14 22:51:57 +00:00
Randall Huang
4cd9081086 Merge "storage: fix dumpstate avc denials" 2023-02-14 08:35:13 +00:00
TreeHugger Robot
3841463b71 Merge "powerstats: include sleep duration for core down state" 2023-02-14 08:27:10 +00:00