Home
last modified time | relevance | path

Searched refs:openDevice (Results 1 – 13 of 13) 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.java89 mProvider.openDevice(0); in testOpenAndCloseDevice()
99 mProvider.openDevice(1); in testOpenAndCloseErrorDevice()
125 mProvider.openDevice(0); in testOpenAndCloseErrorDevice()
210 mProvider.openDevice(0); in testQueryRoots()
228 mProvider.openDevice(1); in testQueryRoots()
271 mProvider.openDevice(0); in testQueryRoots_error()
274 mProvider.openDevice(1); in testQueryRoots_error()
634 synchronized MtpDeviceRecord openDevice(int deviceId) in testBusyDevice()
735 mProvider.openDevice(0); in testMappingDisconnectedDocuments()
959 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()
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
DMtpManager.java77 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in MtpManager
98 mManager.openDevice(rawDevice), in openDevice()
/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.java77 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.h104 bool openDevice();
DEvsEmulatedCamera.cpp141 bool EvsEmulatedCamera::openDevice() { in openDevice() function in android::automotive::evs::V1_1::implementation::EvsEmulatedCamera
770 if (pCamera->openDevice()) { in Create()
/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()