/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfig.java | 130 BluetoothCodecConfig codecConfig = codecConfigArray[i]; in enableOptionalCodecs() local 131 if (!codecConfig.isMandatoryCodec()) { in enableOptionalCodecs() 151 BluetoothCodecConfig codecConfig = codecConfigArray[i]; in disableOptionalCodecs() local 152 if (codecConfig.isMandatoryCodec()) { in disableOptionalCodecs() 153 codecConfig.setCodecPriority(BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST); in disableOptionalCodecs() 162 private int getPrioitizedCodecType(BluetoothCodecConfig codecConfig, in getPrioitizedCodecType() argument 164 BluetoothCodecConfig prioritizedCodecConfig = codecConfig; in getPrioitizedCodecType() 234 BluetoothCodecConfig codecConfig; in assignCodecConfigPriorities() local 237 codecConfig = new BluetoothCodecConfig(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC, in assignCodecConfigPriorities() 242 codecConfigArray[0] = codecConfig; in assignCodecConfigPriorities() [all …]
|
D | A2dpService.java | 728 BluetoothCodecConfig codecConfig) { in setCodecConfigPreference() argument 732 + Objects.toString(codecConfig)); in setCodecConfigPreference() 741 if (codecConfig == null) { in setCodecConfigPreference() 750 mA2dpCodecConfig.setCodecConfigPreference(device, codecStatus, codecConfig); in setCodecConfigPreference() 916 BluetoothCodecConfig codecConfig = codecStatus.getCodecConfig(); in codecConfigUpdated() local 919 mAdapterService.obfuscateAddress(device), codecConfig.getCodecType(), in codecConfigUpdated() 920 codecConfig.getCodecPriority(), codecConfig.getSampleRate(), in codecConfigUpdated() 921 codecConfig.getBitsPerSample(), codecConfig.getChannelMode(), in codecConfigUpdated() 922 codecConfig.getCodecSpecific1(), codecConfig.getCodecSpecific2(), in codecConfigUpdated() 923 codecConfig.getCodecSpecific3(), codecConfig.getCodecSpecific4(), metricId); in codecConfigUpdated() [all …]
|
D | A2dpStateMachine.java | 632 for (BluetoothCodecConfig codecConfig : in processCodecConfigEvent() 634 Log.d(TAG, "A2DP Codec Local Capability: " + codecConfig); in processCodecConfigEvent() 636 for (BluetoothCodecConfig codecConfig : in processCodecConfigEvent() 638 Log.d(TAG, "A2DP Codec Selectable Capability: " + codecConfig); in processCodecConfigEvent()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 401 BluetoothCodecConfig codecConfig = null; in getCodecValue() local 413 codecConfig = codecStatus.getCodecConfig(); in getCodecValue() 418 if (codecConfig == null) return null; in getCodecValue() 420 Log.d(TAG, "GetCodecValue: " + codecConfig.toString()); in getCodecValue() 432 return codecConfig; in getCodecValue() 453 BluetoothCodecConfig codecConfig = in setCodecValue() local 479 mBluetoothA2dp.setCodecConfigPreference(mBluetoothA2dp.getActiveDevice(), codecConfig); in setCodecValue() local 514 BluetoothCodecConfig codecConfig = null; in verifyCodeConfig() local 515 codecConfig = getCodecValue(false); in verifyCodeConfig() 516 if (codecConfig == null) return false; in verifyCodeConfig() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfigTest.java | 633 for (BluetoothCodecConfig codecConfig : sDefaultCodecConfigs) { in getDefaultCodecConfigByType() 634 if (codecConfig.getCodecType() != codecType) { in getDefaultCodecConfigByType() 638 codecConfig.getCodecType(), in getDefaultCodecConfigByType() 640 ? codecPriority : codecConfig.getCodecPriority()), in getDefaultCodecConfigByType() 641 codecConfig.getSampleRate(), codecConfig.getBitsPerSample(), in getDefaultCodecConfigByType() 642 codecConfig.getChannelMode(), codecConfig.getCodecSpecific1(), in getDefaultCodecConfigByType() 643 codecConfig.getCodecSpecific2(), codecConfig.getCodecSpecific3(), in getDefaultCodecConfigByType() 644 codecConfig.getCodecSpecific4()); in getDefaultCodecConfigByType()
|
D | A2dpServiceTest.java | 585 BluetoothCodecConfig codecConfig = codecConfigSbc; in testProcessAudioStateChangedCodecConfigChangedEvents() local 590 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfig, in testProcessAudioStateChangedCodecConfigChangedEvents()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 83 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange() local 90 setCodecConfigPreference(activeDevice, codecConfig); in onPreferenceChange() 114 BluetoothCodecConfig codecConfig; in updateState() local 116 codecConfig = getCodecConfig(activeDevice); in updateState() 119 final int index = getCurrentA2dpSettingIndex(codecConfig); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 83 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange() local 88 setCodecConfigPreference(mBluetoothA2dp.getActiveDevice(), codecConfig); in onPreferenceChange() local 116 BluetoothCodecConfig codecConfig; in updateState() local 118 codecConfig = getCodecConfig(activeDevice); // Use current active device in updateState() 121 final int index = getCurrentA2dpSettingIndex(codecConfig); in updateState()
|
/packages/apps/Settings/src/com/android/settings/development/bluetooth/ |
D | AbstractBluetoothDialogPreferenceController.java | 82 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onIndexUpdated() local 85 bluetoothA2dp.setCodecConfigPreference(activeDevice, codecConfig); in onIndexUpdated() 93 final BluetoothCodecConfig codecConfig = getCurrentCodecConfig(); in getCurrentConfigIndex() local 94 if (codecConfig == null) { in getCurrentConfigIndex() 98 return getCurrentIndexByConfig(codecConfig); in getCurrentConfigIndex()
|