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