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

12

/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 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.cpp76 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::DevicesFactoryHalHidl
82 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/media/libaudiohal/4.0/
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.h34 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalHidl.h37 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
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 DDevicesFactoryHalLocal.cpp61 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { function in class:android::V4_0::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/4.0/include/libaudiohal/4.0/
H A DDevicesFactoryHalHybrid.h32 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
/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.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/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);
633 synchronized MtpDeviceRecord openDevice(int deviceId)
734 mProvider.openDevice(0);
958 mProvider.openDevice(deviceI
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DReceiverActivity.java44 provider.openDevice(device.getDeviceId());
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/core/java/android/hardware/usb/
H A DIUsbManager.aidl37 ParcelFileDescriptor openDevice(String deviceName, String packageName);
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/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);
/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.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) },

Completed in 829 milliseconds

12