Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/jni/
Dpermission_helpers.cc55 uid_t callingUser = callingUid / PER_USER_RANGE; in isCallerActiveUser() local
58 return (foregroundUserId == callingUser) || (systemUiUid == callingUid) || in isCallerActiveUser()
67 uid_t callingUser = callingUid / PER_USER_RANGE; in isCallerActiveUserOrManagedProfile() local
70 if ((foregroundUserId == callingUser) || (systemUiUid == callingUid) || in isCallerActiveUserOrManagedProfile()
74 uid_t parentUser = callingUser; in isCallerActiveUserOrManagedProfile()
82 parentUser = um->getProfileParentId(callingUser); in isCallerActiveUserOrManagedProfile()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java257 int callingUser = UserHandle.getCallingUserId(); in checkCaller() local
259 return (sForegroundUserId == callingUser) || (sSystemUiUid == callingUid) in checkCaller()
267 int callingUser = UserHandle.getCallingUserId(); in checkCallerAllowManagedProfiles() local
274 UserInfo ui = um.getProfileParent(callingUser); in checkCallerAllowManagedProfiles()
278 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.java1759 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument
1760 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) != null; in isPhoneAccountHandleVisibleToCallingUser()
DCallsManager.java3739 UserHandle callingUser = UserHandle.of(UserHandle.getUserId(uid));
3744 && userManager.hasUserRestriction(UserManager.DISALLOW_SMS, callingUser);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1933 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startDiscovery() local
1944 if (!Utils.checkCallerHasFineLocation(this, mAppOps, callingPackage, callingUser)) { in startDiscovery()
1949 if (!Utils.checkCallerHasCoarseLocation(this, mAppOps, callingPackage, callingUser)) { in startDiscovery()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1940 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startScan() local