Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterPropertiesTest.java119 assertThat(mAdapterProperties.getBondedDevices().length).isEqualTo(1); in testCleanupPrevBondRecordsFor()
120 assertThat(mAdapterProperties.getBondedDevices()[0].getAddress()) in testCleanupPrevBondRecordsFor()
DPhonePolicyTest.java884 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect()
931 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testConnectOtherProfileWhileDeviceIsDisconnected()
1249 when(mAdapterService.getBondedDevices()).thenReturn(testDevices); in testAutoConnectMultipleDevices()
1339 when(mAdapterService.getBondedDevices()).thenReturn(testDevices); in testSetConnectionPolicyMultipleDevices()
1448 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testNoReconnectOnNoConnect()
1488 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testNoReconnectOnNoConnect_MultiDevice()
1545 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect_MultiDevice()
DCompanionManagerTest.java98 doReturn(devices).when(mAdapterService).getBondedDevices(); in testLoadCompanionInfo_noCompanionDeviceSetButHaveBondedDevices_shouldNotCrash()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DBluetoothPreference.java57 .getBondedDevices() in BluetoothPreference()
/packages/apps/Car/VoiceControl/src/com/android/car/
DTelecomUtils.java71 mBluetoothAdapter == null ? null : mBluetoothAdapter.getBondedDevices(); in getMatchingDevice()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUnbondedDevicesPreferenceController.java93 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in matches()
DBluetoothBondedDevicesPreferenceController.java339 .getBondedDevices(); in matches()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdater.java95 final Set<BluetoothDevice> devices = mBluetoothAdapter.getBondedDevices(); in getConnectedDeviceSummary()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java296 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasNoAccessory()
313 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasAccessories()
/packages/modules/Bluetooth/android/pandora/server/src/
DSecurityStorage.kt69 val bondedDevices = bluetoothAdapter.getBondedDevices() in isBonded()
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/
DPairingTest.java148 Set<BluetoothDevice> bondedDevices = sAdapter.getBondedDevices(); in setUp()
156 Set<BluetoothDevice> bondedDevices = sAdapter.getBondedDevices(); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java101 when(mAdapterService.getBondedDevices()).thenReturn(new BluetoothDevice[] {mRemoteDevice}); in getDevicesMatchingConnectionStates_whenNoDeviceIsConnected_returnsEmptyList()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothDeviceFragment.java99 Set<BluetoothDevice> bondedDevices = bluetoothAdapter.getBondedDevices(); in checkAllDevices()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java145 when(mLocalBluetoothAdapter.getBondedDevices()).thenReturn(Set.of(mBondedDevice)); in setUp()
187 when(mLocalBluetoothAdapter.getBondedDevices()).thenReturn(Set.of()); in onDeviceBondStateChanged_refreshesUi()
DBluetoothUnbondedDevicesPreferenceControllerTest.java129 when(mBluetoothAdapter.getBondedDevices()).thenReturn(Collections.singleton(bondedDevice)); in setUp()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java268 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in hasConnectedBluetoothDevices()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoriesFragment.java83 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in updateAccessories()
DBluetoothDevicesService.java295 return new ArrayList<>(btAdapter.getBondedDevices()); in getDevices()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DDistanceMeasurementInitiator.java87 Set<BluetoothDevice> bonded_devices = mBluetoothAdapter.getBondedDevices(); in updatePairedDevice()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryServiceTest.java255 when(mAdapterService.getBondedDevices()).thenReturn(new BluetoothDevice[] {mDevice}); in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DCompanionManager.java225 for (BluetoothDevice device : mAdapter.getBondedDevices()) { in loadCompanionInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java117 .getBondedDevices(); in getQCItem()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java409 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java148 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in initialize()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java99 doReturn(bondedDevices).when(mAdapterService).getBondedDevices(); in setUp()

123