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