Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 240) sorted by relevance

12345678910

/hardware/ti/omap4-aah/camera/
DCameraHal_Module.cpp91 int camera_set_preview_window(struct camera_device * device, in camera_set_preview_window()
110 int camera_set_extended_preview_ops(struct camera_device * device, in camera_set_extended_preview_ops()
125 int camera_set_buffer_source(struct camera_device * device, in camera_set_buffer_source()
144 int camera_release_buffer_source(struct camera_device * device, in camera_release_buffer_source()
164 void camera_set_callbacks(struct camera_device * device, in camera_set_callbacks()
183 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) in camera_enable_msg_type()
197 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) in camera_disable_msg_type()
211 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) in camera_msg_type_enabled()
225 int camera_start_preview(struct camera_device * device) in camera_start_preview()
242 void camera_stop_preview(struct camera_device * device) in camera_stop_preview()
[all …]
/hardware/ti/omap4xxx/camera/
DCameraHal_Module.cpp75 int camera_set_preview_window(struct camera_device * device, in camera_set_preview_window()
93 void camera_set_callbacks(struct camera_device * device, in camera_set_callbacks()
112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) in camera_enable_msg_type()
126 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) in camera_disable_msg_type()
140 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) in camera_msg_type_enabled()
154 int camera_start_preview(struct camera_device * device) in camera_start_preview()
171 void camera_stop_preview(struct camera_device * device) in camera_stop_preview()
185 int camera_preview_enabled(struct camera_device * device) in camera_preview_enabled()
201 int camera_store_meta_data_in_buffers(struct camera_device * device, int enable) in camera_store_meta_data_in_buffers()
219 int camera_start_recording(struct camera_device * device) in camera_start_recording()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp62 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { in gralloc_device_open()
103 int GrallocImpl::CloseDevice(hw_device_t *device) { in CloseDevice()
110 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities()
124 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction()
183 gralloc1_error_t GrallocImpl::CheckDeviceAndDescriptor(gralloc1_device_t *device, in CheckDeviceAndDescriptor()
193 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
204 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
230 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp62 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { in gralloc_device_open()
103 int GrallocImpl::CloseDevice(hw_device_t *device) { in CloseDevice()
110 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities()
124 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction()
183 gralloc1_error_t GrallocImpl::CheckDeviceAndDescriptor(gralloc1_device_t *device, in CheckDeviceAndDescriptor()
193 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
204 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
230 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
[all …]
/hardware/qcom/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp94 QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device) in util_get_Hal_obj()
131 camera_device *device = NULL; in camera_device_open() local
178 camera_device_t *device = (camera_device_t *)hw_dev; in close_camera_device() local
199 int set_preview_window(struct camera_device * device, in set_preview_window()
211 void set_CallBacks(struct camera_device * device, in set_CallBacks()
225 void enable_msg_type(struct camera_device * device, int32_t msg_type) in enable_msg_type()
233 void disable_msg_type(struct camera_device * device, int32_t msg_type) in disable_msg_type()
242 int msg_type_enabled(struct camera_device * device, int32_t msg_type) in msg_type_enabled()
253 int start_preview(struct camera_device * device) in start_preview()
265 void stop_preview(struct camera_device * device) in stop_preview()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
DQualcommCamera.cpp94 QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device) in util_get_Hal_obj()
131 camera_device *device = NULL; in camera_device_open() local
178 camera_device_t *device = (camera_device_t *)hw_dev; in close_camera_device() local
199 int set_preview_window(struct camera_device * device, in set_preview_window()
211 void set_CallBacks(struct camera_device * device, in set_CallBacks()
225 void enable_msg_type(struct camera_device * device, int32_t msg_type) in enable_msg_type()
233 void disable_msg_type(struct camera_device * device, int32_t msg_type) in disable_msg_type()
242 int msg_type_enabled(struct camera_device * device, int32_t msg_type) in msg_type_enabled()
253 int start_preview(struct camera_device * device) in start_preview()
265 void stop_preview(struct camera_device * device) in stop_preview()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcomposer.cpp76 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
88 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
122 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit() local
157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in vsyncControl() local
178 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in blank() local
200 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayConfigs() local
223 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayAttributes() local
246 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in compositionComplete() local
264 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setPowerMode() local
282 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getActiveConfig() local
[all …]
DDrm.cpp73 bool Drm::detect(int device) in detect()
250 bool Drm::setDrmMode(int device, drmModeModeInfo& value) in setDrmMode()
294 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate()
419 bool Drm::getModeInfo(int device, drmModeModeInfo& mode) in getModeInfo()
451 bool Drm::getPhysicalSize(int device, uint32_t& width, uint32_t& height) in getPhysicalSize()
471 bool Drm::getDisplayResolution(int device, uint32_t& width, uint32_t& height) in getDisplayResolution()
496 bool Drm::isConnected(int device) in isConnected()
508 bool Drm::setDpmsMode(int device, int mode) in setDpmsMode()
688 int Drm::getOutputIndex(int device) in getOutputIndex()
703 int Drm::getPanelOrientation(int device) in getPanelOrientation()
[all …]
/hardware/libhardware/tests/input/evdev/
DInputDevice_test.cpp71 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
100 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
116 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
133 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
140 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
154 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
160 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
166 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
172 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
178 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcomposer.cpp79 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
92 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local
130 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit() local
170 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setPowerMode() local
188 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getActiveConfig() local
206 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setActiveConfig() local
244 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in blank() local
269 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayConfigs() local
295 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayAttributes() local
320 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in compositionComplete() local
[all …]
DDrm.cpp73 bool Drm::detect(int device) in detect()
246 bool Drm::setDrmMode(int device, drmModeModeInfo& value) in setDrmMode()
290 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate()
415 bool Drm::getModeInfo(int device, drmModeModeInfo& mode) in getModeInfo()
439 bool Drm::getPhysicalSize(int device, uint32_t& width, uint32_t& height) in getPhysicalSize()
459 bool Drm::isConnected(int device) in isConnected()
471 bool Drm::setDpmsMode(int device, int mode) in setDpmsMode()
653 int Drm::getOutputIndex(int device) in getOutputIndex()
668 int Drm::getPanelOrientation(int device) in getPanelOrientation()
688 drmModeModeInfoPtr Drm::detectAllConfigs(int device, int *modeCount) in detectAllConfigs()
DVsyncManager.cpp152 IDisplayDevice *device = NULL; in getCandidate() local
177 IDisplayDevice *device = getDisplayDevice(candidate); in enableVsync() local
207 IDisplayDevice *device = getDisplayDevice(mVsyncSource); in disableVsync() local
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.cpp158 int HWCSession::Open(const hw_module_t *module, const char *name, hw_device_t **device) { in Open()
185 int HWCSession::Close(hw_device_t *device) { in Close()
201 void HWCSession::GetCapabilities(struct hwc2_device *device, uint32_t *outCount, in GetCapabilities()
218 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display) { in AcceptDisplayChanges()
223 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
229 int32_t HWCSession::CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height, in CreateVirtualDisplay()
249 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
255 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
273 void HWCSession::Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer) { in Dump()
298 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.cpp158 int HWCSession::Open(const hw_module_t *module, const char *name, hw_device_t **device) { in Open()
185 int HWCSession::Close(hw_device_t *device) { in Close()
201 void HWCSession::GetCapabilities(struct hwc2_device *device, uint32_t *outCount, in GetCapabilities()
218 int32_t HWCSession::AcceptDisplayChanges(hwc2_device_t *device, in AcceptDisplayChanges()
224 int32_t HWCSession::CreateLayer(hwc2_device_t *device, hwc2_display_t display, in CreateLayer()
230 int32_t HWCSession::CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height, in CreateVirtualDisplay()
250 int32_t HWCSession::DestroyLayer(hwc2_device_t *device, hwc2_display_t display, in DestroyLayer()
256 int32_t HWCSession::DestroyVirtualDisplay(hwc2_device_t *device, hwc2_display_t display) { in DestroyVirtualDisplay()
274 void HWCSession::Dump(hwc2_device_t *device, uint32_t *out_size, char *out_buffer) { in Dump()
299 static int32_t GetActiveConfig(hwc2_device_t *device, hwc2_display_t display, in GetActiveConfig()
[all …]
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp179 camera_device *device = NULL; in usbcam_camera_device_open() local
241 camera_device_t *device = (camera_device_t *)hw_dev; in usbcam_close_camera_device() local
260 int usbcam_set_preview_window(struct camera_device * device, in usbcam_set_preview_window()
289 void usbcam_set_CallBacks(struct camera_device * device, in usbcam_set_CallBacks()
317 void usbcam_enable_msg_type(struct camera_device * device, int32_t msg_type) in usbcam_enable_msg_type()
338 void usbcam_disable_msg_type(struct camera_device * device, int32_t msg_type) in usbcam_disable_msg_type()
358 int usbcam_msg_type_enabled(struct camera_device * device, int32_t msg_type) in usbcam_msg_type_enabled()
376 int usbcam_start_preview(struct camera_device * device) in usbcam_start_preview()
422 void usbcam_stop_preview(struct camera_device * device) in usbcam_stop_preview()
447 int usbcam_preview_enabled(struct camera_device * device) in usbcam_preview_enabled()
[all …]
/hardware/qcom/camera/usbcamcore/src/
DQualcommUsbCamera.cpp179 camera_device *device = NULL; in usbcam_camera_device_open() local
241 camera_device_t *device = (camera_device_t *)hw_dev; in usbcam_close_camera_device() local
260 int usbcam_set_preview_window(struct camera_device * device, in usbcam_set_preview_window()
289 void usbcam_set_CallBacks(struct camera_device * device, in usbcam_set_CallBacks()
317 void usbcam_enable_msg_type(struct camera_device * device, int32_t msg_type) in usbcam_enable_msg_type()
338 void usbcam_disable_msg_type(struct camera_device * device, int32_t msg_type) in usbcam_disable_msg_type()
358 int usbcam_msg_type_enabled(struct camera_device * device, int32_t msg_type) in usbcam_msg_type_enabled()
376 int usbcam_start_preview(struct camera_device * device) in usbcam_start_preview()
422 void usbcam_stop_preview(struct camera_device * device) in usbcam_stop_preview()
447 int usbcam_preview_enabled(struct camera_device * device) in usbcam_preview_enabled()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.cpp329 int QCameraMuxer::set_preview_window(struct camera_device * device, in set_preview_window()
372 void QCameraMuxer::set_callBacks(struct camera_device * device, in set_callBacks()
442 void QCameraMuxer::enable_msg_type(struct camera_device * device, int32_t msg_type) in enable_msg_type()
471 void QCameraMuxer::disable_msg_type(struct camera_device * device, int32_t msg_type) in disable_msg_type()
500 int QCameraMuxer::msg_type_enabled(struct camera_device * device, int32_t msg_type) in msg_type_enabled()
535 int QCameraMuxer::start_preview(struct camera_device * device) in start_preview()
631 void QCameraMuxer::stop_preview(struct camera_device * device) in stop_preview()
665 int QCameraMuxer::preview_enabled(struct camera_device * device) in preview_enabled()
701 int QCameraMuxer::store_meta_data_in_buffers(struct camera_device * device, int enable) in store_meta_data_in_buffers()
739 int QCameraMuxer::start_recording(struct camera_device * device) in start_recording()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMuxer.cpp329 int QCameraMuxer::set_preview_window(struct camera_device * device, in set_preview_window()
372 void QCameraMuxer::set_callBacks(struct camera_device * device, in set_callBacks()
442 void QCameraMuxer::enable_msg_type(struct camera_device * device, int32_t msg_type) in enable_msg_type()
471 void QCameraMuxer::disable_msg_type(struct camera_device * device, int32_t msg_type) in disable_msg_type()
500 int QCameraMuxer::msg_type_enabled(struct camera_device * device, int32_t msg_type) in msg_type_enabled()
535 int QCameraMuxer::start_preview(struct camera_device * device) in start_preview()
631 void QCameraMuxer::stop_preview(struct camera_device * device) in stop_preview()
665 int QCameraMuxer::preview_enabled(struct camera_device * device) in preview_enabled()
701 int QCameraMuxer::store_meta_data_in_buffers(struct camera_device * device, int enable) in store_meta_data_in_buffers()
739 int QCameraMuxer::start_recording(struct camera_device * device) in start_recording()
[all …]
/hardware/libhardware/modules/local_time/
Dlocal_time_hw.c32 struct local_time_hw_device device; member
61 static int ltdev_close(hw_device_t *device) in ltdev_close()
68 hw_device_t** device) in ltdev_open()
/hardware/libhardware/tests/vehicle/
Dvehicle-hal-tool.c70 void list_all_properties(vehicle_hw_device_t *device) { in list_all_properties()
208 vehicle_hw_device_t *device, int32_t property, int32_t type, char *value_string) { in get_property()
244 void set_property(vehicle_hw_device_t *device, in set_property()
394 vehicle_hw_device_t *device, in subscribe_to_property()
426 hw_device_t *device = NULL; in main() local
/hardware/qcom/audio/legacy/alsa_sound/
DALSAMixer.cpp54 const AudioSystem::audio_devices device; member
305 status_t ALSAMixer::setVolume(uint32_t device, float left, float right) in setVolume()
328 status_t ALSAMixer::setGain(uint32_t device, float gain) in setGain()
351 status_t ALSAMixer::setCaptureMuteState(uint32_t device, bool state) in setCaptureMuteState()
375 status_t ALSAMixer::getCaptureMuteState(uint32_t device, bool *state) in getCaptureMuteState()
392 status_t ALSAMixer::setPlaybackMuteState(uint32_t device, bool state) in setPlaybackMuteState()
416 status_t ALSAMixer::getPlaybackMuteState(uint32_t device, bool *state) in getPlaybackMuteState()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_session.cpp207 int HWCSession::Open(const hw_module_t *module, const char *name, hw_device_t **device) { in Open()
234 int HWCSession::Close(hw_device_t *device) { in Close()
250 int HWCSession::Prepare(hwc_composer_device_1 *device, size_t num_displays, in Prepare()
353 int HWCSession::Set(hwc_composer_device_1 *device, size_t num_displays, in Set()
453 int HWCSession::EventControl(hwc_composer_device_1 *device, int disp, int event, int enable) { in EventControl()
467 int HWCSession::SetPowerMode(hwc_composer_device_1 *device, int disp, int mode) { in SetPowerMode()
488 int HWCSession::Query(hwc_composer_device_1 *device, int param, int *value) { in Query()
509 void HWCSession::RegisterProcs(hwc_composer_device_1 *device, hwc_procs_t const *procs) { in RegisterProcs()
520 void HWCSession::Dump(hwc_composer_device_1 *device, char *buffer, int length) { in Dump()
530 int HWCSession::GetDisplayConfigs(hwc_composer_device_1 *device, int disp, uint32_t *configs, in GetDisplayConfigs()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) in getDrmConnector()
39 uint32_t DrmConfig::getDrmEncoder(int device) in getDrmEncoder()
/hardware/libhardware/modules/radio/
Dradio_hal_tool.c39 void list_all_properties(radio_hw_device_t *device) { in list_all_properties()
70 void tune(radio_hw_device_t *device, int band_number) { in tune()
116 void get_tuner_metadata(radio_hw_device_t *device) { in get_tuner_metadata()
/hardware/libhardware/modules/vehicle/
Dvehicle.c154 static int vdev_init(vehicle_hw_device_t* device, in vdev_init()
173 static int vdev_release(vehicle_hw_device_t* device) { in vdev_release()
424 static int vdev_subscribe(vehicle_hw_device_t* device, int32_t prop, float sample_rate, in vdev_subscribe()
489 static int vdev_unsubscribe(vehicle_hw_device_t* device, int32_t prop) { in vdev_unsubscribe()
519 static int vdev_close(hw_device_t* device) { in vdev_close()
541 hw_device_t** device) { in vdev_open()

12345678910