Searched refs:light (Results 1 – 4 of 4) sorted by relevance
46 mPendingEvent.light = indexToValue(event->value); in handleEvent()47 if (mPendingEvent.light != mPreviousLight) { in handleEvent()48 mPreviousLight = mPendingEvent.light; in handleEvent()
139 light, enumerator164 return light; in handleToDriver()201 mSensors[light] = new LightSensor(); in sensors_poll_context_t()202 mPollFds[light].fd = mSensors[light]->getFd(); in sensors_poll_context_t()203 mPollFds[light].events = POLLIN; in sensors_poll_context_t()204 mPollFds[light].revents = 0; in sensors_poll_context_t()
93 private int light; field in DemoKitActivity.LightMsg95 public LightMsg(int light) { in LightMsg() argument96 this.light = light; in LightMsg()100 return light; in getLight()
109 …eworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sen…