Home
last modified time | relevance | path

Searched defs:callingUserId (Results 1 – 25 of 264) sorted by relevance

1234567891011

/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationEnforcer.java135 public boolean assertApprovedUserStateQuerent(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserStateQuerent()
156 public boolean assertApprovedUserSelector(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserSelector()
183 public boolean callerIsLegacyUserSelector(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserSelector()
208 public boolean callerIsLegacyUserQuerent(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserQuerent()
233 public void assertOwnerQuerent(int callingUid, @UserIdInt int callingUserId, in assertOwnerQuerent()
/aosp_15_r20/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationEnforcerTest.kt313 val callingUserId: Int, in <lambda>() constant in com.android.server.pm.test.verify.domain.Params.Input
510 val callingUserId = 0 in <lambda>() constant
547 val callingUserId = 0 in <lambda>() constant
594 val callingUserId = 0 in <lambda>() constant
651 val callingUserId = 0 in <lambda>() constant
694 val callingUserId = 0 in <lambda>() constant
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilitySecurityPolicyTest.java474 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_userIdIsCallingUser_shouldResolveProfileParent() local
484 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser() local
500 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException() local
519 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId() local
537 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId() local
555 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException() local
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthService.java274 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() local
364 final int callingUserId = UserHandle.getCallingUserId(); in canAuthenticate() local
392 final int callingUserId = UserHandle.getCallingUserId(); in getLastAuthenticationTime() local
497 final int callingUserId = UserHandle.getCallingUserId(); in getAuthenticatorIds() local
542 final int callingUserId = UserHandle.getCallingUserId(); in getButtonLabel() local
588 final int callingUserId = UserHandle.getCallingUserId(); in getPromptMessage() local
658 final int callingUserId = UserHandle.getCallingUserId(); in getSettingName() local
H A DPreAuthInfo.java76 final int callingUserId; field in PreAuthInfo
87 PromptInfo promptInfo, int userId, int callingUserId, Context context, in PreAuthInfo()
/aosp_15_r20/frameworks/base/services/people/java/com/android/server/people/prediction/
H A DSharesheetModelScorer.java169 @UserIdInt int callingUserId, @Nullable String chooserActivity) { in computeScoreForAppShare()
175 int targetsLimit, @NonNull DataManager dataManager, @UserIdInt int callingUserId, in postProcess()
205 @NonNull DataManager dataManager, @UserIdInt int callingUserId) { in promoteMostChosenAndFrequentlyUsedApps()
273 @NonNull DataManager dataManager, @UserIdInt int callingUserId, in promoteForegroundApp()
299 @NonNull DataManager dataManager, @UserIdInt int callingUserId, in findSharingForegroundApp()
H A DAppTargetPredictor.java47 @NonNull DataManager dataManager, @UserIdInt int callingUserId, Context context) { in create()
64 @NonNull DataManager dataManager, @UserIdInt int callingUserId) { in AppTargetPredictor()
/aosp_15_r20/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java199 void forPackagesInProfile(@UserIdInt int callingUserId, Consumer<PackageData> consumer) { in forPackagesInProfile()
234 @UserIdInt int callingUserId) { in getShareShortcuts()
307 public List<ConversationChannel> getRecentConversations(@UserIdInt int callingUserId) { in getRecentConversations()
331 @UserIdInt int callingUserId) { in removeRecentConversation()
343 public void removeAllRecentConversations(@UserIdInt int callingUserId) { in removeAllRecentConversations()
351 public void pruneOldRecentConversations(@UserIdInt int callingUserId, long currentTimeMs) { in pruneOldRecentConversations()
375 public void pruneExpiredConversationStatuses(@UserIdInt int callingUserId, long currentTimeMs) { in pruneExpiredConversationStatuses()
536 public List<UsageEvents.Event> queryAppMovingToForegroundEvents(@UserIdInt int callingUserId, in queryAppMovingToForegroundEvents()
549 public Map<String, AppUsageStatsData> queryAppUsageStats( in queryAppUsageStats()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/search/
H A DSearchables.java514 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdSearchableInfoList() local
530 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdResolveInfoList() local
546 final int callingUserId = UserHandle.getCallingUserId(); in getGlobalSearchActivity() local
560 final int callingUserId = UserHandle.getCallingUserId(); in getWebSearchActivity() local
/aosp_15_r20/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerSettingsActivity.java159 private void createAndShowFragment(@UserIdInt int callingUserId, boolean allowReplace) { in createAndShowFragment()
191 private Fragment getTargetFragment(@UserIdInt int callingUserId) { in getTargetFragment()
241 private int getInitialProfileTab(@UserIdInt int callingUserId, List<Integer> userIdList) { in getInitialProfileTab()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/
H A DComputerEngine.java2204 int callingUid, int callingUserId, int userId, boolean requireFullPermission, in hasCrossUserPermission()
2485 final int callingUserId = UserHandle.getUserId(callingUid); in isRecentsAccessingChildProfiles() local
2860 final int callingUserId = UserHandle.getUserId(callingUid); in enforceCrossUserOrProfilePermission() local
2942 final int callingUserId = UserHandle.getUserId(callingUid); in enforceCrossUserPermission() local
3612 final int callingUserId = UserHandle.getUserId(callingUid); in getNotifyPackagesForReplacedReceived() local
3683 final int callingUserId = UserHandle.getUserId(callingUid); in currentToCanonicalPackageNames() local
3708 final int callingUserId = UserHandle.getUserId(callingUid); in canonicalToCurrentPackageNames() local
4220 final int callingUserId = UserHandle.getUserId(callingUid); in checkUidSignatures() local
4311 final int callingUserId = UserHandle.getUserId(callingUid); in hasSigningCertificate() local
4331 final int callingUserId = UserHandle.getUserId(callingUid); in hasUidSigningCertificate() local
[all …]
H A DUserManagerService.java2591 final int callingUserId = UserHandle.getCallingUserId(); in isUserForeground() local
2604 int callingUserId = UserHandle.getCallingUserId(); in isUserVisible() local
2624 final int callingUserId = UserHandle.getCallingUserId(); in enforceCurrentUserIfVisibleBackgroundEnabled() local
2730 final int callingUserId = UserHandle.getCallingUserId(); in getMainDisplayIdAssignedToUser() local
2807 final int callingUserId = UserHandle.getCallingUserId(); in checkManageOrInteractPermissionIfCallerInOtherProfileGroup() local
2835 final int callingUserId = UserHandle.getCallingUserId(); in checkQueryOrInteractPermissionIfCallerInOtherProfileGroup() local
2864 final int callingUserId = UserHandle.getCallingUserId(); in checkQueryOrCreateUsersPermissionIfCallerInOtherProfileGroup() local
2873 final int callingUserId = UserHandle.getCallingUserId(); in isDemoUser() local
3337 final int callingUserId = UserHandle.getCallingUserId(); in getUserIcon() local
H A DShortcutRequestPinProcessor.java220 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { in isRequestPinItemSupported()
418 int callingUserId, int requestType) { in getRequestPinConfirmationActivity()
/aosp_15_r20/frameworks/base/core/java/android/hardware/biometrics/
H A DIBiometricService.aidl54 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate()
90 long[] getAuthenticatorIds(int callingUserId); in getAuthenticatorIds()
106 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality()
/aosp_15_r20/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java172 final int callingUserId = getUserId(); in onCreate() local
198 Intent intentReceived, String className, Intent newIntent, int callingUserId, in buildAndExecute()
224 Intent intentReceived, String className, Intent newIntent, int callingUserId, in buildAndExecuteForPrivateProfile()
514 Intent newIntent, int callingUserId, int targetUserId, boolean singleTabOnly) { in launchResolverActivityWithCorrectTab()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DPermissionManagerServiceImpl.java532 final int callingUserId = UserHandle.getUserId(callingUid); in getAllPermissionGroups() local
557 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionGroupInfo() local
587 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionInfo() local
632 final int callingUserId = UserHandle.getUserId(callingUid); in queryPermissionsByGroup() local
1211 final int callingUserId = UserHandle.getUserId(callingUid); in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() local
/aosp_15_r20/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java134 final int callingUserId = getUserId(); in onCreate() local
237 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab()
/aosp_15_r20/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java1668 final int callingUserId = UserHandle.getCallingUserId(); in getKeyphraseSoundModel() local
1711 final int callingUserId = UserHandle.getCallingUserId(); in deleteKeyphraseSoundModel() local
1786 final int callingUserId = UserHandle.getCallingUserId(); in isEnrolledForKeyphrase() local
1808 final int callingUserId = UserHandle.getCallingUserId(); in getEnrolledKeyphraseMetadata() local
1881 final int callingUserId = UserHandle.getCallingUserId(); in startRecognition() local
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/people/services.people/android_common/javac/
Dservices.people.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/people/services.people/android_common/repackaged-jarjar/javac/
Dservices.people.jarcom/android/server/people/prediction/SharesheetModelScorer.class SharesheetModelScorer.java package com. ...
/aosp_15_r20/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilitySecurityPolicy.java409 int callingUserId) throws SecurityException { in canEnableDisableInputMethod()
482 final int callingUserId = UserHandle.getUserId(callingUid); in resolveCallingUserIdEnforcingPermissionsLocked() local
H A DAccessibilityServiceConnection.java383 final int callingUserId = UserHandle.getCallingUserId(); in switchToInputMethod() local
406 final int callingUserId = UserHandle.getCallingUserId(); in setInputMethodEnabled() local
/aosp_15_r20/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java287 int callingUserId = UserHandle.getCallingUserId(); in clearWindowContentFrameStats() local
307 int callingUserId = UserHandle.getCallingUserId(); in getWindowContentFrameStats() local
/aosp_15_r20/frameworks/base/core/java/android/content/
H A DContentProvider.java373 final int callingUserId = UserHandle.getUserId(callingUid); in logGetTypeData() local
875 final int callingUserId = UserHandle.getUserId(uid); in checkUser() local
1002 final int callingUserId = UserHandle.getUserId(uid); in enforceReadPermissionInner() local
2965 private static boolean deniedAccessSystemUserOnlyProvider(int callingUserId, in deniedAccessSystemUserOnlyProvider()
/aosp_15_r20/frameworks/base/core/java/android/content/pm/
H A DShortcutServiceInternal.java133 public abstract boolean isRequestPinItemSupported(int callingUserId, int requestType); in isRequestPinItemSupported()
166 public abstract boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut()

1234567891011