Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHybrid.cpp32 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { in openDevice() function in android::CPP_VERSION::DevicesFactoryHalHybrid
35 return mHidlFactory->openDevice(name, device); in openDevice()
37 return mLocalFactory->openDevice(name, device); in openDevice()
DDevicesFactoryHalLocal.h34 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
DDevicesFactoryHalHybrid.h37 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
DDevicesFactoryHalHidl.cpp110 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { in openDevice() function in android::CPP_VERSION::DevicesFactoryHalHidl
118 Return<void> ret = factory->openDevice( in openDevice()
DDevicesFactoryHalLocal.cpp61 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { in openDevice() function in android::CPP_VERSION::DevicesFactoryHalLocal
DDevicesFactoryHalHidl.h43 status_t openDevice(const char *name, sp<DeviceHalInterface> *device) override;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java166 openDevice(id); in testPreviewSwitchBackFrontCamera()
197 openDevice(id); in testPreviewSwitchBackFrontVideo()
223 openDevice(id); in testPreviewSwitchBackCameraVideo()
234 openDevice(id); in testPreviewSwitchBackCameraVideo()
265 openDevice(id); in testPreviewSwitchFrontCameraVideo()
276 openDevice(id); in testPreviewSwitchFrontCameraVideo()
416 openDevice(id); in cameraColorOutputCheck()
DCamera2StillCaptureTest.java104 openDevice(id); in testTakePicture()
138 openDevice(mCameraIds[i]); in testFullRawCapture()
DCamera2RecordingTest.java132 openDevice(mCameraIds[i]); in doBasicRecording()
206 openDevice(id); in constrainedHighSpeedRecording()
478 openDevice(id); in videoSnapshotHelper()
DCamera2ReprocessCaptureTest.java157 openDevice(id); in testReprocessingSizeFormatWithPreview()
185 openDevice(id); in testMixedBurstReprocessing()
212 openDevice(cameraId); in testBasicReprocessing()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestUtil.java95 final UsbDeviceConnection connection = usbManager.openDevice(device); in findMtpDevice()
104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
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()
DTestMtpManager.java94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice() method in TestMtpManager
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java249 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
285 openDevice(identifier.mDeviceId); in openDocument()
339 openDevice(identifier.mDeviceId); in openDocumentThumbnail()
354 openDevice(identifier.mDeviceId); in deleteDocument()
393 openDevice(parentId.mDeviceId); in createDocument()
578 void openDevice(int deviceId) throws IOException { in openDevice() method in MtpDocumentsProvider
586 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/av/media/libaudiohal/include/media/audiohal/
DDevicesFactoryHalInterface.h38 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device) = 0;
/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/
DIUsbManager.aidl37 ParcelFileDescriptor openDevice(String deviceName, String packageName); in openDevice() method
DUsbManager.java469 public UsbDeviceConnection openDevice(UsbDevice device) { in openDevice() method in UsbManager
472 ParcelFileDescriptor pfd = mService.openDevice(deviceName, mContext.getPackageName()); in openDevice()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp242 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, jint p… in openDevice() function
290 reinterpret_cast<void*>(openDevice) },
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java64 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java176 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbDeviceStateController.java248 return mUsbManager.openDevice(device); in openConnection()

12