580 Commits

Author SHA1 Message Date
Android Build Coastguard Worker
e92e69213c Snap for 9769041 from 285baab6209e893a421b453cd0e28762890f9587 to udc-release
Change-Id: I91f52f2901965146bd2834b18e0d969437558e65
2023-03-18 03:02:52 +00:00
kadirpili
17da3cede0 dumpstate: Add radio/sim folder to bugreport
Bug: 258408885
Change-Id: I66e384aadec0005b7e6bba98d650c288192e8407
2023-03-17 02:52:15 +00:00
TreeHugger Robot
285baab620 Merge "move dumpstate.te to sepolicy" into udc-dev 2023-03-17 00:51:41 +00:00
Yu-Chi Cheng
8e965d36a2 Added the hetero runtime system property SELinux rules.
Currently, there is a hetero runtime property that darwinn
and other hetero runtime project will use: the trace level
(vendor.google.silicon.max_trace_level).

This change allows edgetpu services and clients to be able to see
that property in order to change the trace level.

Bug: 272292650
Test: verified it to build but not tested on device yet since selinux
has not been enforced yet.

Change-Id: Id6d345b92d2e710b41ca58907ad443fc2667054a
2023-03-16 14:10:10 -07:00
Android Build Coastguard Worker
b651f0be7e Snap for 9754537 from 118833e6d04cfb601fa4eae00de16ffb4ffd650f to udc-release
Change-Id: I6392ba6335140bf0db8b27864b4bb6bf0f55539b
2023-03-16 03:02:32 +00:00
Adam Shih
6b829b78a2 move dumpstate.te to sepolicy
Bug: 261933169
Test: adb bugreport
Change-Id: Id0c35f4c3d2dcf58b011418b3fc61effc9c72f0f
2023-03-16 10:10:32 +08:00
Adam Shih
118833e6d0 Merge "add missing context setting" into udc-dev 2023-03-15 05:59:11 +00:00
Android Build Coastguard Worker
413999254b Snap for 9744603 from 529b618a7c5f383b77a8a75bb22c285aa7b10c28 to udc-release
Change-Id: I15e2134b3e2376ec86141d08e94eea0e1a62c916
2023-03-15 01:07:28 +00:00
Xin Li
23a91435d3 [automerger skipped] Merge Android 13 QPR2 am: aabe581b77 -s ours am: 44487f06ed -s ours am: e076e37a7b -s ours
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c010e721ea is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2486781

Change-Id: Ia80ddae5e6e34eda562d2c4e811f3e79976101db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:06:09 +00:00
Xin Li
e076e37a7b [automerger skipped] Merge Android 13 QPR2 am: aabe581b77 -s ours am: 44487f06ed -s ours
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c010e721ea is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2486781

Change-Id: Ie650cd3e3da45a3ac8c7005baa498dff102c7a5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 23:06:03 +00:00
Xin Li
44487f06ed [automerger skipped] Merge Android 13 QPR2 am: aabe581b77 -s ours
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c010e721ea is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/2486781

Change-Id: I3a6e41258bee7ff50e05d187be53d6192572d88d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 22:32:06 +00:00
Darren Hsu
529b618a7c powerstats: Add config support for AdaptiveDvfs data provider
Bug: 273415531
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I48bd1ec622680a3c93d15b571fbf21579f0e21ed
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-14 14:40:47 +08:00
Xin Li
aabe581b77 Merge Android 13 QPR2
Bug: 273316506
Merged-In: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
Change-Id: I5c3c3879f5d20a706d1f12ec90f580d1f441ee54
2023-03-13 23:09:32 -07:00
Adam Shih
78cc2c0eb1 add missing context setting
Bug: 273380509
Test: adb bugreport
Change-Id: Id3df499e86c4455a3a0526cb433d00cbe330725b
2023-03-14 10:50:38 +08:00
Android Build Coastguard Worker
7e81655811 Snap for 9735252 from 75a5c5dceb940740068aa684bc2eb3f2192339b7 to udc-release
Change-Id: Ifc63e65552f1bfb2eac767935fbd808197dced5a
2023-03-14 01:28:35 +00:00
Xiang Wang
f060fe353c Migrate battery mitigation to Thermal AIDL
Bug: b/269163592
Test: Thermal AIDL service restart test + pmic file test
Change-Id: I4922b0f7c6c2583143fcdd24e3039e17ced4a68b
2023-03-13 23:54:34 +00:00
TreeHugger Robot
75a5c5dceb Merge "powerstats: introduce AdaptiveDvfsStateResidency data provider" into udc-dev 2023-03-13 09:49:40 +00:00
Richard Hsu
0b006f7129 Merge "[Flag] Update default TPU cache coherency to be enabled" into udc-dev 2023-03-13 06:27:09 +00:00
Jasmine Cha
30667d0904 Merge "audio: add policy for rild to get vendor audio propery" into udc-dev 2023-03-13 06:26:12 +00:00
Richard Hsu
513af61761 [Flag] Update default TPU cache coherency to be enabled
The TPU cache coherency was set to false by default for testing/migration purposes. Now that the applications have been verified to work with TPU cache coherency, this CL changes the default behavior of TPU cache coherency to be enabled.

Bug: 255828212

Test:
All child bugs in b/255828212. Speech, Camera, TPU internal tests.

Change-Id: I276bb227fad352ad0a71ab2f9b771720b90bb729
2023-03-12 21:53:17 -07:00
Jasmine Cha
502c8ad720 audio: move audio vendor set_prop to gs-common
Bug: 259161622
Test: build pass

Change-Id: Ic76c867e8478e2f736da78232a444cf135cddc6d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-13 04:10:54 +00:00
Darren Hsu
5f32222576 powerstats: introduce AdaptiveDvfsStateResidency data provider
This is a new data provider to get state residency from fvp_stats,
which is similar with DVFS data provider. But the difference is that
CPU frequency table is read from cpufreq sysfs and not predefined in
the config.

Bug: 272642210
Bug: 267638537
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I22451b55dee5dfb0a1b36497533c2063984d5483
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-13 11:43:03 +08:00
Jasmine Cha
6cd390e2cf audio: add policy for rild to get vendor audio propery
- rild has different sepolicy for audio hal by type of service, which is
  hidl or aidl. Read property before querying service in rild can avoid
  avc denied presubmit test.

Bug: 206738075
Test: build pass with hidl/aidl audio service

Change-Id: I2616028fb3a6029646340fc3282e51a5f02b3f7f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-13 10:59:44 +08:00
Adam Shih
1d9d2b9c79 Merge "move modem operation to dump_modemlog" into udc-dev 2023-03-13 02:11:48 +00:00
Android Build Coastguard Worker
bee866306f Snap for 9728260 from dffac4331dc79b9935ff06b79ecb3d763cf85ce1 to udc-release
Change-Id: Id0ead4db3819db0b78b6c0bbee0dcdd03c0d86aa
2023-03-11 04:03:14 +00:00
Adam Shih
54a87e5fd6 Move the rest of radio dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ia28ee71c84456a54d5cf824e684ae5c57c774465
2023-03-10 13:58:17 +08:00
Android Build Coastguard Worker
40af92c18f Snap for 9719949 from e02ea35ef4c942bdec52a40adea048d07f2fe142 to udc-release
Change-Id: Ie04fb8c7e018bccb7cb4df3b12a2c37b90bb0f0a
2023-03-10 02:07:20 +00:00
Jasmine Cha
dffac4331d Merge "audio: add audio hal aidl service" into udc-dev 2023-03-10 02:06:05 +00:00
Erik Staats
7af3dca98d Add umfw_stat_dump
Bug: 272323547
Test: Verified UmfwStat tables are dumped in bug report.
Change-Id: Ib21c380cd25787ccd8b72f4f7a347e8d28bd4f16
2023-03-09 16:17:35 +00:00
Jasmine Cha
8e0e106363 audio: add audio hal aidl service
- separate audio hal HIDL and AIDL services.
- separate sepolicy of aoc and audio

Bug: 259161622
Test: build pass and check hidl/aidl on gs201
      build pass for other chipset

Change-Id: Id3c0446be6cdcd5a6e75c832e7d7f4a64716f79c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 13:47:57 +08: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
Adam Shih
ad76e7c24e move modem operation to dump_modemlog
Bug: 240530709
Test: adb bugreport
Change-Id: Ib1076164cdd766433d0e78068396040a6e34c774
2023-03-08 11:15:24 +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
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