OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:vibradev
(Results
1 - 2
of
2
) sorted by null
/device/generic/goldfish/vibrator/
vibrator_qemu.c
39
static int qemu_vibra_on(vibrator_device_t*
vibradev
__unused, unsigned int timeout_ms)
44
static int qemu_vibra_off(vibrator_device_t*
vibradev
__unused)
57
vibrator_device_t *
vibradev
= calloc(1, sizeof(vibrator_device_t));
local
59
if (!
vibradev
) {
64
vibradev
->common.tag = HARDWARE_DEVICE_TAG;
65
vibradev
->common.module = (hw_module_t *) module;
66
vibradev
->common.version = HARDWARE_DEVICE_API_VERSION(1,0);
67
vibradev
->common.close = qemu_vibra_close;
69
vibradev
->vibrator_on = qemu_vibra_on;
70
vibradev
->vibrator_off = qemu_vibra_off
[
all
...]
/hardware/libhardware/modules/vibrator/
vibrator.c
76
static int vibra_on(vibrator_device_t*
vibradev
__unused, unsigned int timeout_ms)
82
static int vibra_off(vibrator_device_t*
vibradev
__unused)
100
vibrator_device_t *
vibradev
= calloc(1, sizeof(vibrator_device_t));
local
102
if (!
vibradev
) {
107
vibradev
->common.tag = HARDWARE_DEVICE_TAG;
108
vibradev
->common.module = (hw_module_t *) module;
109
vibradev
->common.version = HARDWARE_DEVICE_API_VERSION(1,0);
110
vibradev
->common.close = vibra_close;
112
vibradev
->vibrator_on = vibra_on;
113
vibradev
->vibrator_off = vibra_off
[
all
...]
Completed in 43 milliseconds