Home
last modified time | relevance | path

Searched refs:bluetoothA2dp (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothHDAudioPreferenceController.java51 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in updateState() local
52 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() local
80 if (bluetoothA2dp == null) { in onPreferenceChange()
93 bluetoothA2dp.setOptionalCodecsEnabled(activeDevice, prefValue); in onPreferenceChange()
95 bluetoothA2dp.enableOptionalCodecs(activeDevice); in onPreferenceChange()
97 bluetoothA2dp.disableOptionalCodecs(activeDevice); in onPreferenceChange()
DAbstractBluetoothDialogPreferenceController.java84 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in onIndexUpdated() local
85 if (bluetoothA2dp == null) { in onIndexUpdated()
92 bluetoothA2dp.setCodecConfigPreference(activeDevice, codecConfig); in onIndexUpdated()
109 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument
110 super.onBluetoothServiceConnected(bluetoothA2dp); in onBluetoothServiceConnected()
155 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getCurrentCodecConfig() local
156 if (bluetoothA2dp == null) { in getCurrentCodecConfig()
165 bluetoothA2dp.getCodecStatus(activeDevice); in getCurrentCodecConfig()
179 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getSelectableConfigs() local
180 if (bluetoothA2dp == null) { in getSelectableConfigs()
[all …]
DBluetoothCodecListPreferenceController.java88 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in onPreferenceChange() local
89 if (bluetoothA2dp == null) { in onPreferenceChange()
116 bluetoothA2dp.setCodecConfigPreference(activeDevice, codecConfig); in onPreferenceChange()
149 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in updateState() local
150 if (bluetoothA2dp == null) { in updateState()
156 bluetoothA2dp.getSupportedCodecTypes(); in updateState()
197 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in writeConfigurationValues() local
198 if (bluetoothA2dp == null) { in writeConfigurationValues()
203 final Collection<BluetoothCodecType> codecTypes = bluetoothA2dp.getSupportedCodecTypes(); in writeConfigurationValues()
DAbstractBluetoothListPreferenceController.java94 public void onBluetoothServiceConnected(@NonNull BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument
95 super.onBluetoothServiceConnected(bluetoothA2dp); in onBluetoothServiceConnected()
133 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getBluetoothCodecStatus() local
134 if (bluetoothA2dp == null) { in getBluetoothCodecStatus()
145 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(activeDevice); in getBluetoothCodecStatus()
218 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in isHDAudioEnabled() local
219 if (bluetoothA2dp == null) { in isHDAudioEnabled()
228 return (bluetoothA2dp.isOptionalCodecsEnabled(activeDevice) in isHDAudioEnabled()
DBluetoothCodecDialogPreferenceController.java73 final BluetoothA2dp bluetoothA2dp = mBluetoothA2dp; in getSelectableIndex() local
76 if (bluetoothA2dp == null) { in getSelectableIndex()
85 if (bluetoothA2dp.isOptionalCodecsEnabled(activeDevice) in getSelectableIndex()
DAbstractBluetoothPreferenceController.java63 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument
64 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
/packages/modules/Bluetooth/android/pandora/server/src/
DA2dp.kt59 private val bluetoothA2dp = getProfileProxy<BluetoothA2dp>(context, BluetoothProfile.A2DP) constant
73 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 …]
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java141 public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp) { in onBluetoothServiceConnected() argument
142 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
DBluetoothServiceConnectionListener.java30 void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp); in onBluetoothServiceConnected() argument