Home
last modified time | relevance | path

Searched refs:openDevice (Results 1 – 25 of 30) 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()
DCamera2CaptureRequestTest.java90 openDevice(mCameraIds[i]); in testAeModeAndLock()
/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.aidl38 ParcelFileDescriptor openDevice(String deviceName, String packageName); in openDevice() method
DUsbManager.java716 public UsbDeviceConnection openDevice(UsbDevice device) { in openDevice() method in UsbManager
719 ParcelFileDescriptor pfd = mService.openDevice(deviceName, mContext.getPackageName()); in openDevice()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java64 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp312 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, in openDevice() function
361 reinterpret_cast<void*>(openDevice)},
/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()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java275 public ParcelFileDescriptor openDevice(String deviceName, String packageName) { in openDevice() method in UsbService
288 fd = mHostManager.openDevice(deviceName, getPermissionsForUser(user), in openDevice()
DUsbHostManager.java491 public ParcelFileDescriptor openDevice(String deviceAddress, in openDevice() method in UsbHostManager
/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.java656 public void openDevice(IBinder token, MidiDeviceInfo deviceInfo, in openDevice() method in MidiService

12