Searched refs:create_pkg_path (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | commands.c | 46 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) { in install() 51 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, 0)) { in install() 118 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) in uninstall() 132 if (create_pkg_path(oldpkgdir, oldpkgname, PKG_DIR_POSTFIX, 0)) in renamepkg() 134 if (create_pkg_path(newpkgdir, newpkgname, PKG_DIR_POSTFIX, 0)) in renamepkg() 155 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) { in fix_uid() 185 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) in delete_user_data() 199 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) { in make_user_data() 202 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userid)) { in make_user_data() 307 if (create_pkg_path(cachedir, pkgname, CACHE_DIR_POSTFIX, userid)) in delete_cache() [all …]
|
D | installd.h | 140 int create_pkg_path(char path[PKG_PATH_MAX],
|
D | utils.c | 58 int create_pkg_path(char path[PKG_PATH_MAX], in create_pkg_path() function
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 317 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0)) in TEST_F() 335 EXPECT_EQ(-1, create_pkg_path(path, pkgname, "", 0)) in TEST_F() 348 EXPECT_EQ(-1, create_pkg_path(path, "com.example.package", postfix, 0)) in TEST_F() 355 EXPECT_EQ(0, create_pkg_path(path, "com.example.package", "", 0)) in TEST_F() 365 EXPECT_EQ(0, create_pkg_path(path, "com.example.package", "", 1)) in TEST_F()
|