Searched defs:openDevice (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/media/libaudiohal/2.0/
H A DDevicesFactoryHalHybrid.cpp34 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalHybrid
37 return mHidlFactory->openDevice(name, device);
39 return mLocalFactory->openDevice(name, device);
H A DDevicesFactoryHalLocal.cpp60 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalLocal
H A DDevicesFactoryHalHidl.cpp76 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalHidl
82 Return<void> ret = mDevicesFactory->openDevice(
/frameworks/av/media/libaudiohal/4.0/
H A DDevicesFactoryHalHidl.cpp55 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::V4_0::DevicesFactoryHalHidl
58 Return<void> ret = mDevicesFactory->openDevice(
H A DDevicesFactoryHalHybrid.cpp35 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::V4_0::DevicesFactoryHalHybrid
38 return mHidlFactory->openDevice(name, device);
40 return mLocalFactory->openDevice(name, device);
H A DDevicesFactoryHalLocal.cpp61 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::V4_0::DevicesFactoryHalLocal
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp204 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, jint pid, function in namespace:android
244 reinterpret_cast<void*>(openDevice) },
/frameworks/base/media/java/android/media/midi/
H A DMidiManager.java150 * Listener class used for receiving the results of {@link #openDevice} and
155 * Called to respond to a {@link #openDevice} request
246 public void openDevice(MidiDeviceInfo deviceInfo, OnDeviceOpenedListener listener, method in class:MidiManager
266 mService.openDevice(mToken, deviceInfo, callback);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpManager.java76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { method in class:MtpManager
97 mManager.openDevice(rawDevice),
H A DMtpDocumentsProvider.java249 openDevice(parentIdentifier.mDeviceId);
285 openDevice(identifier.mDeviceId);
339 openDevice(identifier.mDeviceId);
354 openDevice(identifier.mDeviceId);
393 openDevice(parentId.mDeviceId);
578 void openDevice(int deviceId) throws IOException { method in class:MtpDocumentsProvider
586 final MtpDeviceRecord device = mMtpManager.openDevice(deviceId);
594 Log.e(TAG, "openDevice", error);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestMtpManager.java94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { method in class:TestMtpManager
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java405 public UsbDeviceConnection openDevice(UsbDevice device) { method in class:UsbManager
408 ParcelFileDescriptor pfd = mService.openDevice(deviceName, mContext.getPackageName());
418 Log.e(TAG, "exception in UsbManager.openDevice", e);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java446 public ParcelFileDescriptor openDevice(String deviceAddress, UsbUserSettingsManager settings, method in class:UsbHostManager
H A DUsbService.java253 public ParcelFileDescriptor openDevice(String deviceName, String packageName) { method in class:UsbService
263 fd = mHostManager.openDevice(deviceName, getSettingsForUser(userIdInt),
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewTestCase.java604 protected void openDevice(String cameraId) throws Exception { method in class:Camera2SurfaceViewTestCase
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java652 public void openDevice(IBinder token, MidiDeviceInfo deviceInfo, method in class:MidiService

Completed in 219 milliseconds