Lines Matching refs:Status
31 using ::android::hardware::light::V2_0::Status;
109 Return<Status> ret = light->setLight(type, kOff); in TearDown()
111 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TearDown()
118 Return<Status> ret = light->setLight(Type::BACKLIGHT, kWhite); in TearDown()
120 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TearDown()
131 Return<Status> ret = light->setLight(type, kWhite); in TEST_F()
133 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(ret)); in TEST_F()
142 Return<Status> ret = light->setLight(type, kLowPersistance); in TEST_F()
145 Status status = ret; in TEST_F()
146 EXPECT_TRUE(Status::SUCCESS == status || in TEST_F()
147 Status::BRIGHTNESS_NOT_SUPPORTED == status); in TEST_F()
161 Return<Status> ret = light->setLight(type, kWhite); in TEST_F()
163 EXPECT_EQ(Status::LIGHT_NOT_SUPPORTED, static_cast<Status>(ret)); in TEST_F()