Home
last modified time | relevance | path

Searched refs:GET_PERMISSIONS (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java24 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/
DPermissionMonitorTest.java29 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/
DPackageTrackerHelperImpl.java94 | PackageManager.GET_PERMISSIONS; in usesPermission()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java507 PackageManager.GET_PERMISSIONS in processPackageUri()
534 PackageManager.GET_PERMISSIONS, 0, 0, null, in processPackageUri()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java27 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/
DWearPackageInstallerService.java220 PackageManager.MATCH_ANY_USER | PackageManager.GET_PERMISSIONS); in installPackage()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java509 PackageManager.GET_PERMISSIONS | PackageManager.GET_CONFIGURATIONS,
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java615 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/
DPackageManager.java136 GET_PERMISSIONS,
356 public static final int GET_PERMISSIONS = 0x00001000; field in PackageManager
DPackageParser.java811 if ((flags&PackageManager.GET_PERMISSIONS) != 0) { in generatePackageInfo()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java114 | PackageManager.GET_PERMISSIONS;
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java22 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/
DActivityStackSupervisor.java1193 .getPackageInfo(callingPackage, PackageManager.GET_PERMISSIONS); in getActionRestrictionForCallingPackage()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2025 PackageManager.GET_PERMISSIONS, user.getIdentifier()); in pullDangerousPermissionState()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2625 PackageManager.GET_META_DATA | PackageManager.GET_PERMISSIONS, serviceUserId); in bindWallpaperComponentLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3670 PackageManager.GET_PERMISSIONS, userId); in enforceServiceExistsAndRequiresBindRemoteViewsPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java8520 if ((flags&PackageManager.GET_PERMISSIONS) == 0) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8851 field public static final int GET_PERMISSIONS = 4096; // 0x1000
/frameworks/base/non-updatable-api/
Dcurrent.txt11803 field public static final int GET_PERMISSIONS = 4096; // 0x1000
/frameworks/base/api/
Dcurrent.txt11803 field public static final int GET_PERMISSIONS = 4096; // 0x1000