Home
last modified time | relevance | path

Searched refs:lights (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/light/aidl/vts/functional/
DVtsHalLightTargetTest.cpp56 lights = android::waitForDeclaredService<ILights>(String16(GetParam().c_str())); in SetUp()
57 ASSERT_NE(lights, nullptr); in SetUp()
58 ASSERT_TRUE(lights->getLights(&supportedLights).isOk()); in SetUp()
61 sp<ILights> lights; member in LightsAidl
70 EXPECT_TRUE(lights->setLightState(light.id, off).isOk()); in TearDown()
80 EXPECT_TRUE(lights->setLightState(light.id, backlightOn).isOk()); in TearDown()
97 EXPECT_TRUE(lights->setLightState(light.id, whiteFlashing).isOk()); in TEST_P()
144 Status status = lights->setLightState(light.id, lowPersistence); in TEST_P()
158 Status status = lights->setLightState(maxId + 1, HwLightState()); in TEST_P()
/hardware/interfaces/light/aidl/default/
DAndroid.bp2 name: "android.hardware.lights-service.example",
4 init_rc: ["lights-default.rc"],
5 vintf_fragments: ["lights-default.xml"],
Dmain.cpp27 std::shared_ptr<Lights> lights = ndk::SharedRefBase::make<Lights>(); in main() local
30 binder_status_t status = AServiceManager_addService(lights->asBinder().get(), instance.c_str()); in main()
Dlights-default.rc1 service vendor.light-default /vendor/bin/hw/android.hardware.lights-service.example
/hardware/google/interfaces/light/1.0/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*>&& lights) in Light() argument
47 : mLights(std::move(lights)) {} in Light()
151 std::map<Type, light_device_t*> lights; in HIDL_FETCH_ILight() local
159 if (light != nullptr) lights[type] = light; in HIDL_FETCH_ILight()
162 if (lights.size() == 0) { in HIDL_FETCH_ILight()
168 return new Light(std::move(lights)); in HIDL_FETCH_ILight()
Dhardware.google.light@1.0-service.rc7 # shutting off lights while powering-off
/hardware/google/interfaces/light/1.1/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*>&& lights) in Light() argument
47 : mLights(std::move(lights)) {} in Light()
151 std::map<Type, light_device_t*> lights; in HIDL_FETCH_ILight() local
159 if (light != nullptr) lights[type] = light; in HIDL_FETCH_ILight()
162 if (lights.size() == 0) { in HIDL_FETCH_ILight()
168 return new Light(std::move(lights)); in HIDL_FETCH_ILight()
Dhardware.google.light@1.1-service.rc8 # shutting off lights while powering-off
/hardware/interfaces/light/2.0/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*> &&lights) in Light() argument
47 : mLights(std::move(lights)) {} in Light()
158 std::map<Type, light_device_t*> lights; in HIDL_FETCH_ILight() local
167 lights[type] = light; in HIDL_FETCH_ILight()
171 if (lights.size() == 0) { in HIDL_FETCH_ILight()
177 return new Light(std::move(lights)); in HIDL_FETCH_ILight()
Dandroid.hardware.light@2.0-service.rc6 # shutting off lights while powering-off
Dandroid.hardware.light@2.0-service-lazy.rc8 # shutting off lights while powering-off
/hardware/qcom/sm8150/display/
DCleanSpec.mk15 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.msmnile.so)
16 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.msmnile.so)
23 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.trinket.so)
24 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.trinket.so)
31 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.talos.so)
32 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.talos.so)
/hardware/interfaces/light/2.0/
DILight.hal22 * Set the provided lights to the provided values.
31 * Discover what indicator lights are available.
33 * @return types list of available lights
/hardware/interfaces/light/utils/
Dmain.cpp66 std::vector<aidl::HwLight> lights; in setToColorAidl() local
67 Status status = hal->getLights(&lights); in setToColorAidl()
73 for (auto light : lights) { in setToColorAidl()
/hardware/qcom/display/msm8998/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8994/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8909/liblight/
DAndroid.mk21 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8226/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8084/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8960/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/sm8150/display/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/sdm845/display/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8996/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8909w_3100/liblight/
DAndroid.mk23 LOCAL_SRC_FILES := lights.c lights_prv.cpp
/hardware/qcom/sdm845/display/config/
Dsdm845.mk14 lights.sdm845 \

12