Searched refs:REQUESTED_PERMISSION_GRANTED (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 29 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/ |
D | PermissionMonitor.java | 25 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/ |
D | PackageInfo.java | 233 public static final int REQUESTED_PERMISSION_GRANTED = 1<<1; field in PackageInfo
|
D | PackageParser.java | 804 pi.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED; in generatePackageInfo()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 299 PackageInfo.REQUESTED_PERMISSION_GRANTED) != 0) { in installPackage()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 19 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 2021 & REQUESTED_PERMISSION_GRANTED) != 0); in pullDangerousPermissionState()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 21 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 6548 REQUESTED_PERMISSION_GRANTED, REQUESTED_PERMISSION_GRANTED }; in buildPackageInfo()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8546 field public static final int REQUESTED_PERMISSION_GRANTED = 2; // 0x2
|
/frameworks/base/api/ |
D | current.txt | 11364 field public static final int REQUESTED_PERMISSION_GRANTED = 2; // 0x2
|