/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 242 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 243 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 249 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 250 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 256 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 257 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 269 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_nonBondedSubDevice() 270 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_nonBondedSubDevice() 286 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairMainDevice() 303 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceUnpaired_unpairSubDevice() [all …]
|
D | CachedBluetoothDeviceTest.java | 91 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testProfilesInactive_returnPairing() 465 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in getConnectionSummary_testMultipleProfilesInactive_returnPairing() 477 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 495 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 58 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE; in onDeviceDisappeared() 180 -> cachedDevice.getBondState() == BluetoothDevice.BOND_NONE); in clearNonBondedDevices() 188 && subDevice.getDevice().getBondState() == BluetoothDevice.BOND_NONE) { in clearNonBondedSubDevices() 217 if (subDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged() 221 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()
|
D | CachedBluetoothDevice.java | 291 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired() 313 int state = getBondState(); in unpair() 451 public int getBondState() { in getBondState() method in CachedBluetoothDevice 452 return mDevice.getBondState(); in getBondState() 554 return getBondState() == BluetoothDevice.BOND_BONDING; in isBusy() 727 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo() 728 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo() 796 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess() 935 || getBondState() == BluetoothDevice.BOND_BONDING) { in getConnectionSummary() 1060 return getBondState() == BluetoothDevice.BOND_BONDING ? in getCarConnectionSummary()
|
D | BluetoothDeviceFilter.java | 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches() 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
|
D | BluetoothEventManager.java | 319 } else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in onReceive()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 73 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue() 81 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()
|
D | BluetoothMediaManagerTest.java | 98 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice() 115 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice() 143 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice() 327 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onProfileConnectionStateChanged_cachedDeviceIsBonded_callDeviceAttributesChanged() 345 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in onProfileConnectionStateChanged_cachedDeviceIsBondNone_callOnDeviceRemoved() 363 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onAclConnectionStateChanged_cachedDeviceIsBonded_callDeviceAttributesChanged() 381 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in onAclConnectionStateChanged_cachedDeviceIsBondNone_callOnDeviceRemoved()
|
D | MediaDeviceTest.java | 117 when(mCachedDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 119 when(mCachedDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 121 when(mCachedDevice3.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 100 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testDefaultConnectionState() 108 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in testAsyncBondState() 116 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState() 121 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothController.java | 42 int getBondState(CachedBluetoothDevice device); in getBondState() method
|
D | BluetoothControllerImpl.java | 129 return device.getName() + " " + device.getBondState() + " " + device.isConnected(); in getDeviceString() 133 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in BluetoothControllerImpl 343 mBondState = device.getBondState(); in run()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaManager.java | 114 && BluetoothDevice.BOND_BONDED == cachedDevice.getBondState()) { in addConnectableA2dpDevices() 150 && BluetoothDevice.BOND_BONDED == cachedDevice.getBondState()) { in addConnectableHearingAidDevices() 264 if (BluetoothDevice.BOND_NONE == cachedDevice.getBondState()) { in updateMediaDeviceListIfNecessary()
|
D | BluetoothMediaDevice.java | 105 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeBluetoothController.java | 95 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in FakeBluetoothController
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 780 int state = device.getBondState(); in pairOrAcceptPair() 802 state = device.getBondState(); in pairOrAcceptPair() 842 int state = device.getBondState(); in unpair() 864 if (device.getBondState() == BluetoothDevice.BOND_NONE in unpair()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDevice.java | 1336 public int getBondState() { in getBondState() method in BluetoothDevice 1343 return service.getBondState(this); in getBondState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BluetoothTile.java | 386 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/ ... |