HomeSort by relevance Sort by last modified time
    Searched refs:currentUserId (Results 1 - 25 of 41) sorted by null

1 2

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
SysUiTaskStackChangeListener.java 32 int currentUserId = SystemServicesProxy.getInstance(context).getCurrentUser();
33 return checkCurrentUserId(currentUserId, debug);
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
TaskStackChangeListener.java 58 protected final boolean checkCurrentUserId(int currentUserId, boolean debug) {
60 if (processUserId != currentUserId) {
63 + " and the current user is uid=" + currentUserId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
CastController.java 26 void setCurrentUserId(int currentUserId);
PreviewInflater.java 144 int currentUserId) {
145 return getTargetActivityInfo(ctx, intent, currentUserId, false /* onlyDirectBootAware */)
157 int currentUserId, boolean onlyDirectBootAware) {
165 intent, flags, currentUserId);
170 flags | PackageManager.GET_META_DATA, currentUserId);
LocationControllerImpl.java 103 int currentUserId = ActivityManager.getCurrentUser();
104 if (isUserLocationRestricted(currentUserId)) {
109 updateLocationEnabled(mContext, enabled, currentUserId,
CastControllerImpl.java 128 public void setCurrentUserId(int currentUserId) {
129 mMediaRouter.rebindAsUser(currentUserId);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
FakeCastController.java 35 public void setCurrentUserId(int currentUserId) {
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
UtilsTest.java 91 int currentUserId = ActivityManager.getCurrentUser();
96 currentUserId,
101 ArgumentMatchers.eq(UserHandle.of(currentUserId)),
110 int currentUserId = ActivityManager.getCurrentUser();
111 Utils.updateLocationEnabled(mContext, true, currentUserId,
116 ArgumentMatchers.eq(UserHandle.of(currentUserId)),
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
ProfileService.java 257 int currentUserId = ActivityManager.getCurrentUser();
258 setCurrentUser(currentUserId);
260 if (userManager.isUserUnlocked(currentUserId)) {
261 setUserUnlocked(currentUserId);
  /packages/apps/Settings/src/com/android/settings/applications/manageapplications/
ResetAppsHelper.java 139 final int currentUserId = ActivityManager.getCurrentUser();
142 if (UserHandle.getUserId(uid) == currentUserId) {
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
AppDeletionPreferenceGroup.java 55 int currentUserId = getContext().getUserId();
60 if (app.userId != currentUserId) {
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
TaskUtils.java 214 public static boolean checkCurrentOrManagedUserId(int currentUserId, Context context) {
215 if (currentUserId == UserHandle.myUserId()) {
220 if (currentUserId == allUsers.get(i).getIdentifier()) {
  /frameworks/base/core/java/android/provider/
CallLog.java     [all...]
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
RecentsTaskLoadPlan.java 90 int currentUserId) {
95 ActivityManager.getMaxRecentTasksStatic(), currentUserId);
RecentsTaskLoader.java 151 int currentUserId) {
154 plan.preloadPlan(new PreloadOptions(), this, runningTaskId, currentUserId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LockscreenWallpaper.java 103 public LoaderResult loadBitmap(int currentUserId, UserHandle selectedUser) {
109 selectedUser != null ? selectedUser.getIdentifier() : currentUserId;
  /frameworks/base/services/core/java/com/android/server/vr/
VrManagerService.java 454 int currentUserId = ActivityManager.getCurrentUser();
456 ArraySet<String> allowed = mAllowedPackages.get(currentUserId);
465 if (grantUserId != currentUserId) {
476 revokeNotificationListenerAccess(pkg, currentUserId);
478 revokeCoarseLocationPermissionIfNeeded(pkg, currentUserId);
485 grantNotificationListenerAccess(pkg, currentUserId);
486 grantCoarseLocationPermissionIfNeeded(pkg, currentUserId);
487 mNotificationAccessPackageToUserId.put(pkg, currentUserId);
493 mAllowedPackages.put(currentUserId, allowed);
    [all...]
  /frameworks/base/services/core/java/com/android/server/dreams/
DreamManagerService.java 563 final int currentUserId = ActivityManager.getCurrentUser();
564 if (callingUserId != currentUserId) {
568 + ", currentUserId=" + currentUserId);
  /frameworks/base/core/java/com/android/internal/accessibility/
AccessibilityShortcutController.java 152 public void setCurrentUser(int currentUserId) {
153 mUserId = currentUserId;
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardStatusView.java 468 int currentUserId = KeyguardUpdateMonitor.getCurrentUser();
471 mIActivityManager.stopUser(currentUserId, true /*force*/, null);
  /frameworks/base/services/core/java/com/android/server/policy/
ImmersiveModeConfirmation.java 101 public void loadSetting(int currentUserId) {
103 mCurrentUserId = currentUserId;
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbDebuggingManager.java 327 int currentUserId = ActivityManager.getCurrentUser();
328 UserInfo userInfo = UserManager.get(mContext).getUserInfo(currentUserId);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
GlobalActionsDialog.java 595 int currentUserId = getCurrentUser().id;
597 ActivityManager.getService().stopUser(currentUserId, true /*force*/, null);
726 final int currentUserId = getCurrentUser().id;
727 final int[] profileIds = um.getEnabledProfileIds(currentUserId);
729 if (id != currentUserId) {
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
Utils.java 347 int currentUserId = userManager.getUserHandle();
348 List<UserInfo> userProfiles = userManager.getProfiles(currentUserId);
  /packages/apps/Settings/src/com/android/settings/datausage/
DataUsageList.java 342 final int currentUserId = ActivityManager.getCurrentUser();
360 if (userId != currentUserId) {

Completed in 849 milliseconds

1 2