/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 24 import static android.content.pm.PackageManager.GET_PERMISSIONS; 157 List<PackageInfo> apps = mPackageManager.getInstalledPackages(GET_PERMISSIONS in startMonitoring() 329 final PackageInfo app = mPackageManager.getPackageInfo(name, GET_PERMISSIONS); in highestPermissionForUid() 473 PackageInfo app = mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS in getPackageInfo()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 29 import static android.content.pm.PackageManager.GET_PERMISSIONS; 437 when(mPackageManager.getInstalledPackages(eq(GET_PERMISSIONS | MATCH_ANY_USER))).thenReturn( in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates() 444 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE1), eq(GET_PERMISSIONS))).thenReturn( in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates() 490 when(mPackageManager.getInstalledPackages(eq(GET_PERMISSIONS | MATCH_ANY_USER))).thenReturn( in testUidFilteringDuringPackageInstallAndUninstall() 495 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE1), eq(GET_PERMISSIONS))).thenReturn( in testUidFilteringDuringPackageInstallAndUninstall()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 94 | PackageManager.GET_PERMISSIONS; in usesPermission()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 507 PackageManager.GET_PERMISSIONS in processPackageUri() 534 PackageManager.GET_PERMISSIONS, 0, 0, null, in processPackageUri()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 27 import static android.content.pm.PackageManager.GET_PERMISSIONS; 713 pkg = mPackageManager.getPackageInfo(pkgName, GET_PERMISSIONS); in addPackage()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 220 PackageManager.MATCH_ANY_USER | PackageManager.GET_PERMISSIONS); in installPackage()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 509 PackageManager.GET_PERMISSIONS | PackageManager.GET_CONFIGURATIONS,
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 615 PackageManager.GET_PERMISSIONS in assertPermissions() 2753 | PackageManager.GET_PERMISSIONS | PackageManager.GET_PROVIDERS in testGetInstalledPackagesAll() 2798 | PackageManager.GET_PERMISSIONS | PackageManager.GET_PROVIDERS in testGetUnInstalledPackagesAll()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 136 GET_PERMISSIONS, 356 public static final int GET_PERMISSIONS = 0x00001000; field in PackageManager
|
D | PackageParser.java | 811 if ((flags&PackageManager.GET_PERMISSIONS) != 0) { in generatePackageInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 114 | PackageManager.GET_PERMISSIONS;
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 22 import static android.content.pm.PackageManager.GET_PERMISSIONS; 1335 testPackageName, PackageManager.GET_PERMISSIONS); in mockDefaultPackages() 1341 when(mPackageManager.getInstalledPackages(eq(GET_PERMISSIONS | MATCH_ANY_USER))).thenReturn( in mockDefaultPackages() 2179 when(mPackageManager.getPackageInfo(eq(testPackageName), eq(GET_PERMISSIONS))) in grantUsingBackgroundNetworksPermissionForUid()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStackSupervisor.java | 1193 .getPackageInfo(callingPackage, PackageManager.GET_PERMISSIONS); in getActionRestrictionForCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2025 PackageManager.GET_PERMISSIONS, user.getIdentifier()); in pullDangerousPermissionState()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 2625 PackageManager.GET_META_DATA | PackageManager.GET_PERMISSIONS, serviceUserId); in bindWallpaperComponentLocked()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3670 PackageManager.GET_PERMISSIONS, userId); in enforceServiceExistsAndRequiresBindRemoteViewsPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 8520 if ((flags&PackageManager.GET_PERMISSIONS) == 0) {
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8851 field public static final int GET_PERMISSIONS = 4096; // 0x1000
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 11803 field public static final int GET_PERMISSIONS = 4096; // 0x1000
|
/frameworks/base/api/ |
D | current.txt | 11803 field public static final int GET_PERMISSIONS = 4096; // 0x1000
|