Searched refs:callingUser (Results 1 – 3 of 3) sorted by relevance
204 int callingUser = UserHandle.getCallingUserId(); in checkCaller() local211 ok = (foregroundUser == callingUser); in checkCaller()236 int callingUser = UserHandle.getCallingUserId(); in checkCallerAllowManagedProfiles() local241 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()245 ok = (foregroundUser == callingUser) || in checkCallerAllowManagedProfiles()
1251 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument1252 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) != null; in isPhoneAccountHandleVisibleToCallingUser()
1606 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsSelfOrForegroundUser() local1612 ok = (foregroundUser == callingUser); in checkIfCallerIsSelfOrForegroundUser()1615 + " callingUser=" + callingUser + " ok=" + ok); in checkIfCallerIsSelfOrForegroundUser()