/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | Permission.kt | 29 @Suppress("ArrayInDataClass") val gids: IntArray = EmptyArray.INT, in <lambda>() constant in com.android.server.permission.access.permission.Permission 150 get() = gids.isNotEmpty() in <lambda>() 157 IntArray(gids.size) { i -> UserHandle.getUid(userId, gids[i]) } in <lambda>() 159 gids.copyOf() in <lambda>()
|
D | AppIdPermissionPolicy.kt | 559 var gids = EmptyArray.INT in <lambda>() variable 566 if (it.gids != null) { in <lambda>() 567 gids = it.gids in <lambda>() 578 gids, in <lambda>()
|
D | PermissionService.kt | 652 val gids = GrowingIntArray.wrap(globalGids) in <lambda>() constant 664 gids.addAll(permissionGids) in <lambda>() 666 return gids.toArray() in <lambda>() 2217 permission.gids, in <lambda>() 2230 permission.gids in <lambda>()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | Zygote.java | 316 private static boolean containsInetGid(int[] gids) { in containsInetGid() argument 317 for (int i = 0; i < gids.length; i++) { in containsInetGid() 318 if (gids[i] == android.os.Process.INET_GID) return true; in containsInetGid() 365 static int forkAndSpecialize(int uid, int gid, int[] gids, int runtimeFlags, in forkAndSpecialize() argument 374 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize() 383 if (gids != null && gids.length > 0) { in forkAndSpecialize() 384 NetworkUtilsInternal.setAllowNetworkingForProcess(containsInetGid(gids)); in forkAndSpecialize() 395 private static native int nativeForkAndSpecialize(int uid, int gid, int[] gids, in nativeForkAndSpecialize() argument 433 private static void specializeAppProcess(int uid, int gid, int[] gids, int runtimeFlags, in specializeAppProcess() argument 439 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | UidPermissionState.java | 333 IntArray gids = IntArray.wrap(globalGids); in computeGids() local 335 return gids.toArray(); in computeGids() 345 gids.addAll(permissionGids); in computeGids() 348 return gids.toArray(); in computeGids()
|
D | LegacyPermission.java | 93 int uid, @NonNull int[] gids) { in LegacyPermission() argument 97 mGids = gids; in LegacyPermission()
|
D | Permission.java | 109 boolean reconciled, int uid, int[] gids, boolean gidsPerUser) { in Permission() argument 113 mGids = gids; in Permission() 170 public void setGids(@NonNull int[] gids, boolean gidsPerUser) { in setGids() argument 171 mGids = gids; in setGids()
|
D | PermissionManagerServiceImpl.java | 471 if (perm.gids != null) { in PermissionManagerServiceImpl() 472 bp.setGids(perm.gids, perm.perUser); in PermissionManagerServiceImpl()
|
/frameworks/base/core/java/android/os/ |
D | ZygoteProcess.java | 340 int uid, int gid, @Nullable int[] gids, in start() argument 366 return startViaZygote(processClass, niceName, uid, gid, gids, in start() 625 @Nullable final int[] gids, in startViaZygote() argument 668 if (gids != null && gids.length > 0) { in startViaZygote() 672 final int sz = gids.length; in startViaZygote() 677 sb.append(gids[i]); in startViaZygote() 1297 int uid, int gid, int[] gids, in startChildZygote() argument 1319 gids, runtimeFlags, 0 /* mountExternal */, 0 /* targetSdkVersion */, seInfo, in startChildZygote()
|
D | Process.java | 724 int uid, int gid, @Nullable int[] gids, in start() argument 745 return ZYGOTE_PROCESS.start(processClass, niceName, uid, gid, gids, in start() 756 int uid, int gid, @Nullable int[] gids, in startWebView() argument 770 return WebViewZygote.getProcess().start(processClass, niceName, uid, gid, gids, in startWebView()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 554 ScopedIntArrayRO gids(env, managed_gids); in SetGids() local 555 if (gids.get() == nullptr) { in SetGids() 559 if (setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0])) == -1) { in SetGids() 560 fail_fn(CREATE_ERROR("setgroups failed: %s, gids.size=%zu", strerror(errno), gids.size())); in SetGids() 684 static bool MatchGid(JNIEnv* env, jintArray gids, jint gid, jint gid_to_find) { in MatchGid() argument 687 if (gids == nullptr) return false; in MatchGid() 689 jsize gids_num = env->GetArrayLength(gids); in MatchGid() 690 ScopedIntArrayRO native_gid_proxy(env, gids); in MatchGid() 1898 static void SpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray gids, jint runtime_flags, in SpecializeCommon() argument 1978 SetGids(env, gids, is_child_zygote, fail_fn); in SpecializeCommon() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 161 public int[] gids; field in PackageInfo 601 dest.writeIntArray(gids); in writeToParcel() 675 gids = source.createIntArray(); in PackageInfo()
|
D | PackageParser.java | 680 int[] gids, int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument 683 return generatePackageInfo(p, gids, flags, firstInstallTime, lastUpdateTime, in generatePackageInfo() 689 int[] gids, int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument 692 return generatePackageInfo(p, null, gids, flags, firstInstallTime, lastUpdateTime, in generatePackageInfo() 711 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument 755 pi.gids = gids; in generatePackageInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 108 public static PackageInfo generate(AndroidPackage pkg, int[] gids, in generate() argument 113 return generateWithComponents(pkg, gids, flags, firstInstallTime, lastUpdateTime, in generate() 120 private static PackageInfo generateWithComponents(AndroidPackage pkg, int[] gids, in generateWithComponents() argument 161 info.gids = gids; in generateWithComponents()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 1877 int[] gids = null; 1919 gids = computeGidsForProcess(mountExternal, uid, permGids, externalStorageAccess); 2050 app.setGids(gids); 2083 return startProcessLocked(hostingRecord, entryPoint, app, uid, gids, 2128 int uid, int[] gids, int runtimeFlags, int zygotePolicyFlags, int mountExternal, 2162 app, entryPoint, gids, runtimeFlags, zygotePolicyFlags, mountExternal, 2169 uid, gids, runtimeFlags, zygotePolicyFlags, mountExternal, seInfo, 2190 final int[] gids, final int runtimeFlags, int zygotePolicyFlags, 2196 entryPoint, app, app.getStartUid(), gids, runtimeFlags, zygotePolicyFlags, 2415 ProcessRecord app, int uid, int[] gids, int runtimeFlags, int zygotePolicyFlags, [all …]
|
D | ProcessRecord.java | 788 void setGids(int[] gids) { in setGids() argument 789 mGids = gids; in setGids()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 3034 final IntArray gids = new IntArray(); 3036 gids.addAll(mPermissionDataProvider.getGidsForUid(UserHandle.getUid(userId, 3073 final int gidsSize = gids.size(); 3074 if (gids.size() > 0) { 3075 sb.append(gids.get(0)); 3078 sb.append(gids.get(i)); 5686 final int[] gids = mPermissionDataProvider.getGidsForUid(UserHandle.getUid( 5690 if (!ArrayUtils.isEmpty(gids) || !permissions.isEmpty()) { 5692 dumpGidsLPr(pw, prefix + " ", gids); 5738 void dumpGidsLPr(PrintWriter pw, String prefix, int[] gids) { [all …]
|
D | ComputerEngine.java | 1510 final int[] gids = (flags & PackageManager.GET_GIDS) == 0 ? EMPTY_INT_ARRAY in generatePackageInfo() local 1521 PackageInfo packageInfo = PackageInfoUtils.generate(p, gids, flags, in generatePackageInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 231 public int[] gids; field in SystemConfig.PermissionEntry 1795 perm.gids = appendInt(perm.gids, gid); in readPermission()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 377 int[] gids = mPM.getPackageGids(packageName, in getPackageGids() local 379 if (gids != null) { in getPackageGids() 380 return gids; in getPackageGids()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8554 field public int[] gids;
|
/frameworks/base/core/api/ |
D | current.txt | 12614 field @Nullable public int[] gids;
|