Searched refs:validate_apk_path (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 70 EXPECT_EQ(-1, validate_apk_path(badprefix1)) in TEST_F() 74 EXPECT_EQ(-1, validate_apk_path(badprefix2)) in TEST_F() 78 EXPECT_EQ(-1, validate_apk_path(badprefix3)) in TEST_F() 82 EXPECT_EQ(-1, validate_apk_path(badprefix4)) in TEST_F() 89 EXPECT_EQ(0, validate_apk_path(internal1)) in TEST_F() 94 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F() 98 EXPECT_EQ(-1, validate_apk_path(badint1)) in TEST_F() 102 EXPECT_EQ(-1, validate_apk_path(badint2)) in TEST_F() 107 EXPECT_EQ(-1, validate_apk_path(bad_path3)) in TEST_F() 111 EXPECT_EQ(-1, validate_apk_path(bad_path4)) in TEST_F() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.h | 129 int validate_apk_path(const char *path);
|
D | dexopt.cpp | 1167 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path() 2441 if (validate_apk_path(apk_path) != 0) { in move_ab() 2445 if (validate_apk_path(oat_dir) != 0) { in move_ab()
|
D | utils.cpp | 879 int validate_apk_path(const char* path) { in validate_apk_path() function
|
D | InstalldNativeService.cpp | 1188 if (validate_apk_path(path) && validate_system_app_path(path)) { in rmdex() 2324 if (validate_apk_path(oat_dir)) { in createOatDir() 2345 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
|