/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePairingDetailBase.java | 93 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 94 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 98 } else if (bondState == BluetoothDevice.BOND_BONDING) { in onDeviceBondStateChanged() 109 && bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChanged()
|
D | BluetoothPairingDialog.java | 51 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 53 if (bondState == BluetoothDevice.BOND_BONDED || 54 bondState == BluetoothDevice.BOND_NONE) {
|
D | BluetoothPairingService.java | 91 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 93 Log.d(TAG, "onReceive() Bond state change : " + bondState + ", device name : " 95 … if ((bondState != BluetoothDevice.BOND_NONE) && (bondState != BluetoothDevice.BOND_BONDED)) {
|
D | DevicePickerFragment.java | 160 int bondState) { in onDeviceBondStateChanged() argument 165 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 168 } else if (bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChanged()
|
D | BluetoothDevicePreference.java | 371 int bondState = mCachedDevice.getBondState(); in onClicked() local 380 } else if (bondState == BluetoothDevice.BOND_BONDED) { in onClicked() 384 } else if (bondState == BluetoothDevice.BOND_NONE) { in onClicked()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingService.java | 79 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 81 if ((bondState != BluetoothDevice.BOND_NONE) && (bondState 90 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 93 + mDevice.getName() + "), BondState: " + bondState);
|
D | BluetoothPairingDialog.java | 51 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 53 if (bondState == BluetoothDevice.BOND_BONDED || 54 bondState == BluetoothDevice.BOND_NONE) {
|
D | BluetoothDevicePickerPreferenceController.java | 139 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 140 super.onDeviceBondStateChanged(cachedDevice, bondState); in onDeviceBondStateChanged() 141 if (bondState == BluetoothDevice.BOND_BONDED && cachedDevice.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
|
D | BluetoothScanningDevicesGroupPreferenceController.java | 166 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 167 LOG.d("onDeviceBondStateChanged device: " + cachedDevice + " state: " + bondState); in onDeviceBondStateChanged() 168 if (bondState == BluetoothDevice.BOND_NONE && isStarted()) { in onDeviceBondStateChanged()
|
D | BluetoothPairingSelectionFragment.java | 52 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { 53 if (bondState == BluetoothDevice.BOND_BONDED) {
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryService.java | 261 int bondState = mAdapterService.getBondState(device); in canConnect() local 264 if (bondState != BluetoothDevice.BOND_BONDED) { in canConnect() 265 Log.w(TAG, "canConnect: return false, bondState=" + bondState); in canConnect() 294 int bondState = mAdapterService.getBondState(device); in handleConnectionStateChanged() local 295 if (bondState == BluetoothDevice.BOND_NONE) { in handleConnectionStateChanged() 443 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 444 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 446 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Security.kt | 175 val bondState = waitBondIntent(bluetoothDevice) in <lambda>() constant 178 LEVEL1 -> !isEncrypted || bondState == BOND_BONDED in <lambda>() 179 LEVEL2 -> isEncrypted && bondState == BOND_BONDED in <lambda>() 195 val bondState = waitBondIntent(bluetoothDevice) in <lambda>() constant 199 LE_LEVEL3 -> isEncrypted && bondState == BOND_BONDED in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | HearingDevicePairingFragment.java | 193 int bondState) { in onDeviceBondStateChanged() argument 196 + bondState); in onDeviceBondStateChanged() 198 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 203 } else if (bondState == BluetoothDevice.BOND_BONDING) { in onDeviceBondStateChanged() 213 if (mSelectedDevice.equals(device) && bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChanged()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 381 int bondState = mAdapterService.getBondState(device); in okToConnect() local 384 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 385 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 840 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 841 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 843 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 920 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 921 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorService.java | 333 int bondState = mAdapterService.getBondState(device); in okToConnect() local 336 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 337 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 941 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 942 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 943 if (bondState == BluetoothDevice.BOND_BONDING in bondStateChanged() 949 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 1014 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 1015 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 244 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 251 bondState); 254 if (bondState == BluetoothDevice.BOND_NONE && 260 } else if (bondState == BluetoothDevice.BOND_BONDED) {
|
D | BluetoothPairingDialog.java | 91 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 93 if (bondState == BluetoothDevice.BOND_BONDED || 94 bondState == BluetoothDevice.BOND_NONE) {
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 220 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 221 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 224 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 383 int bondState = mAdapterService.getBondState(device); in okToConnect() local 386 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 387 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 414 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 415 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 163 BluetoothDevice device, int bondState, int priority, boolean expected) { in testOkToConnectCase() argument 164 doReturn(bondState).when(mAdapterService).getBondState(device); in testOkToConnectCase()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/ |
D | VolumeControlService.java | 430 int bondState = mAdapterService.getBondState(device); in okToConnect() local 433 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 434 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 1300 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 1301 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 1303 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 1362 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 1363 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceTest.java | 277 BluetoothDevice device, int bondState, int policy, boolean expected) { in testCanConnectCase() argument 278 doReturn(bondState).when(mAdapterService).getBondState(device); in testCanConnectCase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragmentTest.kt | 224 whenever(mockBluetoothDevice.bondState).thenReturn(BluetoothDevice.BOND_NONE) in <lambda>() 238 whenever(mockBluetoothDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | PairedBluetoothDevicesWorker.java | 73 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 400 int bondState = mAdapterService.getBondState(device); in okToConnect() local 403 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 404 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 1193 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 1194 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 1196 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothConnectionRetryManager.java | 87 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local 90 mFirstConnectionTracker.handleDeviceBondStateChange(device, bondState); in onReceive()
|