Searched refs:getBondState (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManager.java51 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE;
121 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) {
158 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) {
H A DBluetoothDeviceFilter.java87 return device.getBondState() == BluetoothDevice.BOND_BONDED;
94 return device.getBondState() != BluetoothDevice.BOND_BONDED;
H A DCachedBluetoothDevice.java282 if (getBondState() == BluetoothDevice.BOND_NONE) {
312 int state = getBondState();
428 public int getBondState() { method in class:CachedBluetoothDevice
429 return mDevice.getBondState();
469 return getBondState() == BluetoothDevice.BOND_BONDING;
643 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) -
644 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0);
798 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return;
874 return getBondState() == BluetoothDevice.BOND_BONDING ? R.string.bluetooth_pairing : 0;
H A DBluetoothEventManager.java370 if (device != null && device.getBondState() == BluetoothDevice.BOND_NONE) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothController.java41 int getBondState(CachedBluetoothDevice device); method in interface:BluetoothController
H A DBluetoothControllerImpl.java113 return device.getName() + " " + device.getBondState() + " " + device.isConnected();
117 public int getBondState(CachedBluetoothDevice device) { method in class:BluetoothControllerImpl
297 mBondState = mDevice.get().getBondState();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java92 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device));
100 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED);
108 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device));
113 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeBluetoothController.java93 public int getBondState(CachedBluetoothDevice device) { method in class:FakeBluetoothController
/frameworks/base/core/java/android/bluetooth/
H A DIBluetooth.aidl65 int getBondState(in BluetoothDevice device);
H A DBluetoothDevice.java1033 public int getBondState() { method in class:BluetoothDevice
1039 return sService.getBondState(this);
1044 Log.e(TAG, "NullPointerException for getBondState() of device ("+
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java774 int state = device.getBondState();
796 state = device.getBondState();
836 int state = device.getBondState();
858 if (device.getBondState() == BluetoothDevice.BOND_NONE
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java262 if (mController.getBondState(device) == BluetoothDevice.BOND_NONE) continue;

Completed in 162 milliseconds