Searched refs:foregroundUser (Results 1 – 2 of 2) sorted by relevance
2091 int foregroundUser; in checkIfCallerIsForegroundUser() local2101 foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsForegroundUser()2102 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()2107 + foregroundUser); in checkIfCallerIsForegroundUser()
2311 int foregroundUser; in validateEventsAndUserLocked() local2315 foregroundUser = ActivityManager.getCurrentUser(); in validateEventsAndUserLocked()2316 valid = UserHandle.getUserId(r.callerUid) == foregroundUser in validateEventsAndUserLocked()2320 + " r.callerUid=" + r.callerUid + " foregroundUser=" + foregroundUser in validateEventsAndUserLocked()