Searched refs:targetUser (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 221 String callingPackage, UserHandle targetUser, String message) { in canAccessProfile() argument 222 return canAccessProfile(callingPackage, targetUser.getIdentifier(), message); in canAccessProfile() 449 UserHandle targetUser) { in getShortcuts() argument 451 if (!canAccessProfile(callingPackage, targetUser, "Cannot get shortcuts") in getShortcuts() 452 || !isUserEnabled(targetUser)) { in getShortcuts() 464 componentName, flags, targetUser.getIdentifier())); in getShortcuts() 469 UserHandle targetUser) { in pinShortcuts() argument 471 if (!canAccessProfile(callingPackage, targetUser, "Cannot pin shortcuts")) { in pinShortcuts() 474 if (!isUserEnabled(targetUser)) { in pinShortcuts() 476 + targetUser); in pinShortcuts() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 1014 UserHandle targetUser = new UserHandle(users[i]); in dispatchIntent() local 1017 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_SMS, targetUser)) { in dispatchIntent() 1027 mContext.sendOrderedBroadcastAsUser(intent, targetUser, permission, appOp, opts, in dispatchIntent()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 7952 @Context.BindServiceFlags int flags, @NonNull UserHandle targetUser) { in bindDeviceAdminServiceAsUser() argument 7961 sd, flags, targetUser.getIdentifier()); in bindDeviceAdminServiceAsUser()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1695 final Bundle accountCredentials, final Account account, final UserAccounts targetUser, in completeCloningAccount() argument 1700 new Session(targetUser, response, account.type, false, in completeCloningAccount() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4086 int targetUser = getProfileParentId(userHandle); in isProfileActivePasswordSufficientForParent() local 4088 return isActivePasswordSufficientForUserLocked(policy, targetUser, false); in isProfileActivePasswordSufficientForParent()
|