1// Signature format: 2.0 2package android.audio.policy.engine.configuration { 3 4 public class AttributesGroup { 5 ctor public AttributesGroup(); 6 method @Nullable public java.util.List<android.audio.policy.engine.configuration.AttributesType> getAttributes_optional(); 7 method @Nullable public android.audio.policy.engine.configuration.BundleType getBundle_optional(); 8 method @Nullable public android.audio.policy.engine.configuration.ContentTypeType getContentType_optional(); 9 method @Nullable public android.audio.policy.engine.configuration.FlagsType getFlags_optional(); 10 method @Nullable public android.audio.policy.engine.configuration.SourceType getSource_optional(); 11 method @Nullable public android.audio.policy.engine.configuration.Stream getStreamType(); 12 method @Nullable public android.audio.policy.engine.configuration.UsageType getUsage_optional(); 13 method @Nullable public String getVolumeGroup(); 14 method public void setBundle_optional(@Nullable android.audio.policy.engine.configuration.BundleType); 15 method public void setContentType_optional(@Nullable android.audio.policy.engine.configuration.ContentTypeType); 16 method public void setFlags_optional(@Nullable android.audio.policy.engine.configuration.FlagsType); 17 method public void setSource_optional(@Nullable android.audio.policy.engine.configuration.SourceType); 18 method public void setStreamType(@Nullable android.audio.policy.engine.configuration.Stream); 19 method public void setUsage_optional(@Nullable android.audio.policy.engine.configuration.UsageType); 20 method public void setVolumeGroup(@Nullable String); 21 } 22 23 public class AttributesRef { 24 ctor public AttributesRef(); 25 method @Nullable public java.util.List<android.audio.policy.engine.configuration.AttributesRefType> getReference(); 26 } 27 28 public class AttributesRefType { 29 ctor public AttributesRefType(); 30 method @Nullable public android.audio.policy.engine.configuration.AttributesType getAttributes(); 31 method @Nullable public String getName(); 32 method public void setAttributes(@Nullable android.audio.policy.engine.configuration.AttributesType); 33 method public void setName(@Nullable String); 34 } 35 36 public class AttributesType { 37 ctor public AttributesType(); 38 method @Nullable public String getAttributesRef(); 39 method @Nullable public android.audio.policy.engine.configuration.BundleType getBundle(); 40 method @Nullable public android.audio.policy.engine.configuration.ContentTypeType getContentType(); 41 method @Nullable public android.audio.policy.engine.configuration.FlagsType getFlags(); 42 method @Nullable public android.audio.policy.engine.configuration.SourceType getSource(); 43 method @Nullable public android.audio.policy.engine.configuration.UsageType getUsage(); 44 method public void setAttributesRef(@Nullable String); 45 method public void setBundle(@Nullable android.audio.policy.engine.configuration.BundleType); 46 method public void setContentType(@Nullable android.audio.policy.engine.configuration.ContentTypeType); 47 method public void setFlags(@Nullable android.audio.policy.engine.configuration.FlagsType); 48 method public void setSource(@Nullable android.audio.policy.engine.configuration.SourceType); 49 method public void setUsage(@Nullable android.audio.policy.engine.configuration.UsageType); 50 } 51 52 public class BundleType { 53 ctor public BundleType(); 54 method @Nullable public String getKey(); 55 method @Nullable public String getValue(); 56 method public void setKey(@Nullable String); 57 method public void setValue(@Nullable String); 58 } 59 60 public class Configuration { 61 ctor public Configuration(); 62 method @Nullable public java.util.List<android.audio.policy.engine.configuration.AttributesRef> getAttributesRef(); 63 method @Nullable public java.util.List<android.audio.policy.engine.configuration.CriteriaType> getCriteria(); 64 method @Nullable public java.util.List<android.audio.policy.engine.configuration.CriterionTypesType> getCriterion_types(); 65 method @Nullable public java.util.List<android.audio.policy.engine.configuration.ProductStrategies> getProductStrategies(); 66 method @Nullable public android.audio.policy.engine.configuration.Version getVersion(); 67 method @Nullable public java.util.List<android.audio.policy.engine.configuration.VolumeGroupsType> getVolumeGroups(); 68 method @Nullable public java.util.List<android.audio.policy.engine.configuration.VolumesType> getVolumes(); 69 method public void setVersion(@Nullable android.audio.policy.engine.configuration.Version); 70 } 71 72 public enum ContentType { 73 method @NonNull public String getRawName(); 74 enum_constant public static final android.audio.policy.engine.configuration.ContentType AUDIO_CONTENT_TYPE_MOVIE; 75 enum_constant public static final android.audio.policy.engine.configuration.ContentType AUDIO_CONTENT_TYPE_MUSIC; 76 enum_constant public static final android.audio.policy.engine.configuration.ContentType AUDIO_CONTENT_TYPE_SONIFICATION; 77 enum_constant public static final android.audio.policy.engine.configuration.ContentType AUDIO_CONTENT_TYPE_SPEECH; 78 enum_constant public static final android.audio.policy.engine.configuration.ContentType AUDIO_CONTENT_TYPE_UNKNOWN; 79 } 80 81 public class ContentTypeType { 82 ctor public ContentTypeType(); 83 method @Nullable public android.audio.policy.engine.configuration.ContentType getValue(); 84 method public void setValue(@Nullable android.audio.policy.engine.configuration.ContentType); 85 } 86 87 public class CriteriaType { 88 ctor public CriteriaType(); 89 method @Nullable public java.util.List<android.audio.policy.engine.configuration.CriterionType> getCriterion(); 90 } 91 92 public class CriterionType { 93 ctor public CriterionType(); 94 method @Nullable public String getName(); 95 method @Nullable public String getType(); 96 method @Nullable public String get_default(); 97 method public void setName(@Nullable String); 98 method public void setType(@Nullable String); 99 method public void set_default(@Nullable String); 100 } 101 102 public class CriterionTypeType { 103 ctor public CriterionTypeType(); 104 method @Nullable public String getName(); 105 method @Nullable public android.audio.policy.engine.configuration.PfwCriterionTypeEnum getType(); 106 method @Nullable public android.audio.policy.engine.configuration.ValuesType getValues(); 107 method public void setName(@Nullable String); 108 method public void setType(@Nullable android.audio.policy.engine.configuration.PfwCriterionTypeEnum); 109 method public void setValues(@Nullable android.audio.policy.engine.configuration.ValuesType); 110 } 111 112 public class CriterionTypesType { 113 ctor public CriterionTypesType(); 114 method @Nullable public java.util.List<android.audio.policy.engine.configuration.CriterionTypeType> getCriterion_type(); 115 } 116 117 public enum DeviceCategory { 118 method @NonNull public String getRawName(); 119 enum_constant public static final android.audio.policy.engine.configuration.DeviceCategory DEVICE_CATEGORY_EARPIECE; 120 enum_constant public static final android.audio.policy.engine.configuration.DeviceCategory DEVICE_CATEGORY_EXT_MEDIA; 121 enum_constant public static final android.audio.policy.engine.configuration.DeviceCategory DEVICE_CATEGORY_HEADSET; 122 enum_constant public static final android.audio.policy.engine.configuration.DeviceCategory DEVICE_CATEGORY_HEARING_AID; 123 enum_constant public static final android.audio.policy.engine.configuration.DeviceCategory DEVICE_CATEGORY_SPEAKER; 124 } 125 126 public enum FlagType { 127 method @NonNull public String getRawName(); 128 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_AUDIBILITY_ENFORCED; 129 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_BEACON; 130 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_BYPASS_INTERRUPTION_POLICY; 131 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_BYPASS_MUTE; 132 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_CAPTURE_PRIVATE; 133 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_DEEP_BUFFER; 134 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_HW_AV_SYNC; 135 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_HW_HOTWORD; 136 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_LOW_LATENCY; 137 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_MUTE_HAPTIC; 138 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_NONE; 139 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_NO_MEDIA_PROJECTION; 140 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_NO_SYSTEM_CAPTURE; 141 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_SCO; 142 enum_constant public static final android.audio.policy.engine.configuration.FlagType AUDIO_FLAG_SECURE; 143 } 144 145 public class FlagsType { 146 ctor public FlagsType(); 147 method @Nullable public java.util.List<android.audio.policy.engine.configuration.FlagType> getValue(); 148 method public void setValue(@Nullable java.util.List<android.audio.policy.engine.configuration.FlagType>); 149 } 150 151 public enum PfwCriterionTypeEnum { 152 method @NonNull public String getRawName(); 153 enum_constant public static final android.audio.policy.engine.configuration.PfwCriterionTypeEnum exclusive; 154 enum_constant public static final android.audio.policy.engine.configuration.PfwCriterionTypeEnum inclusive; 155 } 156 157 public class ProductStrategies { 158 ctor public ProductStrategies(); 159 method @Nullable public java.util.List<android.audio.policy.engine.configuration.ProductStrategies.ProductStrategy> getProductStrategy(); 160 } 161 162 public static class ProductStrategies.ProductStrategy { 163 ctor public ProductStrategies.ProductStrategy(); 164 method @Nullable public java.util.List<android.audio.policy.engine.configuration.AttributesGroup> getAttributesGroup(); 165 method @Nullable public String getName(); 166 method public void setName(@Nullable String); 167 } 168 169 public enum SourceEnumType { 170 method @NonNull public String getRawName(); 171 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_CAMCORDER; 172 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_DEFAULT; 173 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_ECHO_REFERENCE; 174 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_FM_TUNER; 175 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_MIC; 176 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_REMOTE_SUBMIX; 177 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_UNPROCESSED; 178 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_CALL; 179 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_COMMUNICATION; 180 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_DOWNLINK; 181 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_PERFORMANCE; 182 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_RECOGNITION; 183 enum_constant public static final android.audio.policy.engine.configuration.SourceEnumType AUDIO_SOURCE_VOICE_UPLINK; 184 } 185 186 public class SourceType { 187 ctor public SourceType(); 188 method @Nullable public android.audio.policy.engine.configuration.SourceEnumType getValue(); 189 method public void setValue(@Nullable android.audio.policy.engine.configuration.SourceEnumType); 190 } 191 192 public enum Stream { 193 method @NonNull public String getRawName(); 194 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_ACCESSIBILITY; 195 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_ALARM; 196 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_ASSISTANT; 197 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_BLUETOOTH_SCO; 198 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_DEFAULT; 199 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_DTMF; 200 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_ENFORCED_AUDIBLE; 201 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_MUSIC; 202 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_NOTIFICATION; 203 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_RING; 204 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_SYSTEM; 205 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_TTS; 206 enum_constant public static final android.audio.policy.engine.configuration.Stream AUDIO_STREAM_VOICE_CALL; 207 } 208 209 public enum UsageEnumType { 210 method @NonNull public String getRawName(); 211 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ALARM; 212 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ANNOUNCEMENT; 213 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY; 214 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 215 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ASSISTANCE_SONIFICATION; 216 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_ASSISTANT; 217 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_CALL_ASSISTANT; 218 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_EMERGENCY; 219 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_GAME; 220 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_MEDIA; 221 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION; 222 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED; 223 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT; 224 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST; 225 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION_EVENT; 226 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE; 227 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_SAFETY; 228 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_UNKNOWN; 229 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_VEHICLE_STATUS; 230 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_VIRTUAL_SOURCE; 231 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_VOICE_COMMUNICATION; 232 enum_constant public static final android.audio.policy.engine.configuration.UsageEnumType AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING; 233 } 234 235 public class UsageType { 236 ctor public UsageType(); 237 method @Nullable public android.audio.policy.engine.configuration.UsageEnumType getValue(); 238 method public void setValue(@Nullable android.audio.policy.engine.configuration.UsageEnumType); 239 } 240 241 public class ValueType { 242 ctor public ValueType(); 243 method @Nullable public String getAndroid_type(); 244 method @Nullable public String getLiteral(); 245 method @Nullable public long getNumerical(); 246 method public void setAndroid_type(@Nullable String); 247 method public void setLiteral(@Nullable String); 248 method public void setNumerical(@Nullable long); 249 } 250 251 public class ValuesType { 252 ctor public ValuesType(); 253 method @Nullable public java.util.List<android.audio.policy.engine.configuration.ValueType> getValue(); 254 } 255 256 public enum Version { 257 method @NonNull public String getRawName(); 258 enum_constant public static final android.audio.policy.engine.configuration.Version _1_0; 259 } 260 261 public class Volume { 262 ctor public Volume(); 263 method @Nullable public android.audio.policy.engine.configuration.DeviceCategory getDeviceCategory(); 264 method @Nullable public java.util.List<java.lang.String> getPoint(); 265 method @Nullable public String getRef(); 266 method public void setDeviceCategory(@Nullable android.audio.policy.engine.configuration.DeviceCategory); 267 method public void setRef(@Nullable String); 268 } 269 270 public class VolumeGroupsType { 271 ctor public VolumeGroupsType(); 272 method @Nullable public java.util.List<android.audio.policy.engine.configuration.VolumeGroupsType.VolumeGroup> getVolumeGroup(); 273 } 274 275 public static class VolumeGroupsType.VolumeGroup { 276 ctor public VolumeGroupsType.VolumeGroup(); 277 method @Nullable public int getIndexMax(); 278 method @Nullable public int getIndexMin(); 279 method @Nullable public String getName(); 280 method @Nullable public java.util.List<android.audio.policy.engine.configuration.Volume> getVolume(); 281 method public void setIndexMax(@Nullable int); 282 method public void setIndexMin(@Nullable int); 283 method public void setName(@Nullable String); 284 } 285 286 public class VolumeRef { 287 ctor public VolumeRef(); 288 method @Nullable public String getName(); 289 method @Nullable public java.util.List<java.lang.String> getPoint(); 290 method public void setName(@Nullable String); 291 } 292 293 public class VolumesType { 294 ctor public VolumesType(); 295 method @Nullable public java.util.List<android.audio.policy.engine.configuration.VolumeRef> getReference(); 296 } 297 298 public class XmlParser { 299 ctor public XmlParser(); 300 method @Nullable public static android.audio.policy.engine.configuration.Configuration read(@NonNull java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException; 301 method @Nullable public static String readText(@NonNull org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 302 method public static void skip(@NonNull org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 303 } 304 305} 306 307