Home
last modified time | relevance | path

Searched refs:getBondState (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java92 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testDefaultConnectionState()
100 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in testAsyncBondState()
108 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
113 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java51 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE; in onDeviceDisappeared()
121 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in clearNonBondedDevices()
158 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()
DCachedBluetoothDevice.java282 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired()
312 int state = getBondState(); in unpair()
428 public int getBondState() { in getBondState() method in CachedBluetoothDevice
429 return mDevice.getBondState(); in getBondState()
469 return getBondState() == BluetoothDevice.BOND_BONDING; in isBusy()
643 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
644 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo()
798 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess()
874 return getBondState() == BluetoothDevice.BOND_BONDING ? R.string.bluetooth_pairing : 0; in getConnectionSummary()
DBluetoothDeviceFilter.java87 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches()
94 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
DBluetoothEventManager.java370 if (device != null && device.getBondState() == BluetoothDevice.BOND_NONE) { in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothController.java41 int getBondState(CachedBluetoothDevice device); in getBondState() method
DBluetoothControllerImpl.java113 return device.getName() + " " + device.getBondState() + " " + device.isConnected(); in getDeviceString()
117 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in BluetoothControllerImpl
297 mBondState = mDevice.get().getBondState(); in run()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeBluetoothController.java93 public int getBondState(CachedBluetoothDevice device) { in getBondState() method in FakeBluetoothController
/frameworks/base/core/java/android/bluetooth/
DIBluetooth.aidl65 int getBondState(in BluetoothDevice device); in getBondState() method
DBluetoothDevice.java1033 public int getBondState() { in getBondState() method in BluetoothDevice
1039 return sService.getBondState(this); in getBondState()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java774 int state = device.getBondState(); in pairOrAcceptPair()
796 state = device.getBondState(); in pairOrAcceptPair()
836 int state = device.getBondState(); in unpair()
858 if (device.getBondState() == BluetoothDevice.BOND_NONE in unpair()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java262 if (mController.getBondState(device) == BluetoothDevice.BOND_NONE) continue; in updateItems()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6200 method public int getBondState();
/frameworks/base/api/
Dcurrent.txt7586 method public int getBondState();
Dsystem-current.txt8063 method public int getBondState();