Searched refs:openDevice (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/device/ |
D | MultiCameraDeviceLifecycle.java | 138 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/ |
D | MtpDocumentsProviderTest.java | 88 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()
|
D | TestUtil.java | 95 final UsbDeviceConnection connection = usbManager.openDevice(device); in findMtpDevice() 104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
|
D | TestMtpManager.java | 94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in TestMtpManager
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 253 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()
|
D | MtpManager.java | 76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in MtpManager 97 mManager.openDevice(rawDevice), in openDevice()
|
D | ReceiverActivity.java | 44 provider.openDevice(device.getDeviceId()); in onCreate()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbUtil.java | 51 return manager.openDevice(device); in openConnection()
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | UsbAoapHostActivity.java | 69 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpClient.java | 194 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpClient.java | 196 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()
|