Skip to content
Snippets Groups Projects
Commit 069ebe0e authored by Bill Yi's avatar Bill Yi
Browse files

Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release

Change-Id: I94ccbff6a38bfa1c27eb39b0caf4ec0ab97fee3e
parents 25fe3474 a2bc6f8c
No related branches found
No related tags found
No related merge requests found
Showing with 20 additions and 0 deletions
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
e2fs e2fs
e2fs_exec e2fs_exec
exfat exfat
exported_audio_prop
exported_bluetooth_prop exported_bluetooth_prop
exported_config_prop exported_config_prop
exported_dalvik_prop exported_dalvik_prop
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
exported3_default_prop exported3_default_prop
exported3_radio_prop exported3_radio_prop
exported3_system_prop exported3_system_prop
exported_audio_prop
exported_bluetooth_prop exported_bluetooth_prop
exported_config_prop exported_config_prop
exported_dalvik_prop exported_dalvik_prop
......
...@@ -14,6 +14,7 @@ read_runtime_log_tags(surfaceflinger) ...@@ -14,6 +14,7 @@ read_runtime_log_tags(surfaceflinger)
hal_client_domain(surfaceflinger, hal_graphics_allocator) hal_client_domain(surfaceflinger, hal_graphics_allocator)
hal_client_domain(surfaceflinger, hal_graphics_composer) hal_client_domain(surfaceflinger, hal_graphics_composer)
hal_client_domain(surfaceflinger, hal_configstore) hal_client_domain(surfaceflinger, hal_configstore)
hal_client_domain(surfaceflinger, hal_power)
allow surfaceflinger hidl_token_hwservice:hwservice_manager find; allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
# Perform Binder IPC. # Perform Binder IPC.
......
...@@ -536,6 +536,10 @@ get_prop(system_server, serialno_prop) ...@@ -536,6 +536,10 @@ get_prop(system_server, serialno_prop)
# Read/write the property which keeps track of whether this is the first start of system_server # Read/write the property which keeps track of whether this is the first start of system_server
set_prop(system_server, firstboot_prop) set_prop(system_server, firstboot_prop)
# Audio service in system server can read exported audio properties,
# such as camera shutter enforcement
get_prop(system_server, exported_audio_prop)
# Create a socket for connections from debuggerd. # Create a socket for connections from debuggerd.
allow system_server system_ndebug_socket:sock_file create_file_perms; allow system_server system_ndebug_socket:sock_file create_file_perms;
......
...@@ -66,6 +66,7 @@ type wifi_prop, property_type; ...@@ -66,6 +66,7 @@ type wifi_prop, property_type;
type vendor_security_patch_level_prop, property_type; type vendor_security_patch_level_prop, property_type;
# Properties for whitelisting # Properties for whitelisting
type exported_audio_prop, property_type;
type exported_bluetooth_prop, property_type; type exported_bluetooth_prop, property_type;
type exported_config_prop, property_type; type exported_config_prop, property_type;
type exported_dalvik_prop, property_type; type exported_dalvik_prop, property_type;
......
...@@ -3,6 +3,7 @@ persist.radio.airplane_mode_on u:object_r:exported2_radio_prop:s0 exact int ...@@ -3,6 +3,7 @@ persist.radio.airplane_mode_on u:object_r:exported2_radio_prop:s0 exact int
# vendor-init-settable # vendor-init-settable
af.fast_track_multiplier u:object_r:exported3_default_prop:s0 exact int af.fast_track_multiplier u:object_r:exported3_default_prop:s0 exact int
audio.camerasound.force u:object_r:exported_audio_prop:s0 exact bool
camera.disable_zsl_mode u:object_r:exported3_default_prop:s0 exact bool camera.disable_zsl_mode u:object_r:exported3_default_prop:s0 exact bool
camera.fifo.disable u:object_r:exported3_default_prop:s0 exact int camera.fifo.disable u:object_r:exported3_default_prop:s0 exact int
dalvik.vm.appimageformat u:object_r:exported_dalvik_prop:s0 exact string dalvik.vm.appimageformat u:object_r:exported_dalvik_prop:s0 exact string
......
...@@ -170,6 +170,7 @@ not_compatible_property(` ...@@ -170,6 +170,7 @@ not_compatible_property(`
set_prop(vendor_init, bluetooth_a2dp_offload_prop) set_prop(vendor_init, bluetooth_a2dp_offload_prop)
set_prop(vendor_init, debug_prop) set_prop(vendor_init, debug_prop)
set_prop(vendor_init, exported_audio_prop)
set_prop(vendor_init, exported_bluetooth_prop) set_prop(vendor_init, exported_bluetooth_prop)
set_prop(vendor_init, exported_config_prop) set_prop(vendor_init, exported_config_prop)
set_prop(vendor_init, exported_dalvik_prop) set_prop(vendor_init, exported_dalvik_prop)
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
e2fs e2fs
e2fs_exec e2fs_exec
exfat exfat
exported_audio_prop
exported_bluetooth_prop exported_bluetooth_prop
exported_config_prop exported_config_prop
exported_dalvik_prop exported_dalvik_prop
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
exported3_default_prop exported3_default_prop
exported3_radio_prop exported3_radio_prop
exported3_system_prop exported3_system_prop
exported_audio_prop
exported_bluetooth_prop exported_bluetooth_prop
exported_config_prop exported_config_prop
exported_dalvik_prop exported_dalvik_prop
......
...@@ -14,6 +14,7 @@ read_runtime_log_tags(surfaceflinger) ...@@ -14,6 +14,7 @@ read_runtime_log_tags(surfaceflinger)
hal_client_domain(surfaceflinger, hal_graphics_allocator) hal_client_domain(surfaceflinger, hal_graphics_allocator)
hal_client_domain(surfaceflinger, hal_graphics_composer) hal_client_domain(surfaceflinger, hal_graphics_composer)
hal_client_domain(surfaceflinger, hal_configstore) hal_client_domain(surfaceflinger, hal_configstore)
hal_client_domain(surfaceflinger, hal_power)
allow surfaceflinger hidl_token_hwservice:hwservice_manager find; allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
# Perform Binder IPC. # Perform Binder IPC.
......
...@@ -536,6 +536,10 @@ get_prop(system_server, serialno_prop) ...@@ -536,6 +536,10 @@ get_prop(system_server, serialno_prop)
# Read/write the property which keeps track of whether this is the first start of system_server # Read/write the property which keeps track of whether this is the first start of system_server
set_prop(system_server, firstboot_prop) set_prop(system_server, firstboot_prop)
# Audio service in system server can read exported audio properties,
# such as camera shutter enforcement
get_prop(system_server, exported_audio_prop)
# Create a socket for connections from debuggerd. # Create a socket for connections from debuggerd.
allow system_server system_ndebug_socket:sock_file create_file_perms; allow system_server system_ndebug_socket:sock_file create_file_perms;
......
...@@ -66,6 +66,7 @@ type wifi_prop, property_type; ...@@ -66,6 +66,7 @@ type wifi_prop, property_type;
type vendor_security_patch_level_prop, property_type; type vendor_security_patch_level_prop, property_type;
# Properties for whitelisting # Properties for whitelisting
type exported_audio_prop, property_type;
type exported_bluetooth_prop, property_type; type exported_bluetooth_prop, property_type;
type exported_config_prop, property_type; type exported_config_prop, property_type;
type exported_dalvik_prop, property_type; type exported_dalvik_prop, property_type;
......
...@@ -3,6 +3,7 @@ persist.radio.airplane_mode_on u:object_r:exported2_radio_prop:s0 exact int ...@@ -3,6 +3,7 @@ persist.radio.airplane_mode_on u:object_r:exported2_radio_prop:s0 exact int
# vendor-init-settable # vendor-init-settable
af.fast_track_multiplier u:object_r:exported3_default_prop:s0 exact int af.fast_track_multiplier u:object_r:exported3_default_prop:s0 exact int
audio.camerasound.force u:object_r:exported_audio_prop:s0 exact bool
camera.disable_zsl_mode u:object_r:exported3_default_prop:s0 exact bool camera.disable_zsl_mode u:object_r:exported3_default_prop:s0 exact bool
camera.fifo.disable u:object_r:exported3_default_prop:s0 exact int camera.fifo.disable u:object_r:exported3_default_prop:s0 exact int
dalvik.vm.appimageformat u:object_r:exported_dalvik_prop:s0 exact string dalvik.vm.appimageformat u:object_r:exported_dalvik_prop:s0 exact string
......
...@@ -170,6 +170,7 @@ not_compatible_property(` ...@@ -170,6 +170,7 @@ not_compatible_property(`
set_prop(vendor_init, bluetooth_a2dp_offload_prop) set_prop(vendor_init, bluetooth_a2dp_offload_prop)
set_prop(vendor_init, debug_prop) set_prop(vendor_init, debug_prop)
set_prop(vendor_init, exported_audio_prop)
set_prop(vendor_init, exported_bluetooth_prop) set_prop(vendor_init, exported_bluetooth_prop)
set_prop(vendor_init, exported_config_prop) set_prop(vendor_init, exported_config_prop)
set_prop(vendor_init, exported_dalvik_prop) set_prop(vendor_init, exported_dalvik_prop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment