Home
last modified time | relevance | path

Searched refs:REQUESTED_PERMISSION_GRANTED (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java29 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED;
152 packageInfoWithPermissions(REQUESTED_PERMISSION_GRANTED, permissions, partition); in hasRestrictedNetworkPermission()
160 REQUESTED_PERMISSION_GRANTED, permissions, PARTITION_SYSTEM); in systemPackageInfoWithPermissions()
165 REQUESTED_PERMISSION_GRANTED, permissions, PARTITION_VENDOR); in vendorPackageInfoWithPermissions()
200 pkgInfo = packageInfoWithPermissions(REQUESTED_PERMISSION_GRANTED, new String[] {}, ""); in buildPackageInfo()
248 app = packageInfoWithPermissions(REQUESTED_PERMISSION_GRANTED, in testIsVendorApp()
251 app = packageInfoWithPermissions(REQUESTED_PERMISSION_GRANTED, in testIsVendorApp()
331 REQUESTED_PERMISSION_GRANTED, permissions, PARTITION_SYSTEM)); in assertBackgroundPermission()
638 REQUESTED_PERMISSION_GRANTED, permissions, PARTITION_SYSTEM); in addPackage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java25 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED;
233 return (app.requestedPermissionsFlags[index] & REQUESTED_PERMISSION_GRANTED) != 0; in hasPermission()
452 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
456 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java233 public static final int REQUESTED_PERMISSION_GRANTED = 1<<1; field in PackageInfo
DPackageParser.java804 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED; in generatePackageInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java299 PackageInfo.REQUESTED_PERMISSION_GRANTED) != 0) { in installPackage()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java19 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED;
2021 & REQUESTED_PERMISSION_GRANTED) != 0); in pullDangerousPermissionState()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java21 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED;
6548 REQUESTED_PERMISSION_GRANTED, REQUESTED_PERMISSION_GRANTED }; in buildPackageInfo()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8546 field public static final int REQUESTED_PERMISSION_GRANTED = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt11364 field public static final int REQUESTED_PERMISSION_GRANTED = 2; // 0x2