1// Signature format: 2.0 2package aidl.android.hardware.bluetooth.audio.hfp.setting { 3 4 public enum CodecType { 5 method public String getRawName(); 6 enum_constant public static final aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType CVSD; 7 enum_constant public static final aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType LC3; 8 enum_constant public static final aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType MSBC; 9 } 10 11 public class Configuration { 12 ctor public Configuration(); 13 method public aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType getCodec(); 14 method public String getInputPathConfiguration(); 15 method public String getInputTransportConfiguration(); 16 method public int getMaxLatencyMs(); 17 method public String getName(); 18 method public String getOutputPathConfiguration(); 19 method public String getOutputTransportConfiguration(); 20 method public int getPacketTypes(); 21 method public short getRetransmissionEffort(); 22 method public boolean getUseControllerCodec(); 23 method public void setCodec(aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType); 24 method public void setInputPathConfiguration(String); 25 method public void setInputTransportConfiguration(String); 26 method public void setMaxLatencyMs(int); 27 method public void setName(String); 28 method public void setOutputPathConfiguration(String); 29 method public void setOutputTransportConfiguration(String); 30 method public void setPacketTypes(int); 31 method public void setRetransmissionEffort(short); 32 method public void setUseControllerCodec(boolean); 33 } 34 35 public class HfpOffloadSetting { 36 ctor public HfpOffloadSetting(); 37 method public java.util.List<aidl.android.hardware.bluetooth.audio.hfp.setting.Configuration> getConfiguration(); 38 method public java.util.List<aidl.android.hardware.bluetooth.audio.hfp.setting.PathConfiguration> getPathConfiguration(); 39 method public java.util.List<aidl.android.hardware.bluetooth.audio.hfp.setting.TransportConfiguration> getTransportConfiguration(); 40 } 41 42 public class PathConfiguration { 43 ctor public PathConfiguration(); 44 method public long getBandwidth(); 45 method public aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType getCodec(); 46 method public int getCodedDataSize(); 47 method public short getDataPath(); 48 method public String getName(); 49 method public short getPcmDataFormat(); 50 method public short getPcmPayloadMsbPosition(); 51 method public short getTransportUnitSize(); 52 method public void setBandwidth(long); 53 method public void setCodec(aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType); 54 method public void setCodedDataSize(int); 55 method public void setDataPath(short); 56 method public void setName(String); 57 method public void setPcmDataFormat(short); 58 method public void setPcmPayloadMsbPosition(short); 59 method public void setTransportUnitSize(short); 60 } 61 62 public class TransportConfiguration { 63 ctor public TransportConfiguration(); 64 method public long getBandwidth(); 65 method public aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType getCodec(); 66 method public int getCodedFrameSize(); 67 method public String getName(); 68 method public void setBandwidth(long); 69 method public void setCodec(aidl.android.hardware.bluetooth.audio.hfp.setting.CodecType); 70 method public void setCodedFrameSize(int); 71 method public void setName(String); 72 } 73 74 public class XmlParser { 75 ctor public XmlParser(); 76 method public static aidl.android.hardware.bluetooth.audio.hfp.setting.HfpOffloadSetting readHfpOffloadSetting(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException; 77 method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 78 method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 79 } 80 81} 82 83