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.cpp77 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/
Dutils.h162 int validate_apk_path(const char *path);
Ddexopt.cpp997 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path()
2366 if (validate_apk_path(apk_path) != 0) { in move_ab()
2370 if (validate_apk_path(oat_dir) != 0) { in move_ab()
DInstalldNativeService.cpp2132 if (validate_apk_path(path) && validate_system_app_path(path)) { in rmdex()
3318 if (validate_apk_path(oat_dir)) { in createOatDir()
3340 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
Dutils.cpp1154 int validate_apk_path(const char* path) { in validate_apk_path() function