Home
last modified time | relevance | path

Searched refs:IsOk (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/health/aidl/vts/functional/
DVtsHalHealthTargetTest.cpp67 MATCHER(IsOk, "") {
140 ASSERT_THAT(health->registerCallback(first_callback), IsOk()); in TEST_P()
141 ASSERT_THAT(health->registerCallback(second_callback), IsOk()); in TEST_P()
150 ASSERT_THAT(health->update(), IsOk()); in TEST_P()
155 ASSERT_THAT(health->unregisterCallback(first_callback), IsOk()); in TEST_P()
163 ASSERT_THAT(health->update(), IsOk()); in TEST_P()
168 ASSERT_THAT(health->unregisterCallback(second_callback), IsOk()); in TEST_P()
183 ASSERT_THAT(status, AnyOf(IsOk(), ExceptionIs(EX_UNSUPPORTED_OPERATION))); in TEST_P()
194 ASSERT_THAT(status, AnyOf(IsOk(), ExceptionIs(EX_UNSUPPORTED_OPERATION))); in TEST_P()
205 ASSERT_THAT(status, AnyOf(IsOk(), ExceptionIs(EX_UNSUPPORTED_OPERATION))); in TEST_P()
[all …]
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp126 AssertionResult IsOk(const Return<T>& r) { in IsOk() function
194 TEST_AND_RETURN(IsOk(ret)); in TestUnregisterNonExistentCallback()
229 EXPECT_TRUE(IsOk(service_->getHealthInfo_2_1([](auto result, const auto& value) { in TEST_P()
251 EXPECT_TRUE(IsOk(service_->getHealthConfig([](auto result, const auto&) { in TEST_P()
257 EXPECT_TRUE(IsOk(service_->shouldKeepScreenOn([](auto result, const auto&) { in TEST_P()
/hardware/google/aemu/base/include/aemu/base/testing/
DResultMatchers.h44 MATCHER(IsOk, "Ok()") {
48 MATCHER_P(IsOk, value, "Ok(" + ::testing::PrintToString(value) + ")") {
/hardware/interfaces/health/utils/libhealthshim/
Dtest.cpp38 MATCHER(IsOk, "") {
83 ASSERT_THAT(shim->aidl_name(&value), IsOk()); \
131 ASSERT_THAT(shim->name(&aidl_value), IsOk()); \
/hardware/interfaces/boot/aidl/client/include/
DBootControlClient.h32 constexpr bool IsOk() const { return success; } in IsOk() function
/hardware/interfaces/drm/aidl/vts/include/
Ddrm_hal_common.h53 #define EXPECT_OK(ret) EXPECT_TRUE(::aidl::android::hardware::drm::vts::IsOk(ret))
68 testing::AssertionResult IsOk(const ::ndk::ScopedAStatus& ret);
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.h59 MATCHER(IsOk, "an ok result") {
106 ASSERT_THAT(gl_result, IsOk()); \
DGfxstreamEnd2EndGlTests.cpp366 ASSERT_THAT(result, IsOk()); in TEST_P()
/hardware/interfaces/drm/aidl/vts/
Ddrm_hal_common.cpp82 testing::AssertionResult IsOk(const ::ndk::ScopedAStatus& ret) { in IsOk() function