/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 283 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 284 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 290 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 291 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 297 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 298 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 310 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_nonBondedSubDevice() 311 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_nonBondedSubDevice() 327 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairHearingAidMainDevice() 344 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairSubDevice() [all …]
|
D | BluetoothEventManagerTest.java | 245 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 246 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged() 314 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() 315 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() 316 when(mDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged() 348 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid() 349 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
|
D | CachedBluetoothDeviceTest.java | 108 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testProfilesInactive_returnPairing() 502 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testMultipleProfilesInactive_returnPairing() 514 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 532 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 1004 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onUuidChanged_bluetoothClassIsNull_shouldNotCrash()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 64 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE; in onDeviceDisappeared() 228 -> cachedDevice.getBondState() == BluetoothDevice.BOND_NONE); in clearNonBondedDevices() 239 if (memberDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices() 247 && subDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices() 284 if (memberDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged() 291 if (subDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged() 296 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged() 361 int bondState = device.getBondState(); in shouldPairByCsip()
|
D | BluetoothDeviceFilter.java | 90 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches() 97 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
|
D | CachedBluetoothDevice.java | 464 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired() 486 int state = getBondState(); in unpair() 660 public int getBondState() { in getBondState() method in CachedBluetoothDevice 661 return mDevice.getBondState(); in getBondState() 775 return getBondState() == BluetoothDevice.BOND_BONDING; in isBusy() 954 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo() 955 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo() 1023 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess() 1189 || getBondState() == BluetoothDevice.BOND_BONDING) { in getConnectionSummary() 1349 if (getBondState() == BluetoothDevice.BOND_BONDING) { in getCarConnectionSummary()
|
D | BluetoothEventManager.java | 329 } else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 111 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testDefaultConnectionState() 119 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in testAsyncBondState() 124 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState() 128 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 62 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue() 70 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()
|
D | MediaDeviceTest.java | 147 when(mCachedDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 149 when(mCachedDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 151 when(mCachedDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()
|
D | LocalMediaManagerTest.java | 583 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothController.java | 44 int getBondState(CachedBluetoothDevice device); in getBondState() method
|
D | BluetoothControllerImpl.java | 150 + " bondState=" + device.getBondState() in getDeviceString() 159 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in BluetoothControllerImpl 456 mBondState = device.getBondState(); in run()
|
/frameworks/base/packages/SystemUI/tests/utils/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 | 115 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()
|
D | LocalMediaManager.java | 620 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in buildDisconnectedBluetoothDevice() 648 && cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isBondedMediaDevice()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 6200 method public int getBondState();
|