Declare framework-side hostapd (will be done by treble app)

This commit is contained in:
Pierre-Hugues Husson 2018-09-18 16:28:34 +02:00
parent 7e04bf3113
commit 3a68ec19bc
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,4 @@
TARGET_SYSTEM_PROP := device/phh/treble/system.prop $(TARGET_SYSTEM_PROP) TARGET_SYSTEM_PROP := device/phh/treble/system.prop $(TARGET_SYSTEM_PROP)
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/phh/treble/bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/phh/treble/bluetooth
TARGET_EXFAT_DRIVER := exfat TARGET_EXFAT_DRIVER := exfat
DEVICE_FRAMEWORK_MANIFEST_FILE := device/phh/treble/framework_manifest.xml

12
framework_manifest.xml Normal file
View File

@ -0,0 +1,12 @@
<manifest version="1.0" type="framework">
<hal format="hidl">
<name>android.hardware.wifi.hostapd</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IHostapd</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

5
sepolicy/treble_app.te Normal file
View File

@ -0,0 +1,5 @@
allow system_app hal_wifi_hostapd_hwservice:hwservice_manager { add find };
allow system_app hidl_base_hwservice:hwservice_manager { add };
allow system_app wifi_data_file:dir create_dir_perms;
allow system_app wifi_data_file:file create_file_perms;