/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | CallerIdentityInjector.java | 33 @UserIdInt int getCallingUserId(); in getCallingUserId() method 48 public int getCallingUserId() { in getCallingUserId() method in CallerIdentityInjector.Real 49 return UserHandle.getCallingUserId(); in getCallingUserId()
|
D | TimeZoneDetectorService.java | 145 int userId = mCallerIdentityInjector.getCallingUserId(); in getCapabilitiesAndConfig() 164 int callingUserId = mCallerIdentityInjector.getCallingUserId(); in updateConfiguration() 290 int userId = mCallerIdentityInjector.getCallingUserId(); in suggestManualTimeZone()
|
/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 | 134 enforceCaller(UserHandle.getCallingUserId(), "provideContextBitmap"); in provideContextBitmap() 158 enforceCaller(UserHandle.getCallingUserId(), "provideContextImage"); in provideContextImage() 195 enforceCaller(UserHandle.getCallingUserId(), "suggestContentSelections"); in suggestContentSelections() 214 enforceCaller(UserHandle.getCallingUserId(), "classifyContentSelections"); in classifyContentSelections() 231 enforceCaller(UserHandle.getCallingUserId(), "notifyInteraction"); in notifyInteraction() 248 enforceCaller(UserHandle.getCallingUserId(), "isEnabled"); in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 225 return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity); in getSearchableInfo() 233 return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList(); in getSearchablesInGlobalSearch() 238 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivities(); in getGlobalSearchActivities() 246 return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity(); in getGlobalSearchActivity() 254 return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity(); in getWebSearchActivity()
|
D | Searchables.java | 131 UserHandle.getCallingUserId())) { in getSearchableInfo() 192 UserHandle.getCallingUserId())) { in getSearchableInfo() 470 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdSearchableInfoList() 486 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdResolveInfoList() 502 final int callingUserId = UserHandle.getCallingUserId(); in getGlobalSearchActivity() 516 final int callingUserId = UserHandle.getCallingUserId(); in getWebSearchActivity()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 104 callingPackage, mInjector.getCallingUserId()); in getTargetUserProfiles() 125 final int callerUserId = mInjector.getCallingUserId(); in startActivityAsUser() 201 final int callerUserId = mInjector.getCallingUserId(); in startActivityAsUserByIntent() 259 mInjector.getUserManager().getEnabledProfileIds(mInjector.getCallingUserId()); in canRequestInteractAcrossProfilesUnchecked() 287 callingPackage, mInjector.getCallingUserId()); in canInteractAcrossProfiles() 422 setInteractAcrossProfilesAppOp(packageName, newMode, mInjector.getCallingUserId()); 586 return canConfigureInteractAcrossProfiles(packageName, mInjector.getCallingUserId()); 606 packageName, mInjector.getCallingUserId()); 694 /* flags= */ 0, mInjector.getCallingUserId(), mInjector.getCallingUid()) 722 return isManagedProfile(mInjector.getCallingUserId()); [all …]
|
D | LauncherAppsService.java | 219 private int getCallingUserId() { in getCallingUserId() method in LauncherAppsService.LauncherAppsImpl 241 mListeners.register(listener, new BroadcastCookie(UserHandle.of(getCallingUserId()), in addOnAppsChangedListener() 270 UserHandle callingIdUserHandle = new UserHandle(getCallingUserId()); in registerPackageInstallerCallback() 280 int[] userIds = mUm.getEnabledProfileIds(getCallingUserId()); in getAllSessions() 521 getCallingUserId()); in hasDefaultEnableLauncherActivity() 694 getCallingUserId(), callingPackage, packageName, shortcutId, in getShortcutIntent() 782 if (!mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), in ensureShortcutPermission() 849 mShortcutServiceInternal.getShortcuts(getCallingUserId(), in getShortcuts() 896 mShortcutServiceInternal.pinShortcuts(getCallingUserId(), in pinShortcuts() 909 getCallingUserId(), callingPackage, packageName, ids, in cacheShortcuts() [all …]
|
D | DataLoaderManagerService.java | 97 mHandler, UserHandle.of(UserHandle.getCallingUserId()))) { in bindToDataLoader() 122 pm.queryIntentServicesAsUser(intent, 0, UserHandle.getCallingUserId()); in resolveDataLoaderComponentName()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 380 UserHandle.getCallingUserId(), Build.VERSION_CODES.CUR_DEVELOPMENT); in registerContentObserver() 413 final int callingUserId = UserHandle.getCallingUserId(); in notifyChange() 591 int userId = UserHandle.getCallingUserId(); in requestSync() 624 syncAsUser(request, UserHandle.getCallingUserId(), callingPackage); in sync() 696 cancelSyncAsUser(account, authority, cname, UserHandle.getCallingUserId()); in cancelSync() 744 int userId = UserHandle.getCallingUserId(); in cancelRequest() 781 return getSyncAdapterTypesAsUser(UserHandle.getCallingUserId()); in getSyncAdapterTypes() 827 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically() 856 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically() 901 int userId = UserHandle.getCallingUserId(); in addPeriodicSync() [all …]
|
/frameworks/base/services/core/java/com/android/server/speech/ |
D | SpeechRecognitionManagerService.java | 89 int userId = UserHandle.getCallingUserId(); in createSession() 98 int userId = UserHandle.getCallingUserId(); in setTemporaryComponent()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerService.java | 120 int userId = UserHandle.getCallingUserId(); in beginRecognition() 164 final int userId = UserHandle.getCallingUserId(); in isCalledByServiceAppLocked() 185 UserHandle.getCallingUserId()); in isCalledByServiceAppLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioServiceTest.java | 78 UserHandle.getCallingUserId()); in testMuteMicrophone() 103 UserHandle.getCallingUserId()); in testMuteMicrophoneWhenFail()
|
/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() 783 int userId = UserHandle.getCallingUserId(); in importKeyWithMetadata() 817 int userId = UserHandle.getCallingUserId(); in getKey() 973 int userId = UserHandle.getCallingUserId(); in checkRecoverKeyStorePermission()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerService.java | 564 final int userId = UserHandle.getCallingUserId(); in isCalledByServiceLocked() 584 serviceUid = pm.getPackageUidAsUser(servicePackageName, UserHandle.getCallingUserId()); in isCalledByServiceLocked() 661 final int userId = UserHandle.getCallingUserId(); in startSession() 680 final int userId = UserHandle.getCallingUserId(); in finishSession() 690 final int userId = UserHandle.getCallingUserId(); in getServiceComponentName() 708 final int userId = UserHandle.getCallingUserId(); in removeData() 723 final int userId = UserHandle.getCallingUserId(); in shareData() 757 final int userId = UserHandle.getCallingUserId(); in isContentCaptureFeatureEnabled() 773 final int userId = UserHandle.getCallingUserId(); in getServiceSettingsActivity() 794 final int userId = UserHandle.getCallingUserId(); in getContentCaptureConditions() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthService.java | 213 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() 295 final int callingUserId = UserHandle.getCallingUserId(); in canAuthenticate() 334 final int callingUserId = UserHandle.getCallingUserId(); in registerEnabledOnKeyguardCallback() 374 final int callingUserId = UserHandle.getCallingUserId(); in getAuthenticatorIds() 408 final int callingUserId = UserHandle.getCallingUserId(); in getButtonLabel() 454 final int callingUserId = UserHandle.getCallingUserId(); in getPromptMessage() 524 final int callingUserId = UserHandle.getCallingUserId(); in getSettingName()
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerService.java | 171 UserHandle.getCallingUserId()); in resolveRotation() 205 UserHandle.getCallingUserId()); in dump() 218 UserHandle.getCallingUserId()); in onShellCommand()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
D | TestCallerIdentityInjector.java | 37 public int getCallingUserId() { in getCallingUserId() method in TestCallerIdentityInjector
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 290 if (userId != UserHandle.getCallingUserId()) { in queryStatsForPackage() 354 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUid() 414 if (userId != UserHandle.getCallingUserId()) { in queryStatsForUser() 447 if (userId != UserHandle.getCallingUserId()) { in queryExternalStatsForUser() 693 if (userId != UserHandle.getCallingUserId()) { in queryCratesForPackage() 722 if (userId != UserHandle.getCallingUserId()) { in queryCratesForUid() 763 if (userId != UserHandle.getCallingUserId()) { in queryCratesForUser()
|
/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/texttospeech/java/com/android/server/texttospeech/ |
D | TextToSpeechManagerService.java | 67 UserHandle.getCallingUserId()); in createSession()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 849 getServiceForUserLocked(UserHandle.getCallingUserId()); in onBackKeyPressed() 1435 final int userId = UserHandle.getCallingUserId(); in getFillEventHistory() 1451 final int userId = UserHandle.getCallingUserId(); in getUserData() 1467 final int userId = UserHandle.getCallingUserId(); in getUserDataId() 1484 final int userId = UserHandle.getCallingUserId(); in setUserData() 1499 final int userId = UserHandle.getCallingUserId(); in isFieldClassificationEnabled() 1516 final int userId = UserHandle.getCallingUserId(); in getDefaultFieldClassificationAlgorithm() 1536 final int userId = UserHandle.getCallingUserId(); in setAugmentedAutofillWhitelist() 1558 final int userId = UserHandle.getCallingUserId(); in getAvailableFieldClassificationAlgorithms() 1577 final int userId = UserHandle.getCallingUserId(); in getAutofillServiceComponentName() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 466 int userId = UserHandle.getCallingUserId(); in addAccountExplicitlyWithVisibility() 498 int userId = UserHandle.getCallingUserId(); in getAccountsAndVisibilityForPackage() 554 int userId = UserHandle.getCallingUserId(); in getPackagesAndVisibilityForAccount() 602 int userId = UserHandle.getCallingUserId(); in getAccountVisibility() 767 int userId = UserHandle.getCallingUserId(); in setAccountVisibility() 889 int userId = UserHandle.getCallingUserId(); in registerAccountListener() 922 int userId = UserHandle.getCallingUserId(); in unregisterAccountListener() 1296 return getUserAccounts(UserHandle.getCallingUserId()); in getUserAccountsForCaller() 1498 int userId = UserHandle.getCallingUserId(); in getPassword() 1540 int userId = UserHandle.getCallingUserId(); in getPreviousName() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PackageManagerWrapper.java | 81 intent, resolvedType, flags, UserHandle.getCallingUserId()); in resolveActivity()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 729 final int userId = UserHandle.getCallingUserId(); in startListening() 774 final int userId = UserHandle.getCallingUserId(); in stopListening() 801 final int userId = UserHandle.getCallingUserId(); in allocateAppWidgetId() 850 final int userId = UserHandle.getCallingUserId(); in deleteAppWidgetId() 885 Slog.i(TAG, "hasBindAppWidgetPermission() " + UserHandle.getCallingUserId()); in hasBindAppWidgetPermission() 909 Slog.i(TAG, "setBindAppWidgetPermission() " + UserHandle.getCallingUserId()); in setBindAppWidgetPermission() 938 final int userId = UserHandle.getCallingUserId(); in createAppWidgetConfigIntentSender() 989 final int userId = UserHandle.getCallingUserId(); in bindAppWidgetId() 1100 final int userId = UserHandle.getCallingUserId(); in getAppWidgetIds() 1127 final int userId = UserHandle.getCallingUserId(); in getAppWidgetIdsForHost() [all …]
|