Searched refs:bluetoothA2dp (Results 1 – 9 of 9) sorted by relevance
51 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in updateState() local52 if (bluetoothA2dp == null) { in updateState()62 final boolean supported = (bluetoothA2dp.isOptionalCodecsSupported(activeDevice) in updateState()66 final boolean isEnabled = bluetoothA2dp.isOptionalCodecsEnabled(activeDevice) in updateState()79 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in onPreferenceChange() local80 if (bluetoothA2dp == null) { in onPreferenceChange()93 bluetoothA2dp.setOptionalCodecsEnabled(activeDevice, prefValue); in onPreferenceChange()95 bluetoothA2dp.enableOptionalCodecs(activeDevice); in onPreferenceChange()97 bluetoothA2dp.disableOptionalCodecs(activeDevice); in onPreferenceChange()
84 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in onIndexUpdated() local85 if (bluetoothA2dp == null) { in onIndexUpdated()92 bluetoothA2dp.setCodecConfigPreference(activeDevice, codecConfig); in onIndexUpdated()109 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument110 super.onBluetoothServiceConnected(bluetoothA2dp); in onBluetoothServiceConnected()155 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getCurrentCodecConfig() local156 if (bluetoothA2dp == null) { in getCurrentCodecConfig()165 bluetoothA2dp.getCodecStatus(activeDevice); in getCurrentCodecConfig()179 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getSelectableConfigs() local180 if (bluetoothA2dp == null) { in getSelectableConfigs()[all …]
88 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in onPreferenceChange() local89 if (bluetoothA2dp == null) { in onPreferenceChange()116 bluetoothA2dp.setCodecConfigPreference(activeDevice, codecConfig); in onPreferenceChange()149 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in updateState() local150 if (bluetoothA2dp == null) { in updateState()156 bluetoothA2dp.getSupportedCodecTypes(); in updateState()197 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in writeConfigurationValues() local198 if (bluetoothA2dp == null) { in writeConfigurationValues()203 final Collection<BluetoothCodecType> codecTypes = bluetoothA2dp.getSupportedCodecTypes(); in writeConfigurationValues()
94 public void onBluetoothServiceConnected(@NonNull BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument95 super.onBluetoothServiceConnected(bluetoothA2dp); in onBluetoothServiceConnected()133 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getBluetoothCodecStatus() local134 if (bluetoothA2dp == null) { in getBluetoothCodecStatus()145 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(activeDevice); in getBluetoothCodecStatus()218 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in isHDAudioEnabled() local219 if (bluetoothA2dp == null) { in isHDAudioEnabled()228 return (bluetoothA2dp.isOptionalCodecsEnabled(activeDevice) in isHDAudioEnabled()
73 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getSelectableIndex() local76 if (bluetoothA2dp == null) { in getSelectableIndex()85 if (bluetoothA2dp.isOptionalCodecsEnabled(activeDevice) in getSelectableIndex()
63 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument64 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
59 private val bluetoothA2dp = getProfileProxy<BluetoothA2dp>(context, BluetoothProfile.A2DP) constant73 bluetoothAdapter.closeProfileProxy(BluetoothProfile.A2DP, bluetoothA2dp) in close()85 if (bluetoothA2dp.getConnectionState(device) != BluetoothA2dp.STATE_CONNECTED) { in openSource()86 bluetoothA2dp.connect(device) in openSource()123 if (bluetoothA2dp.getConnectionState(device) != BluetoothA2dp.STATE_CONNECTED) { in waitSource()160 if (bluetoothA2dp.getConnectionState(device) != BluetoothA2dp.STATE_CONNECTED) { in start()167 if (!bluetoothA2dp.isA2dpPlaying(device)) { in start()187 if (bluetoothA2dp.getConnectionState(device) != BluetoothA2dp.STATE_CONNECTED) { in suspend()191 if (!bluetoothA2dp.isA2dpPlaying(device)) { in suspend()215 if (bluetoothA2dp.getConnectionState(device) != BluetoothA2dp.STATE_CONNECTED) { in isSuspended()[all …]
141 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument142 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
30 void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp); in onBluetoothServiceConnected() argument