Searched defs:persona (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/services/java/com/android/server/pm/
H A DInstaller.java329 public int getSizeInfo(String pkgName, int persona, String apkPath, String fwdLockApkPath, argument
335 builder.append(persona);
/frameworks/base/cmds/installd/
H A Dcommands.c116 int uninstall(const char *pkgname, uid_t persona) argument
120 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
181 int delete_user_data(const char *pkgname, uid_t persona) argument
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) argument
200 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona)) {
203 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, persona)) {
272 int delete_persona(uid_t persona) argument
275 if (create_persona_path(data_path, persona)) {
283 if (create_persona_media_path(media_path, (userid_t) persona)
340 delete_cache(const char *pkgname, uid_t persona) argument
477 get_size(const char *pkgname, int persona, const char *apkpath, const char *fwdlock_apkpath, const char *asecpath, int64_t *_codesize, int64_t *_datasize, int64_t *_cachesize, int64_t* _asecsize) argument
[all...]
H A Dutils.c56 * a certain persona. Returns 0 on success, and -1 on failure.
61 uid_t persona)
65 if (persona == 0) {
70 uid_len = snprintf(NULL, 0, "%d", persona);
85 if (persona != 0) {
86 int ret = snprintf(dst, dst_size, "%d/", persona);
101 * Create the path name for user data for a certain persona.
105 uid_t persona)
109 if (persona == 0) {
114 uid_len = snprintf(NULL, 0, "%d/", persona);
58 create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, const char *postfix, uid_t persona) argument
104 create_persona_path(char path[PKG_PATH_MAX], uid_t persona) argument
151 create_move_path(char path[PKG_PATH_MAX], const char* pkgname, const char* leaf, uid_t persona) argument
[all...]

Completed in 1048 milliseconds