Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 17 of 17) sorted by relevance

/device/generic/goldfish/lights/
Dlights_qemu.c65 set_light_backlight( struct light_device_t* dev, struct light_state_t const* state ) in set_light_backlight()
101 set_light_buttons( struct light_device_t* dev, struct light_state_t const* state ) in set_light_buttons()
110 set_light_battery( struct light_device_t* dev, struct light_state_t const* state ) in set_light_battery()
119 set_light_keyboard( struct light_device_t* dev, struct light_state_t const* state ) in set_light_keyboard()
128 set_light_notifications( struct light_device_t* dev, struct light_state_t const* state ) in set_light_notifications()
137 set_light_attention( struct light_device_t* dev, struct light_state_t const* state ) in set_light_attention()
147 close_lights( struct light_device_t *dev ) in close_lights()
182 struct light_device_t *dev = malloc( sizeof(struct light_device_t) ); in open_lights() local
/device/generic/goldfish/camera/
DEmulatedCamera.cpp688 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
700 struct camera_device* dev, in set_callbacks()
715 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) in enable_msg_type()
725 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) in disable_msg_type()
735 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_t msg_type) in msg_type_enabled()
745 int EmulatedCamera::start_preview(struct camera_device* dev) in start_preview()
755 void EmulatedCamera::stop_preview(struct camera_device* dev) in stop_preview()
765 int EmulatedCamera::preview_enabled(struct camera_device* dev) in preview_enabled()
775 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
786 int EmulatedCamera::start_recording(struct camera_device* dev) in start_recording()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c55 struct generic_audio_device *dev; member
61 struct generic_audio_device *dev; member
369 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
430 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
443 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
448 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
454 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
464 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
470 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
475 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/device/htc/flounder/lights/
Dlights.c65 static int set_light_battery(struct light_device_t* dev, in set_light_battery()
79 static int set_light_notifications(struct light_device_t* dev, in set_light_notifications()
93 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight()
107 static int close_lights(struct light_device_t *dev) in close_lights()
118 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/asus/fugu/libaudio/
Daudio_hal_thunks.cpp376 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
385 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
394 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
401 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
408 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
416 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute()
424 static size_t adev_get_input_buffer_size(const struct audio_hw_device *dev, in adev_get_input_buffer_size()
433 static int adev_open_input_stream(struct audio_hw_device *dev, in adev_open_input_stream()
496 static void adev_close_input_stream(struct audio_hw_device *dev, in adev_close_input_stream()
508 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
[all …]
/device/huawei/angler/liblight/
Dlights.c146 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
163 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
245 set_light_battery(struct light_device_t* dev, in set_light_battery()
261 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
277 close_lights(struct light_device_t *dev) in close_lights()
312 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp768 static int poll__close(struct hw_device_t *dev) in poll__close()
777 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
783 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
789 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
795 static int poll__batch(struct sensors_poll_device_1 *dev, in poll__batch()
802 static int poll__flush(struct sensors_poll_device_1 *dev, in poll__flush()
814 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local
/device/lge/hammerhead/liblight/
Dlights.c109 static int set_light_backlight(struct light_device_t* dev, in set_light_backlight()
175 static int set_light_notifications(struct light_device_t* dev, in set_light_notifications()
185 static int set_light_attention(struct light_device_t* dev, in set_light_attention()
197 static int close_lights(struct light_device_t *dev) in close_lights()
229 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/generic/goldfish/sensors/
Dsensors_qemu.c165 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
182 static int sensor_device_send_command_locked(SensorDevice* dev, in sensor_device_send_command_locked()
236 static int sensor_device_poll_event_locked(SensorDevice* dev) in sensor_device_poll_event_locked()
379 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
403 SensorDevice* dev = (void*)dev0; in sensor_device_poll() local
453 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
500 SensorDevice* dev = (void*)dev0; in sensor_device_set_delay() local
648 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/lge/hammerhead/libsensors/
Dsensors.cpp388 static int poll__close(struct hw_device_t *dev) in poll__close()
397 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
404 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
412 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
419 static int poll__batch(struct sensors_poll_device_1 *dev, in poll__batch()
426 static int poll__flush(struct sensors_poll_device_1 *dev, in poll__flush()
439 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local
/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp125 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc()
356 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
409 static int gralloc_device_close(struct hw_device_t *dev) in gralloc_device_close()
425 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
435 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
462 static int fb_setUpdateRect(struct framebuffer_device_t* dev, in fb_setUpdateRect()
486 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
505 static int fb_close(struct hw_device_t *dev) in fb_close()
913 gralloc_device_t *dev; in gralloc_device_open() local
961 fb_device_t *dev; in gralloc_device_open() local
/device/htc/flounder/audio/soundtrigger/
Dsound_trigger_hw.c349 static int stdev_get_properties(const struct sound_trigger_hw_device *dev, in stdev_get_properties()
362 static int stdev_load_sound_model(const struct sound_trigger_hw_device *dev, in stdev_load_sound_model()
400 static int stdev_unload_sound_model(const struct sound_trigger_hw_device *dev, in stdev_unload_sound_model()
438 static int stdev_start_recognition(const struct sound_trigger_hw_device *dev, in stdev_start_recognition()
481 static int stdev_stop_recognition(const struct sound_trigger_hw_device *dev, in stdev_stop_recognition()
/device/htc/flounder/audio/hal/
Daudio_hw.c3878 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
4041 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
4062 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
4162 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
4171 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
4178 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
4190 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
4198 static int adev_get_master_volume(struct audio_hw_device *dev, in adev_get_master_volume()
4207 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
4215 static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted) in adev_get_master_mute()
[all …]
Daudio_hw.h301 struct audio_device* dev; member
364 struct audio_device* dev; member
/device/lge/bullhead/liblight/
Dlights.c197 static int close_lights(struct light_device_t *dev) in close_lights()
229 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/generic/goldfish/fingerprint/
Dfingerprint.c225 qemu_fingerprint_device_t* dev = (qemu_fingerprint_device_t*)device; in fingerprint_enroll() local
513 static worker_state_t getListenerState(qemu_fingerprint_device_t* dev) { in getListenerState()
/device/generic/goldfish/gps/
Dgps_qemu.c921 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) in gps__get_gps_interface()
929 struct gps_device_t *dev = malloc(sizeof(struct gps_device_t)); in open_gps() local