Searched refs:foregroundUser (Results 1 – 2 of 2) sorted by relevance
1623 int foregroundUser; in checkIfCallerIsForegroundUser() local1633 foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsForegroundUser()1634 valid = (callingUser == foregroundUser) || in checkIfCallerIsForegroundUser()1635 parentUser == foregroundUser || in checkIfCallerIsForegroundUser()1642 + " foregroundUser=" + foregroundUser); in checkIfCallerIsForegroundUser()
1600 int foregroundUser; in validateEventsAndUserLocked() local1604 foregroundUser = ActivityManager.getCurrentUser(); in validateEventsAndUserLocked()1605 valid = r.callerUserId == foregroundUser && r.matchPhoneStateListenerEvent(events); in validateEventsAndUserLocked()1608 + " r.callerUserId=" + r.callerUserId + " foregroundUser=" + foregroundUser in validateEventsAndUserLocked()