/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/ |
D | PairingTest.java | 192 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorks() 197 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorks() 210 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorks() 244 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice)); in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected() 254 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected() 259 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected() 272 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected() 326 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testCancelBondLe_WithGattServiceDiscovery() 376 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in testBondLe_WithGattServiceDiscovery() 443 hasExtra(BluetoothDevice.EXTRA_DEVICE, mBumbleDevice), in helper_OutgoingGattServiceDiscoveryWithIncomingLePairing() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/ |
D | UsbStylusBroadcastReceiverTest.java | 64 intent.putExtra(UsbManager.EXTRA_DEVICE, usbDevice); in onReceive_usbDeviceAttachedStylus_invokeCallback() 78 intent.putExtra(UsbManager.EXTRA_DEVICE, usbDevice); in onReceive_usbDeviceDetachedStylus_invokeCallback() 92 intent.putExtra(UsbManager.EXTRA_DEVICE, usbDevice); in onReceive_usbDeviceAttachedNotStylus_doesNotInvokeCallback() 106 intent.putExtra(UsbManager.EXTRA_DEVICE, usbDevice); in onReceive_usbDeviceStateStylus_invokeCallback() 120 intent.putExtra(UsbManager.EXTRA_DEVICE, usbDevice); in onReceive_usbDeviceStateNotStylus_doesNotInvokeCallback()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | ConfirmConnectActivity.java | 44 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate() 56 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onCreate() 67 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onCreate() 87 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingService.java | 65 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getPairingDialogIntent() 70 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent() 131 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand() 176 pairingDialogIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in createPairingNotification() 193 serviceIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in createPairingNotification() 199 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in createPairingNotification()
|
D | BluetoothPermissionRequest.java | 76 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() 110 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive() 136 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive() 298 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
|
D | BluetoothPairingDialog.java | 58 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 72 if (intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE) == null) { in onCreate()
|
D | BluetoothPermissionActivity.java | 72 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 97 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate() 233 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/ |
D | ConnectedDeviceVoiceRecognitionNotifierTest.java | 99 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_started_showToast() 114 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidExtra_noToast() 125 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_noExtra_noToast() 136 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidIntent_noToast()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetTestUtils.java | 43 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyAudioStateBroadcast() 66 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateBroadcast() 99 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyActiveDeviceChangedBroadcast()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingService.java | 55 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getPairingDialogIntent() 60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent() 134 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand() 144 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothPairingServiceTest.java | 90 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in receivePairingRequestAction_notificationShown() 103 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in receiveDismissPairingAction_cancelPairing() 117 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in receivePairingDialogAction_startActivity()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothConnectionRetryManagerTest.java | 123 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendBondStateChanged() 131 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendConnectionStateChanged() 139 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendSuccessfulConnection() 148 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendFailedConnectionMethod1() 157 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendFailedConnectionMethod2()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothPairingRequest.java | 40 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() 45 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onReceive()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppHandoverReceiverTest.java | 85 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onReceive_withActionHandoverSend_startTransfer() 117 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onReceive_withActionHandoverSendMultiple_startTransfer() 143 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onReceive_withActionStopHandover_triggerContentResolverDelete()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppHandoverReceiver.java | 43 (BluetoothDevice) intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() 85 (BluetoothDevice) intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapServiceTest.java | 181 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice); in broadcastReceiver_onReceive_withActionConnectionAccessReply() 195 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in broadcastReceiver_onReceive_withActionAuthResponse() 212 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in broadcastReceiver_onReceive_withActionAuthCancelled()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 198 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bluetoothDevice); in reset() 517 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in setAlias() 696 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendUuidIntent() 801 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendBatteryLevelChangedBroadcast() 891 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback() 922 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback() 1031 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in deviceFoundCallback() 1245 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device) in aclStateChangeCallback() 1278 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendPairingCancelIntent() 1347 .putExtra(BluetoothDevice.EXTRA_DEVICE, bluetoothDevice) in keyMissingCallback()
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | UsbAoapHostActivity.java | 76 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate() 155 UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 108 static final String EXTRA_DEVICE = "com.android.bluetooth.pbap.device"; field in BluetoothPbapService 223 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent() 260 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent() 270 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent() 518 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, stateMachine.getRemoteDevice()); in handleMessage() 968 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in checkOrGetPhonebookPermission()
|
D | BluetoothPbapActivity.java | 101 mDevice = i.getParcelableExtra(BluetoothPbapService.EXTRA_DEVICE); in onCreate() 197 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mDevice); in sendIntentToReceiver()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/ |
D | CarBatteryController.java | 121 (BluetoothDevice) intent.getExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() 145 (BluetoothDevice) intent.getExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothStateReceiver.java | 106 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE, BluetoothDevice.class); in handleAudioStateChanged() 169 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE, BluetoothDevice.class); in handleConnectionStateChanged() 217 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE, BluetoothDevice.class); in handleActiveDeviceChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorServiceTest.java | 492 Assert.assertEquals(mTestDevice, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in testStackEventDeviceAvailable() 555 Assert.assertEquals(mTestDevice2, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in testStackEventSetMemberAvailableAfterGroupConnected() 601 Assert.assertEquals(mTestDevice2, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in testStackEventSetMemberAvailableBeforeGroupConnected() 692 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateIntent() 725 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 398 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendNetworkStateChangedIntent() 1645 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1667 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1681 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1695 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1707 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1803 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1814 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage() 1854 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastVoiceRecognitionStateChanged() 2139 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastAudioState() [all …]
|
/packages/services/Mtp/src/com/android/mtp/ |
D | UsbIntentReceiver.java | 31 final UsbDevice device = intent.getExtras().getParcelable(UsbManager.EXTRA_DEVICE); in onReceive()
|