Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp94 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/
Dutils.h136 int validate_apk_path(const char *path);
Ddexopt.cpp1018 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()
DInstalldNativeService.cpp1103 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()
Dutils.cpp949 int validate_apk_path(const char* path) { in validate_apk_path() function