Searched refs:validate_apk_path (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 77 EXPECT_EQ(-1, validate_apk_path(badprefix1)) in TEST_F() 81 EXPECT_EQ(-1, validate_apk_path(badprefix2)) in TEST_F() 85 EXPECT_EQ(-1, validate_apk_path(badprefix3)) in TEST_F() 89 EXPECT_EQ(-1, validate_apk_path(badprefix4)) in TEST_F() 96 EXPECT_EQ(0, validate_apk_path(internal1)) in TEST_F() 101 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F() 105 EXPECT_EQ(-1, validate_apk_path(badint1)) in TEST_F() 109 EXPECT_EQ(-1, validate_apk_path(badint2)) in TEST_F() 114 EXPECT_EQ(-1, validate_apk_path(bad_path3)) in TEST_F() 118 EXPECT_EQ(-1, validate_apk_path(bad_path4)) in TEST_F() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.h | 163 int validate_apk_path(const char *path);
|
D | dexopt.cpp | 1006 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path() 2376 if (validate_apk_path(apk_path) != 0) { in move_ab() 2380 if (validate_apk_path(oat_dir) != 0) { in move_ab()
|
D | utils.cpp | 1152 int validate_apk_path(const char* path) { in validate_apk_path() function
|
D | InstalldNativeService.cpp | 2306 if (validate_apk_path(path) && validate_system_app_path(path)) { in rmdex() 3508 if (validate_apk_path(oat_dir)) { in createOatDir() 3530 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
|