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.getIdentifier(), in startMainActivity() 93 public void startActivity(@NonNull ComponentName component, @NonNull UserHandle targetUser) { in startActivity() argument 96 mContext.getPackageName(), component, targetUser.getIdentifier(), false); in startActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 102 final int targetUser = invocation.getArgument(0); in setupEnabledProfiles() 103 users.add(targetUser); in setupEnabledProfiles() 106 if (targetUser == PRIMARY_USER) { in setupEnabledProfiles() 108 } else if (targetUser == PROFILE_OF_PRIMARY_USER) { in setupEnabledProfiles()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 658 UserHandle targetUser) { in getShortcuts() argument 660 if (!canAccessProfile(targetUser.getIdentifier(), "Cannot get shortcuts")) { in getShortcuts() 672 componentName, flags, targetUser.getIdentifier(), in getShortcuts() 678 UserHandle targetUser) { in pinShortcuts() argument 680 if (!canAccessProfile(targetUser.getIdentifier(), "Cannot pin shortcuts")) { in pinShortcuts() 685 callingPackage, packageName, ids, targetUser.getIdentifier()); in pinShortcuts()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 1155 UserHandle targetUser = UserHandle.of(users[i]); in dispatchIntent() local 1158 if (hasUserRestriction(UserManager.DISALLOW_SMS, targetUser)) { in dispatchIntent() 1168 mContext.createPackageContextAsUser(mContext.getPackageName(), 0, targetUser) in dispatchIntent()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 9994 @Context.BindServiceFlags int flags, @NonNull UserHandle targetUser) { in bindDeviceAdminServiceAsUser() argument 10003 sd, flags, targetUser.getIdentifier()); in bindDeviceAdminServiceAsUser()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1747 final Bundle accountCredentials, final Account account, final UserAccounts targetUser, in completeCloningAccount() argument 1752 new Session(targetUser, response, account.type, false, in completeCloningAccount() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4793 final int targetUser = getProfileParentId(userHandle); in isProfileActivePasswordSufficientForParent() local 4794 enforceUserUnlocked(targetUser, false); in isProfileActivePasswordSufficientForParent() 4799 policy.mPasswordValidAtLastCheckpoint, metrics, targetUser, false); in isProfileActivePasswordSufficientForParent()
|