/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/ |
D | BluetoothAudioPairer.java | 186 int bondState = sTestMode ? BOND_NONE : mDevice.getBondState(); in unpair() local 189 "Unpair for state: " + bondState)) { in unpair() argument 192 if (bondState == BluetoothDevice.BOND_BONDED) { in unpair() 198 } else if (bondState == BluetoothDevice.BOND_BONDING) { in unpair() 207 if (bondState != BluetoothDevice.BOND_NONE) { in unpair() 208 throw new PairingException("returned false, state=%s", bondState); in unpair() 437 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, ERROR); in onReceiveDeviceIntent() local 439 handleBondStateChanged(bondState, reason); in onReceiveDeviceIntent() 687 private void handleBondStateChanged(int bondState, int reason) in handleBondStateChanged() argument 690 Log.i(TAG, "Bond state changed to " + bondState + ", reason=" + reason); in handleBondStateChanged() [all …]
|
D | BluetoothClassicPairer.java | 153 private void handleBondStateChanged(int bondState, int reason) { in handleBondStateChanged() argument 155 "BluetoothClassicPairer, bond state changed to " + bondState + ", reason=" in handleBondStateChanged() 157 switch (bondState) { in handleBondStateChanged()
|
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/ |
D | BluetoothController.kt | 183 val bondState = in getScanMode() constant 186 when (bondState) { in getScanMode() 195 bondState.bondStateToString() in getScanMode() 197 listener.onBondStateChanged(bondState) in getScanMode() 253 fun onBondStateChanged(bondState: Int) in onA2DPSinkProfileConnected()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
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)) { 103 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 106 mDevice.getName() + "), BondState: " + bondState);
|
D | BluetoothPairingDetail.java | 180 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 181 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 185 } else if (bondState == BluetoothDevice.BOND_BONDING) { in onDeviceBondStateChanged() 196 && 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 | 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 | 264 int bondState = mCachedDevice.getBondState(); in onClicked() local 273 } else if (bondState == BluetoothDevice.BOND_BONDED) { in onClicked() 277 } 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 | 279 int bondState = mAdapterService.getBondState(device); in canConnect() local 282 if (bondState != BluetoothDevice.BOND_BONDED) { in canConnect() 283 Log.w(TAG, "canConnect: return false, bondState=" + bondState); in canConnect() 309 int bondState = mAdapterService.getBondState(device); in handleConnectionStateChanged() local 310 if (bondState == BluetoothDevice.BOND_NONE) { in handleConnectionStateChanged() 481 void handleBondStateChanged(BluetoothDevice device, int bondState) { in handleBondStateChanged() argument 483 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in handleBondStateChanged() 486 if (bondState != BluetoothDevice.BOND_NONE) { in handleBondStateChanged()
|
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/ |
D | Security.kt | 110 val bondState = in <lambda>() constant 124 LE_LEVEL3 -> isEncrypted && bondState == BOND_BONDED in <lambda>() 131 LEVEL1 -> !isEncrypted || bondState == BOND_BONDED in <lambda>() 132 LEVEL2 -> isEncrypted && bondState == BOND_BONDED in <lambda>()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 416 int bondState = mAdapterService.getBondState(device); in okToConnect() local 419 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 420 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 821 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 823 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 826 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 899 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 900 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorService.java | 341 int bondState = mAdapterService.getBondState(device); in okToConnect() local 344 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 345 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 893 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 895 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 898 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 944 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 945 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 237 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 244 bondState); 247 if (bondState == BluetoothDevice.BOND_NONE && 253 } 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/vc/ |
D | VolumeControlService.java | 445 int bondState = mAdapterService.getBondState(device); in okToConnect() local 448 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 449 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 973 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 975 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 978 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 1022 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 1023 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/ |
D | BlueletImpl.java | 304 public void setBondState(String remoteAddress, int bondState, int failureReason) { in setBondState() argument 307 .putExtra(BluetoothDevice.EXTRA_BOND_STATE, bondState) in setBondState() 319 address, remoteAddress, getBondState(remoteAddress), bondState, in setBondState() 321 mRemoteAddressToBondState.put(remoteAddress, bondState); in setBondState()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 251 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 253 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 257 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 420 int bondState = mAdapterService.getBondState(device); in okToConnect() local 423 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 424 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 446 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 447 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 149 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, in testOkToConnectCase() argument 151 doReturn(bondState).when(mAdapterService).getBondState(device); in testOkToConnectCase()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientService.java | 629 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 630 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged() 638 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 639 log("Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 642 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 722 int bondState = mAdapterService.getBondState(device); in okToConnect() local 725 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 726 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 401 int bondState = mAdapterService.getBondState(device); in okToConnect() local 404 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 405 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 1114 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 1116 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 1119 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged()
|