Home
last modified time | relevance | path

Searched refs:BOND_NONE (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java58 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()
DCachedBluetoothDevice.java292 if (getBondState() == BluetoothDevice.BOND_NONE) { in ensurePaired()
320 if (state != BluetoothDevice.BOND_NONE) { in unpair()
636 if (bondState == BluetoothDevice.BOND_NONE) { in onBondingStateChanged()
DBluetoothEventManager.java375 if (bondState == BluetoothDevice.BOND_NONE) { in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java250 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()
270 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in clearNonBondedDevices_nonBondedSubDevice()
382 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in onDeviceDisappeared_deviceBondedUnbonded_unbondedDeviceDisappeared()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java100 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testDefaultConnectionState()
116 assertEquals(BluetoothDevice.BOND_NONE, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java115 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()
345 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in onProfileConnectionStateChanged_cachedDeviceIsBondNone_callOnDeviceRemoved()
381 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_NONE); in onAclConnectionStateChanged_cachedDeviceIsBondNone_callOnDeviceRemoved()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java278 public static final int BOND_NONE = 10; field in BluetoothDevice
1340 return BOND_NONE; in getBondState()
1347 return BOND_NONE; in getBondState()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java193 case BluetoothDevice.BOND_NONE: in onReceive()
782 case BluetoothDevice.BOND_NONE: in pairOrAcceptPair()
844 case BluetoothDevice.BOND_NONE: in unpair()
864 if (device.getBondState() == BluetoothDevice.BOND_NONE in unpair()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaManager.java264 if (BluetoothDevice.BOND_NONE == cachedDevice.getBondState()) { in updateMediaDeviceListIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java331 private int mBondState = BluetoothDevice.BOND_NONE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java386 if (mController.getBondState(device) == BluetoothDevice.BOND_NONE) continue; in updateItems()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java389 } else if (bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChangedInternal()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6218 field public static final int BOND_NONE = 10; // 0xa
/frameworks/base/api/
Dcurrent.txt8379 field public static final int BOND_NONE = 10; // 0xa