400 Commits

Author SHA1 Message Date
Android Build Coastguard Worker
40af92c18f Snap for 9719949 from e02ea35ef4c942bdec52a40adea048d07f2fe142 to udc-release
Change-Id: Ie04fb8c7e018bccb7cb4df3b12a2c37b90bb0f0a
2023-03-10 02:07:20 +00:00
Adam Shih
e02ea35ef4 Merge "Create RIL dump in gs-common" into udc-dev 2023-03-09 05:10:39 +00:00
Android Build Coastguard Worker
fa01256b09 Snap for 9712464 from 7c791074db436a8ce385eb50d116c4b1a73ae023 to udc-release
Change-Id: I61326207a151b55219ff1a2b87bc03328e9a4081
2023-03-09 02:03:11 +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
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
Android Build Coastguard Worker
be4922b3a4 Snap for 9705326 from 31b4e30122f073bbe1d269458e27d2a24ac80fdd to udc-release
Change-Id: Id57dd754406d3f7a6c3410bf80db690efab03c1b
2023-03-08 04:03:07 +00: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
Android Build Coastguard Worker
4681c1ec8e Snap for 9696334 from 2a520ebbae0ee855c3620ab5d097ab9dd14d06d8 to udc-release
Change-Id: I37f953711d3fced580ecf22390b4633bfbf9fb8f
2023-03-07 02:03:19 +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
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
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
Android Build Coastguard Worker
fc2d08f92b Snap for 9685341 from b5519577ea14a193d2deca7ab4a3221f3a86bc9a to udc-release
Change-Id: Ica46f512e959157fbcb99e9dd421b543a5e9df36
2023-03-04 06:08:02 +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
Android Build Coastguard Worker
ba6573a7b8 Snap for 9682161 from 5a2d8e7498a18e3a31fb910895c2e503a54dc95c to udc-release
Change-Id: I5e22b0eb3ad8ec1ef55dcddabd6737e69e20589c
2023-03-03 02:07:55 +00:00
Adam Shih
1692bc1028 Merge "close stream after use" into udc-dev 2023-03-02 22:22:38 +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
Android Build Coastguard Worker
89fcf8a92a Snap for 9675941 from 147df54dc649508579e57fb3d109348bdad249ce to udc-release
Change-Id: I14e40177b68ad7ffd27612bfe5680b484880698a
2023-03-02 04:07:27 +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
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
Android Build Coastguard Worker
86748a9587 Snap for 9649615 from 39e672acb4c7ebde425062ca2e50d2e349c66f9e to udc-release
Change-Id: Ib5a8806ff058b3f86a3847b2d2bea47d1cadabff
2023-02-24 04:02:24 +00:00
Android Build Coastguard Worker
afb96c2a10 Snap for 9642788 from 80fed777905bc464ddfc2233e90bc7dacfefbfbe to udc-release
Change-Id: I404f6fabef1c7d7502bd1ded266af502b4fa3552
2023-02-23 05:55:45 +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
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
Android Build Coastguard Worker
4d4dce3602 Snap for 9617930 from cae07933b074a5d4b057e9ded22760c12426fda2 to udc-release
Change-Id: Icddc82da8057b8ec04a2f457f0f6ff471e915b13
2023-02-17 02:07:31 +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
Android Build Coastguard Worker
2f712df978 Snap for 9613524 from a59d019822c5f5f34e2354d2c18da311e1bb6cac to udc-release
Change-Id: I6fcf15214e5dbfc1e7df07b0f7ba896780aa7e5e
2023-02-16 02:03:03 +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
Android Build Coastguard Worker
24325daaba Snap for 9607154 from adefb37275790826347634a98ef947745f975508 to udc-release
Change-Id: I36062d953b63d2d7b9393aa7176bda3522133e23
2023-02-15 02:03:12 +00: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
Randall Huang
0d862845c4 Storage: fix init avc denials
Bug: 262794360
Test: boot to home
Change-Id: Ic99d1430f7d4a9a449598152f51327ac13d192f1
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 16:25:54 +08:00
Adam Shih
ef4a355523 Merge "create memory dump" 2023-02-14 07:22:11 +00:00
Randall Huang
e9c9e8f03a storage: fix dumpstate avc denials
Bug: 261933169
Test: no avc denial when generating bugreport
Change-Id: Icaa0749bd8ca6121774058fa459fef3ae1400e07
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 07:14:22 +00:00
Adam Shih
0743456f40 Merge "create led dump" 2023-02-14 04:28:34 +00:00