Home
last modified time | relevance | path

Searched refs:requestedPermissionsFlags (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java117 app.requestedPermissionsFlags); in getPermissionForUid()
190 app.requestedPermissionsFlags); in startMonitoring()
233 if (app.requestedPermissions == null || app.requestedPermissionsFlags == null) { in hasPermission()
237 if (index < 0 || index >= app.requestedPermissionsFlags.length) return false; in hasPermission()
238 return (app.requestedPermissionsFlags[index] & REQUESTED_PERMISSION_GRANTED) != 0; in hasPermission()
453 int[] requestedPermissionsFlags) { in getNetdPermissionMask() argument
455 if (requestedPermissions == null || requestedPermissionsFlags == null) return permissions; in getNetdPermissionMask()
458 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
462 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java218 public int[] requestedPermissionsFlags; field in PackageInfo
469 dest.writeIntArray(requestedPermissionsFlags); in writeToParcel()
534 requestedPermissionsFlags = source.createIntArray(); in PackageInfo()
DPackageParser.java814 pi.requestedPermissionsFlags = new int[N]; in generatePackageInfo()
819 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_REQUIRED; in generatePackageInfo()
821 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED; in generatePackageInfo()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java170 int[] requestedPermissionsFlags = new int[permissions.length]; in packageInfoWithPermissions() local
172 requestedPermissionsFlags[i] = permissionsFlags; in packageInfoWithPermissions()
177 packageInfo.requestedPermissionsFlags = requestedPermissionsFlags; in packageInfoWithPermissions()
240 app.requestedPermissionsFlags = null; in testHasPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageInfoFlagBehaviorTest.kt91 listOf(it.permissions, it.requestedPermissions, it.requestedPermissionsFlags) in <lambda>()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java263 pi.requestedPermissionsFlags = new int[size]; in generateWithoutComponentsUnchecked()
268 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_REQUIRED; in generateWithoutComponentsUnchecked()
270 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED; in generateWithoutComponentsUnchecked()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java302 if ((existingPkgInfo.requestedPermissionsFlags[i] & in installPackage()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3165 e.writeBoolean((pkg.requestedPermissionsFlags[permNum]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java7017 packageInfo.requestedPermissionsFlags = new int[] { in buildPackageInfo()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8564 field public int[] requestedPermissionsFlags;
/frameworks/base/api/
Dcurrent.txt11776 field public int[] requestedPermissionsFlags;