/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 | BluetoothPairingDialog.java | 51 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 53 if (bondState == BluetoothDevice.BOND_BONDED || 54 bondState == BluetoothDevice.BOND_NONE) {
|
D | BluetoothPairingDetail.java | 177 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 178 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 186 && bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChanged()
|
D | DevicePickerFragment.java | 158 int bondState) { in onDeviceBondStateChanged() argument 163 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChanged() 166 } 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()
|
D | BluetoothDeviceUpdater.java | 166 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
|
/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 | 126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 127 super.onDeviceBondStateChanged(cachedDevice, bondState); in onDeviceBondStateChanged() 128 if (bondState == BluetoothDevice.BOND_BONDED && cachedDevice.equals(mSelectedDevice)) { in onDeviceBondStateChanged()
|
D | BluetoothPairingSelectionFragment.java | 43 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { 44 if (bondState == BluetoothDevice.BOND_BONDED) {
|
D | BluetoothScanningDevicesGroupPreferenceController.java | 134 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 135 LOG.d("onDeviceBondStateChanged device: " + cachedDevice + " state: " + bondState); in onDeviceBondStateChanged()
|
D | BluetoothPreferenceController.java | 126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
|
D | BluetoothBondedDevicesPreferenceController.java | 98 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 518 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 520 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 523 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 592 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 593 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged() 630 int bondState = mAdapterService.getBondState(device); in okToConnect() local 633 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 634 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 384 int bondState = mAdapterService.getBondState(device); in okToConnect() local 387 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 388 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 750 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 752 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 755 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged() 827 int bondState = mAdapterService.getBondState(device); in connectionStateChanged() local 828 if (bondState == BluetoothDevice.BOND_NONE) { in connectionStateChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 224 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 231 bondState); 234 if (bondState == BluetoothDevice.BOND_NONE && 240 } else if (bondState == BluetoothDevice.BOND_BONDED) {
|
D | BluetoothPairingDialog.java | 86 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, 88 if (bondState == BluetoothDevice.BOND_BONDED || 89 bondState == BluetoothDevice.BOND_NONE) {
|
D | BluetoothAccessoryFragment.java | 381 final int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local 383 if (bondState == BluetoothDevice.BOND_NONE && Objects.equals(mDevice, device)) { in onReceive()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 144 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, in testOkToConnectCase() argument 146 doReturn(bondState).when(mAdapterService).getBondState(device); in testOkToConnectCase()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 377 int bondState = mAdapterService.getBondState(device); in okToConnect() local 380 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 381 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect() 1068 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 1070 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 1073 if (bondState != BluetoothDevice.BOND_NONE) { in bondStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 906 int bondState = adapterService.getBondState(device); in okToConnect() local 909 if (bondState != BluetoothDevice.BOND_BONDED) { in okToConnect() 910 Log.w(TAG, "okToConnect: return false, bondState=" + bondState); in okToConnect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragmentTest.java | 187 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {} in onDeviceBondStateChanged() argument
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 234 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, in testOkToConnectCase() argument 236 doReturn(bondState).when(mAdapterService).getBondState(device); in testOkToConnectCase()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 1832 int bondState = mAdapterService.getBondState(device); in okToAcceptConnection() local 1835 if (bondState != BluetoothDevice.BOND_BONDED) { in okToAcceptConnection() 1836 Log.w(TAG, "okToAcceptConnection: return false, bondState=" + bondState); in okToAcceptConnection()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 998 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, in testOkToConnectCase() argument 1000 doReturn(bondState).when(mAdapterService).getBondState(device); in testOkToConnectCase()
|