Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
DDevicesFactory.impl.h30 Return<void> DevicesFactory::openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) { in openDevice() function
33 return openDevice<PrimaryDevice>(AUDIO_HARDWARE_MODULE_ID_PRIMARY, _hidl_cb); in openDevice()
35 return openDevice(AUDIO_HARDWARE_MODULE_ID_A2DP, _hidl_cb); in openDevice()
37 return openDevice(AUDIO_HARDWARE_MODULE_ID_USB, _hidl_cb); in openDevice()
39 return openDevice(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, _hidl_cb); in openDevice()
41 return openDevice(AUDIO_HARDWARE_MODULE_ID_STUB, _hidl_cb); in openDevice()
48 Return<void> DevicesFactory::openDevice(const hidl_string& moduleName, openDevice_cb _hidl_cb) { in openDevice() function
50 return openDevice<PrimaryDevice>(moduleName.c_str(), _hidl_cb); in openDevice()
52 return openDevice(moduleName.c_str(), _hidl_cb); in openDevice()
55 return openDevice<PrimaryDevice>(AUDIO_HARDWARE_MODULE_ID_PRIMARY, _hidl_cb); in openPrimaryDevice()
[all …]
DDevicesFactory.h41 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/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp156 int V4L2CameraHAL::openDevice(const hw_module_t* module, in openDevice() function in v4l2_camera_hal::V4L2CameraHAL
172 return mCameras[id]->openDevice(module, device); in openDevice()
210 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.cpp74 int Camera::openDevice(const hw_module_t *module, hw_device_t **device) in openDevice() function in default_camera_hal::Camera
/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/4.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/core/4.0/vts/functional/
DAudioPrimaryHidlHalTest.cpp157 ASSERT_OK(devicesFactory->openDevice("Non existing device", returnIn(result, device))); in TEST_F()
166 ASSERT_OK(devicesFactory->openDevice("primary", returnIn(result, baseDevice))); in TEST_F()