/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManagerTest.java | 211 int userId = UserHandle.getCallingUserId(); in importKey_storesTheKey() 244 int userId = UserHandle.getCallingUserId(); in importKeyWithMetadata_nullMetadata_storesTheKey() 257 int userId = UserHandle.getCallingUserId(); in importKeyWithMetadata_nonNullMetadata_storesTheKey() 293 int userId = UserHandle.getCallingUserId(); in generateKeyWithMetadata_nullMetadata_storesTheKey() 304 int userId = UserHandle.getCallingUserId(); in generateKeyWithMetadata_nonNullMetadata_storesTheKey() 325 int userId = UserHandle.getCallingUserId(); in removeKey_updatesShouldCreateSnapshot() 338 int userId = UserHandle.getCallingUserId(); in removeKey_failureDoesNotUpdateShouldCreateSnapshot() 349 int userId = UserHandle.getCallingUserId(); in initRecoveryService_succeedsWithCertFile() 370 int userId = UserHandle.getCallingUserId(); in initRecoveryService_updatesShouldCreatesnapshotOnCertUpdate() 397 int userId = UserHandle.getCallingUserId(); in initRecoveryService_triesToFilterRootAlias() [all …]
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 121 enforceCaller(UserHandle.getCallingUserId(), "provideContextImage"); in provideContextImage() 140 enforceCaller(UserHandle.getCallingUserId(), "suggestContentSelections"); in suggestContentSelections() 159 enforceCaller(UserHandle.getCallingUserId(), "classifyContentSelections"); in classifyContentSelections() 176 enforceCaller(UserHandle.getCallingUserId(), "notifyInteraction"); in notifyInteraction() 193 enforceCaller(UserHandle.getCallingUserId(), "isEnabled"); in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 367 UserHandle.getCallingUserId(), Build.VERSION_CODES.CUR_DEVELOPMENT); in registerContentObserver() 402 final int callingUserHandle = UserHandle.getCallingUserId(); in notifyChange() 490 UserHandle.getCallingUserId(), Build.VERSION_CODES.CUR_DEVELOPMENT, callingPackage); in notifyChange() 518 int userId = UserHandle.getCallingUserId(); in requestSync() 551 syncAsUser(request, UserHandle.getCallingUserId(), callingPackage); in sync() 623 cancelSyncAsUser(account, authority, cname, UserHandle.getCallingUserId()); in cancelSync() 671 int userId = UserHandle.getCallingUserId(); in cancelRequest() 708 return getSyncAdapterTypesAsUser(UserHandle.getCallingUserId()); in getSyncAdapterTypes() 751 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically() 780 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 244 int userId = getCallingUserId(); in associate() 273 checkUsesFeature(callingPackage, getCallingUserId()); in getAssociations() 285 checkUsesFeature(callingPackage, getCallingUserId()); in disassociate() 286 removeAssociation(getCallingUserId(), callingPackage, deviceMacAddress); in disassociate() 290 checkCallerIsSystemOr(pkg, getCallingUserId()); in checkCallerIsSystemOr() 298 checkArgument(getCallingUserId() == userId, in checkCallerIsSystemOr() 308 int userId = getCallingUserId(); in requestNotificationAccess() 340 int userId = getCallingUserId(); in checkCanCallNotificationApi() 371 private static int getCallingUserId() { in getCallingUserId() method in CompanionDeviceManagerService 523 int userId = getCallingUserId(); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 80 callingPackage, mInjector.getCallingUserId()); in getTargetUserProfiles() 100 final int callerUserId = mInjector.getCallingUserId(); in startActivityAsUser() 251 public int getCallingUserId() { in getCallingUserId() method in CrossProfileAppsServiceImpl.InjectorImpl 252 return UserHandle.getCallingUserId(); in getCallingUserId() 298 int getCallingUserId(); in getCallingUserId() method
|
D | LauncherAppsService.java | 178 private int getCallingUserId() { in getCallingUserId() method in LauncherAppsService.LauncherAppsImpl 200 mListeners.register(listener, new BroadcastCookie(UserHandle.of(getCallingUserId()), in addOnAppsChangedListener() 229 UserHandle callingIdUserHandle = new UserHandle(getCallingUserId()); in registerPackageInstallerCallback() 239 int[] userIds = mUm.getEnabledProfileIds(getCallingUserId()); in getAllSessions() 471 getCallingUserId()); in hasDefaultEnableLauncherActivity() 649 if (!mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), in ensureShortcutPermission() 670 mShortcutServiceInternal.getShortcuts(getCallingUserId(), in getShortcuts() 684 mShortcutServiceInternal.pinShortcuts(getCallingUserId(), in pinShortcuts() 696 return mShortcutServiceInternal.getShortcutIconResId(getCallingUserId(), in getShortcutIconResId() 708 return mShortcutServiceInternal.getShortcutIconFd(getCallingUserId(), in getShortcutIconFd() [all …]
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 235 return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity); in getSearchableInfo() 243 return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList(); in getSearchablesInGlobalSearch() 248 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivities(); in getGlobalSearchActivities() 256 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity(); in getGlobalSearchActivity() 264 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/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 189 int userId = UserHandle.getCallingUserId(); in initRecoveryService() 362 int userId = UserHandle.getCallingUserId(); in setServerParams() 428 int userId = UserHandle.getCallingUserId(); in setRecoverySecretTypes() 465 return mDatabase.getRecoverySecretTypes(UserHandle.getCallingUserId(), in getRecoverySecretTypes() 607 int userId = UserHandle.getCallingUserId(); in recoverKeyChainSnapshot() 677 int userId = UserHandle.getCallingUserId(); in removeKey() 716 int userId = UserHandle.getCallingUserId(); in generateKeyWithMetadata() 785 int userId = UserHandle.getCallingUserId(); in importKeyWithMetadata() 821 int userId = UserHandle.getCallingUserId(); in getKey() 971 int userId = UserHandle.getCallingUserId(); in checkRecoverKeyStorePermission()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerService.java | 465 final int userId = UserHandle.getCallingUserId(); in isCalledByServiceLocked() 485 serviceUid = pm.getPackageUidAsUser(servicePackageName, UserHandle.getCallingUserId()); in isCalledByServiceLocked() 550 final int userId = UserHandle.getCallingUserId(); in startSession() 565 final int userId = UserHandle.getCallingUserId(); in finishSession() 575 final int userId = UserHandle.getCallingUserId(); in getServiceComponentName() 593 final int userId = UserHandle.getCallingUserId(); in removeData() 609 final int userId = UserHandle.getCallingUserId(); in isContentCaptureFeatureEnabled() 625 final int userId = UserHandle.getCallingUserId(); in getServiceSettingsActivity() 646 final int userId = UserHandle.getCallingUserId(); in getContentCaptureConditions()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 789 getServiceForUserLocked(UserHandle.getCallingUserId()); in onBackKeyPressed() 1137 final int userId = UserHandle.getCallingUserId(); in getFillEventHistory() 1153 final int userId = UserHandle.getCallingUserId(); in getUserData() 1169 final int userId = UserHandle.getCallingUserId(); in getUserDataId() 1186 final int userId = UserHandle.getCallingUserId(); in setUserData() 1201 final int userId = UserHandle.getCallingUserId(); in isFieldClassificationEnabled() 1218 final int userId = UserHandle.getCallingUserId(); in getDefaultFieldClassificationAlgorithm() 1238 final int userId = UserHandle.getCallingUserId(); in setAugmentedAutofillWhitelist() 1260 final int userId = UserHandle.getCallingUserId(); in getAvailableFieldClassificationAlgorithms() 1279 final int userId = UserHandle.getCallingUserId(); in getAutofillServiceComponentName() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 461 int userId = UserHandle.getCallingUserId(); in addAccountExplicitlyWithVisibility() 493 int userId = UserHandle.getCallingUserId(); in getAccountsAndVisibilityForPackage() 549 int userId = UserHandle.getCallingUserId(); in getPackagesAndVisibilityForAccount() 596 int userId = UserHandle.getCallingUserId(); in getAccountVisibility() 761 int userId = UserHandle.getCallingUserId(); in setAccountVisibility() 882 int userId = UserHandle.getCallingUserId(); in registerAccountListener() 915 int userId = UserHandle.getCallingUserId(); in unregisterAccountListener() 1288 return getUserAccounts(UserHandle.getCallingUserId()); in getUserAccountsForCaller() 1482 int userId = UserHandle.getCallingUserId(); in getPassword() 1524 int userId = UserHandle.getCallingUserId(); in getPreviousName() [all …]
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | FinancialSmsManager.java | 186 UserHandle.getUserHandleForUid(UserHandle.getCallingUserId())); in connectAndRun() 200 pw.print(prefix); pw.print("User ID: "); pw.println(UserHandle.getCallingUserId()); in dump()
|
/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/core/java/com/android/server/ |
D | UiModeManagerService.java | 267 UserHandle.getCallingUserId()); 350 updateNightModeFromSettings(context, res, UserHandle.getCallingUserId()); in onStart() 385 final int userId = UserHandle.getCallingUserId(); in verifySetupWizardCompleted() 398 Secure.USER_SETUP_COMPLETE, 0, UserHandle.getCallingUserId()) == 1; in setupWizardCompleteForCurrentUser() 558 final int user = UserHandle.getCallingUserId(); 625 final int user = UserHandle.getCallingUserId(); 727 UserHandle.getCallingUserId()); in setCarModeLocked() 1179 final int user = UserHandle.getCallingUserId(); in updateComputedNightModeLocked()
|
/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/textclassifier/ |
D | TextClassificationManagerService.java | 232 ? UserHandle.getCallingUserId() in onTextClassifierEvent() 327 : UserHandle.getCallingUserId(); in onDestroyTextClassificationSession() 448 .getPackageUidAsUser(packageName, UserHandle.getCallingUserId()); in validateInput() 458 final int callingUserId = UserHandle.getCallingUserId(); in validateInput()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 506 final int userId = UserHandle.getCallingUserId(); in getDreamComponents() 519 final int userId = UserHandle.getCallingUserId(); in setDreamComponents() 532 final int userId = UserHandle.getCallingUserId(); in getDefaultDreamComponent() 572 final int callingUserId = UserHandle.getCallingUserId(); in testDream()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 250 if (userId != UserHandle.getCallingUserId()) { in queryStatsForPackage() 302 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUid() 351 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUser() 378 if (userId != UserHandle.getCallingUserId()) { in queryExternalStatsForUser()
|
D | UsageStatsService.java | 997 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryUsageStats() 999 final int userId = UserHandle.getCallingUserId(); in queryUsageStats() 1020 final int userId = UserHandle.getCallingUserId(); in queryConfigurationStats() 1042 final int userId = UserHandle.getCallingUserId(); in queryEventStats() 1064 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryEvents() 1066 final int userId = UserHandle.getCallingUserId(); in queryEvents() 1101 if (userId != UserHandle.getCallingUserId()) { in queryEventsForUser() 1108 Binder.getCallingUid(), UserHandle.getCallingUserId()); in queryEventsForUser() 1125 if (userId != UserHandle.getCallingUserId()) { in queryEventsForPackageForUser()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PackageManagerWrapper.java | 81 intent, resolvedType, flags, UserHandle.getCallingUserId()); in resolveActivity()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 546 Slog.v(LOG_TAG, "query() for user: " + UserHandle.getCallingUserId()); in query() 568 final int userId = UserHandle.getCallingUserId(); in query() 578 final int userId = UserHandle.getCallingUserId(); in query() 610 Slog.v(LOG_TAG, "insert() for user: " + UserHandle.getCallingUserId()); in insert() 630 UserHandle.getCallingUserId(), false)) { in insert() 637 UserHandle.getCallingUserId(), false)) { in insert() 643 if (insertSystemSetting(name, value, UserHandle.getCallingUserId())) { in insert() 659 Slog.v(LOG_TAG, "bulkInsert() for user: " + UserHandle.getCallingUserId()); in bulkInsert() 677 Slog.v(LOG_TAG, "delete() for user: " + UserHandle.getCallingUserId()); in delete() 693 final int userId = UserHandle.getCallingUserId(); in delete() [all …]
|
/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 | 180 dispatchChange(selfChange, uri, UserHandle.getCallingUserId()); in dispatchChange()
|
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/ |
D | FingerprintService.java | 356 UserHandle.getCallingUserId())) { in isHardwareDetected() 388 UserHandle.getCallingUserId())) { in getEnrolledFingerprints() 399 UserHandle.getCallingUserId())) { in hasEnrolledFingerprints() 832 if (userId != UserHandle.getCallingUserId()) { in hasEnrolledBiometrics() 866 if (userId != UserHandle.getCallingUserId()) { in getEnrolledTemplates()
|