1910 Commits

Author SHA1 Message Date
Mark Chang
14c6c627ef Add AIDL manifests and FCMs for twoshay.
[169/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_ITouchContextService_default_V3_76: PASSED (4ms)
[170/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_algos_gril_IGrilAntennaTuningService_default_V3_77: PASSED (4ms)
[171/186] DeviceManifest/SingleAidlTest#HalIsServed/com_google_input_algos_spd_IScreenProtectorDetectorService_default_V3_78: PASSED (4ms)

Bug: 324214410
Test: atest vts_treble_vintf_vendor_test.
Test: Twoshay's AIDLs pass SingleAidlTest.
Change-Id: Ia307034a2f88011642d4bcf80e8aa4496266fd35
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-09 05:29:06 +00:00
Tommy Chiu
ddcf9b45e9 Add nugget_aidl_test_weaver to userdebug/eng builds
To minimize the steps required for device preparation.

Fixed: 320200171
Test: build pass
Change-Id: I271389b0c4a7fe453902db2e8971e881c72bca35
2024-02-05 07:56:19 +00:00
Treehugger Robot
3640723d96 Merge "include adum_log/adum_log_old in dumpstate_board.bin" into main 2024-02-05 06:59:21 +00:00
Lilian Wang
d888b4a3be Revert "[Gyotaku] Add the dumpLog for gyotaku app"
This reverts commit 2bb3da4f50f97fb78f75adc69cfc40c3aa968845.

Reason for revert: “DroidMonitor: Potential culprit for Bug b/323767330 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted."build error in

Bug: 323767330

Change-Id: If23de50de2819449817fe3b1694db33d87448e28
2024-02-05 03:09:50 +00:00
Hongbo Zeng
1ac691dcae include adum_log/adum_log_old in dumpstate_board.bin
Bug: 322266425
Test: Capture bugreport and see if adum_log/adum_log_old are included in
      dumpsate_board.bin or not

Change-Id: If9b8bbd98c699719878034859321ec54c0ced35b
2024-02-02 15:41:00 +00:00
Klines Jiang
2bb3da4f50 [Gyotaku] Add the dumpLog for gyotaku app
Bug: 310110649

Test: Local build and trigger a new bugreport the result passed
Change-Id: If10d4ab9120d855c5d1396413d8acfe791c05e6c
2024-02-01 07:57:50 +00:00
Ben McGee
e7431b85ae Dumpstate: Remove heap stats
Bug 315711190 is caused by an issue parsing the heap statistics. A proposed long term fix has been merged in, but is deemed risky for 24Q1. This CL removes heap printing from dumpstate is a low risk approach to working around this bug.

Bug: 315711190
Test: Built and tested on device
Change-Id: I6134aeeda6fe74d9bbf966d44a1a98391e03a2f7
2024-02-01 02:23:55 +00:00
Joner Lin
b5873491c3 Merge "collect bt backup snoop log to bugreport" into main 2024-01-31 06:18:15 +00:00
jonerlin
6c6505d0b1 collect bt backup snoop log to bugreport
Bug: 313326125
Test: make bt crash and get bugreport
Change-Id: I4ea65d539e9bbff67b79b05eb0e17a10a57e34bc
2024-01-31 02:16:36 +00:00
Xin Li
9c50f820f2 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: ea64488b43 -s ours
am skip reason: Merged-In Ia28e1622746cca973ca66f437e0e655bbcaf7d66 with SHA-1 6461e33428 is already in history

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

Change-Id: Ib8356e161f63976fc7f37c070bc0c1252f64718d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:19 +00:00
Wayne Lin
0f6e4c85d9 Merge "gps: refine iGNSS build system - sepolicy" into main 2024-01-30 05:45:58 +00:00
Treehugger Robot
69201a294d Merge "Allow aocxd to set thread priority" into main 2024-01-30 00:51:31 +00:00
Dana Simard
e236358a40 Merge "Include fatal-error camera CPA files in bugreports" into main 2024-01-29 19:08:06 +00:00
Wayne Lin
ca1c35e500 gps: refine iGNSS build system - sepolicy
Bug: 318310869
Bug: 315915958
Test: build pass, GPS works and no GPS avc denied error
Change-Id: Ib2aa778a0d0e8a51f4d6733b6a55ccf588a05079
2024-01-29 05:48:15 +00:00
Joner Lin
3d92d72aa2 Merge "collect bt hal dump log to bugreport" into main 2024-01-25 08:25:02 +00:00
Nishok Kumar S
f03522a675 Merge "Connect Gxp runtime to TPU authentication service" into main 2024-01-24 18:21:08 +00:00
Dana Simard
9e2b4ef8d6 Include fatal-error camera CPA files in bugreports
These CPA files are written on fatal errors in the camera
HAL GraphRunner.

Test: manual test that files attached to bugreport
Bug: 321993145
Change-Id: Ieeb84fbb6d52c95d5b123a7fff5c9b93c9d0fcbc
2024-01-24 01:52:47 +00:00
jonerlin
fca1de2ce3 collect bt hal dump log to bugreport
Bug: 299800496
Test: make fw dump and vendor snoop log and triger bugreport
Change-Id: Idb5262267cce65f764bcc195d4f434c6cac4ba3a
2024-01-23 23:05:27 +08:00
Liana Kazanova
f17b5ac127 Merge "Revert "collect bt hal dump log in bugreport"" into main 2024-01-18 22:56:07 +00:00
Liana Kazanova
2dcb59ac74 Revert "collect bt hal dump log in bugreport"
This reverts commit e7edc9e446dcc2d54bb6968b1d21a7128c7abe40.

Reason for revert: Probable culprit for b/320755845. Will be running through ABTD for confirming and before submitting the revert.

Change-Id: Id989e182396c498afd3f15b70977ba5fba22c557
2024-01-18 19:21:33 +00:00
Lei Ju
30ec53ee47 Merge "Introduce a property for multiclient HAL" into main 2024-01-18 19:04:20 +00:00
Nishok Kumar S
55f48f663c Connect Gxp runtime to TPU authentication service
- Add selinux policies to allow edgetpu_app_service to access gxp
   device.

Bug: 316262348
Test: Disable selinux policies for GCA, then verify if GCA is able to
access device through edgetpu app service.

Change-Id: I83429755b1406289c8714d9499c1f14c1ec76a30
2024-01-18 09:41:26 +00:00
Xin Li
ea64488b43 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Ia28e1622746cca973ca66f437e0e655bbcaf7d66
Change-Id: I95fbf25b3145ce28767322c094238e0dc115ab15
2024-01-17 22:12:34 -08:00
Lei Ju
a6c741e3a4 Introduce a property for multiclient HAL
Test: set the property in .rc file and run adb shell getprop to
      verify the property is set.
Bug: 248615564
Change-Id: I18a52c2a29df2cc5bad73d49e39c4e6ee1381106
2024-01-17 18:00:11 -08:00
Bruce Po
d202a34dbc Allow aocxd to set thread priority
aocxd sets thread scheduler to SCHED_FIFO. This is so audio processing
in aocxd can run without glitching.

vndbinder:11464: type=1400 audit(0.0:17): avc:  denied  { sys_nice } for  capability=23  scontext=u:r:aocxd:s0 tcontext=u:r:aocxd:s0 tclass=capability permissive=0

BUG: 318791959
Change-Id: I9c9148aa7b18ce525091f93956e112b4c178a129
2024-01-17 18:58:06 +00:00
jonerlin
e7edc9e446 collect bt hal dump log in bugreport
Bug: 299800496
Test: make fw dump and vendor snoop log and triger bugreport
Change-Id: Ibab330d3a446b9f50b1413348b8004a51ee8fd51
2024-01-17 17:49:21 +00:00
Wendly Li
21446e0139 Move wakeup to device's sepolicy settings
Bug: 320395939
Test: make sepolicy
Change-Id: I12af839756725bb0cfb2eba363c1e45cd0a6044a
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-16 09:32:47 +00:00
Sam Ou
7859a653ea Merge "bm: Support battery mitigation aidl" into main 2024-01-15 01:23:20 +00:00
Treehugger Robot
b824d770f4 Merge "Create syna touch dump for spi19" into main 2024-01-10 06:58:37 +00:00
Bruce Po
45f2bdb98b Merge "selinux: New aocx service" into main 2024-01-10 02:49:52 +00:00
Wendly Li
6954d18625 Create syna touch dump for spi19
Bug: 273154761
Test: adb bugreport
Change-Id: I87fd42e550e2aab83c3eb81ba9d4928396db2dde
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-09 09:49:25 +00:00
Anson Lin
c075d107cf Merge "Remove the diagnosticsTool domain for SeLinux access." into main 2024-01-09 09:22:15 +00:00
samou
e6dce88732 bm: Support battery mitigation aidl
- move cc_binary to vendor/google/interfaces/
  battery_mitigation
- fix sepolicy to support aidl

Bug: 299700579
Change-Id: I7345ffc1e2ddb46d9979a1fadef39dd0c2c281d6
Signed-off-by: samou <samou@google.com>
2024-01-09 03:35:46 +00:00
George Lee
27017fb06a bm: Remove thermal dependency (gs-common)
Bug: 319136643
Test: Confirm battery_mitigation loaded
Change-Id: I250a1d9c1354bd4d53909d71935af1fc264f936f
Signed-off-by: George Lee <geolee@google.com>
2024-01-08 20:32:21 +00:00
Bruce Po
6b92b30e7b selinux: New aocx service
Add new aocxd server domain
- Allow aocxd to access AOC resources
- Add new aocx binder vendor service

Allow audio hal to find and talk to aocx

avc error tcontext=u:object_r:binder_device:s0 tclass=chr_file or tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file

avc:  denied  { add } for pid=1073 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:aocx:s0 tclass=service_manager

avc:  denied  { call } for  scontext=u:r:hal_audio_default:s0 tcontext=u:r:aocxd:s0 tclass=binder

BUG: 315853303
Change-Id: Ide16a2be9f032bef60f43d4d3daa6372ae06b057
2024-01-08 17:57:03 +00:00
linanson
a05cd829dd Remove the diagnosticsTool domain for SeLinux access.
Bug: 318308424
Test: Local Rom build and manul test for the diagnosticstool app
Change-Id: Ib0a79fb91a5546922caab64d9ebbb2da103d7b07
2024-01-08 16:33:21 +08:00
Sam Ou
7965989f60 Merge "bm: create mk for new battery mitigation service" into main 2024-01-04 07:12:42 +00:00
samou
2d5681d516 bm: create mk for new battery mitigation service
Bug: 317869347
Change-Id: I09c95781cabc813d482b92e12ade944a32503f52
Signed-off-by: samou <samou@google.com>
2024-01-04 06:04:50 +00:00
Jasmine Cha
0bdf2998a8 audio: move USE_AUDIO_HAL_AIDL to device-<project>.mk
Bug: 317745810
Test: manual test b/317745810#comment3

Change-Id: Ie6f1660dcf9d26bd14061ead187e1f3d8848d565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 07:06:25 +00:00
Carter Hsu
39b2931bf1 Merge "audio: add hdmi audio sepolicy for AIDL HAL" into main 2024-01-02 01:25:24 +00:00
Carter Hsu
e9c4233f11 audio: add hdmi audio sepolicy for AIDL HAL
Bug: 309696512
Test: Verified by test build
Change-Id: I0e1192f228424b80c776445755a93be56c93d1e7
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-02 00:31:06 +00:00
Treehugger Robot
29e115e63e Merge "audio: separate audio hal hidl/aidl by project" into main 2023-12-28 01:48:33 +00:00
Lei Ju
35e5021597 Update common chre sepolicy for socket connection
With multiclient HAL, the socket server domain changes from chre to
hal_contexthub_default.

Bug: 248615564
Test: updated the sepolicies and observed that avc violation logs
      disappears.
Change-Id: Ic5717cee6d2714bec49814a1b779266de79dc4f3
2023-12-26 23:29:58 -08:00
Jasmine Cha
1e19480c70 audio: separate audio hal hidl/aidl by project
Bug: 317444263
Bug: 317733172
Test: boot to home, check basic audio functions

Change-Id: I034b4958b3fc701569988618f5428c07c8d61c15
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-27 11:58:55 +08:00
Treehugger Robot
e40fe7223e Merge "touch/init: change file owner after sys.boot_completed=1" into main 2023-12-26 07:13:37 +00:00
Yen-Chao Chen
643719c2ac touch/init: change file owner after sys.boot_completed=1
It's possible that the gti sysfs node is not ready when
vendor.device.modules.ready is set so change the gti file owner
at later stage.

Bug: 285327052
Bug: 285247095
Bug: 285323846
Test: trigger bugreport and the dump succeed.

Change-Id: If1921aeb351603b52164c66bc9c7b3651d171287
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2023-12-26 14:31:49 +08:00
Jasmine Cha
b390dd37bc Merge "audio: add soong config for ims media to read" into main 2023-12-26 06:20:29 +00:00
Jasmine Cha
e5bf86e7cd audio: add soong config for ims media to read
Bug: 291772585
Test: manual test on hidl/aidl

Change-Id: I1bb1bc5963fe28132cb72fe29167b3fa4d384cb7
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 05:07:18 +00:00
Darren Hsu
e3e46d4de9 powerstats: sort frequencies in descending order
Cpufreq data is sorted in ascending order, but power stats
are sorted in descending order. Reverse sorting to maintain
consistency with other power stats.

Bug: 317429309
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I29a58c02add846eb66a8d6eb247336111363c335
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-12-25 15:04:50 +08:00
Treehugger Robot
375b7e13c8 Merge "powerstats: introduce display MRR state residency data provider" into main 2023-12-22 09:56:08 +00:00