Home
last modified time | relevance | path

Searched refs:getUser (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/icons/
DComponentWithLabel.java29 UserHandle getUser(); in getUser() method
50 public UserHandle getUser(ComponentWithLabel object) { in getUser() method in ComponentWithLabel.ComponentCachingLogic
51 return object.getUser(); in getUser()
DLauncherActivityCachingLogic.java48 public UserHandle getUser(LauncherActivityInfo object) { in getUser() method in LauncherActivityCachingLogic
49 return object.getUser(); in getUser()
64 object.getUser(), object.getApplicationInfo().targetSdkVersion).applyTo(target); in loadIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileModel.java65 final UserInfo restrictedUser = getUser(); in enterUser()
88 final UserInfo restrictedUser = getUser(); in removeUser()
106 public UserInfo getUser() { in getUser() method in RestrictedProfileModel
DUserSwitchListenerService.java158 updateLaunchPoint(this, new RestrictedProfileModel(this).getUser() != null); in switchToLastUserIfUnlocked()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DShortcutConfigActivityInfo.java62 public UserHandle getUser() { in getUser() method in ShortcutConfigActivityInfo
131 super(info.getComponentName(), info.getUser()); in ShortcutConfigActivityInfoVO()
147 if (getUser().equals(Process.myUserHandle())) { in startConfigActivity()
DPackageInstallerCompat.java58 return Utilities.ATLEAST_Q ? info.getUser() : Process.myUserHandle(); in getUserHandle()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfileTest.java67 assertThat(newRpm().getUser()).isSameAs(mProfileInfo); in testGetUser_isSelf()
73 assertThat(newRpm().getUser()).isSameAs(mProfileInfo); in testGetUser_isChild()
79 assertThat(newRpm().getUser()).isNull(); in testGetUser_doesNotExist()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java154 UserInfo userInfo = mRestrictedProfile.getUser(); in onResume()
202 } else if (mRestrictedProfile.getUser() != null) { in refresh()
216 mRestrictedProfile.getUser().id, false); in refresh()
456 final UserInfo existingUserInfo = new RestrictedProfileModel(mContext).getUser(); in doInBackground()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DFileUtils.java47 Preconditions.checkArgument(context.getUser().isSystem(), in getPendingDir()
69 Preconditions.checkArgument(!context.getUser().isSystem(), in getTempDir()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DSecondaryUserController.java141 public UserInfo getUser() { in getUser() method in SecondaryUserController
167 int userId = getUser().id; in handleResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DSecondaryUserController.java141 public UserInfo getUser() { in getUser() method in SecondaryUserController
167 int userId = getUser().id; in handleResult()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationListener.java187 return (sbn.getUser().getIdentifier() == ActivityManager.getCurrentUser() in isNotificationForCurrentUser()
188 || sbn.getUser().getIdentifier() == UserHandle.USER_ALL); in isNotificationForCurrentUser()
DCarNotificationItemTouchListener.java133 sbn.getUser().getIdentifier(), in CarNotificationItemTouchListener()
145 notification.getUser().getIdentifier(), in CarNotificationItemTouchListener()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAddShortcutInfo.java33 user = activityInfo.getUser(); in PendingAddShortcutInfo()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java31 UserHandle getUser(T object); in getUser() method
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageUserKey.java26 return new PackageUserKey(notification.getPackageName(), notification.getUser()); in fromNotification()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppListViewModel.java61 public UserHandle getUser() { in getUser() method in DefaultAppListViewModel
/packages/modules/ExtServices/src/android/ext/services/notification/
DSmartActionsHelper.java401 if (!Process.myUserHandle().equals(entry.getSbn().getUser())) { in isEligibleForActionAdjustment()
415 if (!Process.myUserHandle().equals(entry.getSbn().getUser())) { in isEligibleForReplyAdjustment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminListItem.java85 public UserHandle getUser() { in getUser() method in DeviceAdminListItem
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListItem.java85 public UserHandle getUser() { in getUser() method in DeviceAdminListItem
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java46 super(info.getComponent(), info.getUser()); in WidgetItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java111 public final UserHandle getUser() { in getUser() method in LauncherAppWidgetProviderInfo
DAppInfo.java127 && Process.myUserHandle().equals(lai.getUser())) { in updateRuntimeFlagsForActivityTarget()
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java245 public String getUser() { in getUser() method in EmailAddress
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java86 .getDefaultIcon(statusBarNotification.getUser()).icon); in NotificationInfo()

12