Home
last modified time | relevance | path

Searched refs:BluetoothLeAudioCodecConfig (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeAudioCodecStatus.java43 private final @Nullable BluetoothLeAudioCodecConfig mInputCodecConfig;
44 private final @Nullable BluetoothLeAudioCodecConfig mOutputCodecConfig;
45 private final @Nullable List<BluetoothLeAudioCodecConfig> mInputCodecsLocalCapabilities;
46 private final @Nullable List<BluetoothLeAudioCodecConfig> mOutputCodecsLocalCapabilities;
47 private final @Nullable List<BluetoothLeAudioCodecConfig> mInputCodecsSelectableCapabilities;
48 private final @Nullable List<BluetoothLeAudioCodecConfig> mOutputCodecsSelectableCapabilities;
61 @Nullable BluetoothLeAudioCodecConfig inputCodecConfig, in BluetoothLeAudioCodecStatus()
62 @Nullable BluetoothLeAudioCodecConfig outputCodecConfig, in BluetoothLeAudioCodecStatus()
63 @NonNull List<BluetoothLeAudioCodecConfig> inputCodecsLocalCapabilities, in BluetoothLeAudioCodecStatus()
64 @NonNull List<BluetoothLeAudioCodecConfig> outputCodecsLocalCapabilities, in BluetoothLeAudioCodecStatus()
[all …]
DBluetoothLeAudioCodecConfigMetadata.java19 import static android.bluetooth.BluetoothLeAudioCodecConfig.FRAME_DURATION_10000;
20 import static android.bluetooth.BluetoothLeAudioCodecConfig.FRAME_DURATION_7500;
21 import static android.bluetooth.BluetoothLeAudioCodecConfig.FRAME_DURATION_NONE;
22 import static android.bluetooth.BluetoothLeAudioCodecConfig.FrameDuration;
23 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_16000;
24 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_24000;
25 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_32000;
26 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_44100;
27 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_48000;
28 import static android.bluetooth.BluetoothLeAudioCodecConfig.SAMPLE_RATE_8000;
[all …]
DBluetoothLeAudioCodecConfig.java41 public final class BluetoothLeAudioCodecConfig implements Parcelable { class
240 private BluetoothLeAudioCodecConfig( in BluetoothLeAudioCodecConfig() method in BluetoothLeAudioCodecConfig
267 public static final @android.annotation.NonNull Parcelable.Creator<BluetoothLeAudioCodecConfig>
269 new Parcelable.Creator<BluetoothLeAudioCodecConfig>() {
270 public BluetoothLeAudioCodecConfig createFromParcel(Parcel in) {
280 return new BluetoothLeAudioCodecConfig(
292 public BluetoothLeAudioCodecConfig[] newArray(int size) {
293 return new BluetoothLeAudioCodecConfig[size];
456 if (o instanceof BluetoothLeAudioCodecConfig) { in equals()
457 BluetoothLeAudioCodecConfig other = (BluetoothLeAudioCodecConfig) o; in equals()
[all …]
DBluetoothLeAudio.java1439 @NonNull BluetoothLeAudioCodecConfig inputCodecConfig, in setCodecConfigPreference()
1440 @NonNull BluetoothLeAudioCodecConfig outputCodecConfig) { in setCodecConfigPreference()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterfaceTest.java25 import android.bluetooth.BluetoothLeAudioCodecConfig;
118 BluetoothLeAudioCodecConfig emptyConfig = new BluetoothLeAudioCodecConfig.Builder().build(); in onAudioLocalCodecCapabilities()
119 BluetoothLeAudioCodecConfig[] localInputCodecCapabilities = in onAudioLocalCodecCapabilities()
120 new BluetoothLeAudioCodecConfig[] {emptyConfig}; in onAudioLocalCodecCapabilities()
121 BluetoothLeAudioCodecConfig[] localOutputCodecCapabilities = in onAudioLocalCodecCapabilities()
122 new BluetoothLeAudioCodecConfig[] {emptyConfig}; in onAudioLocalCodecCapabilities()
136 BluetoothLeAudioCodecConfig inputConfig = new BluetoothLeAudioCodecConfig.Builder().build(); in onAudioGroupCurrentCodecConf()
137 BluetoothLeAudioCodecConfig outputConfig = in onAudioGroupCurrentCodecConf()
138 new BluetoothLeAudioCodecConfig.Builder().build(); in onAudioGroupCurrentCodecConf()
151 BluetoothLeAudioCodecConfig inputConfig = new BluetoothLeAudioCodecConfig.Builder().build(); in onAudioGroupSelectableCodecConf()
[all …]
DLeAudioBroadcastServiceTest.java113 private static final BluetoothLeAudioCodecConfig LC3_16KHZ_CONFIG =
114 new BluetoothLeAudioCodecConfig.Builder()
115 .setCodecType(BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3)
116 .setSampleRate(BluetoothLeAudioCodecConfig.SAMPLE_RATE_16000)
118 private static final BluetoothLeAudioCodecConfig LC3_48KHZ_CONFIG =
119 new BluetoothLeAudioCodecConfig.Builder()
120 .setCodecType(BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3)
121 .setSampleRate(BluetoothLeAudioCodecConfig.SAMPLE_RATE_48000)
124 private static final List<BluetoothLeAudioCodecConfig> INPUT_SELECTABLE_CONFIG_STANDARD =
126 private static final List<BluetoothLeAudioCodecConfig> OUTPUT_SELECTABLE_CONFIG_STANDARD =
[all …]
DLeAudioServiceTest.java39 import android.bluetooth.BluetoothLeAudioCodecConfig;
143 private static final BluetoothLeAudioCodecConfig EMPTY_CONFIG =
144 new BluetoothLeAudioCodecConfig.Builder().build();
146 private static final BluetoothLeAudioCodecConfig LC3_16KHZ_CONFIG =
147 new BluetoothLeAudioCodecConfig.Builder()
148 .setCodecType(BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3)
149 .setSampleRate(BluetoothLeAudioCodecConfig.SAMPLE_RATE_16000)
151 private static final BluetoothLeAudioCodecConfig LC3_48KHZ_CONFIG =
152 new BluetoothLeAudioCodecConfig.Builder()
153 .setCodecType(BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3)
[all …]
DLeAudioBinderTest.java28 import android.bluetooth.BluetoothLeAudioCodecConfig;
410 BluetoothLeAudioCodecConfig inputConfig = new BluetoothLeAudioCodecConfig.Builder().build(); in setCodecConfigPreference()
411 BluetoothLeAudioCodecConfig outputConfig = in setCodecConfigPreference()
412 new BluetoothLeAudioCodecConfig.Builder().build(); in setCodecConfigPreference()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothLeAudioCodecConfigTest.java35 BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3,
36 BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_INVALID,
44 BluetoothLeAudioCodecConfig leAudioCodecConfig = in testBluetoothLeAudioCodecConfig_valid_get_methods()
47 if (codecType == BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3) { in testBluetoothLeAudioCodecConfig_valid_get_methods()
50 if (codecType == BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_INVALID) { in testBluetoothLeAudioCodecConfig_valid_get_methods()
58 private BluetoothLeAudioCodecConfig buildBluetoothLeAudioCodecConfig(int sourceCodecType) { in buildBluetoothLeAudioCodecConfig()
59 return new BluetoothLeAudioCodecConfig.Builder().setCodecType(sourceCodecType).build(); in buildBluetoothLeAudioCodecConfig()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStackEvent.java21 import android.bluetooth.BluetoothLeAudioCodecConfig;
106 public BluetoothLeAudioCodecConfig valueCodec1;
107 public BluetoothLeAudioCodecConfig valueCodec2;
108 public List<BluetoothLeAudioCodecConfig> valueCodecList1;
109 public List<BluetoothLeAudioCodecConfig> valueCodecList2;
374 int type, BluetoothLeAudioCodecConfig value) { in eventTypeValueCodec1ToString()
384 int type, BluetoothLeAudioCodecConfig value) { in eventTypeValueCodec2ToString()
394 int type, List<BluetoothLeAudioCodecConfig> value) { in eventTypeValueCodecList1ToString()
398 for (BluetoothLeAudioCodecConfig n : value) { in eventTypeValueCodecList1ToString()
403 for (BluetoothLeAudioCodecConfig n : value) { in eventTypeValueCodecList1ToString()
[all …]
DLeAudioNativeInterface.java27 import android.bluetooth.BluetoothLeAudioCodecConfig;
169 BluetoothLeAudioCodecConfig[] localInputCodecCapabilities, in onAudioLocalCodecCapabilities()
170 BluetoothLeAudioCodecConfig[] localOutputCodecCapabilities) { in onAudioLocalCodecCapabilities()
185 BluetoothLeAudioCodecConfig inputCodecConfig, in onAudioGroupCurrentCodecConf()
186 BluetoothLeAudioCodecConfig outputCodecConfig) { in onAudioGroupCurrentCodecConf()
202 BluetoothLeAudioCodecConfig[] inputSelectableCodecConfig, in onAudioGroupSelectableCodecConf()
203 BluetoothLeAudioCodecConfig[] outputSelectableCodecConfig) { in onAudioGroupSelectableCodecConf()
266 public void init(BluetoothLeAudioCodecConfig[] codecConfigOffloading) { in init()
344 BluetoothLeAudioCodecConfig inputCodecConfig, in setCodecConfigPreference()
345 BluetoothLeAudioCodecConfig outputCodecConfig) { in setCodecConfigPreference()
[all …]
DLeAudioCodecConfig.java19 import android.bluetooth.BluetoothLeAudioCodecConfig;
31 private BluetoothLeAudioCodecConfig[] mCodecConfigOffloading =
32 new BluetoothLeAudioCodecConfig[0];
60 BluetoothLeAudioCodecConfig[] getCodecConfigOffloading() { in getCodecConfigOffloading()
DLeAudioService.java36 import android.bluetooth.BluetoothLeAudioCodecConfig;
145 private static final BluetoothLeAudioCodecConfig BROADCAST_HIGH_QUALITY_CONFIG =
146 new BluetoothLeAudioCodecConfig.Builder()
147 .setCodecType(BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3)
148 .setSampleRate(BluetoothLeAudioCodecConfig.SAMPLE_RATE_48000)
256 List<BluetoothLeAudioCodecConfig> mInputSelectableConfig;
257 List<BluetoothLeAudioCodecConfig> mOutputSelectableConfig;
361 List<BluetoothLeAudioCodecConfig> mInputLocalCodecCapabilities = new ArrayList<>();
362 List<BluetoothLeAudioCodecConfig> mOutputLocalCodecCapabilities = new ArrayList<>();
3067 BluetoothLeAudioCodecConfig emptyConfig = in messageFromNative()
[all …]
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothLeAudio.aidl21 import android.bluetooth.BluetoothLeAudioCodecConfig;
61 …ecConfigPreference(in int groupId, in BluetoothLeAudioCodecConfig inputCodecConfig, in BluetoothLe… in setCodecConfigPreference()
DBluetoothLeAudioCodecConfig.aidl19 parcelable BluetoothLeAudioCodecConfig;
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt953 public final class BluetoothLeAudioCodecConfig implements android.os.Parcelable {
976 …c static final android.os.Parcelable.Creator<android.bluetooth.BluetoothLeAudioCodecConfig> CREATO…
998 public static final class BluetoothLeAudioCodecConfig.Builder {
999 ctor public BluetoothLeAudioCodecConfig.Builder();
1000 …ctor public BluetoothLeAudioCodecConfig.Builder(@NonNull android.bluetooth.BluetoothLeAudioCodecCo…
1001 method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfig build();
1002 …method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfig.Builder setBitsPerSample(int);
1003 … method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfig.Builder setChannelCount(int);
1004 …method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfig.Builder setCodecPriority(int);
1005 method @NonNull public android.bluetooth.BluetoothLeAudioCodecConfig.Builder setCodecType(int);
[all …]
Dsystem-current.txt464 …ce(int, @NonNull android.bluetooth.BluetoothLeAudioCodecConfig, @NonNull android.bluetooth.Bluetoo…