Home
last modified time | relevance | path

Searched refs:gids (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DGrantedPermissions.java27 int[] gids; field in GrantedPermissions
38 if (base.gids != null) { in GrantedPermissions()
39 gids = base.gids.clone(); in GrantedPermissions()
DPackageSetting.java61 return sharedUser != null ? sharedUser.gids : gids; in getGids()
DBasePermission.java45 int[] gids; field in BasePermission
DPackageSettingBase.java205 gids = base.gids; in copyFrom()
DSettings.java463 bp.gids = null; in transferPermissionsLPw()
771 newGids = PackageManagerService.appendInts(newGids, bp.gids); in updateSharedUserPermsLPw()
774 sus.gids = newGids; in updateSharedUserPermsLPw()
1666 final int[] gids = pkg.getGids(); in writeLPr() local
1698 if (gids != null && gids.length > 0) { in writeLPr()
1699 sb.append(gids[0]); in writeLPr()
1700 for (int i = 1; i < gids.length; i++) { in writeLPr()
1702 sb.append(gids[i]); in writeLPr()
3372 pw.print(" gids="); pw.println(PackageManagerService.arrayToString(ps.gids)); in dumpPackageLPr()
3607 pw.print(" gids="); pw.print(PackageManagerService.arrayToString(p.gids)); in dumpPermissionsLPr()
[all …]
DPackageManagerService.java1379 if (perm.gids != null) { in PackageManagerService()
1380 bp.gids = appendInts(bp.gids, perm.gids); in PackageManagerService()
1918 return PackageParser.generatePackageInfo(p, gp.gids, flags, in generatePackageInfo()
2662 gp.gids = appendInts(gp.gids, bp.gids); in grantPermission()
2697 gp.gids = removeInts(gp.gids, bp.gids); in revokePermission()
7049 gp.gids = mGlobalGids; in grantPermissionsLPw()
7053 if (gp.gids == null) { in grantPermissionsLPw()
7054 gp.gids = mGlobalGids; in grantPermissionsLPw()
7132 gp.gids = appendInts(gp.gids, bp.gids); in grantPermissionsLPw()
7134 gp.gids = appendInts(gp.gids, bp.gids); in grantPermissionsLPw()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygote.java87 public static int forkAndSpecialize(int uid, int gid, int[] gids, int debugFlags, in forkAndSpecialize() argument
94 uid, gid, gids, debugFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize()
102 native private static int nativeForkAndSpecialize(int uid, int gid, int[] gids,int debugFlags, in nativeForkAndSpecialize() argument
141 public static int forkSystemServer(int uid, int gid, int[] gids, int debugFlags, in forkSystemServer() argument
145 uid, gid, gids, debugFlags, rlimits, permittedCapabilities, effectiveCapabilities); in forkSystemServer()
150 native private static int nativeForkSystemServer(int uid, int gid, int[] gids, int debugFlags, in nativeForkSystemServer() argument
DZygoteConnection.java246 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, in runOnce()
352 int[] gids; field in ZygoteConnection.Arguments
532 if (gids != null) { in parseArgs()
540 gids = new int[params.length]; in parseArgs()
543 gids[i] = Integer.parseInt(params[i]); in parseArgs()
683 || args.gids != null) { in applyUidSecurityPolicy()
689 if (args.uidSpecified || args.gidSpecified || args.gids != null) { in applyUidSecurityPolicy()
DZygoteInit.java613 parsedArgs.gids, in startSystemServer()
/frameworks/base/core/java/android/os/
DProcess.java482 int uid, int gid, int[] gids, in start() argument
491 return startViaZygote(processClass, niceName, uid, gid, gids, in start()
605 final int[] gids, in startViaZygote() argument
648 if (gids != null && gids.length > 0) { in startViaZygote()
652 int sz = gids.length; in startViaZygote()
657 sb.append(gids[i]); in startViaZygote()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp157 ScopedIntArrayRO gids(env, javaGids); in SetGids() local
158 if (gids.get() == NULL) { in SetGids()
161 int rc = setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0])); in SetGids()
590 JNIEnv* env, jclass, jint uid, jint gid, jintArray gids, in com_android_internal_os_Zygote_nativeForkAndSpecialize() argument
600 return ForkAndSpecializeCommon(env, uid, gid, gids, debug_flags, in com_android_internal_os_Zygote_nativeForkAndSpecialize()
606 JNIEnv* env, jclass, uid_t uid, gid_t gid, jintArray gids, in com_android_internal_os_Zygote_nativeForkSystemServer() argument
609 pid_t pid = ForkAndSpecializeCommon(env, uid, gid, gids, in com_android_internal_os_Zygote_nativeForkSystemServer()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java104 public int[] gids; field in PackageInfo
306 dest.writeIntArray(gids); in writeToParcel()
355 gids = source.createIntArray(); in PackageInfo()
DPackageParser.java390 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
393 return generatePackageInfo(p, gids, flags, firstInstallTime, lastUpdateTime, in generatePackageInfo()
411 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
439 pi.gids = gids; in generatePackageInfo()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java73 public int[] gids; field in SystemConfig.PermissionEntry
389 perm.gids = appendInt(perm.gids, gid); in readPermission()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java67 int[] gids; // The gids this process was launched with field in ProcessRecord
190 if (gids != null) { in dump()
191 for (int gi=0; gi<gids.length; gi++) { in dump()
193 pw.print(gids[gi]); in dump()
DActivityManagerService.java2923 int[] gids = null; in startProcessLocked() local
2951 gids = new int[2]; in startProcessLocked()
2953 gids = new int[permGids.length + 2]; in startProcessLocked()
2954 System.arraycopy(permGids, 0, gids, 2, permGids.length); in startProcessLocked()
2956 gids[0] = UserHandle.getSharedAppGid(UserHandle.getAppId(uid)); in startProcessLocked()
2957 gids[1] = UserHandle.getUserGid(UserHandle.getUserId(uid)); in startProcessLocked()
3004 app.gids = gids; in startProcessLocked()
3014 app.processName, uid, uid, gids, debugFlags, mountExternal, in startProcessLocked()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java185 int[] gids = mPM.getPackageGids(packageName); in getPackageGids() local
186 if (gids == null || gids.length > 0) { in getPackageGids()
187 return gids; in getPackageGids()
/frameworks/base/api/
Dsystem-current.txt8827 field public int[] gids;
Dcurrent.txt8556 field public int[] gids;