Lines Matching refs:Status
33 using ::android::hardware::light::V2_0::Status;
96 Return<Status> ret = light->setLight(type, kOff); in TearDown()
98 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TearDown()
105 Return<Status> ret = light->setLight(Type::BACKLIGHT, kWhite); in TearDown()
107 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TearDown()
117 Return<Status> ret = light->setLight(type, kWhite); in TEST_P()
119 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TEST_P()
128 Return<Status> ret = light->setLight(type, kLowPersistance); in TEST_P()
131 Status status = ret; in TEST_P()
132 EXPECT_TRUE(Status::SUCCESS == status || in TEST_P()
133 Status::BRIGHTNESS_NOT_SUPPORTED == status); in TEST_P()
147 Return<Status> ret = light->setLight(type, kWhite); in TEST_P()
149 EXPECT_EQ(Status::LIGHT_NOT_SUPPORTED, static_cast<Status>(ret)); in TEST_P()