Home
last modified time | relevance | path

Searched refs:targetUser (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DCrossProfileApps.java65 @NonNull UserHandle targetUser) { in startMainActivity() argument
71 targetUser); in startMainActivity() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java98 final int targetUser = invocation.getArgument(0); in setupEnabledProfiles()
99 users.add(targetUser); in setupEnabledProfiles()
102 if (targetUser == PRIMARY_USER) { in setupEnabledProfiles()
104 } else if (targetUser == PROFILE_OF_PRIMARY_USER) { in setupEnabledProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java430 UserHandle targetUser) { in getShortcuts() argument
432 if (!canAccessProfile(targetUser.getIdentifier(), "Cannot get shortcuts")) { in getShortcuts()
444 componentName, flags, targetUser.getIdentifier(), in getShortcuts()
450 UserHandle targetUser) { in pinShortcuts() argument
452 if (!canAccessProfile(targetUser.getIdentifier(), "Cannot pin shortcuts")) { in pinShortcuts()
457 callingPackage, packageName, ids, targetUser.getIdentifier()); in pinShortcuts()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1054 UserHandle targetUser = new UserHandle(users[i]); in dispatchIntent() local
1057 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_SMS, targetUser)) { in dispatchIntent()
1067 mContext.sendOrderedBroadcastAsUser(intent, targetUser, permission, appOp, opts, in dispatchIntent()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9032 @Context.BindServiceFlags int flags, @NonNull UserHandle targetUser) { in bindDeviceAdminServiceAsUser() argument
9041 sd, flags, targetUser.getIdentifier()); in bindDeviceAdminServiceAsUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1723 final Bundle accountCredentials, final Account account, final UserAccounts targetUser, in completeCloningAccount() argument
1728 new Session(targetUser, response, account.type, false, in completeCloningAccount() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4506 final int targetUser = getProfileParentId(userHandle); in isProfileActivePasswordSufficientForParent() local
4507 enforceUserUnlocked(targetUser, false); in isProfileActivePasswordSufficientForParent()
4512 policy.mPasswordValidAtLastCheckpoint, metrics, targetUser, false); in isProfileActivePasswordSufficientForParent()