Home
last modified time | relevance | path

Searched refs:codecStatus (Results 1 – 12 of 12) 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.java210 BluetoothCodecStatus codecStatus) { in verifyCodecConfigIntent() argument
215 Assert.assertEquals(codecStatus, in verifyCodecConfigIntent()
581 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfig, in testProcessAudioStateChangedCodecConfigChangedEvents() local
600 generateUnexpectedCodecMessageFromNative(mTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
627 generateCodecMessageFromNative(mTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
875 BluetoothCodecStatus codecStatus) { in connectDeviceWithCodecStatus() argument
897 if (codecStatus != null) { in connectDeviceWithCodecStatus()
898 generateCodecMessageFromNative(device, codecStatus); in connectDeviceWithCodecStatus()
968 BluetoothCodecStatus codecStatus) { in generateCodecMessageFromNative() argument
972 stackEvent.codecStatus = codecStatus; in generateCodecMessageFromNative()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java581 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in setActiveDevice() local
582 if (codecStatus != null) { in setActiveDevice()
583 broadcastCodecConfig(mActiveDevice, codecStatus); in setActiveDevice()
761 BluetoothCodecStatus codecStatus = getCodecStatus(device); in setCodecConfigPreference() local
762 if (codecStatus == null) { in setCodecConfigPreference()
766 mA2dpCodecConfig.setCodecConfigPreference(device, codecStatus, codecConfig); in setCodecConfigPreference()
792 BluetoothCodecStatus codecStatus = getCodecStatus(device); in enableOptionalCodecs() local
793 if (codecStatus == null) { in enableOptionalCodecs()
797 mA2dpCodecConfig.enableOptionalCodecs(device, codecStatus.getCodecConfig()); in enableOptionalCodecs()
823 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.java210 processCodecConfigEvent(event.codecStatus); in processMessage()
317 processCodecConfigEvent(event.codecStatus); in processMessage()
410 processCodecConfigEvent(event.codecStatus); in processMessage()
523 processCodecConfigEvent(event.codecStatus); in processMessage()
DA2dpNativeInterface.java198 event.codecStatus = new BluetoothCodecStatus(newCodecConfig, in onCodecConfigChanged()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAbstractBluetoothA2dpPreferenceController.java200 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig() local
201 if (codecStatus != null) { in getCodecConfig()
202 return codecStatus.getCodecConfig(); in getCodecConfig()
DDevelopmentSettingsDashboardFragment.java96 BluetoothCodecStatus codecStatus = intent.getParcelableExtra(
98 Log.d(TAG, "Received BluetoothCodecStatus=" + codecStatus);
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java208 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig() local
209 if (codecStatus != null) { in getCodecConfig()
210 return codecStatus.getCodecConfig(); in getCodecConfig()
DDevelopmentSettingsDashboardFragment.java96 BluetoothCodecStatus codecStatus = intent.getParcelableExtra(
98 Log.d(TAG, "Received BluetoothCodecStatus=" + codecStatus);