Home
last modified time | relevance | path

Searched refs:callingUser (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java204 int callingUser = UserHandle.getCallingUserId(); in checkCaller() local
211 ok = (foregroundUser == callingUser); in checkCaller()
236 int callingUser = UserHandle.getCallingUserId(); in checkCallerAllowManagedProfiles() local
241 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()
245 ok = (foregroundUser == callingUser) || in checkCallerAllowManagedProfiles()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1251 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument
1252 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) != null; in isPhoneAccountHandleVisibleToCallingUser()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1606 int callingUser = UserHandle.getCallingUserId(); in checkIfCallerIsSelfOrForegroundUser() local
1612 ok = (foregroundUser == callingUser); in checkIfCallerIsSelfOrForegroundUser()
1615 + " callingUser=" + callingUser + " ok=" + ok); in checkIfCallerIsSelfOrForegroundUser()