Lines Matching refs:AddPreInstalledApex
143 std::string AddPreInstalledApex(const std::string& apex_name) { in AddPreInstalledApex() function in android::apex::ApexdUnitTest
215 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()
274 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
292 auto shared_lib_v1 = ApexFile::Open(AddPreInstalledApex( in TEST_F()
296 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
314 auto shared_lib_v2 = ApexFile::Open(AddPreInstalledApex( in TEST_F()
318 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
334 AddPreInstalledApex("com.android.apex.compressed.v1.capex")); in TEST_F()
364 auto compressed_apex_mismatch_key = ApexFile::Open(AddPreInstalledApex( in TEST_F()
367 AddPreInstalledApex("com.android.apex.compressed.v1_with_v2_apex.capex")); in TEST_F()
380 AddPreInstalledApex("com.android.apex.compressed.v1.capex")); in TEST_F()
421 AddPreInstalledApex("com.android.apex.compressed.v1.capex")); in TEST_F()
453 AddPreInstalledApex("com.android.apex.compressed.v1.capex")); in TEST_F()
487 auto compressed_apex = ApexFile::Open(AddPreInstalledApex( in TEST_F()
522 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
534 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
536 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
570 ASSERT_TRUE(IsOk(instance.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
606 ASSERT_TRUE(IsOk(instance_new.AddPreInstalledApex({GetBuiltInDir()}))); in TEST_F()
764 std::string file_path = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
765 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
785 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
786 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
799 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
800 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
810 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
811 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
826 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
827 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
838 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
839 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
851 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
852 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
864 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
865 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
877 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
878 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
889 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
890 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
906 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
907 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
923 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
924 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
936 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
937 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
949 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
950 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
996 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
997 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1037 AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1038 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1085 AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1086 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1138 AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1139 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1186 std::string file_path = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1187 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1229 AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1230 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1274 auto apex_1 = AddPreInstalledApex("test.rebootless_apex_v1.apex"); in TEST_F()
1275 auto apex_2 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1276 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1320 std::string file_path = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1321 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1354 std::string file_path = AddPreInstalledApex( in TEST_F()
1356 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1377 AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
1398 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1403 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()}); in TEST_F()
1420 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1422 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1456 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1457 AddPreInstalledApex("apex.apexd_test_corrupt_superblock_apex.apex"); in TEST_F()
1463 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1465 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1508 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1510 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1553 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test_v2.apex"); in TEST_F()
1555 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1592 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1594 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1632 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1634 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
1678 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1706 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1707 std::string apex_path_2 = AddPreInstalledApex( in TEST_F()
1783 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
1784 std::string apex_path_2 = AddPreInstalledApex( in TEST_F()
1881 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
1924 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
1959 AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
2055 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2119 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2166 AddPreInstalledApex("com.android.apex.compressed.v1_original.apex"); in TEST_F()
2201 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2282 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
2374 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2426 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2427 std::string apex_path_2 = AddPreInstalledApex( in TEST_F()
2448 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2450 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2479 AddPreInstalledApex("apex.apexd_test_manifest_mismatch.apex"); in TEST_F()
2481 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2514 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2516 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2615 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2617 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2620 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2641 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2643 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2647 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2668 std::string apex_path = AddPreInstalledApex("com.android.apex.cts.shim.apex"); in TEST_F()
2672 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2689 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2691 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2695 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2724 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test_v2.apex"); in TEST_F()
2726 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2730 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2759 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2761 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2765 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2794 std::string apex_path_1 = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
2796 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
2807 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2837 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2840 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2871 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2876 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2903 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2908 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2938 AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
2942 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
2974 AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
2978 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3016 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3049 AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
3056 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3091 AddPreInstalledApex("com.android.apex.compressed.v1_original.apex"); in TEST_F()
3094 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3131 AddPreInstalledApex("com.android.apex.compressed.v1_original.apex"); in TEST_F()
3134 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3160 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
3163 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3197 auto old_capex = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
3205 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3229 AddPreInstalledApex("com.android.apex.compressed.v2.capex"); in TEST_F()
3232 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3247 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
3263 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3290 auto apex_path = AddPreInstalledApex("com.android.apex.compressed.v1.capex"); in TEST_F()
3293 ApexFileRepository::GetInstance().AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3317 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
3328 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
3334 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3396 AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
3398 AddPreInstalledApex("apex.apexd_test_different_app.apex"); in TEST_F()
3408 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3448 std::string apex_path_1 = AddPreInstalledApex( in TEST_F()
3454 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3539 auto shim_path = AddPreInstalledApex("com.android.apex.cts.shim.apex"); in TEST_F()
3541 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3564 auto pre_installed_apex = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
3566 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()
3588 auto pre_installed_apex = AddPreInstalledApex("apex.apexd_test.apex"); in TEST_F()
3590 ASSERT_RESULT_OK(instance.AddPreInstalledApex({GetBuiltInDir()})); in TEST_F()