Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexservice_test.cpp68 using android::apex::testing::IsOk;
104 ASSERT_TRUE(IsOk(status)); in SetUp()
321 ASSERT_FALSE(IsOk(apex_file)); in Prepare()
425 ASSERT_TRUE(IsOk(status)); in CleanUp()
482 ASSERT_FALSE(IsOk(st)); in TEST_F()
507 ASSERT_FALSE(IsOk(st));
538 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
556 ASSERT_TRUE(IsOk(service_->submitStagedSession(1543, {}, &list, &success))); in TEST_F()
580 ASSERT_TRUE(IsOk(service_->submitStagedSession(239, {}, &list, &success))); in TEST_F()
602 ASSERT_TRUE(IsOk(service_->stagePackage(installer.test_file, &success))); in TEST_F()
[all …]
Dapexd_test_utils.h36 inline ::testing::AssertionResult IsOk(const Status& status) { in IsOk() function
46 inline ::testing::AssertionResult IsOk(const StatusOr<T>& status_or) { in IsOk() function
55 inline ::testing::AssertionResult IsOk(const android::binder::Status& status) { in IsOk() function
/system/core/liblog/tests/
Dliblog_test.cpp1748 static testing::AssertionResult IsOk(bool ok, std::string& message) { in IsOk() function
1799 IsOk((ret == -ENOENT) || (ret == -ENOTCONN) || (ret == -ECONNREFUSED), in TEST()
1806 IsOk((ret == -ENOENT) || (ret == -ENOTCONN) || (ret == -ECONNREFUSED), in TEST()