Searched refs:foregroundUser (Results 1 – 2 of 2) sorted by relevance
2470 int foregroundUser; in checkIfCallerIsForegroundUser() local2480 foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsForegroundUser()2481 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()2486 + foregroundUser); in checkIfCallerIsForegroundUser()
3138 int foregroundUser; in validateEventAndUserLocked() local3142 foregroundUser = ActivityManager.getCurrentUser(); in validateEventAndUserLocked()3143 valid = UserHandle.getUserId(r.callerUid) == foregroundUser in validateEventAndUserLocked()3147 + " r.callerUid=" + r.callerUid + " foregroundUser=" + foregroundUser in validateEventAndUserLocked()