Searched refs:validate_apk_path (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 82 EXPECT_EQ(-1, validate_apk_path(badprefix1)) in TEST_F() 86 EXPECT_EQ(-1, validate_apk_path(badprefix2)) in TEST_F() 90 EXPECT_EQ(-1, validate_apk_path(badprefix3)) in TEST_F() 94 EXPECT_EQ(-1, validate_apk_path(badprefix4)) in TEST_F() 101 EXPECT_EQ(0, validate_apk_path(internal1)) in TEST_F() 106 EXPECT_EQ(0, validate_apk_path(path2)) in TEST_F() 110 EXPECT_EQ(-1, validate_apk_path(badint1)) in TEST_F() 114 EXPECT_EQ(-1, validate_apk_path(badint2)) in TEST_F() 119 EXPECT_EQ(-1, validate_apk_path(bad_path3)) in TEST_F() 123 EXPECT_EQ(-1, validate_apk_path(bad_path4)) in TEST_F() [all …]
|
/frameworks/native/cmds/installd/ |
D | installd.h | 190 int validate_apk_path(const char *path);
|
D | commands.c | 426 if (validate_apk_path(src)) { in move_dex() 430 if (validate_apk_path(dst)) { in move_dex() 451 if (validate_apk_path(path) && validate_system_app_path(path)) { in rm_dex()
|
D | utils.c | 1042 int validate_apk_path(const char *path) in validate_apk_path() function
|