1// Signature format: 2.0 2package audio.policy.configuration.V5_0 { 3 4 public class AttachedDevices { 5 ctor public AttachedDevices(); 6 method public java.util.List<java.lang.String> getItem(); 7 } 8 9 public enum AudioDevice { 10 method public String getRawName(); 11 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_AMBIENT; 12 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET; 13 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_AUX_DIGITAL; 14 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BACK_MIC; 15 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BLUETOOTH_A2DP; 16 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BLUETOOTH_BLE; 17 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET; 18 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BUILTIN_MIC; 19 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_BUS; 20 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_COMMUNICATION; 21 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_DEFAULT; 22 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET; 23 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_ECHO_REFERENCE; 24 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_FM_TUNER; 25 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_HDMI; 26 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_HDMI_ARC; 27 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_IP; 28 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_LINE; 29 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_LOOPBACK; 30 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_PROXY; 31 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_REMOTE_SUBMIX; 32 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_SPDIF; 33 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_STUB; 34 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_TELEPHONY_RX; 35 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_TV_TUNER; 36 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_USB_ACCESSORY; 37 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_USB_DEVICE; 38 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_USB_HEADSET; 39 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_VOICE_CALL; 40 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_IN_WIRED_HEADSET; 41 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_NONE; 42 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET; 43 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_AUX_DIGITAL; 44 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_AUX_LINE; 45 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_A2DP; 46 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES; 47 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER; 48 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_SCO; 49 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT; 50 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET; 51 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_BUS; 52 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_DEFAULT; 53 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET; 54 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_EARPIECE; 55 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_ECHO_CANCELLER; 56 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_FM; 57 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_HDMI; 58 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_HDMI_ARC; 59 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_HEARING_AID; 60 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_IP; 61 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_LINE; 62 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_PROXY; 63 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_REMOTE_SUBMIX; 64 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_SPDIF; 65 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_SPEAKER; 66 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_SPEAKER_SAFE; 67 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_STUB; 68 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_TELEPHONY_TX; 69 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_USB_ACCESSORY; 70 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_USB_DEVICE; 71 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_USB_HEADSET; 72 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_WIRED_HEADPHONE; 73 enum_constant public static final audio.policy.configuration.V5_0.AudioDevice AUDIO_DEVICE_OUT_WIRED_HEADSET; 74 } 75 76 public enum AudioFormat { 77 method public String getRawName(); 78 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC; 79 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADIF; 80 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS; 81 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_ELD; 82 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_ERLC; 83 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_HE_V1; 84 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_HE_V2; 85 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_LC; 86 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_LD; 87 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_LTP; 88 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_MAIN; 89 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_SCALABLE; 90 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_SSR; 91 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ADTS_XHE; 92 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ELD; 93 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_ERLC; 94 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_HE_V1; 95 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_HE_V2; 96 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LATM; 97 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LATM_HE_V1; 98 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LATM_HE_V2; 99 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LATM_LC; 100 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LC; 101 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LD; 102 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_LTP; 103 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_MAIN; 104 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_SCALABLE; 105 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_SSR; 106 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AAC_XHE; 107 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AC3; 108 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AC4; 109 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_ALAC; 110 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AMR_NB; 111 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AMR_WB; 112 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_AMR_WB_PLUS; 113 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_APE; 114 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_APTX; 115 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_APTX_ADAPTIVE; 116 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_APTX_HD; 117 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_APTX_TWSP; 118 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_CELT; 119 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_DOLBY_TRUEHD; 120 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_DSD; 121 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_DTS; 122 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_DTS_HD; 123 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_EVRC; 124 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_EVRCB; 125 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_EVRCNW; 126 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_EVRCWB; 127 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_E_AC3; 128 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_E_AC3_JOC; 129 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_FLAC; 130 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_HE_AAC_V1; 131 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_HE_AAC_V2; 132 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_IEC61937; 133 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_LDAC; 134 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_LHDC; 135 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_LHDC_LL; 136 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_1_0; 137 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_2_0; 138 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_2_1; 139 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MP2; 140 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MP3; 141 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_OPUS; 142 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_16_BIT; 143 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_24_BIT_PACKED; 144 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_32_BIT; 145 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_8_24_BIT; 146 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_8_BIT; 147 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_FLOAT; 148 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_QCELP; 149 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_SBC; 150 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_VORBIS; 151 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_WMA; 152 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_WMA_PRO; 153 } 154 155 public class AudioPolicyConfiguration { 156 ctor public AudioPolicyConfiguration(); 157 method public audio.policy.configuration.V5_0.GlobalConfiguration getGlobalConfiguration(); 158 method public java.util.List<audio.policy.configuration.V5_0.Modules> getModules(); 159 method public audio.policy.configuration.V5_0.SurroundSound getSurroundSound(); 160 method public audio.policy.configuration.V5_0.Version getVersion(); 161 method public java.util.List<audio.policy.configuration.V5_0.Volumes> getVolumes(); 162 method public void setGlobalConfiguration(audio.policy.configuration.V5_0.GlobalConfiguration); 163 method public void setSurroundSound(audio.policy.configuration.V5_0.SurroundSound); 164 method public void setVersion(audio.policy.configuration.V5_0.Version); 165 } 166 167 public enum AudioUsage { 168 method public String getRawName(); 169 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ALARM; 170 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY; 171 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 172 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_SONIFICATION; 173 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANT; 174 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_GAME; 175 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_MEDIA; 176 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_NOTIFICATION; 177 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE; 178 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_UNKNOWN; 179 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VIRTUAL_SOURCE; 180 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VOICE_COMMUNICATION; 181 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING; 182 } 183 184 public enum DeviceCategory { 185 method public String getRawName(); 186 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_EARPIECE; 187 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_EXT_MEDIA; 188 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_HEADSET; 189 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_HEARING_AID; 190 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_SPEAKER; 191 } 192 193 public class DevicePorts { 194 ctor public DevicePorts(); 195 method public java.util.List<audio.policy.configuration.V5_0.DevicePorts.DevicePort> getDevicePort(); 196 } 197 198 public static class DevicePorts.DevicePort { 199 ctor public DevicePorts.DevicePort(); 200 method public String getAddress(); 201 method public java.util.List<audio.policy.configuration.V5_0.AudioFormat> getEncodedFormats(); 202 method public audio.policy.configuration.V5_0.Gains getGains(); 203 method public java.util.List<audio.policy.configuration.V5_0.Profile> getProfile(); 204 method public audio.policy.configuration.V5_0.Role getRole(); 205 method public String getTagName(); 206 method public String getType(); 207 method public boolean get_default(); 208 method public void setAddress(String); 209 method public void setEncodedFormats(java.util.List<audio.policy.configuration.V5_0.AudioFormat>); 210 method public void setGains(audio.policy.configuration.V5_0.Gains); 211 method public void setRole(audio.policy.configuration.V5_0.Role); 212 method public void setTagName(String); 213 method public void setType(String); 214 method public void set_default(boolean); 215 } 216 217 public enum GainMode { 218 method public String getRawName(); 219 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_CHANNELS; 220 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_JOINT; 221 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_RAMP; 222 } 223 224 public class Gains { 225 ctor public Gains(); 226 method public java.util.List<audio.policy.configuration.V5_0.Gains.Gain> getGain(); 227 } 228 229 public static class Gains.Gain { 230 ctor public Gains.Gain(); 231 method public String getChannel_mask(); 232 method public int getDefaultValueMB(); 233 method public int getMaxRampMs(); 234 method public int getMaxValueMB(); 235 method public int getMinRampMs(); 236 method public int getMinValueMB(); 237 method public audio.policy.configuration.V5_0.GainMode getMode(); 238 method public String getName(); 239 method public int getStepValueMB(); 240 method public void setChannel_mask(String); 241 method public void setDefaultValueMB(int); 242 method public void setMaxRampMs(int); 243 method public void setMaxValueMB(int); 244 method public void setMinRampMs(int); 245 method public void setMinValueMB(int); 246 method public void setMode(audio.policy.configuration.V5_0.GainMode); 247 method public void setName(String); 248 method public void setStepValueMB(int); 249 } 250 251 public class GlobalConfiguration { 252 ctor public GlobalConfiguration(); 253 method public boolean getSpeaker_drc_enabled(); 254 method public void setSpeaker_drc_enabled(boolean); 255 } 256 257 public enum HalVersion { 258 method public String getRawName(); 259 enum_constant public static final audio.policy.configuration.V5_0.HalVersion _2_0; 260 enum_constant public static final audio.policy.configuration.V5_0.HalVersion _3_0; 261 } 262 263 public class MixPorts { 264 ctor public MixPorts(); 265 method public java.util.List<audio.policy.configuration.V5_0.MixPorts.MixPort> getMixPort(); 266 } 267 268 public static class MixPorts.MixPort { 269 ctor public MixPorts.MixPort(); 270 method public String getFlags(); 271 method public audio.policy.configuration.V5_0.Gains getGains(); 272 method public long getMaxActiveCount(); 273 method public long getMaxOpenCount(); 274 method public String getName(); 275 method public java.util.List<audio.policy.configuration.V5_0.AudioUsage> getPreferredUsage(); 276 method public java.util.List<audio.policy.configuration.V5_0.Profile> getProfile(); 277 method public audio.policy.configuration.V5_0.Role getRole(); 278 method public void setFlags(String); 279 method public void setGains(audio.policy.configuration.V5_0.Gains); 280 method public void setMaxActiveCount(long); 281 method public void setMaxOpenCount(long); 282 method public void setName(String); 283 method public void setPreferredUsage(java.util.List<audio.policy.configuration.V5_0.AudioUsage>); 284 method public void setRole(audio.policy.configuration.V5_0.Role); 285 } 286 287 public enum MixType { 288 method public String getRawName(); 289 enum_constant public static final audio.policy.configuration.V5_0.MixType mix; 290 enum_constant public static final audio.policy.configuration.V5_0.MixType mux; 291 } 292 293 public class Modules { 294 ctor public Modules(); 295 method public java.util.List<audio.policy.configuration.V5_0.Modules.Module> getModule(); 296 } 297 298 public static class Modules.Module { 299 ctor public Modules.Module(); 300 method public audio.policy.configuration.V5_0.AttachedDevices getAttachedDevices(); 301 method public String getDefaultOutputDevice(); 302 method public audio.policy.configuration.V5_0.DevicePorts getDevicePorts(); 303 method public audio.policy.configuration.V5_0.HalVersion getHalVersion(); 304 method public audio.policy.configuration.V5_0.MixPorts getMixPorts(); 305 method public String getName(); 306 method public audio.policy.configuration.V5_0.Routes getRoutes(); 307 method public void setAttachedDevices(audio.policy.configuration.V5_0.AttachedDevices); 308 method public void setDefaultOutputDevice(String); 309 method public void setDevicePorts(audio.policy.configuration.V5_0.DevicePorts); 310 method public void setHalVersion(audio.policy.configuration.V5_0.HalVersion); 311 method public void setMixPorts(audio.policy.configuration.V5_0.MixPorts); 312 method public void setName(String); 313 method public void setRoutes(audio.policy.configuration.V5_0.Routes); 314 } 315 316 public class Profile { 317 ctor public Profile(); 318 method public String getChannelMasks(); 319 method public String getFormat(); 320 method public String getName(); 321 method public String getSamplingRates(); 322 method public void setChannelMasks(String); 323 method public void setFormat(String); 324 method public void setName(String); 325 method public void setSamplingRates(String); 326 } 327 328 public class Reference { 329 ctor public Reference(); 330 method public String getName(); 331 method public java.util.List<java.lang.String> getPoint(); 332 method public void setName(String); 333 } 334 335 public enum Role { 336 method public String getRawName(); 337 enum_constant public static final audio.policy.configuration.V5_0.Role sink; 338 enum_constant public static final audio.policy.configuration.V5_0.Role source; 339 } 340 341 public class Routes { 342 ctor public Routes(); 343 method public java.util.List<audio.policy.configuration.V5_0.Routes.Route> getRoute(); 344 } 345 346 public static class Routes.Route { 347 ctor public Routes.Route(); 348 method public String getSink(); 349 method public String getSources(); 350 method public audio.policy.configuration.V5_0.MixType getType(); 351 method public void setSink(String); 352 method public void setSources(String); 353 method public void setType(audio.policy.configuration.V5_0.MixType); 354 } 355 356 public enum Stream { 357 method public String getRawName(); 358 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ACCESSIBILITY; 359 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ALARM; 360 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_BLUETOOTH_SCO; 361 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_DTMF; 362 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ENFORCED_AUDIBLE; 363 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_MUSIC; 364 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_NOTIFICATION; 365 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_PATCH; 366 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_REROUTING; 367 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_RING; 368 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_SYSTEM; 369 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_TTS; 370 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_VOICE_CALL; 371 } 372 373 public class SurroundFormats { 374 ctor public SurroundFormats(); 375 method public java.util.List<audio.policy.configuration.V5_0.SurroundFormats.Format> getFormat(); 376 } 377 378 public static class SurroundFormats.Format { 379 ctor public SurroundFormats.Format(); 380 method public audio.policy.configuration.V5_0.AudioFormat getName(); 381 method public java.util.List<audio.policy.configuration.V5_0.AudioFormat> getSubformats(); 382 method public void setName(audio.policy.configuration.V5_0.AudioFormat); 383 method public void setSubformats(java.util.List<audio.policy.configuration.V5_0.AudioFormat>); 384 } 385 386 public class SurroundSound { 387 ctor public SurroundSound(); 388 method public audio.policy.configuration.V5_0.SurroundFormats getFormats(); 389 method public void setFormats(audio.policy.configuration.V5_0.SurroundFormats); 390 } 391 392 public enum Version { 393 method public String getRawName(); 394 enum_constant public static final audio.policy.configuration.V5_0.Version _1_0; 395 } 396 397 public class Volume { 398 ctor public Volume(); 399 method public audio.policy.configuration.V5_0.DeviceCategory getDeviceCategory(); 400 method public java.util.List<java.lang.String> getPoint(); 401 method public String getRef(); 402 method public audio.policy.configuration.V5_0.Stream getStream(); 403 method public void setDeviceCategory(audio.policy.configuration.V5_0.DeviceCategory); 404 method public void setRef(String); 405 method public void setStream(audio.policy.configuration.V5_0.Stream); 406 } 407 408 public class Volumes { 409 ctor public Volumes(); 410 method public java.util.List<audio.policy.configuration.V5_0.Reference> getReference(); 411 method public java.util.List<audio.policy.configuration.V5_0.Volume> getVolume(); 412 } 413 414 public class XmlParser { 415 ctor public XmlParser(); 416 method public static audio.policy.configuration.V5_0.AudioPolicyConfiguration read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException; 417 method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 418 method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 419 } 420 421} 422 423