Searched refs:getBondState (Results 1 – 20 of 20) sorted by relevance
285 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()286 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()292 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()293 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()299 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()300 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()312 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_nonBondedSubDevice()313 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_nonBondedSubDevice()329 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairHearingAidMainDevice()348 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairSubDevice()[all …]
339 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAvailableMediaBluetoothDevice_isConnectedLeAudioDevice_returnTrue()351 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedA2dpDevice_returnFalse()363 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAvailableMediaBluetoothDevice_isA2dp_isConnectedA2dpDevice_returnTrue()375 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAvailableMediaBluetoothDevice_isHeadset_isConnectedHfpDevice_returnTrue()386 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isConnectedBluetoothDevice_isConnectedLeAudioDevice_returnFalse()398 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isConnectedBluetoothDevice_isHeadset_isConnectedA2dpDevice_returnTrue()410 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isConnectedBluetoothDevice_isA2dp_isConnectedA2dpDevice_returnFalse()422 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isConnectedBluetoothDevice_isHeadset_isConnectedHfpDevice_returnFalse()434 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isConnectedBluetoothDevice_isNotConnected_returnFalse()560 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAvailableHearingDevice_isConnectedHearingAid_returnTure()
431 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()432 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()500 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged()501 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged()502 when(mDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged()534 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()535 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()587 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
117 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()118 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()119 when(mDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()
221 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testProfilesInactive_returnPairing()232 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getTvConnectionSummary_testProfilesInactive_returnPairing()1171 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testMultipleProfilesInactive_returnPairing()1188 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getTvConnectionSummary_testMultipleProfilesInactive_returnPairing()1200 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()1218 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getTvConnectionSummary_trueWirelessActiveDeviceWithBattery_returnBattery()1236 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()1255 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getTvConnectionSummary_trueWirelessDeviceWithBattery_returnBattery()1272 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getTvConnectionSummary_trueWirelessDeviceWithLowBattery()1845 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onUuidChanged_bluetoothClassIsNull_shouldNotCrash()
72 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE; in onDeviceDisappeared()271 .filter(cachedDevice -> cachedDevice.getBondState() == BluetoothDevice.BOND_NONE) in clearNonBondedDevices()287 if (memberDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices()295 && subDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices()333 if (memberDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()340 if (subDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()345 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()438 int bondState = device.getBondState(); in shouldPairByCsip()
90 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches()97 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
541 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired()563 int state = getBondState(); in unpair()784 public int getBondState() { in getBondState() method in CachedBluetoothDevice785 return mDevice.getBondState(); in getBondState()907 return getBondState() == BluetoothDevice.BOND_BONDING; in isBusy()1122 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()1123 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo()1191 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess()1489 && getBondState() != BluetoothDevice.BOND_BONDING) { in getConnectionSummary()1815 if (getBondState() == BluetoothDevice.BOND_BONDING) { in getCarConnectionSummary()
398 && device.getBondState() == BluetoothDevice.BOND_BONDED in isDeviceConnected()
356 } else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in onReceive()
717 return device.getBondState() == BluetoothDevice.BOND_BONDED && device.isConnected(); in isDeviceConnected()
98 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAnyPairedHearingDevice_hearingAidBonded_returnTrue()108 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAnyActiveHearingDevice_hearingAidActiveAndConnected_returnTrue()109 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isAnyActiveHearingDevice_hearingAidActiveAndConnected_returnTrue()
64 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue()72 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()
148 when(mCachedDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()150 when(mCachedDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()152 when(mCachedDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()
471 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()
74 && device.getBondState() != BluetoothDevice.BOND_NONE in isAnyPairedHearingDevice()
141 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()
604 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in buildDisconnectedBluetoothDevice()631 && cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isBondedMediaDevice()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
6200 method public int getBondState();