Lines Matching refs:enabled
111 char enabled;
135 * - Once at least one sensor is "enabled", this code should periodically
136 * send information about the corresponding enabled sensors. The default
159 * appear if the corresponding sensor has been enabled by the HAL module.
376 if (hw->sensors[nn].enabled)
409 int id, enabled, oldEnabledMask = cl->enabledMask;
424 if (!hw->sensors[id].enabled) {
428 enabled = (q[0] == '1');
430 if (enabled)
442 if (enabled) {
522 qemu_put_be32(f, s->enabled);
573 s->enabled = qemu_get_be32(f);
610 h->sensors[i].enabled = 0;
676 h->sensors[ANDROID_SENSOR_ACCELERATION].enabled = 1;
680 h->sensors[ANDROID_SENSOR_PROXIMITY].enabled = 1;
684 h->sensors[ANDROID_SENSOR_MAGNETIC_FIELD].enabled = 1;
688 h->sensors[ANDROID_SENSOR_ORIENTATION].enabled = 1;
692 h->sensors[ANDROID_SENSOR_TEMPERATURE].enabled = 1;
748 if (! hw->sensors[id].enabled)
771 if (! sensor->enabled)
793 if (! hw->sensors[sensor_id].enabled)
812 return hw->sensors[sensor_id].enabled;