Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DDevicesFactory.cpp36 Return<void> DevicesFactory::openDevice(IDevicesFactory::Device device, openDevice_cb _hidl_cb) { in openDevice() function in android::hardware::audio::CPP_VERSION::implementation::DevicesFactory
39 return openDevice<PrimaryDevice>(AUDIO_HARDWARE_MODULE_ID_PRIMARY, _hidl_cb); in openDevice()
41 return openDevice(AUDIO_HARDWARE_MODULE_ID_A2DP, _hidl_cb); in openDevice()
43 return openDevice(AUDIO_HARDWARE_MODULE_ID_USB, _hidl_cb); in openDevice()
45 return openDevice(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, _hidl_cb); in openDevice()
47 return openDevice(AUDIO_HARDWARE_MODULE_ID_STUB, _hidl_cb); in openDevice()
53 Return<void> DevicesFactory::openDevice(const char* moduleName, openDevice_cb _hidl_cb) { in openDevice() function in android::hardware::audio::CPP_VERSION::implementation::DevicesFactory
54 return openDevice<implementation::Device>(moduleName, _hidl_cb); in openDevice()
57 Return<void> DevicesFactory::openDevice(const hidl_string& moduleName, openDevice_cb _hidl_cb) {
59 return openDevice<PrimaryDevice>(moduleName.c_str(), _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;
54 Return<void> openDevice(const char* moduleName, Callback _hidl_cb);
56 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/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h133 auto ret = factory->openDevice(IDevicesFactory::Device::PRIMARY, returnIn(result, device)); in openPrimaryDevice()
167 return openDevice(factory, name); in createInterfaceInstance()
192 static sp<IDevice> openDevice(const sp<IDevicesFactory>& factory, const std::string& name) { in openDevice() function
207 auto ret = factory->openDevice(dev, returnIn(result, device)); in openDevice()
209 auto ret = factory->openDevice(name, returnIn(result, device)); in openDevice()
DAudioPrimaryHidlHalTest.h349 ASSERT_OK(getDevicesFactory()->openDevice(invalidDevice, returnIn(result, device))); in TEST_P()
/hardware/interfaces/audio/common/7.0/example/
DDevicesFactory.h27 ::android::hardware::Return<void> openDevice(const ::android::hardware::hidl_string& device,
DDevicesFactory.cpp28 Return<void> DevicesFactory::openDevice(const hidl_string& device, openDevice_cb _hidl_cb) { in openDevice() function in android::hardware::audio::V7_0::implementation::DevicesFactory
/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/5.0/
DIDevicesFactory.hal53 openDevice(string 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/6.0/
DIDevicesFactory.hal53 openDevice(string device) generates (Result retval, IDevice result);
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp42 auto ret = factory->openDevice(DeviceManager::kPrimaryDevice, returnIn(result, baseDevice)); in TEST_P()