5 Commits

Author SHA1 Message Date
YiKai Peng
24af2c95b1 Reapply "WLC: service: add configuration and contexts for sepolicy"
This reverts commit 7d99cb87ea21af55d699a319462f9999f960f302.

Bug: 311315038
Test: authentication
Change-Id: Iaf8d4043794f895ce9ce1ab9b295de072de16e50
2024-05-18 15:11:40 +00:00
Priyanka Advani
7d99cb87ea Revert "WLC: service: add configuration and contexts for sepolicy"
Revert submission 27233359-wlcservice-main

Reason for revert: Droidmonitor triggered revert due to b/341014314. Test is still flaky on all devices except akita. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27233359-wlcservice-main

Change-Id: Idf2749208a361c14ebac92ad221cc2599fc8135e
2024-05-17 20:35:55 +00:00
YiKai Peng
3eb5f527cf WLC: service: add configuration and contexts for sepolicy
binder setting is for callback by and access to hal_wireless_charger

Bug: 311315038
Test: authentication
Change-Id: Ieaf93c4736b7381be35bfcf12e83977762a3de5d
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-05-06 10:11:44 +00:00
Ken Yang
2e7a9e8004 WLC: Add the essential sysfs_wlc policy files
1. Add the essential sysfs_wlc policy files to gs-common to cleanup the
wireless_charger module dependent problems
2. Move out sepolicy type definitions to each device so the sepolicy can
be self contained

Bug: 263830018
Change-Id: I46da58685c5180d774fc445dc1f1c6f3a1780cc0
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-06 18:48:47 +00:00
Ken Yang
c00ed13870 WLC: Add the wireless_charger service to gs-common
The gs101 devices need to include this wireless_charger service in
a special way due to no device specific sepolicy folders

Bug: 237600973
Change-Id: I21ddda4b9807763c070798eed365a335e55d03b6
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-20 05:46:14 +00:00