Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_verity_test.cpp36 using android::apex::testing::IsOk;
50 ASSERT_TRUE(IsOk(apex)); in TEST()
52 ASSERT_TRUE(IsOk(verity_data)); in TEST()
56 ASSERT_TRUE(IsOk(status)); in TEST()
66 ASSERT_TRUE(IsOk(status)); in TEST()
82 ASSERT_TRUE(IsOk(apex)); in TEST()
84 ASSERT_TRUE(IsOk(verity_data)); in TEST()
88 ASSERT_TRUE(IsOk(status)); in TEST()
97 ASSERT_TRUE(IsOk(apex2)); in TEST()
99 ASSERT_TRUE(IsOk(verity_data2)); in TEST()
[all …]
Dapex_file_repository_test.cpp42 using android::apex::testing::IsOk;
84 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({built_in_dir.path}))); in TEST()
85 ASSERT_TRUE(IsOk(instance.AddDataApex(data_dir.path))); in TEST()
90 ASSERT_TRUE(IsOk(apex)); in TEST()
94 ASSERT_TRUE(IsOk(ret)); in TEST()
100 ASSERT_TRUE(IsOk(ret)); in TEST()
107 ASSERT_TRUE(IsOk(ret)); in TEST()
119 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({built_in_dir.path}))); in TEST()
120 ASSERT_TRUE(IsOk(instance.AddDataApex(data_dir.path))); in TEST()
134 ASSERT_FALSE(IsOk(instance.AddPreInstalledApex({td.path}))); in TEST()
[all …]
Dapexd_utils_test.cpp40 using android::apex::testing::IsOk;
58 IsOk(content); in TEST()
62 IsOk(del_result); in TEST()
64 IsOk(content); in TEST()
72 ASSERT_TRUE(IsOk(result)); in TEST()
80 ASSERT_TRUE(IsOk(result)); in TEST()
88 ASSERT_TRUE(IsOk(result)); in TEST()
96 ASSERT_FALSE(IsOk(result)); in TEST()
103 ASSERT_TRUE(IsOk(result)); in TEST()
111 ASSERT_TRUE(IsOk(result)); in TEST()
[all …]
Dapexservice_test.cpp74 using android::apex::testing::IsOk;
127 ASSERT_TRUE(IsOk(status)); in SetUp()
368 ASSERT_FALSE(IsOk(apex_file)); in Prepare()
560 EXPECT_TRUE(IsOk(st)); in ListSlavesOfDmDevice()
617 ASSERT_FALSE(IsOk(st)); in TEST_F()
633 ASSERT_FALSE(IsOk(st)); in TEST_F()
649 ASSERT_TRUE(IsOk(service_->stagePackages({installer.test_file}))); in TEST_F()
665 ASSERT_TRUE(IsOk(service_->submitStagedSession(params, &list))); in TEST_F()
686 ASSERT_TRUE(IsOk(service_->submitStagedSession(params, &list))); in TEST_F()
703 ASSERT_FALSE(IsOk(service_->submitStagedSession(params, &list))); in TEST_F()
[all …]
Dapexd_test.cpp46 using android::apex::testing::IsOk;
221 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
229 ASSERT_TRUE(IsOk(instance.AddDataApex(GetDataDir()))); in TEST_F()
251 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
257 ASSERT_TRUE(IsOk(instance.AddDataApex(GetDataDir()))); in TEST_F()
274 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
279 ASSERT_TRUE(IsOk(instance.AddDataApex(GetDataDir()))); in TEST_F()
296 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
301 ASSERT_TRUE(IsOk(instance.AddDataApex(GetDataDir()))); in TEST_F()
318 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
[all …]
Dapexd_session_test.cpp39 using android::apex::testing::IsOk;
110 ASSERT_TRUE(IsOk(ApexSession::MigrateToMetadataSessionsDir())); in TEST()
116 ASSERT_TRUE(IsOk(migrated_session_1)); in TEST()
120 ASSERT_TRUE(IsOk(migrated_session_2)); in TEST()
Dapexd_test_utils.h58 inline ::testing::AssertionResult IsOk(const android::base::Result<T>& result) { in IsOk() function
66 inline ::testing::AssertionResult IsOk(const android::binder::Status& status) { in IsOk() function