Home
last modified time | relevance | path

Searched refs:openDevice (Results 1 – 15 of 15) 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/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/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/5.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp35 ASSERT_OK(devicesFactory->openDevice("primary", returnIn(result, baseDevice))); in TEST_F()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h248 ASSERT_OK(devicesFactory->openDevice(invalidDevice, returnIn(result, device))); in TEST_F()
280 ASSERT_OK(devicesFactory->openDevice(IDevicesFactory::Device::PRIMARY, in initPrimaryDevice()