1// Signature format: 2.0
2package aidl.android.hardware.bluetooth.audio.setting {
3
4  public enum AudioLocation {
5    method public String getRawName();
6    enum_constant public static final aidl.android.hardware.bluetooth.audio.setting.AudioLocation MONO;
7    enum_constant public static final aidl.android.hardware.bluetooth.audio.setting.AudioLocation STEREO;
8  }
9
10  public class CodecConfiguration {
11    ctor public CodecConfiguration();
12    method public aidl.android.hardware.bluetooth.audio.setting.CodecType getCodec();
13    method public short getCodecFrameBlocksPerSdu();
14    method public int getFrameDurationUs();
15    method public String getName();
16    method public int getOctetsPerCodecFrame();
17    method public short getPcmBitDepth();
18    method public int getSamplingFrequency();
19    method public void setCodec(aidl.android.hardware.bluetooth.audio.setting.CodecType);
20    method public void setCodecFrameBlocksPerSdu(short);
21    method public void setFrameDurationUs(int);
22    method public void setName(String);
23    method public void setOctetsPerCodecFrame(int);
24    method public void setPcmBitDepth(short);
25    method public void setSamplingFrequency(int);
26  }
27
28  public class CodecConfigurationList {
29    ctor public CodecConfigurationList();
30    method public java.util.List<aidl.android.hardware.bluetooth.audio.setting.CodecConfiguration> getCodecConfiguration();
31  }
32
33  public enum CodecType {
34    method public String getRawName();
35    enum_constant public static final aidl.android.hardware.bluetooth.audio.setting.CodecType APTX_ADAPTIVE_LE;
36    enum_constant public static final aidl.android.hardware.bluetooth.audio.setting.CodecType APTX_ADAPTIVE_LEX;
37    enum_constant public static final aidl.android.hardware.bluetooth.audio.setting.CodecType LC3;
38  }
39
40  public class Configuration {
41    ctor public Configuration();
42    method public String getCodecConfiguration();
43    method public String getName();
44    method public String getStrategyConfiguration();
45    method public void setCodecConfiguration(String);
46    method public void setName(String);
47    method public void setStrategyConfiguration(String);
48  }
49
50  public class ConfigurationList {
51    ctor public ConfigurationList();
52    method public java.util.List<aidl.android.hardware.bluetooth.audio.setting.Configuration> getConfiguration();
53  }
54
55  public class LeAudioOffloadSetting {
56    ctor public LeAudioOffloadSetting();
57    method public aidl.android.hardware.bluetooth.audio.setting.CodecConfigurationList getCodecConfigurationList();
58    method public aidl.android.hardware.bluetooth.audio.setting.ConfigurationList getConfigurationList();
59    method public aidl.android.hardware.bluetooth.audio.setting.ScenarioList getScenarioList();
60    method public aidl.android.hardware.bluetooth.audio.setting.StrategyConfigurationList getStrategyConfigurationList();
61    method public void setCodecConfigurationList(aidl.android.hardware.bluetooth.audio.setting.CodecConfigurationList);
62    method public void setConfigurationList(aidl.android.hardware.bluetooth.audio.setting.ConfigurationList);
63    method public void setScenarioList(aidl.android.hardware.bluetooth.audio.setting.ScenarioList);
64    method public void setStrategyConfigurationList(aidl.android.hardware.bluetooth.audio.setting.StrategyConfigurationList);
65  }
66
67  public class Scenario {
68    ctor public Scenario();
69    method public String getBroadcast();
70    method public String getDecode();
71    method public String getEncode();
72    method public void setBroadcast(String);
73    method public void setDecode(String);
74    method public void setEncode(String);
75  }
76
77  public class ScenarioList {
78    ctor public ScenarioList();
79    method public java.util.List<aidl.android.hardware.bluetooth.audio.setting.Scenario> getScenario();
80  }
81
82  public class StrategyConfiguration {
83    ctor public StrategyConfiguration();
84    method public aidl.android.hardware.bluetooth.audio.setting.AudioLocation getAudioLocation();
85    method public short getChannelCount();
86    method public short getConnectedDevice();
87    method public String getName();
88    method public void setAudioLocation(aidl.android.hardware.bluetooth.audio.setting.AudioLocation);
89    method public void setChannelCount(short);
90    method public void setConnectedDevice(short);
91    method public void setName(String);
92  }
93
94  public class StrategyConfigurationList {
95    ctor public StrategyConfigurationList();
96    method public java.util.List<aidl.android.hardware.bluetooth.audio.setting.StrategyConfiguration> getStrategyConfiguration();
97  }
98
99  public class XmlParser {
100    ctor public XmlParser();
101    method public static aidl.android.hardware.bluetooth.audio.setting.LeAudioOffloadSetting readLeAudioOffloadSetting(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException;
102    method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
103    method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
104  }
105
106}
107
108