Home
last modified time | relevance | path

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

123

/aosp12/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()
/aosp12/frameworks/base/core/java/android/hardware/biometrics/
H A DIBiometricService.aidl49 int canAuthenticate(String opPackageName, int userId, int callingUserId, int authenticators); in canAuthenticate()
62 int callingUserId); in registerEnabledOnKeyguardCallback()
76 long[] getAuthenticatorIds(int callingUserId); in getAuthenticatorIds()
85 int getCurrentModality(String opPackageName, int userId, int callingUserId, int authenticators); in getCurrentModality()
H A DIBiometricAuthenticator.aidl72 long getAuthenticatorId(int callingUserId); in getAuthenticatorId()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthService.java214 final int callingUserId = UserHandle.getCallingUserId(); in authenticate() local
296 final int callingUserId = UserHandle.getCallingUserId(); in canAuthenticate() local
335 final int callingUserId = UserHandle.getCallingUserId(); in registerEnabledOnKeyguardCallback() local
375 final int callingUserId = UserHandle.getCallingUserId(); in getAuthenticatorIds() local
409 final int callingUserId = UserHandle.getCallingUserId(); in getButtonLabel() local
455 final int callingUserId = UserHandle.getCallingUserId(); in getPromptMessage() local
525 final int callingUserId = UserHandle.getCallingUserId(); in getSettingName() local
H A DBiometricService.java743 public int canAuthenticate(String opPackageName, int userId, int callingUserId, in canAuthenticate()
831 IBiometricEnabledOnKeyguardCallback callback, int callingUserId) { in registerEnabledOnKeyguardCallback()
837 callingUserId); in registerEnabledOnKeyguardCallback() local
852 public long[] getAuthenticatorIds(int callingUserId) { in getAuthenticatorIds()
937 int callingUserId, in getCurrentModality()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilitySecurityPolicyTest.java490 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_userIdIsCallingUser_shouldResolveProfileParent() local
500 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser() local
516 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException() local
535 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId() local
553 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId() local
571 final int callingUserId = UserHandle.getUserId(Process.myUid()); in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException() local
/aosp12/frameworks/base/services/people/java/com/android/server/people/prediction/
H A DSharesheetModelScorer.java172 @UserIdInt int callingUserId) { in computeScoreForAppShare()
178 int targetsLimit, @NonNull DataManager dataManager, @UserIdInt int callingUserId) { in postProcess()
207 @NonNull DataManager dataManager, @UserIdInt int callingUserId) { in promoteMostChosenAndFrequentlyUsedApps()
275 @NonNull DataManager dataManager, @UserIdInt int callingUserId) { in promoteForegroundApp()
300 @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()
H A DShareTargetPredictor.java70 @UserIdInt int callingUserId, @NonNull Context context) { in ShareTargetPredictor()
/aosp12/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
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationEnforcerTest.kt503 val callingUserId = 0 regex
540 val callingUserId = 0 regex
587 val callingUserId = 0 regex
644 val callingUserId = 0 regex
687 val callingUserId = 0 regex
/aosp12/frameworks/base/services/core/java/com/android/server/os/
H A DDeviceIdentifiersPolicyService.java86 int callingUserId = UserHandle.getUserId(callingUid); in checkPackageBelongsToCaller() local
/aosp12/frameworks/base/services/people/java/com/android/server/people/
H A DSessionInfo.java44 @UserIdInt int callingUserId, Context context) { in SessionInfo()
/aosp12/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()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java134 final int callingUserId = getUserId(); in onCreate() local
226 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab()
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DSetNewPasswordController.java76 final int callingUserId = Utils.getSecureTargetUser(activityToken, in create() local
/aosp12/frameworks/base/core/java/android/content/pm/
H A DShortcutServiceInternal.java95 public abstract boolean isRequestPinItemSupported(int callingUserId, int requestType); in isRequestPinItemSupported()
120 public abstract boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut()
/aosp12/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java243 int callingUserId = UserHandle.getCallingUserId(); in clearWindowContentFrameStats() local
263 int callingUserId = UserHandle.getCallingUserId(); in getWindowContentFrameStats() local
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutRequestPinProcessor.java220 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { in isRequestPinItemSupported()
418 int callingUserId, int requestType) { in getRequestPinConfirmationActivity()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintAuthenticator.java105 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
H A DFaceAuthenticator.java105 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/
H A DIrisAuthenticator.java96 public long getAuthenticatorId(int callingUserId) throws RemoteException { in getAuthenticatorId()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DShortcutHelper.java176 int callingUserId) { in isConversationShortcut()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DPermissionManagerService.java538 final int callingUserId = UserHandle.getUserId(callingUid); in getAllPermissionGroups() local
564 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionGroupInfo() local
595 final int callingUserId = UserHandle.getUserId(callingUid); in getPermissionInfo() local
638 final int callingUserId = UserHandle.getUserId(callingUid); in queryPermissionsByGroup() local
1232 final int callingUserId = UserHandle.getUserId(callingUid); in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() local
/aosp12/frameworks/base/apex/media/service/java/com/android/server/media/
H A DMediaCommunicationService.java392 private boolean hasEnabledNotificationListener(int callingUserId, in hasEnabledNotificationListener()
418 int callingUserId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in handleIncomingUser() local

123