Searched refs:validate_apk_path (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 94 EXPECT_EQ(-1, validate_apk_path(badprefix1)) in TEST_F() 98 EXPECT_EQ(-1, validate_apk_path(badprefix2)) in TEST_F() 102 EXPECT_EQ(-1, validate_apk_path(badprefix3)) in TEST_F() 106 EXPECT_EQ(-1, validate_apk_path(badprefix4)) in TEST_F() 113 EXPECT_EQ(0, validate_apk_path(internal1)) in TEST_F() 118 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F() 122 EXPECT_EQ(-1, validate_apk_path(badint1)) in TEST_F() 126 EXPECT_EQ(-1, validate_apk_path(badint2)) in TEST_F() 131 EXPECT_EQ(-1, validate_apk_path(bad_path3)) in TEST_F() 135 EXPECT_EQ(-1, validate_apk_path(bad_path4)) in TEST_F() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.h | 136 int validate_apk_path(const char *path);
|
D | dexopt.cpp | 1018 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path() 1947 if (validate_apk_path(apk_path) != 0) { in move_ab() 1951 if (validate_apk_path(oat_dir) != 0) { in move_ab()
|
D | InstalldNativeService.cpp | 1103 if (validate_apk_path(path) && validate_system_app_path(path)) { in rmdex() 2212 if (validate_apk_path(oat_dir)) { in createOatDir() 2232 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
|
D | utils.cpp | 949 int validate_apk_path(const char* path) { in validate_apk_path() function
|