Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware_legacy/flashlight/
Dflashlight.c16 char answer[256]; in qemu_get_flashlight_enabled() local
22 len = qemu_control_query( question, len, answer, sizeof answer ); in qemu_get_flashlight_enabled()
26 return (answer[0] == '1'); in qemu_get_flashlight_enabled()
/hardware/libhardware/include/hardware/
Dqemud.h66 char answer[2]; in qemud_channel_open() local
86 if (qemud_fd_read(fd, answer, 2) != 2 || in qemud_channel_open()
87 answer[0] != 'O' || answer[1] != 'K') { in qemud_channel_open()
/hardware/libhardware_legacy/qemu/
Dqemu.c79 char answer[2]; in qemu_channel_open_qemud() local
98 if (qemu_fd_read(fd, answer, 2) != 2 || in qemu_channel_open_qemud()
99 answer[0] != 'O' || answer[1] != 'K') { in qemu_channel_open_qemud()
329 char* answer, int answersize ) in qemu_control_query() argument
367 ret = qemu_fd_read( fd, answer, len ); in qemu_control_query()
/hardware/libhardware_legacy/
Dqemu.h84 char* answer, int answersize );
/hardware/ril/reference-ril/
Dreference-ril.c2017 char answer[2]; local
2020 read(fd, answer, 2) != 2 ||
2021 memcmp(answer, "OK", 2) != 0)