Home
last modified time | relevance | path

Searched refs:BOND_BONDED (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java242 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
249 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
269 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); 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()
379 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onDeviceDisappeared_deviceBondedUnbonded_unbondedDeviceDisappeared()
396 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
397 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
459 when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onActiveDeviceChanged_withA2dpAndHearingAid()
460 when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onActiveDeviceChanged_withA2dpAndHearingAid()
DCachedBluetoothDeviceTest.java477 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/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java73 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceConnected_returnTrue()
81 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isCachedBluetoothDeviceConnected_deviceNotConnected_returnFalse()
DBluetoothMediaManagerTest.java98 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()
143 when(cachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice()
327 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onProfileConnectionStateChanged_cachedDeviceIsBonded_callDeviceAttributesChanged()
363 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in onAclConnectionStateChanged_cachedDeviceIsBonded_callDeviceAttributesChanged()
DMediaDeviceTest.java117 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/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java89 return device.getBondState() == BluetoothDevice.BOND_BONDED; in matches()
96 return device.getBondState() != BluetoothDevice.BOND_BONDED; in matches()
DCachedBluetoothDeviceManager.java217 if (subDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()
221 if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in onBluetoothStateChanged()
DCachedBluetoothDevice.java635 if (bondState == BluetoothDevice.BOND_BONDED && mDevice.isBondingInitiatedLocally()) { in onBondingStateChanged()
710 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
711 (getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0); in compareTo()
779 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) return; in processPhonebookAccess()
DBluetoothEventManager.java297 } else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaDevice.java105 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()
DBluetoothMediaManager.java114 && BluetoothDevice.BOND_BONDED == cachedDevice.getBondState()) { in addConnectableA2dpDevices()
150 && BluetoothDevice.BOND_BONDED == cachedDevice.getBondState()) { in addConnectableHearingAidDevices()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java109 when(device.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in testAsyncBondState()
122 assertEquals(BluetoothDevice.BOND_BONDED, mBluetoothControllerImpl.getBondState(device)); in testAsyncBondState()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java203 case BluetoothDevice.BOND_BONDED: in onReceive()
835 case BluetoothDevice.BOND_BONDED: in pairOrAcceptPair()
846 if (state == BluetoothDevice.BOND_BONDED && (receiver.getFiredFlags() & mask) == mask) { in pairOrAcceptPair()
864 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); in pairOrAcceptPair()
895 case BluetoothDevice.BOND_BONDED: in unpair()
925 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); in unpair()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java385 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChangedInternal()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java302 public static final int BOND_BONDED = 12; field in BluetoothDevice
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6216 field public static final int BOND_BONDED = 12; // 0xc
/frameworks/base/non-updatable-api/
Dcurrent.txt8382 field public static final int BOND_BONDED = 12; // 0xc
/frameworks/base/api/
Dcurrent.txt8382 field public static final int BOND_BONDED = 12; // 0xc