Lines Matching refs:light
20 #include <android/hardware/light/2.0/ILight.h>
21 #include <android/hardware/light/2.0/types.h>
26 using ::android::hardware::light::V2_0::Brightness;
27 using ::android::hardware::light::V2_0::Flash;
28 using ::android::hardware::light::V2_0::ILight;
29 using ::android::hardware::light::V2_0::LightState;
30 using ::android::hardware::light::V2_0::Status;
31 using ::android::hardware::light::V2_0::Type;
78 light = ::testing::VtsHalHidlTargetTestBase::getService<ILight>();
80 ASSERT_NE(light, nullptr);
81 LOG(INFO) << "Test is remote " << light->isRemote();
83 ASSERT_OK(light->getSupportedTypes([this](const hidl_vec<Type> &types) {
88 sp<ILight> light;
93 Return<Status> ret = light->setLight(type, kOff);
102 Return<Status> ret = light->setLight(Type::BACKLIGHT, kWhite);
115 Return<Status> ret = light->setLight(type, kWhite);
126 Return<Status> ret = light->setLight(type, kLowPersistance);
145 Return<Status> ret = light->setLight(type, kWhite);