Home
last modified time | relevance | path

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

/external/qemu/hw/
Dgoldfish_battery.c42 int ac_online; member
56 QFIELD_INT32(ac_online), in QFIELD_INT32()
100 return s->ac_online; in goldfish_battery_read()
157 s->ac_online = 1; in goldfish_battery_init()
178 battery_state->ac_online = value; in goldfish_battery_set_prop()
209 sprintf(buffer, "AC: %s\r\n", (battery_state->ac_online ? "online" : "offline")); in goldfish_battery_display()