Commit graph

15 commits

Author SHA1 Message Date
Michael Bestas
02b9cc144c
gs-common: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 06:20:40 +03:00
Michael Bestas
0dbbbc376c
gs-common: sepolicy: Import missing rules from BP2A
Change-Id: I70ebc8a2bce09d2590c24fc919b2804cef256568
2025-06-26 06:20:40 +03:00
YiKai Peng
9b6b7e35b9 gs-common: wlc: add tx update permission for hal_googlebattery
Bug: 391056983
Test: trigger tx fwupdate
Flag: vendor.google.wireless_charger.service.flags.enable_service
Change-Id: I66e5fe88d43b8e33e3548d642f7ba89d63c96051
Signed-off-by: YiKai Peng <kenpeng@google.com>
2025-01-20 21:13:46 -08:00
YiKai Peng
ed91971d1a gs-common: wlc: update compatibility matrix
Bug: 375156879
Test: Manual
Flag: EXEMPT HAL interface change
Change-Id: I446505624af157d7e723b7ba0203d51b5529b8d1
Signed-off-by: YiKai Peng <kenpeng@google.com>
2025-01-16 03:07:38 -08:00
YiKai Peng
5c3b95a98f WLC: service: update AIDL manifest version to 1-2
Test: Build/Flash
Bug: 357493518
Flag: vendor.google.wireless_charger.service.flags.enable_service
Change-Id: If318fd6fe855855a40fbb14157612b75149208cf
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-08-08 04:58:14 +00:00
YiKai Peng
e155aa7c04 WLC: service: add sepolicy for property vendor.wlcservice.test
avc:  denied  { read } for  comm="binder:882_3" name="u:object_r:default_prop:s0" dev="tmpfs" ino=172 scontext=u:r:hal_wlcservice:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0

Test: authentication test mode
Bug: 350830879
Flag: EXEMPT bugfix
Change-Id: Ie9f8fc5cce8e62b06931b77aa8cd16a3c9516fb5
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-07-30 08:53:50 +00:00
YiKai Peng
2b710d7dbb sepolicy: allow hal_wlcservice call
Bug: 341014314
Bug: 341220409
Test: SELinuxUncheckedDenialBootTest
Change-Id: I843c3be8c13d183174e87222b0f067bf98aad57d
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-05-19 13:34:15 +00:00
YiKai Peng
24af2c95b1 Reapply "WLC: service: add configuration and contexts for sepolicy"
This reverts commit 7d99cb87ea.

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
YiKai Peng
4623d1eea4 WLC: update AIDL manifest version to 1-2
Bug: 310109332
Test: Build/Flash
Change-Id: I28a7d8e9461b8b31ae139dff84574f05fb484402
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-11-16 06:52:31 +00:00
Cyan_Hsieh
9d7823a793 wlc: make VINTF target level specify by device
Bug: 277188108
Change-Id: I27d067a5ad3b7ee0e421f31eeadb0e45688c6a92
2023-05-10 18:44:34 +08: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
532d093c12 WLC: Set the wireless_charger FCM to optional
Set the device FCM optional to true for PDK build

Bug: 263483671
Change-Id: I100c75bf6639b955ea740fff7269e2d9a47018b9
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-26 09:54:26 +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