Searched refs:codecType (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 196 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/ |
D | A2dpCodecConfigTest.java | 591 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/ |
D | BluetoothA2dpConfigStore.java | 37 public void setCodecType(int codecType) { in setCodecType() argument 38 mCodecType = codecType; in setCodecType()
|
D | BluetoothAudioCodecPreferenceController.java | 141 final int codecType = config.getCodecType(); in getCurrentA2dpSettingIndex() local 143 switch (codecType) { in getCurrentA2dpSettingIndex()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothA2dpConfigStore.java | 37 public void setCodecType(int codecType) { in setCodecType() argument 38 mCodecType = codecType; in setCodecType()
|
D | BluetoothAudioCodecPreferenceController.java | 139 final int codecType = config.getCodecType(); in getCurrentA2dpSettingIndex() local 141 switch (codecType) { in getCurrentA2dpSettingIndex()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_a2dp.cpp | 250 jint codecType = env->CallIntMethod( in prepareCodecPreferences() local 270 .codec_type = static_cast<btav_a2dp_codec_index_t>(codecType), in prepareCodecPreferences()
|