Add aaudio_config_prop and move aaudio properties

To remove ambiguous context name exported_default_prop

Bug: 71814576
Test: boot and see no denials
Change-Id: I40eb92653fabc509419e07bb4bfa7301a8762352
diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil
index 4032646..59b93da 100644
--- a/private/compat/27.0/27.0.ignore.cil
+++ b/private/compat/27.0/27.0.ignore.cil
@@ -6,6 +6,7 @@
 (typeattributeset new_objects
   ( new_objects
     aac_drc_prop
+    aaudio_config_prop
     activity_task_service
     adb_service
     app_binding_service
diff --git a/private/compat/30.0/30.0.cil b/private/compat/30.0/30.0.cil
index 9810e2f..4c2a7a2 100644
--- a/private/compat/30.0/30.0.cil
+++ b/private/compat/30.0/30.0.cil
@@ -1381,6 +1381,7 @@
 (typeattributeset exported_dalvik_prop_30_0 (exported_dalvik_prop dalvik_config_prop))
 (typeattributeset exported_default_prop_30_0
   ( exported_default_prop
+    aaudio_config_prop
     build_odm_prop
     build_vendor_prop
     surfaceflinger_prop))
diff --git a/private/property_contexts b/private/property_contexts
index c2f65a6..15cc010 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -652,12 +652,12 @@
 
 vold.decrypt u:object_r:vold_status_prop:s0 exact string
 
-aaudio.hw_burst_min_usec     u:object_r:exported_default_prop:s0 exact int
-aaudio.minimum_sleep_usec    u:object_r:exported_default_prop:s0 exact int
-aaudio.mixer_bursts          u:object_r:exported_default_prop:s0 exact int
-aaudio.mmap_exclusive_policy u:object_r:exported_default_prop:s0 exact int
-aaudio.mmap_policy           u:object_r:exported_default_prop:s0 exact int
-aaudio.wakeup_delay_usec     u:object_r:exported_default_prop:s0 exact int
+aaudio.hw_burst_min_usec     u:object_r:aaudio_config_prop:s0 exact int
+aaudio.minimum_sleep_usec    u:object_r:aaudio_config_prop:s0 exact int
+aaudio.mixer_bursts          u:object_r:aaudio_config_prop:s0 exact int
+aaudio.mmap_exclusive_policy u:object_r:aaudio_config_prop:s0 exact int
+aaudio.mmap_policy           u:object_r:aaudio_config_prop:s0 exact int
+aaudio.wakeup_delay_usec     u:object_r:aaudio_config_prop:s0 exact int
 
 persist.rcs.supported u:object_r:exported_default_prop:s0 exact int
 
diff --git a/public/domain.te b/public/domain.te
index d4fbc62..33edfd0 100644
--- a/public/domain.te
+++ b/public/domain.te
@@ -94,6 +94,7 @@
 allow domain property_info:file r_file_perms;
 
 # Public readable properties
+get_prop(domain, aaudio_config_prop)
 get_prop(domain, build_odm_prop)
 get_prop(domain, build_prop)
 get_prop(domain, build_vendor_prop)
diff --git a/public/property.te b/public/property.te
index 704c58d..aeb83f6 100644
--- a/public/property.te
+++ b/public/property.te
@@ -102,6 +102,7 @@
 ')
 
 # Properties which can be written only by vendor_init
+system_vendor_config_prop(aaudio_config_prop)
 system_vendor_config_prop(apk_verity_prop)
 system_vendor_config_prop(audio_config_prop)
 system_vendor_config_prop(build_odm_prop)