Searched refs:AddPreInstalledApex (Results 1 – 6 of 6) sorted by relevance
143 std::string AddPreInstalledApex(const std::string& apex_name) { in AddPreInstalledApex() function in android::apex::ApexdUnitTest215 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()216 AddPreInstalledApex("com.android.apex.cts.shim.apex"); in TEST_F()217 auto shared_lib_1 = ApexFile::Open(AddPreInstalledApex( in TEST_F()221 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()248 ApexFile::Open(AddPreInstalledApex("apex.apexd_test_v2.apex")); in TEST_F()249 AddPreInstalledApex("com.android.apex.cts.shim.apex"); in TEST_F()251 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()270 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()271 AddPreInstalledApex("com.android.apex.cts.shim.apex"); in TEST_F()[all …]
84 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({built_in_dir.path}))); in TEST()119 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({built_in_dir.path}))); in TEST()134 ASSERT_FALSE(IsOk(instance.AddPreInstalledApex({td.path}))); in TEST()145 ASSERT_FALSE(IsOk(instance.AddPreInstalledApex({td.path}))); in TEST()158 instance.AddPreInstalledApex({td.path}); in TEST()174 instance.AddPreInstalledApex({td.path}); in TEST()185 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({td.path}))); in TEST()209 ASSERT_DEATH({ instance.AddPreInstalledApex({td.path}); }, ""); in TEST()219 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({td.path}))); in TEST()244 ASSERT_DEATH({ instance.AddPreInstalledApex({td.path}); }, ""); in TEST()[all …]
60 android::base::Result<void> AddPreInstalledApex(
95 android::base::Result<void> ApexFileRepository::AddPreInstalledApex( in AddPreInstalledApex() function in android::apex::ApexFileRepository
2362 Result<void> status = instance.AddPreInstalledApex(kBootstrapApexDirs); in OnBootstrap()2441 Result<void> status = instance.AddPreInstalledApex(kApexPackageBuiltinDirs); in Initialize()3252 if (auto status = instance.AddPreInstalledApex(gConfig->apex_built_in_dirs); in OnOtaChrootBootstrap()
641 if (auto res = instance.AddPreInstalledApex(paths); !res.ok()) { in recollectPreinstalledData()