Home
last modified time | relevance | path

Searched refs:openDevice (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/device/
DMultiCameraDeviceLifecycle.java138 return openDevice(requestLifetime, key, mCamera2ActionProvider); in openCamera2Device()
165 return openDevice(requestLifetime, key, mPortabilityCameraActionProvider); in openPortabilityDevice()
192 return openDevice(requestLifetime, key, mPortabilityCameraActionProvider); in openCamera2PortabilityDevice()
217 return openDevice(requestLifetime, key, mPortabilityCameraActionProvider); in openLegacyPortabilityDevice()
241 return openDevice(requestLifetime, key, mLegacyCameraActionProvider); in openLegacyCameraDevice()
280 private <TDevice> ListenableFuture<TDevice> openDevice(Lifetime requestLifetime, in openDevice() method in MultiCameraDeviceLifecycle
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java88 mProvider.openDevice(0); in testOpenAndCloseDevice()
98 mProvider.openDevice(1); in testOpenAndCloseErrorDevice()
124 mProvider.openDevice(0); in testOpenAndCloseErrorDevice()
209 mProvider.openDevice(0); in testQueryRoots()
227 mProvider.openDevice(1); in testQueryRoots()
270 mProvider.openDevice(0); in testQueryRoots_error()
273 mProvider.openDevice(1); in testQueryRoots_error()
633 synchronized MtpDeviceRecord openDevice(int deviceId) in testBusyDevice()
734 mProvider.openDevice(0); in testMappingDisconnectedDocuments()
958 mProvider.openDevice(deviceId); in setupRoots()
DTestUtil.java95 final UsbDeviceConnection connection = usbManager.openDevice(device); in findMtpDevice()
104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
DTestMtpManager.java94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in TestMtpManager
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java253 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
289 openDevice(identifier.mDeviceId); in openDocument()
343 openDevice(identifier.mDeviceId); in openDocumentThumbnail()
358 openDevice(identifier.mDeviceId); in deleteDocument()
397 openDevice(parentId.mDeviceId); in createDocument()
582 void openDevice(int deviceId) throws IOException { in openDevice() method in MtpDocumentsProvider
590 final MtpDeviceRecord device = mMtpManager.openDevice(deviceId); in openDevice()
DMtpManager.java76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in MtpManager
97 mManager.openDevice(rawDevice), in openDevice()
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java51 return manager.openDevice(device); in openConnection()
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java69 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java194 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java196 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()