Home | History | Annotate | Download | only in installd

Lines Matching refs:pkgname

31 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo)
43 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) {
48 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, 0)) {
53 if (create_pkg_path_in_dir(applibdir, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) {
94 if (selinux_android_setfilecon2(pkgdir, pkgname, seinfo, uid) < 0) {
111 int uninstall(const char *pkgname, userid_t userid)
115 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid))
139 int fix_uid(const char *pkgname, uid_t uid, gid_t gid)
150 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) {
176 int delete_user_data(const char *pkgname, userid_t userid)
180 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid))
187 int make_user_data(const char *pkgname, uid_t uid, userid_t userid)
195 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) {
198 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userid)) {
202 if (create_pkg_path_in_dir(applibdir, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) {
248 if (selinux_android_setfilecon(pkgdir, pkgname, uid) < 0) {
286 int delete_cache(const char *pkgname, userid_t userid)
290 if (create_pkg_path(cachedir, pkgname, CACHE_DIR_POSTFIX, userid))
423 int get_size(const char *pkgname, userid_t userid, const char *apkpath,
480 if (create_pkg_path(path, pkgname, PKG_DIR_POSTFIX, userid)) {
1036 int linklib(const char* pkgname, const char* asecLibDir, int userId)
1043 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userId)) {
1047 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, userId)) {