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; 137 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_1_0; 138 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_2_0; 139 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MAT_2_1; 140 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MP2; 141 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_MP3; 142 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_OPUS; 143 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_16_BIT; 144 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_24_BIT_PACKED; 145 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_32_BIT; 146 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_8_24_BIT; 147 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_8_BIT; 148 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_PCM_FLOAT; 149 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_QCELP; 150 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_SBC; 151 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_VORBIS; 152 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_WMA; 153 enum_constant public static final audio.policy.configuration.V5_0.AudioFormat AUDIO_FORMAT_WMA_PRO; 154 } 155 156 public class AudioPolicyConfiguration { 157 ctor public AudioPolicyConfiguration(); 158 method public audio.policy.configuration.V5_0.GlobalConfiguration getGlobalConfiguration(); 159 method public java.util.List<audio.policy.configuration.V5_0.Modules> getModules(); 160 method public audio.policy.configuration.V5_0.SurroundSound getSurroundSound(); 161 method public audio.policy.configuration.V5_0.Version getVersion(); 162 method public java.util.List<audio.policy.configuration.V5_0.Volumes> getVolumes(); 163 method public void setGlobalConfiguration(audio.policy.configuration.V5_0.GlobalConfiguration); 164 method public void setSurroundSound(audio.policy.configuration.V5_0.SurroundSound); 165 method public void setVersion(audio.policy.configuration.V5_0.Version); 166 } 167 168 public enum AudioUsage { 169 method public String getRawName(); 170 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ALARM; 171 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY; 172 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 173 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANCE_SONIFICATION; 174 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_ASSISTANT; 175 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_GAME; 176 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_MEDIA; 177 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_NOTIFICATION; 178 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE; 179 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_UNKNOWN; 180 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VIRTUAL_SOURCE; 181 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VOICE_COMMUNICATION; 182 enum_constant public static final audio.policy.configuration.V5_0.AudioUsage AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING; 183 } 184 185 public enum DeviceCategory { 186 method public String getRawName(); 187 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_EARPIECE; 188 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_EXT_MEDIA; 189 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_HEADSET; 190 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_HEARING_AID; 191 enum_constant public static final audio.policy.configuration.V5_0.DeviceCategory DEVICE_CATEGORY_SPEAKER; 192 } 193 194 public class DevicePorts { 195 ctor public DevicePorts(); 196 method public java.util.List<audio.policy.configuration.V5_0.DevicePorts.DevicePort> getDevicePort(); 197 } 198 199 public static class DevicePorts.DevicePort { 200 ctor public DevicePorts.DevicePort(); 201 method public String getAddress(); 202 method public java.util.List<java.lang.String> getEncodedFormats(); 203 method public audio.policy.configuration.V5_0.Gains getGains(); 204 method public java.util.List<audio.policy.configuration.V5_0.Profile> getProfile(); 205 method public audio.policy.configuration.V5_0.Role getRole(); 206 method public String getTagName(); 207 method public String getType(); 208 method public boolean get_default(); 209 method public void setAddress(String); 210 method public void setEncodedFormats(java.util.List<java.lang.String>); 211 method public void setGains(audio.policy.configuration.V5_0.Gains); 212 method public void setRole(audio.policy.configuration.V5_0.Role); 213 method public void setTagName(String); 214 method public void setType(String); 215 method public void set_default(boolean); 216 } 217 218 public enum GainMode { 219 method public String getRawName(); 220 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_CHANNELS; 221 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_JOINT; 222 enum_constant public static final audio.policy.configuration.V5_0.GainMode AUDIO_GAIN_MODE_RAMP; 223 } 224 225 public class Gains { 226 ctor public Gains(); 227 method public java.util.List<audio.policy.configuration.V5_0.Gains.Gain> getGain(); 228 } 229 230 public static class Gains.Gain { 231 ctor public Gains.Gain(); 232 method public String getChannel_mask(); 233 method public int getDefaultValueMB(); 234 method public int getMaxRampMs(); 235 method public int getMaxValueMB(); 236 method public int getMinRampMs(); 237 method public int getMinValueMB(); 238 method public audio.policy.configuration.V5_0.GainMode getMode(); 239 method public String getName(); 240 method public int getStepValueMB(); 241 method public boolean getUseForVolume(); 242 method public void setChannel_mask(String); 243 method public void setDefaultValueMB(int); 244 method public void setMaxRampMs(int); 245 method public void setMaxValueMB(int); 246 method public void setMinRampMs(int); 247 method public void setMinValueMB(int); 248 method public void setMode(audio.policy.configuration.V5_0.GainMode); 249 method public void setName(String); 250 method public void setStepValueMB(int); 251 method public void setUseForVolume(boolean); 252 } 253 254 public class GlobalConfiguration { 255 ctor public GlobalConfiguration(); 256 method public boolean getSpeaker_drc_enabled(); 257 method public void setSpeaker_drc_enabled(boolean); 258 } 259 260 public enum HalVersion { 261 method public String getRawName(); 262 enum_constant public static final audio.policy.configuration.V5_0.HalVersion _2_0; 263 enum_constant public static final audio.policy.configuration.V5_0.HalVersion _3_0; 264 } 265 266 public class MixPorts { 267 ctor public MixPorts(); 268 method public java.util.List<audio.policy.configuration.V5_0.MixPorts.MixPort> getMixPort(); 269 } 270 271 public static class MixPorts.MixPort { 272 ctor public MixPorts.MixPort(); 273 method public String getFlags(); 274 method public audio.policy.configuration.V5_0.Gains getGains(); 275 method public long getMaxActiveCount(); 276 method public long getMaxOpenCount(); 277 method public String getName(); 278 method public java.util.List<audio.policy.configuration.V5_0.AudioUsage> getPreferredUsage(); 279 method public java.util.List<audio.policy.configuration.V5_0.Profile> getProfile(); 280 method public audio.policy.configuration.V5_0.Role getRole(); 281 method public void setFlags(String); 282 method public void setGains(audio.policy.configuration.V5_0.Gains); 283 method public void setMaxActiveCount(long); 284 method public void setMaxOpenCount(long); 285 method public void setName(String); 286 method public void setPreferredUsage(java.util.List<audio.policy.configuration.V5_0.AudioUsage>); 287 method public void setRole(audio.policy.configuration.V5_0.Role); 288 } 289 290 public enum MixType { 291 method public String getRawName(); 292 enum_constant public static final audio.policy.configuration.V5_0.MixType mix; 293 enum_constant public static final audio.policy.configuration.V5_0.MixType mux; 294 } 295 296 public class Modules { 297 ctor public Modules(); 298 method public java.util.List<audio.policy.configuration.V5_0.Modules.Module> getModule(); 299 } 300 301 public static class Modules.Module { 302 ctor public Modules.Module(); 303 method public audio.policy.configuration.V5_0.AttachedDevices getAttachedDevices(); 304 method public String getDefaultOutputDevice(); 305 method public audio.policy.configuration.V5_0.DevicePorts getDevicePorts(); 306 method public audio.policy.configuration.V5_0.HalVersion getHalVersion(); 307 method public audio.policy.configuration.V5_0.MixPorts getMixPorts(); 308 method public String getName(); 309 method public audio.policy.configuration.V5_0.Routes getRoutes(); 310 method public void setAttachedDevices(audio.policy.configuration.V5_0.AttachedDevices); 311 method public void setDefaultOutputDevice(String); 312 method public void setDevicePorts(audio.policy.configuration.V5_0.DevicePorts); 313 method public void setHalVersion(audio.policy.configuration.V5_0.HalVersion); 314 method public void setMixPorts(audio.policy.configuration.V5_0.MixPorts); 315 method public void setName(String); 316 method public void setRoutes(audio.policy.configuration.V5_0.Routes); 317 } 318 319 public class Profile { 320 ctor public Profile(); 321 method public String getChannelMasks(); 322 method public String getFormat(); 323 method public String getName(); 324 method public String getSamplingRates(); 325 method public void setChannelMasks(String); 326 method public void setFormat(String); 327 method public void setName(String); 328 method public void setSamplingRates(String); 329 } 330 331 public class Reference { 332 ctor public Reference(); 333 method public String getName(); 334 method public java.util.List<java.lang.String> getPoint(); 335 method public void setName(String); 336 } 337 338 public enum Role { 339 method public String getRawName(); 340 enum_constant public static final audio.policy.configuration.V5_0.Role sink; 341 enum_constant public static final audio.policy.configuration.V5_0.Role source; 342 } 343 344 public class Routes { 345 ctor public Routes(); 346 method public java.util.List<audio.policy.configuration.V5_0.Routes.Route> getRoute(); 347 } 348 349 public static class Routes.Route { 350 ctor public Routes.Route(); 351 method public String getSink(); 352 method public String getSources(); 353 method public audio.policy.configuration.V5_0.MixType getType(); 354 method public void setSink(String); 355 method public void setSources(String); 356 method public void setType(audio.policy.configuration.V5_0.MixType); 357 } 358 359 public enum Stream { 360 method public String getRawName(); 361 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ACCESSIBILITY; 362 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ALARM; 363 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_BLUETOOTH_SCO; 364 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_DTMF; 365 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ENFORCED_AUDIBLE; 366 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_MUSIC; 367 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_NOTIFICATION; 368 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_PATCH; 369 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_REROUTING; 370 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_RING; 371 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_SYSTEM; 372 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_TTS; 373 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_VOICE_CALL; 374 } 375 376 public class SurroundFormats { 377 ctor public SurroundFormats(); 378 method public java.util.List<audio.policy.configuration.V5_0.SurroundFormats.Format> getFormat(); 379 } 380 381 public static class SurroundFormats.Format { 382 ctor public SurroundFormats.Format(); 383 method public String getName(); 384 method public java.util.List<java.lang.String> getSubformats(); 385 method public void setName(String); 386 method public void setSubformats(java.util.List<java.lang.String>); 387 } 388 389 public class SurroundSound { 390 ctor public SurroundSound(); 391 method public audio.policy.configuration.V5_0.SurroundFormats getFormats(); 392 method public void setFormats(audio.policy.configuration.V5_0.SurroundFormats); 393 } 394 395 public enum Version { 396 method public String getRawName(); 397 enum_constant public static final audio.policy.configuration.V5_0.Version _1_0; 398 } 399 400 public class Volume { 401 ctor public Volume(); 402 method public audio.policy.configuration.V5_0.DeviceCategory getDeviceCategory(); 403 method public java.util.List<java.lang.String> getPoint(); 404 method public String getRef(); 405 method public audio.policy.configuration.V5_0.Stream getStream(); 406 method public void setDeviceCategory(audio.policy.configuration.V5_0.DeviceCategory); 407 method public void setRef(String); 408 method public void setStream(audio.policy.configuration.V5_0.Stream); 409 } 410 411 public class Volumes { 412 ctor public Volumes(); 413 method public java.util.List<audio.policy.configuration.V5_0.Reference> getReference(); 414 method public java.util.List<audio.policy.configuration.V5_0.Volume> getVolume(); 415 } 416 417 public class XmlParser { 418 ctor public XmlParser(); 419 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; 420 method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 421 method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 422 } 423 424} 425 426