Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java869 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper() local
875 mTestDevice, codecStatus, newCodecConfigsArray[0]); in testCodecParametersChangeHelper()
896 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper() local
902 mTestDevice, codecStatus, newCodecConfigsArray[0]); in testCodecParametersChangeHelper()
907 codecStatus = in testCodecParametersChangeHelper()
913 mTestDevice, codecStatus, newCodecConfigsArray[0]); in testCodecParametersChangeHelper()
951 BluetoothCodecStatus codecStatus = in testCodecSpecificParametersChangeHelper() local
957 mTestDevice, codecStatus, newCodecConfigsArray[0]); in testCodecSpecificParametersChangeHelper()
985 BluetoothCodecStatus codecStatus = in testCodecPriorityChangeHelper() local
991 mTestDevice, codecStatus, newCodecConfigsArray[0]); in testCodecPriorityChangeHelper()
[all …]
DA2dpServiceTest.java563 BluetoothCodecStatus codecStatus = in testProcessAudioStateChangedCodecConfigChangedEvents() local
582 generateUnexpectedCodecMessageFromNative(sTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
614 generateCodecMessageFromNative(sTestDevice, codecStatus); in testProcessAudioStateChangedCodecConfigChangedEvents()
1040 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in connectDeviceWithCodecStatus() argument
1065 if (codecStatus != null) { in connectDeviceWithCodecStatus()
1066 generateCodecMessageFromNative(device, codecStatus); in connectDeviceWithCodecStatus()
1148 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in generateCodecMessageFromNative() argument
1152 stackEvent.codecStatus = codecStatus; in generateCodecMessageFromNative()
1158 hasExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS, codecStatus)); in generateCodecMessageFromNative()
1162 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in generateUnexpectedCodecMessageFromNative() argument
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java612 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in setActiveDevice() local
613 if (codecStatus != null) { in setActiveDevice()
614 broadcastCodecConfig(mActiveDevice, codecStatus); in setActiveDevice()
770 BluetoothCodecStatus codecStatus = getCodecStatus(device); in setCodecConfigPreference() local
771 if (codecStatus == null) { in setCodecConfigPreference()
775 mA2dpCodecConfig.setCodecConfigPreference(device, codecStatus, codecConfig); in setCodecConfigPreference()
797 BluetoothCodecStatus codecStatus = getCodecStatus(device); in enableOptionalCodecs() local
798 if (codecStatus == null) { in enableOptionalCodecs()
803 mA2dpCodecConfig.enableOptionalCodecs(device, codecStatus.getCodecConfig()); in enableOptionalCodecs()
825 BluetoothCodecStatus codecStatus = getCodecStatus(device); in disableOptionalCodecs() local
[all …]
DA2dpStackEvent.java47 public BluetoothCodecStatus codecStatus; field in A2dpStackEvent
60 if (codecStatus != null) { in toString()
61 result.append(", codecStatus:" + codecStatus); in toString()
DA2dpCodecConfig.java84 BluetoothCodecStatus codecStatus, in setCodecConfigPreference() argument
86 Objects.requireNonNull(codecStatus); in setCodecConfigPreference()
89 List<BluetoothCodecConfig> selectableCodecs = codecStatus.getCodecsSelectableCapabilities(); in setCodecConfigPreference()
96 if (!codecStatus.isCodecConfigSelectable(newCodecConfig)) { in setCodecConfigPreference()
105 BluetoothCodecConfig currentCodecConfig = codecStatus.getCodecConfig(); in setCodecConfigPreference()
DA2dpStateMachine.java221 processCodecConfigEvent(event.codecStatus); in processMessage()
367 processCodecConfigEvent(event.codecStatus); in processMessage()
476 processCodecConfigEvent(event.codecStatus); in processMessage()
604 processCodecConfigEvent(event.codecStatus); in processMessage()
DA2dpNativeInterface.java218 event.codecStatus = in onCodecConfigChanged()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothListPreferenceController.java145 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(activeDevice); in getBluetoothCodecStatus() local
146 if (codecStatus == null) { in getBluetoothCodecStatus()
150 return codecStatus; in getBluetoothCodecStatus()
160 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in getCurrentCodecConfig() local
161 if (codecStatus == null) { in getCurrentCodecConfig()
169 return codecStatus.getCodecConfig(); in getCurrentCodecConfig()
DBluetoothCodecListPreferenceController.java137 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in updateState() local
138 if (codecStatus == null) { in updateState()
143 final BluetoothCodecConfig currentCodecConfig = codecStatus.getCodecConfig(); in updateState()
222 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in writeConfigurationValues() local
223 if (codecStatus == null) { in writeConfigurationValues()
229 codecStatus.getCodecsSelectableCapabilities(); in writeConfigurationValues()
DAbstractBluetoothDialogPreferenceController.java164 final BluetoothCodecStatus codecStatus = in getCurrentCodecConfig() local
166 if (codecStatus == null) { in getCurrentCodecConfig()
170 return codecStatus.getCodecConfig(); in getCurrentCodecConfig()
188 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(bluetoothDevice); in getSelectableConfigs() local
189 if (codecStatus != null) { in getSelectableConfigs()
190 return codecStatus.getCodecsSelectableCapabilities(); in getSelectableConfigs()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java401 BluetoothCodecStatus codecStatus = null; in getCodecValue() local
412 codecStatus = mBluetoothA2dp.getCodecStatus(activeDevice); in getCodecValue()
413 if (codecStatus != null) { in getCodecValue()
414 codecConfig = codecStatus.getCodecConfig(); in getCodecValue()
415 codecsLocalCapabilities = codecStatus.getCodecsLocalCapabilities(); in getCodecValue()
416 codecsSelectableCapabilities = codecStatus.getCodecsSelectableCapabilities(); in getCodecValue()
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java209 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig() local
210 if (codecStatus != null) { in getCodecConfig()
211 return codecStatus.getCodecConfig(); in getCodecConfig()
DDevelopmentSettingsDashboardFragment.java131 BluetoothCodecStatus codecStatus = intent.getParcelableExtra(
133 Log.d(TAG, "Received BluetoothCodecStatus=" + codecStatus);
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java2284 BluetoothLeAudioCodecStatus codecStatus = mService.getCodecStatus(testGroupId); in testMessageFromNativeGroupCodecConfigChanged_OneDirectionOnly() local
2285 assertThat(codecStatus.getInputCodecConfig()).isNull(); in testMessageFromNativeGroupCodecConfigChanged_OneDirectionOnly()
2286 assertThat(codecStatus.getOutputCodecConfig()).isNotNull(); in testMessageFromNativeGroupCodecConfigChanged_OneDirectionOnly()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java1161 BluetoothLeAudioCodecStatus codecStatus = getCodecStatus(groupId); in getBroadcastAudioQualityPerSinkCapabilities() local
1162 if (codecStatus != null in getBroadcastAudioQualityPerSinkCapabilities()
1163 && !codecStatus.isInputCodecConfigSelectable(BROADCAST_HIGH_QUALITY_CONFIG)) { in getBroadcastAudioQualityPerSinkCapabilities()