Home
last modified time | relevance | path

Searched refs:INTERACT_ACROSS_USERS (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/tests/testables/tests/src/android/testing/
DTestablePermissionsTest.java44 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testCheck()
49 mContext.checkPermission(permission.INTERACT_ACROSS_USERS, 0, 0)); in testCheck()
65 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceNoException()
67 mContext.enforceCallingOrSelfPermission(permission.INTERACT_ACROSS_USERS, ""); in testEnforceNoException()
72 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceWithException()
74 mContext.enforceCallingOrSelfPermission(permission.INTERACT_ACROSS_USERS, ""); in testEnforceWithException()
/frameworks/base/core/java/android/content/
DContext.java2275 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2293 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2315 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2336 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2370 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2382 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2395 @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS)
2599 android.Manifest.permission.INTERACT_ACROSS_USERS,
2611 android.Manifest.permission.INTERACT_ACROSS_USERS,
2651 android.Manifest.permission.INTERACT_ACROSS_USERS,
[all …]
DContentProvider.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
633 || context.checkPermission(INTERACT_ACROSS_USERS, pid, uid) in checkUser()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java252 android.Manifest.permission.INTERACT_ACROSS_USERS, TAG); in queryStatsForPackage()
304 android.Manifest.permission.INTERACT_ACROSS_USERS, TAG); in queryStatsForUid()
353 android.Manifest.permission.INTERACT_ACROSS_USERS, TAG); in queryStatsForUser()
380 android.Manifest.permission.INTERACT_ACROSS_USERS, TAG); in queryExternalStatsForUser()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java123 Manifest.permission.INTERACT_ACROSS_USERS, user.getIdentifier()); in queryApps()
DPackageManager.java3474 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
3749 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
4844 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
4907 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
5005 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
5042 @RequiresPermission(Manifest.permission.INTERACT_ACROSS_USERS)
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
741 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
1236 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
1653 } else if (mInjector.checkComponentPermission(INTERACT_ACROSS_USERS, callingPid,
1688 builder.append(INTERACT_ACROSS_USERS);
1892 if ((mInjector.checkCallingPermission(INTERACT_ACROSS_USERS)
1899 + " requires " + INTERACT_ACROSS_USERS;
DBroadcastQueue.java1450 android.Manifest.permission.INTERACT_ACROSS_USERS, in processNextBroadcastLocked()
1455 + android.Manifest.permission.INTERACT_ACROSS_USERS); in processNextBroadcastLocked()
DActivityManagerService.java22 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
7735 if (checkComponentPermission(INTERACT_ACROSS_USERS, callingPid, in canClearIdentity()
9156 new String[] {INTERACT_ACROSS_USERS}, OP_NONE, in systemReady()
14086 INTERACT_ACROSS_USERS, in isSingleton()
14091 + INTERACT_ACROSS_USERS; in isSingleton()
17720 && checkCallingPermission(INTERACT_ACROSS_USERS) in isUserRunning()
17725 + " requires " + INTERACT_ACROSS_USERS; in isUserRunning()
17734 if (checkCallingPermission(INTERACT_ACROSS_USERS) in getRunningUserIds()
17739 + " requires " + INTERACT_ACROSS_USERS; in getRunningUserIds()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
833 checkPermission(INTERACT_ACROSS_USERS); in hasEnrolledBiometrics()
867 checkPermission(INTERACT_ACROSS_USERS); in getEnrolledTemplates()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
484 INTERACT_ACROSS_USERS})
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
681 INTERACT_ACROSS_USERS})
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
1189 checkPermission(INTERACT_ACROSS_USERS); in hasEnrolledBiometrics()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java22 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
866 if (ActivityManager.checkComponentPermission(INTERACT_ACROSS_USERS, uid, -1, true) in checkHoldingPermissions()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java385 Manifest.permission.INTERACT_ACROSS_USERS) in getInstance()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1259 Manifest.permission.INTERACT_ACROSS_USERS) in handleIncomingUser()
1266 Manifest.permission.INTERACT_ACROSS_USERS) in handleIncomingUser()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java2133 Manifest.permission.INTERACT_ACROSS_USERS, in setBrightnessConfigurationForUser()
2155 Manifest.permission.INTERACT_ACROSS_USERS, in getBrightnessConfigurationForUser()
/frameworks/base/core/java/android/os/
DUserManager.java1333 android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional = true)
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java3217 Manifest.permission.INTERACT_ACROSS_USERS, in isLocationEnabledForUser()
3238 Manifest.permission.INTERACT_ACROSS_USERS, in isProviderEnabledForUser()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java159 FULLER_PERMISSION_MAP.put(Manifest.permission.INTERACT_ACROSS_USERS, in FULLER_PERMISSION_MAP.put() argument
2953 android.Manifest.permission.INTERACT_ACROSS_USERS, message); in enforceCrossUserPermission()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4258 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testCanNotifyAsUser_crossUser()
4277 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testgetNotificationChannels_crossUser()
5014 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreNotificationsEnabledForPackage_crossUser()
5031 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreBubblesAllowedForPackage_crossUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java6412 @RequiresPermission(value = android.Manifest.permission.INTERACT_ACROSS_USERS,
7017 @RequiresPermission(permission.INTERACT_ACROSS_USERS)
/frameworks/base/api/
Dsystem-current.txt92 …field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS
310 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
691 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBl…
1511 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean bindS…
1519 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public abstract void…
1655 …method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.pe…
1656 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
1657 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
1791 …method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public andr…
1809 …method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt92 …field public static final String INTERACT_ACROSS_USERS = "android.permission.INTERACT_ACROSS_USERS
310 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
691 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean getBl…
1511 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public boolean bindS…
1519 …method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public abstract void…
1655 …method @NonNull @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.pe…
1656 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
1657 …method @RequiresPermission(anyOf={"android.permission.INTERACT_ACROSS_USERS", "android.permission.…
1791 …method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public andr…
1809 …method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public java…
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2562 android.Manifest.permission.INTERACT_ACROSS_USERS,
2581 android.Manifest.permission.INTERACT_ACROSS_USERS,
2682 android.Manifest.permission.INTERACT_ACROSS_USERS,

12