Home
last modified time | relevance | path

Searched refs:validate_apk_path (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp82 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/
Dinstalld.h190 int validate_apk_path(const char *path);
Dcommands.c426 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()
Dutils.c1042 int validate_apk_path(const char *path) in validate_apk_path() function