Searched refs:sdkSandboxUid (Results 1 – 5 of 5) sorted by relevance
340 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in makeUidsNetworkPerm() local341 uidsPerm.put(sdkSandboxUid, permission); in makeUidsNetworkPerm()816 int sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onPackageAdded() local817 mUidToNetworkPerm.put(sdkSandboxUid, permission); in onPackageAdded()818 apps.put(sdkSandboxUid, permission); in onPackageAdded()893 int sdkSandboxUid = -1; in onPackageRemoved() local895 sdkSandboxUid = sProcessShim.toSdkSandboxUid(uid); in onPackageRemoved()900 if (sdkSandboxUid != -1) { in onPackageRemoved()901 mUidToNetworkPerm.delete(sdkSandboxUid); in onPackageRemoved()902 apps.put(sdkSandboxUid, PERMISSION_NETWORK); in onPackageRemoved()[all …]
100 public int getEffectiveTargetSdkVersion(int sdkSandboxUid) throws NameNotFoundException { in getEffectiveTargetSdkVersion() argument
1569 final int sdkSandboxUid = Process.toSdkSandboxUid(currentCallingInfo.getUid());1570 Log.i(TAG, "Killing sdk sandbox/s with uid " + sdkSandboxUid);1571 mActivityManager.killUid(sdkSandboxUid, reason);1844 int sdkSandboxUid = Process.toSdkSandboxUid(callingInfo.getUid());1845 mActivityManager.killUid(sdkSandboxUid, "instrumentation started");2272 private int getEffectiveTargetSdkVersion(int sdkSandboxUid)2275 Process.getAppUidForSdkSandboxUid(sdkSandboxUid));2540 public int getEffectiveTargetSdkVersion(int sdkSandboxUid)2542 return SdkSandboxManagerService.this.getEffectiveTargetSdkVersion(sdkSandboxUid);
217 int getEffectiveTargetSdkVersion(int sdkSandboxUid) throws NameNotFoundException; in getEffectiveTargetSdkVersion() argument
579 final int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in assertBackgroundPermission() local581 mPermissionMonitor.hasUseBackgroundNetworksPermission(sdkSandboxUid)); in assertBackgroundPermission()691 int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in expectNetworkPerm() local692 if (mUidsNetworkPermission.get(sdkSandboxUid, DOES_NOT_EXIST) in expectNetworkPerm()696 if (mUidsNetworkPermission.get(sdkSandboxUid) != permission) { in expectNetworkPerm()713 int sdkSandboxUid = mProcessShim.toSdkSandboxUid(uid); in expectNoNetworkPerm() local714 if (mUidsNetworkPermission.get(sdkSandboxUid, DOES_NOT_EXIST) in expectNoNetworkPerm()716 fail("SDK sandbox uid " + sdkSandboxUid in expectNoNetworkPerm()