Home
last modified time | relevance | path

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

12

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java86 mProvider.openDevice(0); in testOpenAndCloseDevice()
96 mProvider.openDevice(1); in testOpenAndCloseErrorDevice()
122 mProvider.openDevice(0); in testOpenAndCloseErrorDevice()
207 mProvider.openDevice(0); in testQueryRoots()
221 mProvider.openDevice(1); in testQueryRoots()
263 mProvider.openDevice(0); in testQueryRoots_error()
266 mProvider.openDevice(1); in testQueryRoots_error()
564 MtpDeviceRecord openDevice(int deviceId) throws IOException { in testBusyDevice()
664 mProvider.openDevice(0); in testMappingDisconnectedDocuments()
795 mProvider.openDevice(deviceId); in setupRoots()
DTestUtil.java95 final UsbDeviceConnection connection = usbManager.openDevice(device); in findMtpDevice()
104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
DTestMtpManager.java93 MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in TestMtpManager
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java165 openDevice(id); in testPreviewSwitchBackFrontCamera()
196 openDevice(id); in testPreviewSwitchBackFrontVideo()
222 openDevice(id); in testPreviewSwitchBackCameraVideo()
233 openDevice(id); in testPreviewSwitchBackCameraVideo()
264 openDevice(id); in testPreviewSwitchFrontCameraVideo()
275 openDevice(id); in testPreviewSwitchFrontCameraVideo()
415 openDevice(id); in cameraColorOutputCheck()
DCamera2StillCaptureTest.java104 openDevice(id); in testTakePicture()
138 openDevice(mCameraIds[i]); in testFullRawCapture()
DCamera2RecordingTest.java128 openDevice(mCameraIds[i]); in doBasicRecording()
202 openDevice(id); in constrainedHighSpeedRecording()
474 openDevice(id); in videoSnapshotHelper()
DCamera2ReprocessCaptureTest.java157 openDevice(id); in testReprocessingSizeFormatWithPreview()
185 openDevice(id); in testMixedBurstReprocessing()
212 openDevice(cameraId); in testBasicReprocessing()
DCamera2CaptureRequestTest.java89 openDevice(mCameraIds[i]); in testAeModeAndLock()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java207 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
243 openDevice(identifier.mDeviceId); in openDocument()
292 openDevice(identifier.mDeviceId); in openDocumentThumbnail()
307 openDevice(identifier.mDeviceId); in deleteDocument()
346 openDevice(parentId.mDeviceId); in createDocument()
417 void openDevice(int deviceId) throws IOException { in openDevice() method in MtpDocumentsProvider
425 final MtpDeviceRecord device = mMtpManager.openDevice(deviceId); in openDevice()
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
DMtpManager.java76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in MtpManager
97 mManager.openDevice(rawDevice), in openDevice()
/frameworks/base/media/java/android/media/midi/
DMidiManager.java246 public void openDevice(MidiDeviceInfo deviceInfo, OnDeviceOpenedListener listener, in openDevice() method in MidiManager
266 mService.openDevice(mToken, deviceInfo, callback); in openDevice()
DIMidiManager.aidl38 …void openDevice(IBinder clientToken, in MidiDeviceInfo device, in IMidiDeviceOpenCallback callback… in openDevice() method
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java326 public UsbDeviceConnection openDevice(UsbDevice device) { in openDevice() method in UsbManager
329 ParcelFileDescriptor pfd = mService.openDevice(deviceName); in openDevice()
DIUsbManager.aidl36 ParcelFileDescriptor openDevice(String deviceName); in openDevice() method
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp186 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, jint p… in openDevice() function
225 reinterpret_cast<void*>(openDevice) },
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java192 public ParcelFileDescriptor openDevice(String deviceName) { in openDevice() method in UsbService
194 return mHostManager.openDevice(deviceName); in openDevice()
DUsbHostManager.java273 public ParcelFileDescriptor openDevice(String deviceName) { in openDevice() method in UsbHostManager
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java176 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java176 UsbDeviceConnection conn = mUsbManager.openDevice(device); in connect()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java604 protected void openDevice(String cameraId) throws Exception { in openDevice() method in Camera2SurfaceViewTestCase
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java654 public void openDevice(IBinder token, MidiDeviceInfo deviceInfo, in openDevice() method in MidiService
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd399 UsbDeviceConnection connection = mUsbManager.openDevice(device);
/frameworks/base/api/
Dcurrent.txt14662 … method public android.hardware.usb.UsbDeviceConnection openDevice(android.hardware.usb.UsbDevice);
22355 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On…
Dtest-current.txt14675 … method public android.hardware.usb.UsbDeviceConnection openDevice(android.hardware.usb.UsbDevice);
22424 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On…

12