Home
last modified time | relevance | path

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

123

/aosp14/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()
/aosp14/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
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DIBiometricService.aidl54 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate()
86 long[] getAuthenticatorIds(int callingUserId); in getAuthenticatorIds()
102 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality()
H A DIBiometricAuthenticator.aidl73 long getAuthenticatorId(int callingUserId); in getAuthenticatorId()
/aosp14/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()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthService.java225 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() local
312 final int callingUserId = UserHandle.getCallingUserId(); in canAuthenticate() local
390 final int callingUserId = UserHandle.getCallingUserId(); in getAuthenticatorIds() local
435 final int callingUserId = UserHandle.getCallingUserId(); in getButtonLabel() local
481 final int callingUserId = UserHandle.getCallingUserId(); in getPromptMessage() local
551 final int callingUserId = UserHandle.getCallingUserId(); in getSettingName() local
/aosp14/frameworks/base/services/core/java/com/android/server/search/
H A DSearchables.java470 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdSearchableInfoList() local
486 final int callingUserId = UserHandle.getCallingUserId(); in createFilterdResolveInfoList() local
502 final int callingUserId = UserHandle.getCallingUserId(); in getGlobalSearchActivity() local
516 final int callingUserId = UserHandle.getCallingUserId(); in getWebSearchActivity() local
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationEnforcerTest.kt510 val callingUserId = 0 regex
547 val callingUserId = 0 regex
594 val callingUserId = 0 regex
651 val callingUserId = 0 regex
694 val callingUserId = 0 regex
/aosp14/frameworks/base/services/core/java/com/android/server/os/
H A DDeviceIdentifiersPolicyService.java86 int callingUserId = UserHandle.getUserId(callingUid); in checkPackageBelongsToCaller() local
/aosp14/frameworks/base/services/people/java/com/android/server/people/
H A DSessionInfo.java44 @UserIdInt int callingUserId, Context context) { in SessionInfo()
/aosp14/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()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DDomainVerificationConnection.java80 final int callingUserId = UserHandle.getUserId(callingUid); in isCallerPackage() local
H A DShortcutRequestPinProcessor.java220 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { in isRequestPinItemSupported()
418 int callingUserId, int requestType) { in getRequestPinConfirmationActivity()
H A DComputerEngine.java2745 final int callingUserId = UserHandle.getUserId(callingUid); in enforceCrossUserOrProfilePermission() local
2827 final int callingUserId = UserHandle.getUserId(callingUid); in enforceCrossUserPermission() local
3524 final int callingUserId = UserHandle.getUserId(callingUid); in getNotifyPackagesForReplacedReceived() local
3595 final int callingUserId = UserHandle.getUserId(callingUid); in currentToCanonicalPackageNames() local
3620 final int callingUserId = UserHandle.getUserId(callingUid); in canonicalToCurrentPackageNames() local
4138 final int callingUserId = UserHandle.getUserId(callingUid); in checkUidSignatures() local
4230 final int callingUserId = UserHandle.getUserId(callingUid); in hasSigningCertificate() local
4250 final int callingUserId = UserHandle.getUserId(callingUid); in hasUidSigningCertificate() local
4271 final int callingUserId = UserHandle.getUserId(callingUid); in getAllPackages() local
4321 final int callingUserId = UserHandle.getUserId(callingUid); in getNameForUid() local
[all …]
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityServiceConnection.java312 final int callingUserId = UserHandle.getCallingUserId(); in switchToInputMethod() local
334 final int callingUserId = UserHandle.getCallingUserId(); in setInputMethodEnabled() local
H A DAccessibilitySecurityPolicy.java411 final int callingUserId = UserHandle.getCallingUserId(); in canEnableDisableInputMethod() local
483 final int callingUserId = UserHandle.getUserId(callingUid); in resolveCallingUserIdEnforcingPermissionsLocked() local
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/
H A DIrisAuthenticator.java97 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp14/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java286 int callingUserId = UserHandle.getCallingUserId(); in clearWindowContentFrameStats() local
306 int callingUserId = UserHandle.getCallingUserId(); in getWindowContentFrameStats() local
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
H A DFaceAuthenticator.java111 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintAuthenticator.java112 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/job/
H A DJobSchedulerInternal.java63 boolean isAppConsideredBuggy(int callingUserId, @NonNull String callingPackageName, in isAppConsideredBuggy()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DShortcutHelper.java176 int callingUserId) { in isConversationShortcut()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java161 final int callingUserId = getUserId(); in onCreate() local
431 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DPermissionManagerServiceImpl.java537 final int callingUserId = UserHandle.getUserId(callingUid); in getAllPermissionGroups() local
562 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionGroupInfo() local
592 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionInfo() local
637 final int callingUserId = UserHandle.getUserId(callingUid); in queryPermissionsByGroup() local
1210 final int callingUserId = UserHandle.getUserId(callingUid); in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() local

123