/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationListenerTest.java | 93 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/ |
D | IAppSearchManager.aidl | 42 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/ |
D | ShadowSecureSettings.java | 39 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()
|
D | ShadowUserManager.java | 74 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()
|
D | ShadowDevicePolicyManager.java | 39 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/ |
D | AppSearchUserInstanceManager.java | 90 @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()
|
D | AppSearchManagerService.java | 196 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/ |
D | PhoneAccountRegistrar.java | 240 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 …]
|
D | UserUtil.java | 35 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()
|
D | EmergencyCallHelper.java | 65 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/ |
D | MissedCallNotifierImpl.java | 170 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 …]
|
D | DisconnectedCallNotifier.java | 75 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/ |
D | HealthPermissionIntentAppsTracker.java | 67 @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/ |
D | CarSystemUIUserUtilTest.java | 84 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/ |
D | ExecutorManager.java | 89 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/ |
D | ActionDisabledLearnMoreButtonLauncher.java | 46 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/ |
D | DefaultPackageStatusNotifier.java | 83 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/ |
D | HealthConnectServiceImpl.java | 277 @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/ |
D | ChooserStackedAppDialogFragment.java | 53 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/ |
D | PolicyComplianceUtils.java | 47 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/ |
D | UserId.java | 43 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/ |
D | EnableAutoDataSwitchDialogFragmentTest.java | 117 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/ |
D | MigrationNotificationSender.java | 65 @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/ |
D | ResolverWrapperActivity.java | 78 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/ |
D | ExperimentalCarKeyguardService.java | 255 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()
|