Home
last modified time | relevance | path

Searched refs:codecType (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java196 int codecType = BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID; in processParameters() local
271 codecType = Integer.valueOf(tmpStr); in processParameters()
319 if (codecType == BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID in processParameters()
330 if (!setCodecValue(codecType, sampleRate, bitsPerSample, channelMode, in processParameters()
446 private boolean setCodecValue(int codecType, int sampleRate, int bitsPerSample, in setCodecValue() argument
449 Log.d(TAG, "SetCodecValue: Codec Type: " + codecType + " sampleRate: " + sampleRate in setCodecValue()
454 new BluetoothCodecConfig(codecType, BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST, in setCodecValue()
486 if (verifyCodeConfig(codecType, sampleRate, in setCodecValue()
496 if (!verifyCodeConfig(codecType, sampleRate, in setCodecValue()
512 private boolean verifyCodeConfig(int codecType, int sampleRate, int bitsPerSample, in verifyCodeConfig() argument
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java591 for (int codecType : sOptionalCodecTypes) { in testDisableOptionalCodecs()
594 getDefaultCodecConfigByType(codecType, in testDisableOptionalCodecs()
622 for (int codecType : sOptionalCodecTypes) { in testEnableOptionalCodecs()
625 getDefaultCodecConfigByType(codecType, in testEnableOptionalCodecs()
632 private BluetoothCodecConfig getDefaultCodecConfigByType(int codecType, int codecPriority) { in getDefaultCodecConfigByType() argument
634 if (codecConfig.getCodecType() != codecType) { in getDefaultCodecConfigByType()
646 Assert.fail("getDefaultCodecConfigByType: No such codecType=" + codecType in getDefaultCodecConfigByType()
651 private BluetoothCodecConfig getCodecCapabilitiesByType(int codecType) { in getCodecCapabilitiesByType() argument
653 if (codecCapabilities.getCodecType() != codecType) { in getCodecCapabilitiesByType()
663 Assert.fail("getCodecCapabilitiesByType: No such codecType=" + codecType in getCodecCapabilitiesByType()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothA2dpConfigStore.java37 public void setCodecType(int codecType) { in setCodecType() argument
38 mCodecType = codecType; in setCodecType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DBluetoothA2dpConfigStore.java37 public void setCodecType(int codecType) { in setCodecType() argument
38 mCodecType = codecType; in setCodecType()
DBluetoothAudioCodecPreferenceController.java139 final int codecType = config.getCodecType(); in getCurrentA2dpSettingIndex() local
141 switch (codecType) { in getCurrentA2dpSettingIndex()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_a2dp.cpp250 jint codecType = env->CallIntMethod( in prepareCodecPreferences() local
270 .codec_type = static_cast<btav_a2dp_codec_index_t>(codecType), in prepareCodecPreferences()