Home
last modified time | relevance | path

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

12345

/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()
134 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
179 pairingDialogIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in createPairingNotification()
195 serviceIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in createPairingNotification()
201 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in createPairingNotification()
DBluetoothPermissionRequest.java75 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
109 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
130 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
294 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
DBluetoothPermissionActivity.java66 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
91 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
222 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()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java314 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpConnected()
325 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpDisconnected()
336 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpActiveDeviceChanged()
345 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetConnected()
356 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetDisconnected()
367 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetActiveDeviceChanged()
376 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in hearingAidActiveDeviceChanged()
DSilenceDeviceManagerTest.java168 Assert.assertEquals(mTestDevice, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifySilenceStateIntent()
176 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpConnected()
188 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpDisconnected()
200 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetConnected()
212 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetDisconnected()
DPhonePolicyTest.java122 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in testProcessInitProfilePriorities()
202 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, connectionOrder.get(0)); in testDisconnectNoAutoConnect()
217 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, connectionOrder.get(1)); in testDisconnectNoAutoConnect()
233 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, connectionOrder.get(1)); in testDisconnectNoAutoConnect()
623 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bondedDevices[0]); in testNoReconnectOnNoConnect()
679 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bondedDevices[0]); in testNoReconnectOnNoConnect_MultiDevice()
755 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in testNoSupportedUuids()
784 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in updateProfileConnectionStateHelper()
DRemoteDevicesTest.java447 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyBatteryLevelChangedIntent()
457 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getHeadsetConnectionStateChangedIntent()
466 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getHfIndicatorIntent()
479 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getVendorSpecificHeadsetEventIntent()
/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/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java334 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in setAlias()
413 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendUuidIntent()
497 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendBatteryLevelChangedBroadcast()
555 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback()
578 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback()
626 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in deviceFoundCallback()
681 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in aclStateChangeCallback()
712 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in aclStateChangeCallback()
778 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onHeadsetConnectionStateChanged()
792 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onHfIndicatorValueChanged()
[all …]
DSilenceDeviceManager.java142 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
166 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
190 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
201 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
289 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastSilenceStateChange()
DActiveDeviceManager.java194 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
237 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
253 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
296 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
312 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
DPhonePolicy.java185 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
202 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
212 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
235 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/
DConnectedDeviceVoiceRecognitionNotifierTest.java79 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_started_showToast()
97 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidExtra_noToast()
111 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_noExtra_noToast()
125 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidIntent_noToast()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetTestUtils.java45 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyAudioStateBroadcast()
68 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyConnectionStateBroadcast()
101 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/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java81 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleAudioStateChanged()
112 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleConnectionStateChanged()
135 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleActiveDeviceChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java121 static final String EXTRA_DEVICE = "com.android.bluetooth.pbap.device"; field in BluetoothPbapService
214 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent()
247 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent()
257 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent()
370 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, stateMachine.getRemoteDevice()); in handleMessage()
797 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in checkOrGetPhonebookPermission()
/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/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1380 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1400 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1410 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1420 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1430 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1511 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1520 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1555 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastVoiceRecognitionStateChanged()
1815 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastAudioState()
1833 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppHandoverReceiver.java40 (BluetoothDevice) intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
80 (BluetoothDevice) intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java224 deviceExtras.putParcelable(BluetoothDevice.EXTRA_DEVICE, mock(Parcelable.class)); in activeApp_withInvalidBluetoothDeviceExtra_suppresses()
237 BluetoothDevice.EXTRA_DEVICE, in activeApp_withNonMatchingBluetoothDeviceExtra_doesNotSuppress()
251 BluetoothDevice.EXTRA_DEVICE, in activeApp_withMatchingBluetoothDeviceExtra_suppresses()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java831 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastConnectionState()
839 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastHandshake()
847 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastProtocolMode()
858 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastReport()
867 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastVirtualUnplugStatus()
875 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastIdleTime()
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java68 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
148 UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()

12345