Home
last modified time | relevance | path

Searched refs:codecStatus (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java701 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecParametersChangeHelper() local
705 codecStatus, in testCodecParametersChangeHelper()
726 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper() local
729 codecStatus, in testCodecParametersChangeHelper()
735 codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecParametersChangeHelper()
739 codecStatus, in testCodecParametersChangeHelper()
765 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecSpecificParametersChangeHelper() local
769 codecStatus, in testCodecSpecificParametersChangeHelper()
794 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecPriorityChangeHelper() local
798 codecStatus, in testCodecPriorityChangeHelper()
[all …]
DA2dpServiceTest.java211 BluetoothCodecStatus codecStatus) { in verifyCodecConfigIntent() argument
216 Assert.assertEquals(codecStatus, in verifyCodecConfigIntent()
582 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfig, in testProcessAudioStateChangedCodecConfigChangedEvents() local
601 generateUnexpectedCodecMessageFromNative(mTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
628 generateCodecMessageFromNative(mTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
876 BluetoothCodecStatus codecStatus) { in connectDeviceWithCodecStatus() argument
898 if (codecStatus != null) { in connectDeviceWithCodecStatus()
899 generateCodecMessageFromNative(device, codecStatus); in connectDeviceWithCodecStatus()
969 BluetoothCodecStatus codecStatus) { in generateCodecMessageFromNative() argument
973 stackEvent.codecStatus = codecStatus; in generateCodecMessageFromNative()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java573 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in setActiveDevice() local
574 if (codecStatus != null) { in setActiveDevice()
575 broadcastCodecConfig(mActiveDevice, codecStatus); in setActiveDevice()
746 BluetoothCodecStatus codecStatus = getCodecStatus(device); in setCodecConfigPreference() local
747 if (codecStatus == null) { in setCodecConfigPreference()
751 mA2dpCodecConfig.setCodecConfigPreference(device, codecStatus, codecConfig); in setCodecConfigPreference()
776 BluetoothCodecStatus codecStatus = getCodecStatus(device); in enableOptionalCodecs() local
777 if (codecStatus == null) { in enableOptionalCodecs()
781 mA2dpCodecConfig.enableOptionalCodecs(device, codecStatus.getCodecConfig()); in enableOptionalCodecs()
806 BluetoothCodecStatus codecStatus = getCodecStatus(device); in disableOptionalCodecs() local
[all …]
DA2dpCodecConfig.java80 BluetoothCodecStatus codecStatus, in setCodecConfigPreference() argument
82 Objects.requireNonNull(codecStatus); in setCodecConfigPreference()
85 BluetoothCodecConfig[] selectableCodecs = codecStatus.getCodecsSelectableCapabilities(); in setCodecConfigPreference()
93 if (!codecStatus.isCodecConfigSelectable(newCodecConfig)) { in setCodecConfigPreference()
101 BluetoothCodecConfig currentCodecConfig = codecStatus.getCodecConfig(); in setCodecConfigPreference()
DA2dpStackEvent.java47 public BluetoothCodecStatus codecStatus; field in A2dpStackEvent
60 if (codecStatus != null) { in toString()
61 result.append(", codecStatus:" + codecStatus); in toString()
DA2dpStateMachine.java213 processCodecConfigEvent(event.codecStatus); in processMessage()
320 processCodecConfigEvent(event.codecStatus); in processMessage()
413 processCodecConfigEvent(event.codecStatus); in processMessage()
526 processCodecConfigEvent(event.codecStatus); in processMessage()
DA2dpNativeInterface.java199 event.codecStatus = new BluetoothCodecStatus(newCodecConfig, in onCodecConfigChanged()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceController.java159 final BluetoothCodecStatus codecStatus = in getCurrentCodecConfig() local
161 if (codecStatus == null) { in getCurrentCodecConfig()
165 return codecStatus.getCodecConfig(); in getCurrentCodecConfig()
183 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(bluetoothDevice); in getSelectableConfigs() local
184 if (codecStatus != null) { in getSelectableConfigs()
185 return codecStatus.getCodecsSelectableCapabilities(); in getSelectableConfigs()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java400 BluetoothCodecStatus codecStatus = null; in getCodecValue() local
411 codecStatus = mBluetoothA2dp.getCodecStatus(activeDevice); in getCodecValue()
412 if (codecStatus != null) { in getCodecValue()
413 codecConfig = codecStatus.getCodecConfig(); in getCodecValue()
414 codecsLocalCapabilities = codecStatus.getCodecsLocalCapabilities(); in getCodecValue()
415 codecsSelectableCapabilities = codecStatus.getCodecsSelectableCapabilities(); in getCodecValue()
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java202 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig() local
203 if (codecStatus != null) { in getCodecConfig()
204 return codecStatus.getCodecConfig(); in getCodecConfig()
DDevelopmentSettingsDashboardFragment.java114 BluetoothCodecStatus codecStatus = intent.getParcelableExtra(
116 Log.d(TAG, "Received BluetoothCodecStatus=" + codecStatus);