Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java270 if (dev.getBondState() == BluetoothDevice.BOND_BONDING) { in cancelBond()
282 if (dev.getBondState() == BluetoothDevice.BOND_BONDED) { in removeBond()
297 if (dev.getBondState() == BluetoothDevice.BOND_NONE) { in createBond()
334 oldState = devProp.getBondState(); in sendIntent()
DAdapterService.java1122 public int getBondState(BluetoothDevice device) { in getBondState() method in AdapterService.AdapterServiceBinder
1126 return service.getBondState(device); in getBondState()
1601 if (deviceProp != null && deviceProp.getBondState() != BluetoothDevice.BOND_NONE) { in createBond()
1890 if (deviceProp == null || deviceProp.getBondState() != BluetoothDevice.BOND_BONDED) { in removeBond()
1899 int getBondState(BluetoothDevice device) { in getBondState() method in AdapterService
1905 return deviceProp.getBondState(); in getBondState()
1972 (deviceProp.getBondState() != BluetoothDevice.BOND_BONDING && in setPin()
1973 deviceProp.getBondState() != BluetoothDevice.BOND_BONDED)) { in setPin()
1984 if (deviceProp == null || deviceProp.getBondState() != BluetoothDevice.BOND_BONDING) { in setPasskey()
1997 if (deviceProp == null || deviceProp.getBondState() != BluetoothDevice.BOND_BONDING) { in setPairingConfirmation()
DRemoteDevices.java209 int getBondState() { in getBondState() method in RemoteDevices.DeviceProperties
349 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in aclStateChangeCallback()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java90 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in BluetoothDevicePreference()
160 if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in onBindViewHolder()
208 int bondState = mCachedDevice.getBondState(); in onClicked()
DDevicePickerFragment.java117 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
DDeviceProfilesSettings.java153 if (mCachedDevice.getBondState() == BluetoothDevice.BOND_NONE) { in onResume()
DBluetoothSettings.java488 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) { in initDevicePreference()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java303 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in nextStepConnect()
310 if (mDevice.getBondState() != BluetoothDevice.BOND_NONE) { in nextStepConnect()
319 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in nextStepConnect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java163 if (mDevice != null && mDevice.getBondState() == BluetoothDevice.BOND_NONE) { in onStart()
222 int state = mDevice.getBondState(); in unpairDevice()
DBluetoothDevicePairer.java566 if (mTarget.getBondState() != BluetoothDevice.BOND_BONDED) { in startBonding()
626 int state = device.getBondState(); in unpairDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java419 " bondState=" + device.getBondState()); in processConnectionEvent()
449 " bondState=" + device.getBondState()); in processConnectionEvent()
670 device.getBondState()); in processConnectionEvent()
1070 device.getBondState()); in processConnectionEvent()
1504 " bondState=" + device.getBondState()); in processConnectionEvent()
1922 " bondState=" + device.getBondState()); in processConnectionEvent()
3332 (device.getBondState() != BluetoothDevice.BOND_NONE))){ in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java685 (device.getBondState() != BluetoothDevice.BOND_NONE))){ in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java662 (device.getBondState() == BluetoothDevice.BOND_NONE)) in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1404 " bondState=" + device.getBondState()); in processConnectionEvent()
2393 (device.getBondState() != BluetoothDevice.BOND_NONE))) { in okToConnect()