Home
last modified time | relevance | path

Searched refs:EXTRA_DEVICE (Results 1 – 25 of 119) sorted by relevance

12345

/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/
DPairingTest.java192 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/
DUsbStylusBroadcastReceiverTest.java64 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/
DConfirmConnectActivity.java44 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/
DBluetoothPairingService.java65 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()
DBluetoothPermissionRequest.java76 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()
DBluetoothPairingDialog.java58 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
72 if (intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE) == null) { in onCreate()
DBluetoothPermissionActivity.java72 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/
DConnectedDeviceVoiceRecognitionNotifierTest.java99 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/
DHeadsetTestUtils.java43 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/
DBluetoothPairingService.java55 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/
DBluetoothPairingServiceTest.java90 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/
DBluetoothConnectionRetryManagerTest.java123 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/
DBluetoothPairingRequest.java40 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/
DBluetoothOppHandoverReceiverTest.java85 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/
DBluetoothOppHandoverReceiver.java43 (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/
DBluetoothPbapServiceTest.java181 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/
DRemoteDevices.java198 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/
DUsbAoapHostActivity.java76 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/
DBluetoothPbapService.java108 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()
DBluetoothPbapActivity.java101 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/
DCarBatteryController.java121 (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/
DBluetoothStateReceiver.java106 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/
DCsipSetCoordinatorServiceTest.java492 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/
DHeadsetClientStateMachine.java398 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/
DUsbIntentReceiver.java31 final UsbDevice device = intent.getExtras().getParcelable(UsbManager.EXTRA_DEVICE); in onReceive()

12345