4 Commits

Author SHA1 Message Date
Lei Ju
7e89a679d9 Allow sensor hal to connect to CHRE HAL
These policies are required to let DropDetect and IpHeath communicate
with CHRE HAL directly after CHRE multiclient HAL is enabled.

Bug: 324316275
Test: Trigger drop detection and observed corresponding logs
  are generated.
Change-Id: Icc087b59ff594224d7e637212558e68fb3f86437
2024-02-07 15:36:08 -08: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
Rick Chen
cb448adfc8 sensors: Move USF related sepolicy to gs-common.
Bug: 305120274
Test: Compile pass. Flash the build to WHI, WHI_PRO, ZUMA devices and no
      sensor related avc denied log.
Change-Id: I5bab78c72849fbdf312a5d088532572dbd6e6c6d
Signed-off-by: Rick Chen <rickctchen@google.com>
2023-11-06 23:19:13 +08:00
Adam Shih
9c93403876 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I15ec38810792c9216ad63de59a8f3aeb5f871bc5
2022-10-20 10:17:59 +08:00