Home | History | Annotate | Download | only in installd

Lines Matching refs:pkgname

34 int install(const char *pkgname, uid_t uid, gid_t gid)
46 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) {
51 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, 0)) {
56 if (create_pkg_path_in_dir(applibdir, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) {
98 if (selinux_android_setfilecon(pkgdir, pkgname, uid) < 0) {
116 int uninstall(const char *pkgname, uid_t persona)
120 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
144 int fix_uid(const char *pkgname, uid_t uid, gid_t gid)
155 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) {
181 int delete_user_data(const char *pkgname, uid_t persona)
185 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
192 int make_user_data(const char *pkgname, uid_t uid, uid_t persona)
200 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona)) {
203 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, persona)) {
207 if (create_pkg_path_in_dir(applibdir, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) {
261 if (selinux_android_setfilecon(pkgdir, pkgname, uid) < 0) {
340 int delete_cache(const char *pkgname, uid_t persona)
344 if (create_pkg_path(cachedir, pkgname, CACHE_DIR_POSTFIX, persona))
477 int get_size(const char *pkgname, int persona, const char *apkpath,
517 if (!create_pkg_path_in_dir(path, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) {
534 if (create_pkg_path(path, pkgname, PKG_DIR_POSTFIX, persona)) {
1060 int linklib(const char* pkgname, const char* asecLibDir, int userId)
1067 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userId)) {
1071 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userId)) {