Searched refs:targetUser (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 65 @NonNull UserHandle targetUser) { in startMainActivity() argument 71 targetUser); in startMainActivity() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 98 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/ |
D | LauncherAppsService.java | 430 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/ |
D | InboundSmsHandler.java | 1054 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/ |
D | DevicePolicyManager.java | 9032 @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/ |
D | AccountManagerService.java | 1723 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/ |
D | DevicePolicyManagerService.java | 4506 final int targetUser = getProfileParentId(userHandle); in isProfileActivePasswordSufficientForParent() local 4507 enforceUserUnlocked(targetUser, false); in isProfileActivePasswordSufficientForParent() 4512 policy.mPasswordValidAtLastCheckpoint, metrics, targetUser, false); in isProfileActivePasswordSufficientForParent()
|