Lines Matching refs:light
36 using ::aidl::android::hardware::light::BnLights;
37 using ::aidl::android::hardware::light::HwLight;
38 using ::aidl::android::hardware::light::HwLightState;
39 using ::aidl::android::hardware::light::ILights;
40 using ::aidl::android::hardware::light::LightType;
91 HwLight light{}; in addLight() local
92 light.id = availableLights.size(); in addLight()
93 light.type = type; in addLight()
94 light.ordinal = ordinal; in addLight()
95 availableLights.emplace_back(light); in addLight()
167 HwLight const& light = availableLights[id]; in setLightState() local
171 switch (light.type) { in setLightState()
173 ret = writeLedArray(ARRAY_LED_DEVICE, lightAddrs[light.ordinal], color); in setLightState()
203 std::shared_ptr<Lights> light = SharedRefBase::make<Lights>(); in main() local
206 binder_status_t status = AServiceManager_addService(light->asBinder().get(), instance.c_str()); in main()