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