Searched refs:callingUser (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | AutoGrantPermissionsNotifier.java | 99 UserHandle callingUser = getUserHandleForUid(mPackageInfo.applicationInfo.uid); in AutoGrantPermissionsNotifier() local 100 mContext = context.createContextAsUser(callingUser, 0); in AutoGrantPermissionsNotifier() 217 UserHandle callingUser = getUserHandleForUid(mPackageInfo.applicationInfo.uid); in getSettingsPermissionIntent() local 223 .putExtra(EXTRA_USER, callingUser) in getSettingsPermissionIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 600 int callingUser = UserHandle.getCallingUserId(); in checkCallerIsSystemOrActiveUser() local 602 return (sForegroundUserId == callingUser) in checkCallerIsSystemOrActiveUser() 623 int callingUser = UserHandle.getCallingUserId(); in checkCallerIsSystemOrActiveOrManagedUser() local 630 UserInfo ui = um.getProfileParent(callingUser); in checkCallerIsSystemOrActiveOrManagedUser() 634 return (sForegroundUserId == callingUser) || (sForegroundUserId == parentUser) in checkCallerIsSystemOrActiveOrManagedUser()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 442 UserHandle callingUser = UserHandle.getUserHandleForUid(uid); in isCurrentProfile() local 443 return currentUser.equals(callingUser) in isCurrentProfile() 444 || mUserManager.isSameProfileGroup(currentUser, callingUser); in isCurrentProfile()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | VideoProviderProxy.java | 584 UserHandle callingUser = UserHandle.getUserHandleForUid(callingUid); in canUseCamera() local 586 if (currentUserHandle != null && !currentUserHandle.equals(callingUser)) { in canUseCamera()
|
D | TelecomServiceImpl.java | 2105 PhoneAccountHandle phoneAccountUserHandle, UserHandle callingUser) { in isPhoneAccountHandleVisibleToCallingUser() argument 2107 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) in isPhoneAccountHandleVisibleToCallingUser()
|
D | CallsManager.java | 4666 UserHandle callingUser = UserHandle.of(UserHandle.getUserId(uid)); 4671 && userManager.hasUserRestriction(UserManager.DISALLOW_SMS, callingUser);
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 1154 UserInfo callingUser = mUserManager.getUserInfo(callingUserId); in removeUser() local 1155 if (!callingUser.isAdmin() && userId != callingUserId) { in removeUser() 1370 UserInfo callingUser = mUserManager.getUserInfo(callingUserId); in handleCreateUser() local 1371 if (!callingUser.isAdmin() && (flags & UserInfo.FLAG_ADMIN) == UserInfo.FLAG_ADMIN) { in handleCreateUser()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 2575 UserHandle callingUser = UserHandle.of(UserHandle.getCallingUserId()); in startDiscovery() local 2589 if (!Utils.checkCallerHasFineLocation(this, attributionSource, callingUser)) { in startDiscovery() 2594 if (!Utils.checkCallerHasCoarseLocation(this, attributionSource, callingUser)) { in startDiscovery()
|