Home | History | Annotate | Download | only in default

Lines Matching refs:Light

17 #define LOG_TAG "light"
21 #include "Light.h"
25 namespace light {
44 Light::Light(std::map<Type, light_device_t*> &&lights)
47 // Methods from ::android::hardware::light::V2_0::ILight follow.
48 Return<Status> Light::setLight(Type type, const LightState& state) {
77 Return<void> Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) {
128 ALOGE("Light passthrough failed to load legacy HAL.");
140 light_device_t* light = getLightDevice(name);
142 if (light != nullptr) {
143 lights[type] = light;
148 // Log information, but still return new Light.
153 return new Light(std::move(lights));
158 } // namespace light