Searched refs:mUsbDevice (Results 1 – 3 of 3) sorted by relevance
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpManagerTest.java | 42 UsbDevice mUsbDevice; field in MtpManagerTest 48 mUsbDevice = TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager); in setUp() 53 mManager.closeDevice(mUsbDevice.getDeviceId()); in tearDown() 69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testCancelEvent() 108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testEventObjectAdded() 120 if (record.deviceId == mUsbDevice.getDeviceId()) { in testCreateDocumentAndGetPartialObject() 129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject() 130 if (mManager.getObjectInfo(mUsbDevice.getDeviceId(), handle) in testCreateDocumentAndGetPartialObject() 132 mManager.deleteDocument(mUsbDevice.getDeviceId(), handle); in testCreateDocumentAndGetPartialObject() 144 mUsbDevice.getDeviceId(), in testCreateDocumentAndGetPartialObject() [all …]
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | UsbAoapHostActivity.java | 47 private UsbDevice mUsbDevice; field in UsbAoapHostActivity 68 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate() 69 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate() 79 new SpeedMeasurementController(this, mUsbDevice, mUsbConnection, this); in onResume() 149 if (isDevicesMatching(mUsbDevice, device)) { in onReceive()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbHostController.java | 274 private final UsbDevice mUsbDevice; field in UsbHostController.UsbHostControllerHandlerDispatchData 283 mUsbDevice = usbDevice; in UsbHostControllerHandlerDispatchData() 290 return mUsbDevice; in getUsbDevice()
|