Searched refs:foregroundUser (Results 1 – 3 of 3) sorted by relevance
127 UserInfo foregroundUser = createUserInfoForId(17); in getAllUsersExcludesForegroundUser() local136 testUsers.add(foregroundUser); in getAllUsersExcludesForegroundUser()
1983 int foregroundUser; in checkIfCallerIsForegroundUser() local1993 foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsForegroundUser()1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()1999 + foregroundUser); in checkIfCallerIsForegroundUser()
1747 int foregroundUser; in validateEventsAndUserLocked() local1751 foregroundUser = ActivityManager.getCurrentUser(); in validateEventsAndUserLocked()1752 valid = UserHandle.getUserId(r.callerUid) == foregroundUser in validateEventsAndUserLocked()1756 + " r.callerUid=" + r.callerUid + " foregroundUser=" + foregroundUser in validateEventsAndUserLocked()