Searched refs:device_state (Results 1 – 5 of 5) sorted by relevance
148 for (const auto& device_state : custom_action.device_states) { in ToJson() local150 if (device_state.lid_switch_open) { in ToJson()152 *device_state.lid_switch_open; in ToJson()154 if (device_state.hinge_angle_value) { in ToJson()156 *device_state.hinge_angle_value; in ToJson()
467 for (const DeviceState& device_state : button.device_states) { in OnOpen() local469 if (device_state.lid_switch_open) { in OnOpen()471 *device_state.lid_switch_open; in OnOpen()473 if (device_state.hinge_angle_value) { in OnOpen()475 *device_state.hinge_angle_value; in OnOpen()
3 STATE=`getprop ro.boot.qemu.device_state`
4 on property:init.svc.qemu-device-state=stopped && property:ro.boot.qemu.device_state=*
320 for (const device_state of button.device_states) {323 if ('hinge_angle_value' in device_state) {