Searched refs:forUser (Results 1 – 10 of 10) sorted by relevance
116 .forUser(newUserId) in testLifecycleMultipleListeners()122 .forUser(newUserId) in testLifecycleMultipleListeners()187 .forUser(guestUserId) in testGuestUserResumeToNewGuestUser()235 .forUser(guestUserId) in testSecuredGuestUserResumeToSameUser()266 .forUser(newUserId) in testPersistentUserResumeToUser()
95 .forUser(newUserId) in testLifecycleListener()142 .forUser(newUserId) in testLifecycleListener()
275 .forUser(userId) in switchUser()
59 assertThrows(IllegalStateException.class, () -> builder.forUser(10)); in testListener_forAnyEvent_invalidBuilderMethods()150 .forUser(10) in testForSpecificEvents_filterByUser()175 .forUser(10) in testForSpecificEvents_filterByUserDuplicatedEventTypes()235 .forUser(11) in testForSpecificEvents_filterByPreviousAndTargetUsers()
44 public @NonNull T forUser(int userId) { in forUser() method in PerUser
157 public Builder forUser(@UserIdInt int userId) { in forUser() method in BlockingUserLifecycleListener.Builder
293 mDeviceListenerServiceConnectors.forUser(userId) in unbindDevicePresenceListener()449 return mServiceConnectors.forUser(userId).postAsync(service -> { in associate()460 mServiceConnectors.forUser(userId).post(service -> { in associate()767 mDeviceListenerServiceConnectors.forUser(association.getUserId()) in onAssociationPreRemove()1187 return mDeviceListenerServiceConnectors.forUser(a.getUserId()).computeIfAbsent(
69 public static PersonalAppsSuspensionHelper forUser(Context context, @UserIdInt int userId) { in forUser() method in PersonalAppsSuspensionHelper
1722 return PersonalAppsSuspensionHelper.forUser(mContext, userId) in getPersonalAppsForSuspension()9696 PersonalAppsSuspensionHelper.forUser(mContext, userId).dump(pw);13644 final int forUser = caller.getUserId();13646 DevicePolicyData userPolicy = getUserData(forUser);13649 mPolicyCache.setPermissionPolicy(forUser, policy);13650 saveSettingsLocked(forUser);
17293 PLcom/android/server/devicepolicy/PersonalAppsSuspensionHelper;->forUser(Landroid/content/Context;I…