Home
last modified time | relevance | path

Searched refs:getBondedDevices (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/bluetooth/
DBluetoothPairListLiveDataTest.java98 when(mBluetoothAdapter.getBondedDevices()).thenReturn(bondedDevices); in testOnBluetoothConnected()
128 assertThat(mBluetoothAdapter.getBondedDevices().containsAll(bondedDevices)).isTrue(); in verifyBondedDevices()
129 assertThat(mBluetoothAdapter.getBondedDevices().size()).isEqualTo(bondedDevices.size()); in verifyBondedDevices()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java269 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect()
413 when(mAdapterService.getBondedDevices()).thenReturn(testDevices); in testAutoConnectMultipleDevices()
495 when(mAdapterService.getBondedDevices()).thenReturn(testDevices); in testSetConnectionPolicyMultipleDevices()
599 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testNoReconnectOnNoConnect()
645 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testNoReconnectOnNoConnect_MultiDevice()
700 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect_MultiDevice()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DBluetoothBondedListReceiver.java53 : mBluetoothAdapter.getBondedDevices(); in onReceive()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java285 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasNoAccessory()
302 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasAccessories()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DBluetoothPreference.java57 .getBondedDevices() in BluetoothPreference()
/packages/apps/Car/Dialer/src/com/android/car/dialer/bluetooth/
DBluetoothPairListLiveData.java84 Set<BluetoothDevice> devices = mBluetoothAdapter.getBondedDevices(); in updateList()
DPhoneAccountManager.java67 mBluetoothAdapter == null ? null : mBluetoothAdapter.getBondedDevices(); in getMatchingDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdater.java95 final Set<BluetoothDevice> devices = mBluetoothAdapter.getBondedDevices(); in getConnectedDeviceSummary()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothDeviceFragment.java99 Set<BluetoothDevice> bondedDevices = bluetoothAdapter.getBondedDevices(); in checkAllDevices()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java267 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in hasConnectedBluetoothDevices()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoriesFragment.java84 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in updateAccessories()
DBluetoothDevicesService.java273 return new ArrayList<>(btAdapter.getBondedDevices()); in getDevices()
DBluetoothAccessoryFragment.java136 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java761 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in removeUnusedMetadata()
812 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in migrateSettingsGlobal()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1533 public BluetoothDevice[] getBondedDevices(AttributionSource attributionSource) { in getBondedDevices() method in AdapterService.AdapterServiceBinder
1541 return service.getBondedDevices(); in getBondedDevices()
2613 public BluetoothDevice[] getBondedDevices() { in getBondedDevices() method in AdapterService
2614 return mAdapterProperties.getBondedDevices(); in getBondedDevices()
2732 BluetoothDevice[] bondedDevices = getBondedDevices(); in updateUuids()
3530 metricsBuilder.setNumBondedDevices(getBondedDevices().length); in dumpMetrics()
DAdapterProperties.java572 BluetoothDevice[] getBondedDevices() { in getBondedDevices() method in AdapterProperties
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java147 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in initialize()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java391 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java108 doReturn(bondedDevices).when(mAdapterService).getBondedDevices(); in setUp()
301 doReturn(bondedDevices).when(mAdapterService).getBondedDevices(); in testRemoveUnusedMetadata_WithMultiBondedDevices()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java118 }).when(mAdapterService).getBondedDevices(); in setUp()
604 }).when(mAdapterService).getBondedDevices(); in testConnectAudio_firstConnectedAudioDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java209 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates()
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java448 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in sync()
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
DLeAudioService.java321 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java418 final Set<BluetoothDevice> bondedDevices = mBtAdapter.getBondedDevices(); in updateAccessoryPref()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java404 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates()

12