/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 206 int userId = UserHandle.getCallingUserId(); in importKey_storesTheKey() 249 int userId = UserHandle.getCallingUserId(); in removeKey_updatesShouldCreateSnapshot() 262 int userId = UserHandle.getCallingUserId(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot() 273 int userId = UserHandle.getCallingUserId(); in initRecoveryService_succeedsWithCertFile() 294 int userId = UserHandle.getCallingUserId(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate() 321 int userId = UserHandle.getCallingUserId(); in initRecoveryService_triesToFilterRootAlias() 342 int userId = UserHandle.getCallingUserId(); in initRecoveryService_usesProdCertificateForEmptyRootAlias() 362 int userId = UserHandle.getCallingUserId(); in initRecoveryService_usesProdCertificateForNullRootAlias() 382 int userId = UserHandle.getCallingUserId(); in initRecoveryService_regeneratesCounterId() 412 int userId = UserHandle.getCallingUserId(); in initRecoveryService_updatesWithLargerSerial() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 71 callingPackage, mInjector.getCallingUserId()); in getTargetUserProfiles() 87 callingPackage, mInjector.getCallingUserId()); in startActivityAsUser() 208 public int getCallingUserId() { in getCallingUserId() method in CrossProfileAppsServiceImpl.InjectorImpl 209 return UserHandle.getCallingUserId(); in getCallingUserId() 250 int getCallingUserId(); in getCallingUserId() method
|
D | LauncherAppsService.java | 156 private int getCallingUserId() { in getCallingUserId() method in LauncherAppsService.LauncherAppsImpl 179 mListeners.register(listener, new BroadcastCookie(UserHandle.of(getCallingUserId()), in addOnAppsChangedListener() 421 if (!mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), in ensureShortcutPermission() 442 mShortcutServiceInternal.getShortcuts(getCallingUserId(), in getShortcuts() 456 mShortcutServiceInternal.pinShortcuts(getCallingUserId(), in pinShortcuts() 468 return mShortcutServiceInternal.getShortcutIconResId(getCallingUserId(), in getShortcutIconResId() 480 return mShortcutServiceInternal.getShortcutIconFd(getCallingUserId(), in getShortcutIconFd() 487 return mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), in hasShortcutHostPermission() 500 if (!mShortcutServiceInternal.isPinnedByCaller(getCallingUserId(), in startShortcut() 506 getCallingUserId(), callingPackage, packageName, shortcutId, targetUserId, in startShortcut()
|
D | UserManagerService.java | 658 if (userId != UserHandle.getCallingUserId()) { in getProfiles() 675 if (userId != UserHandle.getCallingUserId()) { in getProfileIds() 1071 int callingUserId = UserHandle.getCallingUserId(); in getManagedProfileBadge() 1087 int callingUserId = UserHandle.getCallingUserId(); in isManagedProfile() 1143 int callingUserId = UserHandle.getCallingUserId(); in checkManageOrInteractPermIfCallerInOtherProfileGroup() 1157 int callingUserId = UserHandle.getCallingUserId(); in isDemoUser() 1171 return getUserInfoLU(UserHandle.getCallingUserId()).isRestricted(); in isRestricted() 1194 final int callingUserId = UserHandle.getCallingUserId(); in hasRestrictedProfiles() 1306 final int callingUserId = UserHandle.getCallingUserId(); in getUserIcon() 2593 if (hasUserRestriction(restriction, UserHandle.getCallingUserId())) { in createUserInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 363 UserHandle.getCallingUserId(), Build.VERSION_CODES.CUR_DEVELOPMENT); in registerContentObserver() 398 final int callingUserHandle = UserHandle.getCallingUserId(); in notifyChange() 483 UserHandle.getCallingUserId(), Build.VERSION_CODES.CUR_DEVELOPMENT); in notifyChange() 510 int userId = UserHandle.getCallingUserId(); in requestSync() 542 syncAsUser(request, UserHandle.getCallingUserId()); in sync() 613 cancelSyncAsUser(account, authority, cname, UserHandle.getCallingUserId()); in cancelSync() 661 int userId = UserHandle.getCallingUserId(); in cancelRequest() 698 return getSyncAdapterTypesAsUser(UserHandle.getCallingUserId()); in getSyncAdapterTypes() 741 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically() 770 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 224 int userId = getCallingUserId(); in associate() 253 checkUsesFeature(callingPackage, getCallingUserId()); in getAssociations() 265 checkUsesFeature(callingPackage, getCallingUserId()); in disassociate() 266 removeAssociation(getCallingUserId(), callingPackage, deviceMacAddress); in disassociate() 270 checkCallerIsSystemOr(pkg, getCallingUserId()); in checkCallerIsSystemOr() 278 checkArgument(getCallingUserId() == userId, in checkCallerIsSystemOr() 288 int userId = getCallingUserId(); in requestNotificationAccess() 317 int userId = getCallingUserId(); in checkCanCallNotificationApi() 348 private static int getCallingUserId() { in getCallingUserId() method in CompanionDeviceManagerService 500 int userId = getCallingUserId(); [all …]
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 233 return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity); in getSearchableInfo() 241 return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList(); in getSearchablesInGlobalSearch() 246 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivities(); in getGlobalSearchActivities() 254 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity(); in getGlobalSearchActivity() 262 return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity(); in getWebSearchActivity()
|
D | Searchables.java | 130 UserHandle.getCallingUserId())) { in getSearchableInfo() 191 UserHandle.getCallingUserId())) { in getSearchableInfo() 468 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdSearchableInfoList() 484 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdResolveInfoList() 500 final int callingUserId = UserHandle.getCallingUserId(); in getGlobalSearchActivity() 514 final int callingUserId = UserHandle.getCallingUserId(); in getWebSearchActivity()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 241 int userIdInt = UserHandle.getCallingUserId(); in isCallerInCurrentUserProfileGroupLocked() 259 int userIdInt = UserHandle.getCallingUserId(); in openDevice() 290 int userIdInt = UserHandle.getCallingUserId(); in openAccessory() 338 final int userId = UserHandle.getCallingUserId(); in hasDevicePermission() 345 final int userId = UserHandle.getCallingUserId(); in hasAccessoryPermission() 351 final int userId = UserHandle.getCallingUserId(); in requestDevicePermission() 359 final int userId = UserHandle.getCallingUserId(); in requestAccessoryPermission() 501 if (mCurrentUserId == UserHandle.getCallingUserId()) { in setUsbDeviceConnectionHandler()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 178 int userId = UserHandle.getCallingUserId(); in initRecoveryService() 351 int userId = UserHandle.getCallingUserId(); in setServerParams() 417 int userId = UserHandle.getCallingUserId(); in setRecoverySecretTypes() 454 return mDatabase.getRecoverySecretTypes(UserHandle.getCallingUserId(), in getRecoverySecretTypes() 596 int userId = UserHandle.getCallingUserId(); in recoverKeyChainSnapshot() 664 int userId = UserHandle.getCallingUserId(); in removeKey() 683 int userId = UserHandle.getCallingUserId(); in generateKey() 732 int userId = UserHandle.getCallingUserId(); in importKey() 767 int userId = UserHandle.getCallingUserId(); in getKey()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 905 final int userId = UserHandle.getCallingUserId(); in getFillEventHistory() 921 final int userId = UserHandle.getCallingUserId(); in getUserData() 937 final int userId = UserHandle.getCallingUserId(); in getUserDataId() 954 final int userId = UserHandle.getCallingUserId(); in setUserData() 968 final int userId = UserHandle.getCallingUserId(); in isFieldClassificationEnabled() 984 final int userId = UserHandle.getCallingUserId(); in getDefaultFieldClassificationAlgorithm() 1001 final int userId = UserHandle.getCallingUserId(); in getAvailableFieldClassificationAlgorithms() 1018 final int userId = UserHandle.getCallingUserId(); in getAutofillServiceComponentName() 1035 final int userId = UserHandle.getCallingUserId(); in restoreSession() 1166 UserHandle.getCallingUserId()); in onPendingSaveUi()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 464 int userId = UserHandle.getCallingUserId(); in addAccountExplicitlyWithVisibility() 496 int userId = UserHandle.getCallingUserId(); in getAccountsAndVisibilityForPackage() 552 int userId = UserHandle.getCallingUserId(); in getPackagesAndVisibilityForAccount() 599 int userId = UserHandle.getCallingUserId(); in getAccountVisibility() 764 int userId = UserHandle.getCallingUserId(); in setAccountVisibility() 885 int userId = UserHandle.getCallingUserId(); in registerAccountListener() 918 int userId = UserHandle.getCallingUserId(); in unregisterAccountListener() 1291 return getUserAccounts(UserHandle.getCallingUserId()); in getUserAccountsForCaller() 1458 int userId = UserHandle.getCallingUserId(); in getPassword() 1500 int userId = UserHandle.getCallingUserId(); in getPreviousName() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 457 Slog.v(LOG_TAG, "query() for user: " + UserHandle.getCallingUserId()); in query() 479 final int userId = UserHandle.getCallingUserId(); in query() 489 final int userId = UserHandle.getCallingUserId(); in query() 507 Slog.v(LOG_TAG, "insert() for user: " + UserHandle.getCallingUserId()); in insert() 527 UserHandle.getCallingUserId(), false)) { in insert() 534 UserHandle.getCallingUserId(), false)) { in insert() 540 if (insertSystemSetting(name, value, UserHandle.getCallingUserId())) { in insert() 556 Slog.v(LOG_TAG, "bulkInsert() for user: " + UserHandle.getCallingUserId()); in bulkInsert() 574 Slog.v(LOG_TAG, "delete() for user: " + UserHandle.getCallingUserId()); in delete() 590 final int userId = UserHandle.getCallingUserId(); in delete() [all …]
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 77 int userHandle = UserHandle.getCallingUserId(); in hasRestrictionsProvider() 131 final int userHandle = UserHandle.getCallingUserId(); in createLocalApprovalIntent()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 733 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryUsageStats() 735 final int userId = UserHandle.getCallingUserId(); in queryUsageStats() 756 final int userId = UserHandle.getCallingUserId(); in queryConfigurationStats() 778 final int userId = UserHandle.getCallingUserId(); in queryEventStats() 800 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryEvents() 802 final int userId = UserHandle.getCallingUserId(); in queryEvents() 835 if (userId != UserHandle.getCallingUserId()) { in queryEventsForUser() 842 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryEventsForUser() 859 if (userId != UserHandle.getCallingUserId()) { in queryEventsForPackageForUser()
|
D | StorageStatsService.java | 251 if (userId != UserHandle.getCallingUserId()) { in queryStatsForPackage() 303 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUid() 352 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUser() 379 if (userId != UserHandle.getCallingUserId()) { in queryExternalStatsForUser()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 830 final int userId = UserHandle.getCallingUserId(); in startListening() 876 final int userId = UserHandle.getCallingUserId(); in stopListening() 902 final int userId = UserHandle.getCallingUserId(); in allocateAppWidgetId() 951 final int userId = UserHandle.getCallingUserId(); in deleteAppWidgetId() 986 Slog.i(TAG, "hasBindAppWidgetPermission() " + UserHandle.getCallingUserId()); in hasBindAppWidgetPermission() 1010 Slog.i(TAG, "setBindAppWidgetPermission() " + UserHandle.getCallingUserId()); in setBindAppWidgetPermission() 1039 final int userId = UserHandle.getCallingUserId(); in createAppWidgetConfigIntentSender() 1090 final int userId = UserHandle.getCallingUserId(); in bindAppWidgetId() 1201 final int userId = UserHandle.getCallingUserId(); in getAppWidgetIds() 1228 final int userId = UserHandle.getCallingUserId(); in getAppWidgetIdsForHost() [all …]
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 496 final int userId = UserHandle.getCallingUserId(); in getDreamComponents() 509 final int userId = UserHandle.getCallingUserId(); in setDreamComponents() 522 final int userId = UserHandle.getCallingUserId(); in getDefaultDreamComponent() 562 final int callingUserId = UserHandle.getCallingUserId(); in testDream()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 52 public int getCallingUserId(int uid) { in getCallingUserId() method in WifiPermissionsWrapper
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 178 dispatchChange(selfChange, uri, UserHandle.getCallingUserId()); in dispatchChange()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TextServicesManagerService.java | 500 int userId = UserHandle.getCallingUserId(); in getCurrentSpellChecker() 517 final int userId = UserHandle.getCallingUserId(); in getCurrentSpellCheckerSubtype() 598 int callingUserId = UserHandle.getCallingUserId(); in getSpellCheckerService() 635 int userId = UserHandle.getCallingUserId(); in isSpellCheckerEnabled() 672 int callingUserId = UserHandle.getCallingUserId(); in getEnabledSpellCheckers() 695 int userId = UserHandle.getCallingUserId(); in finishSpellCheckerService()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 717 if (userId != UserHandle.getCallingUserId()) { in hasEnrolledFingerprints() 1177 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() 1211 final int callingUserId = UserHandle.getCallingUserId(); in cancelAuthentication() 1281 UserHandle.getCallingUserId())) { in isHardwareDetected() 1313 UserHandle.getCallingUserId())) { in getEnrolledFingerprints() 1324 UserHandle.getCallingUserId())) { in hasEnrolledFingerprints() 1586 final int userId = getUserOrWorkProfileId(opPackageName, UserHandle.getCallingUserId()); in getAuthenticatorId()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 180 int callingUserId = UserHandle.getCallingUserId(); in clearWindowContentFrameStats() 200 int callingUserId = UserHandle.getCallingUserId(); in getWindowContentFrameStats()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 344 return getClipboard(UserHandle.getCallingUserId()); in getClipboard() 483 int callingUserId = UserHandle.getCallingUserId(); in isDeviceLocked() 559 final int targetUserHandle = UserHandle.getCallingUserId(); in addActiveOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTaskImpl.java | 115 int callingUser = UserHandle.getCallingUserId(); in startActivity()
|