Home
last modified time | relevance | path

Searched refs:bondState (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java80 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
82 … if ((bondState != BluetoothDevice.BOND_NONE) && (bondState != BluetoothDevice.BOND_BONDED)) {
90 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
93 mDevice.getName() + "), BondState: " + bondState);
DBluetoothPairingDialog.java48 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
50 if (bondState == BluetoothDevice.BOND_BONDED ||
51 bondState == BluetoothDevice.BOND_NONE) {
DBluetoothDevicePreference.java202 int bondState = mCachedDevice.getBondState(); in onClicked() local
211 } else if (bondState == BluetoothDevice.BOND_BONDED) { in onClicked()
215 } else if (bondState == BluetoothDevice.BOND_NONE) { in onClicked()
DDevicePickerFragment.java122 int bondState) { in onDeviceBondStateChanged() argument
123 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged()
DBluetoothSummaryUpdater.java84 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
DBluetoothSettings.java464 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java222 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
229 bondState);
232 if (bondState == BluetoothDevice.BOND_NONE &&
238 } else if (bondState == BluetoothDevice.BOND_BONDED) {
DBluetoothPairingDialog.java85 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
87 if (bondState == BluetoothDevice.BOND_BONDED ||
88 bondState == BluetoothDevice.BOND_NONE) {
DBluetoothAccessoryFragment.java366 final int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local
368 if (bondState == BluetoothDevice.BOND_NONE && Objects.equals(mDevice, device)) { in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceListAdapter.java281 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
436 int bondState = device.getBondState(); in onClick() local
441 } else if (bondState == BluetoothDevice.BOND_BONDED) { in onClick()
443 } else if (bondState == BluetoothDevice.BOND_NONE) { in onClick()
DBluetoothSettingsActivity.java167 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
/packages/services/Car/service/src/com/android/car/
DBluetoothDeviceConnectionPolicy.java250 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local
252 updateBondState(device, bondState); in onReceive()
734 private void updateBondState(BluetoothDevice device, int bondState) { in updateBondState() argument
740 Log.d(TAG, "BondState :" + bondState + " Device: " + device); in updateBondState()
744 if (bondState == BluetoothDevice.BOND_NONE) { in updateBondState()