Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java335 int callingUser = UserHandle.getCallingUserId(); in checkCaller() local
337 return (sForegroundUserId == callingUser) in checkCaller()
346 int callingUser = UserHandle.getCallingUserId(); in checkCallerAllowManagedProfiles() local
353 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()
357 return (sForegroundUserId == callingUser) || (sForegroundUserId == parentUser) in checkCallerAllowManagedProfiles()
/packages/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java577 UserHandle callingUser = UserHandle.getUserHandleForUid(callingUid); in canUseCamera() local
579 if (currentUserHandle != null && !currentUserHandle.equals(callingUser)) { in canUseCamera()
DTelecomServiceImpl.java1951 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument
1953 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) in isPhoneAccountHandleVisibleToCallingUser()
DCallsManager.java4400 UserHandle callingUser = UserHandle.of(UserHandle.getUserId(uid));
4405 && userManager.hasUserRestriction(UserManager.DISALLOW_SMS, callingUser);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java2206 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startDiscovery() local
2217 callingUser)) { in startDiscovery()
2223 callingUser)) { in startDiscovery()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1945 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startScan() local