/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 258 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 259 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 265 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 266 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 272 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 273 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 285 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_nonBondedSubDevice() 286 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_nonBondedSubDevice() 302 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairMainDevice() 319 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairSubDevice() [all …]
|
D | BluetoothEventManagerTest.java | 232 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 233 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 298 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 299 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
|
D | CachedBluetoothDeviceTest.java | 94 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testProfilesInactive_returnPairing() 468 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testMultipleProfilesInactive_returnPairing() 480 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 498 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 57 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE; in onDeviceDisappeared() 182 -> cachedDevice.getBondState() == BluetoothDevice.BOND_NONE); in clearNonBondedDevices() 190 && subDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices() 219 if (subDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged() 223 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()
|
D | CachedBluetoothDevice.java | 354 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired() 376 int state = getBondState(); in unpair() 516 public int getBondState() { in getBondState() method in CachedBluetoothDevice 517 return mDevice.getBondState(); in getBondState() 619 return getBondState() == BluetoothDevice.BOND_BONDING; in isBusy() 782 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo() 783 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo() 851 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess() 993 || getBondState() == BluetoothDevice.BOND_BONDING) { in getConnectionSummary() 1123 return getBondState() == BluetoothDevice.BOND_BONDING ? in getCarConnectionSummary()
|
D | BluetoothDeviceFilter.java | 89 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches() 96 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
|
D | BluetoothEventManager.java | 303 } else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 101 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testDefaultConnectionState() 109 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in testAsyncBondState() 114 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState() 118 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 60 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue() 68 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()
|
D | MediaDeviceTest.java | 135 when(mCachedDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 137 when(mCachedDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 139 when(mCachedDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()
|
D | LocalMediaManagerTest.java | 578 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice() 676 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothController.java | 44 int getBondState(CachedBluetoothDevice device); in getBondState() method
|
D | BluetoothControllerImpl.java | 134 return device.getName() + " " + device.getBondState() + " " + device.isConnected(); in getDeviceString() 138 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in BluetoothControllerImpl 422 mBondState = device.getBondState(); in run()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeBluetoothController.java | 105 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in FakeBluetoothController
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaDevice.java | 108 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()
|
D | LocalMediaManager.java | 501 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in buildDisconnectedBluetoothDevice()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 778 int state = device.getBondState(); in pairOrAcceptPair() 800 state = device.getBondState(); in pairOrAcceptPair() 840 int state = device.getBondState(); in unpair() 862 if (device.getBondState() == BluetoothDevice.BOND_NONE in unpair()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDevice.java | 1314 return sService.getBondState(query); 1341 public int getBondState() { in getBondState() method in BluetoothDevice
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BluetoothTile.java | 384 if (mController.getBondState(device) == BluetoothDevice.BOND_NONE) continue; in updateItems()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/config/ |
D | boot-image-profile.txt | 4416 HSPLandroid/bluetooth/BluetoothDevice;->getBondState()I 4523 HSPLandroid/bluetooth/IBluetooth$Stub$Proxy;->getBondState(Landroid/bluetooth/BluetoothDevice;)I
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 6200 method public int getBondState();
|
/frameworks/base/api/ |
D | current.txt | 8670 method @RequiresPermission(android.Manifest.permission.BLUETOOTH) public int getBondState();
|