Home
last modified time | relevance | path

Searched defs:userHandle (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationListenerTest.java93 UserHandle userHandle = new UserHandle(UserHandle.USER_NULL); in onNotificationPosted_isHun_notForCurrentUser_ignoresTheEvent() local
105 UserHandle userHandle = new UserHandle(UserHandle.USER_NULL); in onNotificationPosted_isNotHun_notForCurrentUser_ignoresTheEvent() local
117 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_isHun_isForCurrentUser_addsAlertEntryToDataManager() local
128 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_isHun_isForCurrentUser_doesNotAddItToActiveNotifications() local
140 UserHandle userHandle = new UserHandle(UserHandle.USER_ALL); in onNotificationPosted_isHun_isForAllUsers_addsAlertEntryToDataManager() local
151 UserHandle userHandle = new UserHandle(UserHandle.USER_ALL); in onNotificationPosted_isHun_isForAllUsers_doesNotAddItToActiveNotifications() local
163 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_isNotHun_isForCurrentUser_overrideGroupKeySet() local
174 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_isNotHun_isForCurrentUser_addsAlertEntryToDataManager() local
185 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_isNotHun_isForCurrentUser_addsItToActiveNotifications() local
197 UserHandle userHandle = new UserHandle(CURRENT_USER_ID); in onNotificationPosted_lowPriority_isForCurrentUser_untracksUnseenNotification() local
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DIAppSearchManager.aidl42 in UserHandle userHandle, in initialize()
71 in UserHandle userHandle, in setSchema()
91 in UserHandle userHandle, in getSchema()
108 in UserHandle userHandle, in getNamespaces()
132 in UserHandle userHandle, in putDocuments()
163 in UserHandle userHandle, in getDocuments()
184 in UserHandle userHandle, in query()
204 in UserHandle userHandle, in globalQuery()
228 in UserHandle userHandle, in getNextPage()
245 in UserHandle userHandle, in invalidateNextPageToken()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowSecureSettings.java39 String tag, boolean makeDefault, int userHandle, boolean overrideableByRestore) { in putStringForUser()
52 public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { in getStringForUser()
61 int userHandle) { in putIntForUser()
71 int userHandle) { in getIntForUser()
81 int userHandle) { in putLongForUser()
91 int userHandle) { in getLongForUser()
101 ContentResolver resolver, String name, float value, int userHandle) { in putFloatForUser()
111 ContentResolver resolver, String name, float def, int userHandle) { in getFloatForUser()
DShadowUserManager.java74 protected List<UserInfo> getProfiles(@UserIdInt int userHandle) { in getProfiles()
79 protected int[] getProfileIds(@UserIdInt int userHandle, boolean enabledOnly) { in getProfileIds()
88 protected int getCredentialOwnerProfile(@UserIdInt int userHandle) { in getCredentialOwnerProfile()
93 protected boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
133 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
142 String restrictionKey, UserHandle userHandle, List<EnforcingUser> enforcers) { in setUserRestrictionSources()
147 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled()
DShadowDevicePolicyManager.java39 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) { in setShortSupportMessageForUser()
45 int userHandle) { in getShortSupportMessageForUser()
60 protected long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) { in getMaximumTimeToLock()
77 public void setMaximumTimeToLock(@UserIdInt int userHandle, Long timeout) { in setMaximumTimeToLock()
100 public PasswordMetrics getPasswordMinimumMetrics(int userHandle) { in getPasswordMinimumMetrics()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchUserInstanceManager.java90 @NonNull UserHandle userHandle, in getOrCreateUserInstance()
114 public void closeAndRemoveUserInstance(@NonNull UserHandle userHandle) { in closeAndRemoveUserInstance()
139 public AppSearchUserInstance getUserInstance(@NonNull UserHandle userHandle) { in getUserInstance()
161 public AppSearchUserInstance getUserInstanceOrNull(@NonNull UserHandle userHandle) { in getUserInstanceOrNull()
177 @NonNull Context userContext, @NonNull UserHandle userHandle) { in getOrCreateUserStorageInfoInstance()
208 @NonNull UserHandle userHandle, in createUserInstance()
DAppSearchManagerService.java196 UserHandle userHandle = intent.getParcelableExtra(Intent.EXTRA_USER); in onReceive() local
258 UserHandle userHandle = UserHandle.getUserHandleForUid(uid); in handlePackageRemoved() local
288 UserHandle userHandle = user.getUserHandle(); in onUserUnlocking() local
323 private void onUserStopping(@NonNull UserHandle userHandle) { in onUserStopping()
345 @NonNull UserHandle userHandle, in setSchema()
487 @NonNull UserHandle userHandle, in getSchema()
575 @NonNull UserHandle userHandle, in getNamespaces()
650 @NonNull UserHandle userHandle, in putDocuments()
759 @NonNull UserHandle userHandle, in getDocuments()
880 @NonNull UserHandle userHandle, in query()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java240 UserHandle userHandle) { in getOutgoingPhoneAccountForScheme()
276 public PhoneAccountHandle getUserSelectedOutgoingPhoneAccount(UserHandle userHandle) { in getUserSelectedOutgoingPhoneAccount()
305 private DefaultPhoneAccountHandle getUserSelectedDefaultPhoneAccount(UserHandle userHandle) { in getUserSelectedDefaultPhoneAccount()
322 UserHandle userHandle, PhoneAccountHandle excludePhoneAccountHandle) { in getPhoneAccountByGroupId()
346 UserHandle userHandle) { in setUserSelectedOutgoingPhoneAccount()
449 public PhoneAccountHandle getSimCallManager(UserHandle userHandle) { in getSimCallManager()
458 public PhoneAccountHandle getSimCallManager(int subId, UserHandle userHandle) { in getSimCallManager()
566 UserHandle userHandle = call.getAssociatedUser(); in getSimCallManagerFromCall() local
581 UserHandle userHandle) { in getSimCallManagerFromHandle()
615 public void setCurrentUserHandle(UserHandle userHandle) { in setCurrentUserHandle()
[all …]
DUserUtil.java35 private static UserInfo getUserInfoFromUserHandle(Context context, UserHandle userHandle) { in getUserInfoFromUserHandle()
40 public static boolean isManagedProfile(Context context, UserHandle userHandle) { in isManagedProfile()
45 public static boolean isProfile(Context context, UserHandle userHandle) { in isProfile()
61 UserHandle userHandle, Uri handle, boolean isSelfManaged, String tag) { in hasOutgoingCallsUserRestriction()
DEmergencyCallHelper.java65 public void maybeGrantTemporaryLocationPermission(Call call, UserHandle userHandle) { in maybeGrantTemporaryLocationPermission()
141 private void grantLocationPermission(UserHandle userHandle) { in grantLocationPermission()
180 UserHandle userHandle = mLocationPermissionGrantedToUser; in revokeLocationPermission() local
219 private void recordBackgroundLocationPermissionGrant(UserHandle userHandle) { in recordBackgroundLocationPermissionGrant()
224 private void recordFineLocationPermissionGrant(UserHandle userHandle) { in recordFineLocationPermissionGrant()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java170 public void clearMissedCalls(UserHandle userHandle) { in clearMissedCalls()
180 private void markMissedCallsAsRead(final UserHandle userHandle) { in markMissedCallsAsRead()
206 private String getDefaultDialerPackage(UserHandle userHandle) { in getDefaultDialerPackage()
231 UserHandle userHandle) { in shouldManageNotificationThroughDefaultDialer()
264 UserHandle userHandle, int missedCallCount) { in sendNotificationThroughDefaultDialer()
302 UserHandle userHandle; in showMissedCallNotification() local
312 private void showMissedCallNotification(@NonNull CallInfo callInfo, UserHandle userHandle) { in showMissedCallNotification()
440 private void cancelMissedCallNotification(UserHandle userHandle) { in cancelMissedCallNotification()
520 private PendingIntent createCallLogPendingIntent(UserHandle userHandle) { in createCallLogPendingIntent()
533 private PendingIntent createClearMissedCallsPendingIntent(UserHandle userHandle) { in createClearMissedCallsPendingIntent()
[all …]
DDisconnectedCallNotifier.java75 public final UserHandle userHandle; field in DisconnectedCallNotifier.CallInfo
83 public CallInfo(UserHandle userHandle, Uri handle, long endTimeMs, Bitmap callerInfoIcon, in CallInfo()
146 UserHandle userHandle = call.getAssociatedUser(); in onCallStateChanged() local
318 private PendingIntent createCallBackPendingIntent(Uri handle, UserHandle userHandle) { in createCallBackPendingIntent()
332 UserHandle userHandle) { in createTelecomPendingIntent()
350 private PendingIntent createCallLogPendingIntent(UserHandle userHandle) { in createCallLogPendingIntent()
365 UserHandle userHandle) { in createSendSmsFromNotificationPendingIntent()
376 public void clearNotification(UserHandle userHandle) { in clearNotification()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DHealthPermissionIntentAppsTracker.java67 @NonNull String packageName, @NonNull UserHandle userHandle) { in supportsPermissionUsageIntent()
93 @NonNull String packageNameToUpdate, @NonNull UserHandle userHandle) { in updateStateAndGetIfIntentWasRemoved()
141 private void initPackageSetForUser(@NonNull UserHandle userHandle) { in initPackageSetForUser()
156 private List<ResolveInfo> getHealthIntentSupportiveAppsForUser(@NonNull UserHandle userHandle) { in getHealthIntentSupportiveAppsForUser()
173 private void logStateIfDebugMode(@NonNull UserHandle userHandle) { in logStateIfDebugMode()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/users/
DCarSystemUIUserUtilTest.java84 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, mUserTracker); in getCurrentUserHandle_userTrackerNotNull_returnsUserHandle() local
93 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_headlessSystemUser_returnsAmUser() local
103 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_nonHeadlessSystemUser_returnsContextUser() local
112 UserHandle userHandle = CarSystemUIUserUtil.getCurrentUserHandle(mContext, null); in getCurrentUserHandle_userTrackerNull_nonSystemUser_returnsContextUser() local
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DExecutorManager.java89 public Executor getOrCreateUserExecutor(@NonNull UserHandle userHandle) { in getOrCreateUserExecutor()
103 private Executor getOrCreateUserExecutorLocked(@NonNull UserHandle userHandle) { in getOrCreateUserExecutorLocked()
117 private Executor getOrCreateUserRateLimitedExecutorLocked(@NonNull UserHandle userHandle, in getOrCreateUserRateLimitedExecutorLocked()
136 public void shutDownAndRemoveUserExecutor(@NonNull UserHandle userHandle) in shutDownAndRemoveUserExecutor()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java46 PackageManager packageManager, String url, UserHandle userHandle); in canResolveActivityAsUser()
70 Context context, String url, UserHandle userHandle) { in setupLearnMoreButtonToLaunchHelpPage()
121 public void showHelpPage(Context context, String url, UserHandle userHandle) { in showHelpPage()
122 context.startActivityAsUser(createLearnMoreIntent(url), userHandle); in showHelpPage() local
129 UserHandle userHandle, in canLaunchHelpPage()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultPackageStatusNotifier.java83 public void onPackageRemoved(String packageName, UserHandle userHandle) { in onPackageRemoved()
90 public void onPackageAdded(String packageName, UserHandle userHandle) { in onPackageAdded()
97 public void onPackageChanged(String packageName, UserHandle userHandle) { in onPackageChanged()
104 public void onPackagesAvailable(String[] packageNames, UserHandle userHandle, in onPackagesAvailable()
115 public void onPackagesUnavailable(String[] packageNames, UserHandle userHandle, in onPackagesUnavailable()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java277 @NonNull String packageName, @NonNull UserHandle userHandle) { in getHistoricalAccessStartDateInMilliseconds()
304 final UserHandle userHandle = Binder.getCallingUserHandle(); in insertRecords() local
411 final UserHandle userHandle = Binder.getCallingUserHandle(); in aggregateRecords() local
502 final UserHandle userHandle = Binder.getCallingUserHandle(); in readRecords() local
688 final UserHandle userHandle = Binder.getCallingUserHandle(); in updateRecords() local
784 final UserHandle userHandle = Binder.getCallingUserHandle(); in getChangeLogToken() local
848 final UserHandle userHandle = Binder.getCallingUserHandle(); in getChangeLogs() local
961 final UserHandle userHandle = Binder.getCallingUserHandle(); in deleteUsingFiltersForSelf() local
1054 final UserHandle userHandle = Binder.getCallingUserHandle(); in deleteUsingFilters() local
1154 final UserHandle userHandle = Binder.getCallingUserHandle(); in getCurrentPriority() local
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserStackedAppDialogFragment.java53 UserHandle userHandle) { in show()
84 UserHandle userHandle) { in ChooserStackedAppDialogFragment()
85 super(stackedTarget.getAllDisplayTargets(), userHandle); in ChooserStackedAppDialogFragment() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DPolicyComplianceUtils.java47 UserHandle userHandle = getPolicyComplianceUserHandle(context, params, utils); in isPolicyComplianceActivityResolvableForManagedUser() local
55 Context context, ProvisioningParams params, Utils utils, UserHandle userHandle) { in isPolicyComplianceActivityResolvableForUser()
74 parentActivity, intent, requestCode, userHandle); in startPolicyComplianceActivityForResultIfResolved() argument
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DUserId.java43 private UserId(UserHandle userHandle) { in UserId()
55 public static UserId of(UserHandle userHandle) { in of()
97 public static UserHandle getParentProfile(UserManager userManager, UserHandle userHandle) { in getParentProfile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DEnableAutoDataSwitchDialogFragmentTest.java117 UserHandle userHandle = UserHandle.of(UserHandle.USER_NULL); in updateDialog_getMessage_noManagedProfile() local
128 UserHandle userHandle = UserHandle.of(UserHandle.USER_NULL); in updateDialog_getMessage_hasManagedProfile() local
139 UserHandle userHandle = UserHandle.of(UserHandle.MIN_SECONDARY_USER_ID); in updateDialog_getMessage_BothManagedProfile() local
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java65 @MigrationNotificationType int notificationType, @NonNull UserHandle userHandle) { in sendNotification()
84 public void clearNotifications(@NonNull UserHandle userHandle) { in clearNotifications()
91 private NotificationManager getNotificationManagerForUser(@NonNull UserHandle userHandle) { in getNotificationManagerForUser()
123 private void createNotificationChannel(@NonNull UserHandle userHandle) { in createNotificationChannel()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DResolverWrapperActivity.java78 UserHandle userHandle, in createResolverListAdapter()
144 protected ResolverListController createListController(UserHandle userHandle) { in createListController()
180 userHandle) { in getResolverRankerServiceUserHandleListInternal()
262 @NonNull UserHandle userHandle, in loadAppTargetIcon()
270 @NonNull UserHandle userHandle, in loadDirectShareIcon()
/packages/services/Car/service/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardService.java255 UserHandle userHandle = iterator.next(); in initializeVisibleUsers() local
262 private void handleUserStart(UserHandle userHandle) { in handleUserStart()
276 private void handleUserStop(UserHandle userHandle) { in handleUserStop()
280 private void initKeyguard(UserHandle userHandle, Display userMainDisplay, int[] allDisplays) { in initKeyguard()
302 private void stopKeyguard(UserHandle userHandle) { in stopKeyguard()
361 private Pair<Display, int[]> getDisplaysForUser(UserHandle userHandle) { in getDisplaysForUser()

12345678910>>...12