/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 468 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdSearchableInfoList() local 470 if (pm.canAccessComponent(callingUid, info.getSearchActivity(), callingUserId)) { in createFilterdSearchableInfoList() 484 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdResolveInfoList() local 487 callingUid, info.activityInfo.getComponentName(), callingUserId)) { in createFilterdResolveInfoList() 500 final int callingUserId = UserHandle.getCallingUserId(); in getGlobalSearchActivity() local 502 && pm.canAccessComponent(callingUid, mCurrentGlobalSearchActivity, callingUserId)) { in getGlobalSearchActivity() 514 final int callingUserId = UserHandle.getCallingUserId(); in getWebSearchActivity() local 516 && pm.canAccessComponent(callingUid, mWebSearchActivity, callingUserId)) { in getWebSearchActivity()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 110 final int callingUserId = getUserId(); in onCreate() local 117 innerIntent.prepareToLeaveUser(callingUserId); in onCreate() 118 innerIntent.fixUris(callingUserId); in onCreate() 120 newIntent.prepareToLeaveUser(callingUserId); in onCreate() 148 + callingUserId + " to user " + targetUserId); in onCreate()
|
/frameworks/base/core/java/android/hardware/face/ |
D | IFaceService.aidl | 40 int cookie, int callingUid, int callingPid, int callingUserId); in prepareForAuthentication() argument 50 int callingUid, int callingPid, int callingUserId, boolean fromClient); in cancelAuthenticationFromService() argument
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | IFingerprintService.aidl | 43 int callingUid, int callingPid, int callingUserId); in prepareForAuthentication() argument 54 int callingUid, int callingPid, int callingUserId, boolean fromClient); in cancelAuthenticationFromService() argument
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricService.java | 183 Bundle bundle, int callingUid, int callingPid, int callingUserId, in AuthSession() argument 195 mCallingUserId = callingUserId; in AuthSession() 640 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() local 648 if (userId == callingUserId) { in authenticate() 653 Slog.w(TAG, "User " + callingUserId + " is requesting authentication of userid: " in authenticate() 724 args.argi4 = callingUserId; in authenticate() 1486 int callingUid, int callingPid, int callingUserId, in handleAuthenticate() argument 1525 callingUid, callingPid, callingUserId, modality, callback); in handleAuthenticate() 1540 int callingUid, int callingPid, int callingUserId, int modality, in authenticateInternal() argument 1560 receiver, opPackageName, bundle, callingUid, callingPid, callingUserId, in authenticateInternal() [all …]
|
D | BiometricServiceBase.java | 844 final int callingUserId = UserHandle.getCallingUserId(); in authenticateInternal() local 845 authenticateInternal(client, opId, opPackageName, callingUid, callingPid, callingUserId); in authenticateInternal() 849 String opPackageName, int callingUid, int callingPid, int callingUserId) { in authenticateInternal() argument 851 callingUserId)) { in authenticateInternal() 877 final int callingUserId = UserHandle.getCallingUserId(); in cancelAuthenticationInternal() local 878 cancelAuthenticationInternal(token, opPackageName, callingUid, callingPid, callingUserId, in cancelAuthenticationInternal() 883 int callingUid, int callingPid, int callingUserId, boolean fromClient) { in cancelAuthenticationInternal() argument 888 callingUserId)) { in cancelAuthenticationInternal()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4860 final int callingUserId = mInjector.userHandleGetCallingUserId(); in getPasswordComplexity() local 4861 enforceUserUnlocked(callingUserId); in getPasswordComplexity() 4867 int targetUserId = getCredentialOwner(callingUserId, /* parent= */ false); in getPasswordComplexity() 5457 final int callingUserId = mInjector.userHandleGetCallingUserId(); in lockNow() local 5475 callingUserId, "set FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY"); in lockNow() 5476 if (!isProfileOwner(adminComponent, callingUserId)) { in lockNow() 5488 mUserManager.evictCredentialEncryptionKey(callingUserId); in lockNow() 5493 final int userToLock = (parent || !isSeparateProfileChallengeEnabled(callingUserId) in lockNow() 5494 ? UserHandle.USER_ALL : callingUserId); in lockNow() 5510 parent ? getProfileParentId(callingUserId) : callingUserId; in lockNow() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioService.cpp | 191 const uid_t callingUserId = IPCThreadState::self()->getCallingUid(); in convertHandleToServiceStream() local 193 bool callerOwnsIt = callingUserId == ownerUserId; in convertHandleToServiceStream() 194 bool serverCalling = callingUserId == mAudioClient.clientUid; in convertHandleToServiceStream() 199 callingUserId, streamHandle, ownerUserId); in convertHandleToServiceStream()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 337 mSpellCheckerOwnerUserIdMap = new LazyIntToIntMap(callingUserId -> { in TextServicesManagerService() 341 final UserInfo parent = mUserManager.getProfileParent(callingUserId); in TextServicesManagerService() 342 return (parent != null) ? parent.id : callingUserId; in TextServicesManagerService() 347 return callingUserId; in TextServicesManagerService() 724 final int callingUserId = UserHandle.getCallingUserId(); in verifyUser() local 725 if (userId != callingUserId) { in verifyUser() 728 + " callingUserId=" + callingUserId); in verifyUser() 792 private TextServicesData getDataFromCallingUserIdLocked(@UserIdInt int callingUserId) { in getDataFromCallingUserIdLocked() argument 793 final int spellCheckerOwnerUserId = mSpellCheckerOwnerUserIdMap.get(callingUserId); in getDataFromCallingUserIdLocked() 796 if (spellCheckerOwnerUserId != callingUserId) { in getDataFromCallingUserIdLocked()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 206 int callingUserId = UserHandle.getCallingUserId(); in clearWindowContentFrameStats() local 209 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in clearWindowContentFrameStats() 226 int callingUserId = UserHandle.getCallingUserId(); in getWindowContentFrameStats() local 229 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in getWindowContentFrameStats()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 326 final int callingUserId = UserHandle.getUserId(uid); in isCurrentProfile() local 327 if (callingUserId == currentUser) { in isCurrentProfile() 333 if (user.id == callingUserId) { in isCurrentProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 218 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { in isRequestPinItemSupported() argument 219 return getRequestPinConfirmationActivity(callingUserId, requestType) != null; in isRequestPinItemSupported() 417 int callingUserId, int requestType) { in getRequestPinConfirmationActivity() argument 419 final int launcherUserId = mService.getParentOrSelfUserId(callingUserId); in getRequestPinConfirmationActivity()
|
D | CrossProfileAppsServiceImpl.java | 156 String callingPackage, @UserIdInt int callingUserId) { in getTargetUserProfilesUnchecked() argument 160 mInjector.getUserManager().getEnabledProfileIds(callingUserId); in getTargetUserProfilesUnchecked() 164 if (userId == callingUserId) { in getTargetUserProfilesUnchecked()
|
D | UserManagerService.java | 1229 final int callingUserId = UserHandle.getCallingUserId(); in checkManageOrInteractPermIfCallerInOtherProfileGroup() local 1230 if (callingUserId == userId || isSameProfileGroupNoChecks(callingUserId, userId) || in checkManageOrInteractPermIfCallerInOtherProfileGroup() 1243 final int callingUserId = UserHandle.getCallingUserId(); in isDemoUser() local 1244 if (callingUserId != userId && !hasManageUsersPermission()) { in isDemoUser() 1256 final int callingUserId = UserHandle.getCallingUserId(); in isPreCreated() local 1257 if (callingUserId != userId && !hasManageUsersPermission()) { in isPreCreated() 1293 final int callingUserId = UserHandle.getCallingUserId(); in hasRestrictedProfiles() local 1298 if (callingUserId != profile.id in hasRestrictedProfiles() 1299 && profile.restrictedProfileParentId == callingUserId) { in hasRestrictedProfiles() 1416 final int callingUserId = UserHandle.getCallingUserId(); in getUserIcon() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 402 int callingUserId = mWifiPermissionsWrapper.getCallingUserId(uid); in isCurrentProfile() local 403 if (callingUserId == currentUser) { in isCurrentProfile() 408 if (user.id == callingUserId) { in isCurrentProfile()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1261 final int callingUserId = resolveCallingUserIdEnforcingPermissionsLocked(requestingUserId); in mutateGlobalSetting() local 1266 name, callingUserId, value, Binder.getCallingUid())) { in mutateGlobalSetting() 1315 final int callingUserId = resolveCallingUserIdEnforcingPermissionsLocked(userId); in getAllSecureSettings() local 1320 final int ssaidUserId = resolveOwningUserIdForSecureSettingLocked(callingUserId, in getAllSecureSettings() 1325 List<String> names = getSettingsNamesLocked(SETTINGS_TYPE_SECURE, callingUserId); in getAllSecureSettings() 1335 final int owningUserId = resolveOwningUserIdForSecureSettingLocked(callingUserId, in getAllSecureSettings() 1338 if (!isSecureSettingAccessible(name, callingUserId, owningUserId)) { in getAllSecureSettings() 1370 final int callingUserId = resolveCallingUserIdEnforcingPermissionsLocked(requestingUserId); in getSecureSetting() local 1376 final int owningUserId = resolveOwningUserIdForSecureSettingLocked(callingUserId, name); in getSecureSetting() 1378 if (!isSecureSettingAccessible(name, callingUserId, owningUserId)) { in getSecureSetting() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 202 public abstract boolean isProfileAccessible(int callingUserId, int targetUserId, in isProfileAccessible() argument
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 572 final int callingUserId = UserHandle.getCallingUserId(); in testDream() local 574 if (callingUserId != currentUserId) { in testDream() 577 + " user is active: callingUserId=" + callingUserId in testDream() 583 testDreamInternal(dream, callingUserId); in testDream()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 83 public abstract boolean isRequestPinItemSupported(int callingUserId, int requestType); in isRequestPinItemSupported() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 505 final int callingUserId = UserHandle.getCallingUserId(); in adjustUriForUserAndGrantPermission() local 506 if (callingUserId != UserHandle.USER_SYSTEM) { in adjustUriForUserAndGrantPermission() 507 contentUri = ContentProvider.maybeAddUserId(contentUri, callingUserId); in adjustUriForUserAndGrantPermission()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 303 final int callingUserId = UserHandle.getUserId(callingUid); in getIntendingUserId() local 304 if (!UserManager.supportsMultipleUsers() || callingUserId == userId) { in getIntendingUserId() 305 return callingUserId; in getIntendingUserId() 308 int intendingUserId = callingUserId; in getIntendingUserId()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 458 final int callingUserId = UserHandle.getCallingUserId(); in validateInput() local 459 if (callingUserId != userId) { in validateInput() 462 "Invalid userId. UserId=" + userId + ", CallingUserId=" + callingUserId); in validateInput()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1625 final int callingUserId = UserHandle.getUserId(callingUid); 1626 if (callingUserId == userId) { 1641 && callingUserId == getCurrentUserId() 1642 && isSameProfileGroup(callingUserId, targetUserId)) { 1663 allow = isSameProfileGroup(callingUserId, targetUserId); 1671 targetUserId = callingUserId; 1991 boolean isSameProfileGroup(int callingUserId, int targetUserId) { 1992 if (callingUserId == targetUserId) { 1996 int callingProfile = mUserProfileGroupIds.get(callingUserId,
|
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/ |
D | FingerprintService.java | 245 int cookie, int callingUid, int callingPid, int callingUserId) { in prepareForAuthentication() argument 255 callingUserId); in prepareForAuthentication() 272 int callingUid, int callingPid, int callingUserId, boolean fromClient) { in cancelAuthenticationFromService() argument 275 callingUserId, fromClient); in cancelAuthenticationFromService()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 428 int callingUserId) { in prepareForAuthentication() argument 438 callingUserId); in prepareForAuthentication() 455 int callingUid, int callingPid, int callingUserId, boolean fromClient) { in cancelAuthenticationFromService() argument 458 callingUserId, fromClient); in cancelAuthenticationFromService()
|