Home
last modified time | relevance | path

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

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java305 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in setAlias()
383 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendUuidIntent()
466 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendBatteryLevelChangedBroadcast()
523 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback()
545 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, bdDevice); in devicePropertyChangedCallback()
592 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in deviceFoundCallback()
634 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in aclStateChangeCallback()
664 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in aclStateChangeCallback()
701 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onHeadsetConnectionStateChanged()
715 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onHfIndicatorValueChanged()
[all …]
DSilenceDeviceManager.java134 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
158 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
182 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
193 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
280 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastSilenceStateChange()
DActiveDeviceManager.java192 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
235 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
251 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
294 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
310 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
DPhonePolicy.java171 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
188 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
198 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
219 intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in handleMessage()
/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.java166 Assert.assertEquals(mTestDevice, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifySilenceStateIntent()
174 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpConnected()
186 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in a2dpDisconnected()
198 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in headsetConnected()
210 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.java437 Assert.assertEquals(device, intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE)); in verifyBatteryLevelChangedIntent()
447 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getHeadsetConnectionStateChangedIntent()
456 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getHfIndicatorIntent()
469 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getVendorSpecificHeadsetEventIntent()
/packages/apps/Nfc/src/com/android/nfc/handover/
DConfirmConnectActivity.java41 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
52 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onCreate()
63 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onCreate()
83 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onDestroy()
/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()
132 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
142 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingService.java55 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getPairingDialogIntent()
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent()
133 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
143 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
DBluetoothPermissionRequest.java77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
112 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
134 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
296 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
DBluetoothPermissionActivity.java64 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
88 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
215 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java55 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getPairingDialogIntent()
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in getPairingDialogIntent()
133 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
143 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onStartCommand()
DBluetoothPermissionRequest.java77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
112 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
134 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
296 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
DBluetoothPermissionActivity.java64 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
88 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
215 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
/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/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java115 static final String EXTRA_DEVICE = "com.android.bluetooth.pbap.device"; field in BluetoothPbapService
210 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent()
243 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent()
253 BluetoothDevice device = intent.getParcelableExtra(EXTRA_DEVICE); in parseIntent()
366 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, stateMachine.getRemoteDevice()); in handleMessage()
789 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in checkOrGetPhonebookPermission()
/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/hfpclient/
DHeadsetClientStateMachine.java1264 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1283 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1292 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1301 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1310 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1390 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1398 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, event.device); in processMessage()
1432 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastVoiceRecognitionStateChanged()
1693 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastAudioState()
1710 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastConnectionState()
/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/hid/
DHidHostService.java817 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastConnectionState()
824 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastHandshake()
832 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastProtocolMode()
843 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastReport()
852 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastVirtualUnplugStatus()
860 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in broadcastIdleTime()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java197 deviceExtras.putParcelable(BluetoothDevice.EXTRA_DEVICE, mock(Parcelable.class)); in activeApp_withInvalidBluetoothDeviceExtra_suppresses()
208 BluetoothDevice.EXTRA_DEVICE, in activeApp_withNonMatchingBluetoothDeviceExtra_doesNotSuppress()
220 BluetoothDevice.EXTRA_DEVICE, in activeApp_withMatchingBluetoothDeviceExtra_suppresses()
/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/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