Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/pm/
DGrantedPermissions.java28 int[] gids; field in GrantedPermissions
39 if (base.gids != null) { in GrantedPermissions()
40 gids = base.gids.clone(); in GrantedPermissions()
DPackageSetting.java58 return sharedUser != null ? sharedUser.gids : gids; in getGids()
DBasePermission.java45 int[] gids; field in BasePermission
DPackageSettingBase.java165 gids = base.gids; in copyFrom()
DSettings.java386 bp.gids = null; in transferPermissionsLPw()
673 newGids = PackageManagerService.appendInts(newGids, bp.gids); in updateSharedUserPermsLPw()
676 sus.gids = newGids; in updateSharedUserPermsLPw()
1409 final int[] gids = pkg.getGids(); in writeLPr() local
1440 if (gids != null && gids.length > 0) { in writeLPr()
1441 sb.append(gids[0]); in writeLPr()
1442 for (int i = 1; i < gids.length; i++) { in writeLPr()
1444 sb.append(gids[i]); in writeLPr()
2944 pw.print(" gids="); pw.println(PackageManagerService.arrayToString(ps.gids)); in dumpPackageLPr()
3176 pw.print(" gids="); pw.print(PackageManagerService.arrayToString(p.gids)); in dumpPermissionsLPr()
[all …]
DPackageManagerService.java1731 bp.gids = appendInt(bp.gids, gid); in readPermission()
1770 return PackageParser.generatePackageInfo(p, gp.gids, flags, in generatePackageInfo()
2424 gp.gids = appendInts(gp.gids, bp.gids); in grantPermission()
2458 gp.gids = removeInts(gp.gids, bp.gids); in revokePermission()
5472 gp.gids = mGlobalGids; in grantPermissionsLPw()
5476 if (gp.gids == null) { in grantPermissionsLPw()
5477 gp.gids = mGlobalGids; in grantPermissionsLPw()
5544 gp.gids = appendInts(gp.gids, bp.gids); in grantPermissionsLPw()
5546 gp.gids = appendInts(gp.gids, bp.gids); in grantPermissionsLPw()
5556 gp.gids = removeInts(gp.gids, bp.gids); in grantPermissionsLPw()
/frameworks/base/core/java/android/os/
DProcess.java390 int uid, int gid, int[] gids, in start() argument
396 return startViaZygote(processClass, niceName, uid, gid, gids, in start()
568 final int[] gids, in startViaZygote() argument
608 if (gids != null && gids.length > 0) { in startViaZygote()
612 int sz = gids.length; in startViaZygote()
617 sb.append(gids[i]); in startViaZygote()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java83 public int[] gids; field in PackageInfo
257 dest.writeIntArray(gids); in writeToParcel()
298 gids = source.createIntArray(); in PackageInfo()
DPackageParser.java269 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
272 return generatePackageInfo(p, gids, flags, firstInstallTime, lastUpdateTime, in generatePackageInfo()
290 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
313 pi.gids = gids; in generatePackageInfo()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java223 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, in runOnce()
314 int[] gids; field in ZygoteConnection.Arguments
478 if (gids != null) { in parseArgs()
486 gids = new int[params.length]; in parseArgs()
489 gids[i] = Integer.parseInt(params[i]); in parseArgs()
623 || args.gids != null) { in applyUidSecurityPolicy()
629 if (args.uidSpecified || args.gidSpecified || args.gids != null) { in applyUidSecurityPolicy()
DZygoteInit.java531 parsedArgs.gids, in startSystemServer()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java135 int[] gids = mPM.getPackageGids(packageName); in getPackageGids() local
136 if (gids == null || gids.length > 0) { in getPackageGids()
137 return gids; in getPackageGids()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java2700 int[] gids = null; in startProcessLocked() local
2726 gids = new int[1]; in startProcessLocked()
2728 gids = new int[permGids.length + 1]; in startProcessLocked()
2729 System.arraycopy(permGids, 0, gids, 1, permGids.length); in startProcessLocked()
2731 gids[0] = UserHandle.getSharedAppGid(UserHandle.getAppId(uid)); in startProcessLocked()
2770 app.processName, uid, uid, gids, debugFlags, mountExternal, in startProcessLocked()
2804 if (gids != null) { in startProcessLocked()
2805 for (int gi=0; gi<gids.length; gi++) { in startProcessLocked()
2807 buf.append(gids[gi]); in startProcessLocked()
/frameworks/base/api/
Dcurrent.txt7154 field public int[] gids;