Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java94 BluetoothDevice activeDevice = getA2dpActiveDevice(); in onPreferenceChange()
116 BluetoothDevice activeDevice = getA2dpActiveDevice(); in updateState()
194 (device != null) ? device : getA2dpActiveDevice(); in setCodecConfigPreference()
205 (device != null) ? device : getA2dpActiveDevice(); in getCodecConfig()
217 private BluetoothDevice getA2dpActiveDevice() { in getA2dpActiveDevice() method in AbstractBluetoothA2dpPreferenceController
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java277 Assert.assertEquals(mA2dpDevice, mActiveDeviceManager.getA2dpActiveDevice()); in a2dpActiveDeviceSelected_setActive()
395 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in hfpActivatedAfterA2dpActivated_shouldNotActivateA2dpAgain()
446 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
455 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mA2dpHeadsetDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
461 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
467 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
473 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
483 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mA2dpHeadsetDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
489 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mSecondaryAudioDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
495 assertThat(mActiveDeviceManager.getA2dpActiveDevice()).isEqualTo(mA2dpHeadsetDevice); in a2dpHeadsetActivated_whileActivatingAnotherA2dpHeadset()
[all …]
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceController.java90 BluetoothDevice activeDevice = getA2dpActiveDevice(); in onIndexUpdated()
159 BluetoothDevice activeDevice = getA2dpActiveDevice(); in getCurrentCodecConfig()
184 (device != null) ? device : getA2dpActiveDevice(); in getSelectableConfigs()
201 BluetoothDevice activeDevice = getA2dpActiveDevice(); in getSelectableByCodecType()
DBluetoothHDAudioPreferenceController.java56 final BluetoothDevice activeDevice = getA2dpActiveDevice(); in updateState()
88 BluetoothDevice activeDevice = getA2dpActiveDevice(); in onPreferenceChange()
DBluetoothCodecDialogPreferenceController.java79 final BluetoothDevice activeDevice = getA2dpActiveDevice(); in getSelectableIndex()
103 final BluetoothDevice activeDevice = getA2dpActiveDevice(); in writeConfigurationValues()
DAbstractBluetoothListPreferenceController.java140 final BluetoothDevice activeDevice = getA2dpActiveDevice(); in getBluetoothCodecStatus()
223 BluetoothDevice activeDevice = getA2dpActiveDevice(); in isHDAudioEnabled()
DAbstractBluetoothPreferenceController.java101 protected BluetoothDevice getA2dpActiveDevice() { in getA2dpActiveDevice() method in AbstractBluetoothPreferenceController
DBluetoothCodecListPreferenceController.java107 final BluetoothDevice activeDevice = getA2dpActiveDevice(); in onPreferenceChange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java153 BluetoothDevice activeDevice = getA2dpActiveDevice(); in onReceive()
280 private BluetoothDevice getA2dpActiveDevice() { in getA2dpActiveDevice() method in AvrcpTargetService
368 BluetoothDevice activeDevice = getA2dpActiveDevice(); in setVolume()
385 BluetoothDevice activeDevice = getA2dpActiveDevice(); in sendVolumeChanged()
501 BluetoothDevice activeDevice = getA2dpActiveDevice(); in sendMediaKeyEvent()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java407 BluetoothDevice activeDevice = getA2dpActiveDevice(); in getCodecValue()
481 BluetoothDevice activeDevice = getA2dpActiveDevice(); in setCodecValue()
487 mBluetoothA2dp.setCodecConfigPreference(getA2dpActiveDevice(), codecConfig); in setCodecValue()
512 private BluetoothDevice getA2dpActiveDevice() { in getA2dpActiveDevice() method in A2dpReceiver
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java1195 BluetoothDevice getA2dpActiveDevice() { in getA2dpActiveDevice() method in ActiveDeviceManager