Home | History | Annotate | Download | only in tests

Lines Matching refs:led

420     void addLed(int32_t deviceId, int32_t led, bool initialState) {
422 device->leds.add(led, initialState);
425 bool getLedState(int32_t deviceId, int32_t led) {
427 return device->leds.valueFor(led);
644 virtual bool hasLed(int32_t deviceId, int32_t led) const {
646 return device && device->leds.indexOfKey(led) >= 0;
649 virtual void setLedState(int32_t deviceId, int32_t led, bool on) {
652 ssize_t index = device->leds.indexOfKey(led);
654 device->leds.replaceValueAt(led, on);
657 << "Attempted to set the state of an LED that the EventHub declared "
658 "was not present. led=" << led;