Lines Matching defs:on
11 * distributed under the License is distributed on an "AS IS" BASIS,
107 // Touch devices get dibs on touch-related axes.
527 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
530 setLedStateLocked(device, led, on);
533 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) {
541 ev.value = on ? 1 : 0;
599 // built-in so we need to rely on other information to uniquely identify
600 // the input device. Usually we try to avoid relying on the device name or
662 ALOGW("Could not start force feedback effect on device %s due to error %d.",
684 ALOGW("Could not stop force feedback effect on device %s due to error %d.",
859 // which simply timestamps all events on entry to evdev.
913 // Double-check. Time may have moved on.
941 // so we will try to read the device again on the next iteration.
1089 // Check to see if the device is on our excluded list