Searched refs:openDevice (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/av/media/libaudiohal/
H A DDevicesFactoryHalHybrid.cpp47 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalHybrid
49 return mHidlFactory->openDevice(name, device);
51 return mLocalFactory->openDevice(name, device);
H A DDevicesFactoryHalHybrid.h31 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalLocal.h33 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalHidl.h36 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalHidl.cpp73 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalHidl
79 Return<void> ret = mDevicesFactory->openDevice(
H A DDevicesFactoryHalLocal.cpp60 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalLocal
/frameworks/av/include/media/audiohal/
H A DDevicesFactoryHalInterface.h31 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device) = 0;
/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DDevicesFactoryHalInterface.h31 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device) = 0;
/frameworks/base/media/java/android/media/midi/
H A DIMidiManager.aidl38 void openDevice(IBinder clientToken, in MidiDeviceInfo device, in IMidiDeviceOpenCallback callback);
H A DMidiManager.java147 * Listener class used for receiving the results of {@link #openDevice} and
152 * Called to respond to a {@link #openDevice} request
243 public void openDevice(MidiDeviceInfo deviceInfo, OnDeviceOpenedListener listener, method in class:MidiManager
263 mService.openDevice(mToken, deviceInfo, callback);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestUtil.java95 final UsbDeviceConnection connection = usbManager.openDevice(device);
104 manager.openDevice(device.getDeviceId());
H A DMtpDocumentsProviderTest.java88 mProvider.openDevice(0);
98 mProvider.openDevice(1);
124 mProvider.openDevice(0);
209 mProvider.openDevice(0);
227 mProvider.openDevice(1);
270 mProvider.openDevice(0);
273 mProvider.openDevice(1);
631 synchronized MtpDeviceRecord openDevice(int deviceId)
732 mProvider.openDevice(0);
956 mProvider.openDevice(deviceI
[all...]
H A DTestMtpManager.java94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { method in class:TestMtpManager
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DReceiverActivity.java44 provider.openDevice(device.getDeviceId());
H A DMtpDocumentsProvider.java245 openDevice(parentIdentifier.mDeviceId);
281 openDevice(identifier.mDeviceId);
335 openDevice(identifier.mDeviceId);
350 openDevice(identifier.mDeviceId);
389 openDevice(parentId.mDeviceId);
551 void openDevice(int deviceId) throws IOException { method in class:MtpDocumentsProvider
559 final MtpDeviceRecord device = mMtpManager.openDevice(deviceId);
567 Log.e(TAG, "openDevice", error);
H A DMtpManager.java76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { method in class:MtpManager
97 mManager.openDevice(rawDevice),
/frameworks/base/core/java/android/hardware/usb/
H A DIUsbManager.aidl37 ParcelFileDescriptor openDevice(String deviceName);
H A DUsbManager.java342 public UsbDeviceConnection openDevice(UsbDevice device) { method in class:UsbManager
345 ParcelFileDescriptor pfd = mService.openDevice(deviceName);
355 Log.e(TAG, "exception in UsbManager.openDevice", e);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2SwitchPreviewTest.java165 openDevice(id);
196 openDevice(id);
222 openDevice(id);
233 openDevice(id);
264 openDevice(id);
275 openDevice(id);
415 openDevice(id);
H A DCamera2StillCaptureTest.java104 openDevice(id);
138 openDevice(mCameraIds[i]);
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
H A DUsbAoapHostTestActivity.java64 mUsbConnection = mUsbManager.openDevice(mUsbDevice);
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp203 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, jint pid, function in namespace:android
243 reinterpret_cast<void*>(openDevice) },
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java326 public ParcelFileDescriptor openDevice(String deviceName, UsbUserSettingsManager settings) { method in class:UsbHostManager
365 UsbDeviceConnection connection = usbManager.openDevice(device);
H A DUsbService.java235 public ParcelFileDescriptor openDevice(String deviceName) { method in class:UsbService
245 fd = mHostManager.openDevice(deviceName, getSettingsForUser(userIdInt));
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java176 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice);

Completed in 2345 milliseconds

12