Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java139 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in dispatchAclConnectionStateChanged_aclDisconnected_shouldDispatchCallback()
151 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in dispatchAclConnectionStateChanged_aclConnected_shouldDispatchCallback()
164 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in dispatchAclConnectionStateChanged_aclDisconnected_shouldNotCallbackSubDevice()
177 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in dispatchAclConnectionStateChanged_aclConnected_shouldNotCallbackSubDevice()
190 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in dispatchAclConnectionStateChanged_findDeviceReturnNull_shouldNotDispatchCallback()
DLocalBluetoothProfileManagerTest.java159 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
180 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
202 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
223 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
244 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh()
264 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in stateChangedHandler_receivePanConnectionStateChangedWithProfile_shouldRefresh()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java80 mUsbDevice = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
157 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in startAoapActivity()
238 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
241 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
DUsbDeviceStateController.java300 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
303 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java63 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
158 UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java90 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in showNotification()
118 intent.getExtras().<UsbDevice>getParcelable(UsbManager.EXTRA_DEVICE); in onReceive()
DUsbHandlerManager.java94 resolverIntent.putExtra(UsbManager.EXTRA_DEVICE, device); in confirmUsbHandler()
DUsbUserSettingsManager.java217 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in requestPermission()
228 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in requestPermission()
DUsbSettingsManager.java183 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in usbDeviceRemoved()
DUsbPermissionManager.java190 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in requestPermissionDialog()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DUsbIntentReceiver.java31 final UsbDevice device = intent.getExtras().getParcelable(UsbManager.EXTRA_DEVICE); in onReceive()
DReceiverActivity.java41 final UsbDevice device = getIntent().getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbResolverActivity.java88 mDevice = (UsbDevice)target.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
113 mOtherProfileIntent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); in onCreate()
DUsbConfirmActivity.java63 mDevice = (UsbDevice) intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
127 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); in onClick()
DUsbPermissionActivity.java66 mDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
132 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); in onDestroy()
DUsbDisconnectedReceiver.java55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DDeviceDisconnectedReceiver.java45 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
DMtpClient.java67 UsbDevice usbDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java157 new Intent().putExtra(CompanionDeviceManager.EXTRA_DEVICE, selectedDevice.device)); in onDeviceConfirmed()
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java62 public static final String EXTRA_DEVICE = "android.companion.extra.DEVICE"; field in CompanionDeviceManager
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java124 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
490 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarBatteryController.java165 (BluetoothDevice) intent.getExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
DConnectedDeviceSignalController.java186 (BluetoothDevice) intent.getExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java296 public static final String EXTRA_DEVICE = "device"; field in UsbManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java246 .getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()

12