Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 23 of 23) 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/generic/goldfish/sensors/
Dsensors_qemu.c136 control__open_data_source(struct sensors_poll_device_1 *dev) in control__open_data_source()
151 control__activate(struct sensors_poll_device_1 *dev, in control__activate()
196 control__set_delay(struct sensors_poll_device_1 *dev, int32_t ms) in control__set_delay()
209 control__close(struct hw_device_t *dev) in control__close()
229 data__data_open(struct sensors_poll_device_1 *dev, native_handle_t* handle) in data__data_open()
248 data__data_close(struct sensors_poll_device_1 *dev) in data__data_close()
288 data__poll(struct sensors_poll_device_1 *dev, sensors_event_t* values) in data__poll()
404 data__close(struct hw_device_t *dev) in data__close()
419 static int poll__close(struct hw_device_t* dev) in poll__close()
433 static int poll__poll(struct sensors_poll_device_1 *dev, in poll__poll()
[all …]
/device/asus/fugu/libaudio/
Daudio_hal_thunks.cpp355 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
364 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
373 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
380 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
387 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
395 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute()
403 static size_t adev_get_input_buffer_size(const struct audio_hw_device *dev, in adev_get_input_buffer_size()
412 static int adev_open_input_stream(struct audio_hw_device *dev, in adev_open_input_stream()
475 static void adev_close_input_stream(struct audio_hw_device *dev, in adev_close_input_stream()
487 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
[all …]
/device/htc/flounder/lights/
Dlights.c64 static int set_light_battery(struct light_device_t* dev, in set_light_battery()
78 static int set_light_notifications(struct light_device_t* dev, in set_light_notifications()
92 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight()
106 static int close_lights(struct light_device_t *dev) in close_lights()
117 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/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()
355 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
408 static int gralloc_device_close(struct hw_device_t *dev) in gralloc_device_close()
424 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
434 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
461 static int fb_setUpdateRect(struct framebuffer_device_t* dev, in fb_setUpdateRect()
485 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
504 static int fb_close(struct hw_device_t *dev) in fb_close()
912 gralloc_device_t *dev; in gralloc_device_open() local
960 fb_device_t *dev; in gralloc_device_open() local
/device/asus/grouper/audio/
Daudio_hw.c141 struct audio_device *dev; member
161 struct audio_device *dev; member
1021 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1074 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1081 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
1130 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
1136 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
1141 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
1146 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
1151 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
[all …]
/device/asus/grouper/nfc/
Dnfc_hw.c102 static int pn544_close(hw_device_t *dev) { in pn544_close()
115 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); in nfc_open() local
/device/asus/grouper/liblights/
Dlights.c64 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight()
103 static int close_lights(struct light_device_t *dev) in close_lights()
126 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/samsung/manta/liblights/
Dlights.c112 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight()
125 static int close_lights(struct hw_device_t *dev) in close_lights()
317 static int set_light_leds_notifications(struct light_device_t *dev, in set_light_leds_notifications()
323 static int set_light_leds_attention(struct light_device_t *dev, in set_light_leds_attention()
344 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/samsung/manta/libsensors/
Dsensors.cpp321 static int poll__close(struct hw_device_t *dev) in poll__close()
331 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
339 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
347 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
363 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local
/device/samsung/manta/audio/
Daudio_hw.c175 struct audio_device *dev; member
201 struct audio_device *dev; member
973 struct audio_device *dev = out->dev; in output_devices() local
1576 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1674 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1693 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
1698 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
1717 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
1722 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
1727 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
[all …]
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp330 static int tee_generate_keypair(const keymaster_device_t* dev, in tee_generate_keypair()
409 static int tee_import_keypair(const keymaster_device_t* dev, in tee_import_keypair()
613 static int tee_get_keypair_public(const struct keymaster_device* dev, in tee_get_keypair_public()
725 static int tee_delete_keypair(const struct keymaster_device* dev, in tee_delete_keypair()
754 static int tee_sign_data(const keymaster_device_t* dev, in tee_sign_data()
824 static int tee_verify_data(const keymaster_device_t* dev, in tee_verify_data()
879 static int tee_close(hw_device_t *dev) { in tee_close()
905 Unique_keymaster_device_t dev(new keymaster_device_t); in tee_open() local
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp330 static int tee_generate_keypair(const keymaster_device_t* dev, in tee_generate_keypair()
409 static int tee_import_keypair(const keymaster_device_t* dev, in tee_import_keypair()
613 static int tee_get_keypair_public(const struct keymaster_device* dev, in tee_get_keypair_public()
725 static int tee_delete_keypair(const struct keymaster_device* dev, in tee_delete_keypair()
754 static int tee_sign_data(const keymaster_device_t* dev, in tee_sign_data()
824 static int tee_verify_data(const keymaster_device_t* dev, in tee_verify_data()
879 static int tee_close(hw_device_t *dev) { in tee_close()
905 Unique_keymaster_device_t dev(new keymaster_device_t); in tee_open() local
/device/asus/grouper/keymaster/
Dkeymaster_grouper.cpp330 static int tee_generate_keypair(const keymaster_device_t* dev, in tee_generate_keypair()
409 static int tee_import_keypair(const keymaster_device_t* dev, in tee_import_keypair()
613 static int tee_get_keypair_public(const struct keymaster_device* dev, in tee_get_keypair_public()
725 static int tee_delete_keypair(const struct keymaster_device* dev, in tee_delete_keypair()
754 static int tee_sign_data(const keymaster_device_t* dev, in tee_sign_data()
824 static int tee_verify_data(const keymaster_device_t* dev, in tee_verify_data()
879 static int tee_close(hw_device_t *dev) { in tee_close()
905 Unique_keymaster_device_t dev(new keymaster_device_t); in tee_open() local
/device/htc/flounder/audio/soundtrigger/
Dsound_trigger_hw.c348 static int stdev_get_properties(const struct sound_trigger_hw_device *dev, in stdev_get_properties()
361 static int stdev_load_sound_model(const struct sound_trigger_hw_device *dev, in stdev_load_sound_model()
399 static int stdev_unload_sound_model(const struct sound_trigger_hw_device *dev, in stdev_unload_sound_model()
437 static int stdev_start_recognition(const struct sound_trigger_hw_device *dev, in stdev_start_recognition()
480 static int stdev_stop_recognition(const struct sound_trigger_hw_device *dev, in stdev_stop_recognition()
/device/htc/flounder/audio/hal/
Daudio_hw.c3788 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
3948 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
3969 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
4065 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
4074 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
4081 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
4093 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
4101 static int adev_get_master_volume(struct audio_hw_device *dev, in adev_get_master_volume()
4110 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
4118 static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted) in adev_get_master_mute()
[all …]
Daudio_hw.h298 struct audio_device* dev; member
356 struct audio_device* dev; member
/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