Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DDevicesFactory.cpp34 Return<void> DevicesFactory::openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) { in openDevice() function in android::hardware::audio::CPP_VERSION::implementation::DevicesFactory
37 return openDevice<PrimaryDevice>(AUDIO_HARDWARE_MODULE_ID_PRIMARY, _hidl_cb); in openDevice()
39 return openDevice(AUDIO_HARDWARE_MODULE_ID_A2DP, _hidl_cb); in openDevice()
41 return openDevice(AUDIO_HARDWARE_MODULE_ID_USB, _hidl_cb); in openDevice()
43 return openDevice(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, _hidl_cb); in openDevice()
45 return openDevice(AUDIO_HARDWARE_MODULE_ID_STUB, _hidl_cb); in openDevice()
51 Return<void> DevicesFactory::openDevice(const hidl_string& moduleName, openDevice_cb _hidl_cb) {
53 return openDevice<PrimaryDevice>(moduleName.c_str(), _hidl_cb);
55 return openDevice(moduleName.c_str(), _hidl_cb);
58 return openDevice<PrimaryDevice>(AUDIO_HARDWARE_MODULE_ID_PRIMARY, _hidl_cb);
[all …]
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DDevicesFactory.h42 Return<void> openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) override;
44 Return<void> openDevice(const hidl_string& device, openDevice_cb _hidl_cb) override;
50 Return<void> openDevice(const char* moduleName, Callback _hidl_cb);
51 Return<void> openDevice(const char* moduleName, openDevice_cb _hidl_cb);
/hardware/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h107 return name == kPrimaryDevice ? openPrimaryDevice(factory) : openDevice(factory, name); in createInterfaceInstance()
141 static sp<IDevice> openDevice(const sp<IDevicesFactory>& factory, const std::string& name) { in openDevice() function
146 auto ret = factory->openDevice(name, returnIn(result, device)); in openDevice()
163 auto ret = factory->openDevice(IDevicesFactory::Device::PRIMARY, returnIn(result, device)); in openPrimaryDevice()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp159 int V4L2CameraHAL::openDevice(const hw_module_t* module, in openDevice() function in v4l2_camera_hal::V4L2CameraHAL
175 return mCameras[id]->openDevice(module, device); in openDevice()
213 return gCameraHAL.openDevice(module, name, device); in open_dev()
Dv4l2_camera_hal.h53 int openDevice(const hw_module_t* mod, const char* name, hw_device_t** dev);
Dcamera.h48 int openDevice(const hw_module_t *module, hw_device_t **device);
Dcamera.cpp71 int Camera::openDevice(const hw_module_t *module, hw_device_t **device) in openDevice() function in default_camera_hal::Camera
/hardware/interfaces/audio/common/7.0/example/
DDevicesFactory.h27 ::android::hardware::Return<void> openDevice(const ::android::hardware::hidl_string& device,
/hardware/libhardware/modules/usbcamera/
DUsbCamera.h37 int openDevice();
DCamera.h67 virtual int openDevice() = 0;
DUsbCamera.cpp187 int UsbCamera::openDevice() { in openDevice() function in usb_camera_hal::UsbCamera
DCamera.cpp145 return openDevice(); in open()
/hardware/interfaces/audio/2.0/
DIDevicesFactory.hal44 openDevice(Device device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/7.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/4.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/5.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/6.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);