Searched refs:foregroundUser (Results 1 – 2 of 2) sorted by relevance
2322 int foregroundUser; in checkIfCallerIsForegroundUser() local2332 foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsForegroundUser()2333 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()2338 + foregroundUser); in checkIfCallerIsForegroundUser()
2674 int foregroundUser; in validateEventsAndUserLocked() local2678 foregroundUser = ActivityManager.getCurrentUser(); in validateEventsAndUserLocked()2679 valid = UserHandle.getUserId(r.callerUid) == foregroundUser in validateEventsAndUserLocked()2683 + " r.callerUid=" + r.callerUid + " foregroundUser=" + foregroundUser in validateEventsAndUserLocked()