Home
last modified time | relevance | path

Searched refs:foregroundUser (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java206 int foregroundUser = ActivityManager.getCurrentUser(); in checkCaller() local
207 ok = (foregroundUser == callingUser); in checkCaller()
239 int foregroundUser = ActivityManager.getCurrentUser(); in checkCallerAllowManagedProfiles() local
240 ok = (foregroundUser == callingUser) || in checkCallerAllowManagedProfiles()
241 (foregroundUser == parentUser); in checkCallerAllowManagedProfiles()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1319 int foregroundUser = ActivityManager.getCurrentUser(); in checkIfCallerIsSelfOrForegroundUser() local
1320 ok = (foregroundUser == callingUser); in checkIfCallerIsSelfOrForegroundUser()
1322 log("checkIfCallerIsSelfOrForegoundUser: foregroundUser=" + foregroundUser in checkIfCallerIsSelfOrForegroundUser()