Searched refs:callingUser (Results 1 – 6 of 6) sorted by relevance
335 int callingUser = UserHandle.getCallingUserId(); in checkCaller() local337 return (sForegroundUserId == callingUser) in checkCaller()346 int callingUser = UserHandle.getCallingUserId(); in checkCallerAllowManagedProfiles() local353 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()357 return (sForegroundUserId == callingUser) || (sForegroundUserId == parentUser) in checkCallerAllowManagedProfiles()
577 UserHandle callingUser = UserHandle.getUserHandleForUid(callingUid); in canUseCamera() local579 if (currentUserHandle != null && !currentUserHandle.equals(callingUser)) { in canUseCamera()
1951 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument1953 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) in isPhoneAccountHandleVisibleToCallingUser()
4400 UserHandle callingUser = UserHandle.of(UserHandle.getUserId(uid));4405 && userManager.hasUserRestriction(UserManager.DISALLOW_SMS, callingUser);
2206 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startDiscovery() local2217 callingUser)) { in startDiscovery()2223 callingUser)) { in startDiscovery()
1945 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startScan() local