Home
last modified time | relevance | path

Searched refs:lights (Results 1 – 25 of 37) 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.bp11 name: "android.hardware.lights-service.example",
13 init_rc: ["lights-default.rc"],
14 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.cpp37 ndk::ScopedAStatus Lights::getLights(std::vector<HwLight>* lights) { in getLights() argument
39 lights->push_back({i, i}); in getLights()
Dlights-default.rc1 service vendor.light-default /vendor/bin/hw/android.hardware.lights-service.example
DLights.h29 ndk::ScopedAStatus getLights(std::vector<HwLight>* lights) override;
/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()
/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()
/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/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/qcom/sm7250/display/
DCleanSpec.mk17 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.kona.so)
18 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.kona.so)
25 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.msmnile.so)
26 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.msmnile.so)
33 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.trinket.so)
34 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.trinket.so)
41 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.talos.so)
42 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.talos.so)
/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/sm8150/display/
DCleanSpec.mk18 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.msmnile.so)
19 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.msmnile.so)
26 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.trinket.so)
27 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.trinket.so)
34 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/lights.talos.so)
35 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/lights.talos.so)
/hardware/qcom/display/msm8998/liblight/
DAndroid.mk20 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/msm8994/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/sm8150/display/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/sm7250/display/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8960/liblight/
DAndroid.mk20 LOCAL_SRC_FILES := lights.c
/hardware/qcom/display/msm8909/liblight/
DAndroid.mk21 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

12