Home
last modified time | relevance | path

Searched refs:USER_CURRENT (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java96 UserHandle.USER_CURRENT) == 0; in isRotationLockToggleVisible()
104 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationLocked()
113 UserHandle.USER_CURRENT); in setRotationLock()
127 UserHandle.USER_CURRENT); in setRotationLockForAccessibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java193 UserHandle.USER_CURRENT);
213 UserHandle.USER_CURRENT);
220 UserHandle.USER_CURRENT);
227 UserHandle.USER_CURRENT);
370 UserHandle.USER_CURRENT); in onChanged()
385 UserHandle.USER_CURRENT); in onChanged()
400 UserHandle.USER_CURRENT); in onChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerTest.java86 new AccessibilityManager(mHandler, mMockService, UserHandle.USER_CURRENT); in createManager()
111 verify(mMockService).getInstalledAccessibilityServiceList(UserHandle.USER_CURRENT); in testGetAccessibilityServiceList()
121 verify(mMockService).interrupt(UserHandle.USER_CURRENT); in testInterrupt()
/frameworks/base/core/java/android/service/dreams/
DSandman.java114 UserHandle.USER_CURRENT) != 0; in isScreenSaverEnabled()
122 UserHandle.USER_CURRENT) != 0; in isScreenSaverActivatedOnDock()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java316 targetUserId = UserHandle.USER_CURRENT; in ResolveInfo()
358 if (targetUserId != UserHandle.USER_CURRENT) { in toString()
462 if (a.targetUserId != UserHandle.USER_CURRENT) { in compare()
465 if (b.targetUserId != UserHandle.USER_CURRENT) { in compare()
/frameworks/base/core/java/android/os/
DUserHandle.java42 public static final @UserIdInt int USER_CURRENT = -2; field in UserHandle
45 public static final UserHandle CURRENT = new UserHandle(USER_CURRENT);
293 userId = UserHandle.USER_CURRENT; in parseUserArg()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java115 mUserId = UserHandle.USER_CURRENT; in parseArgs()
119 if (mUserId == UserHandle.USER_CURRENT) { in parseArgs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java132 eq(UserHandle.USER_CURRENT)); in setActivityStartCode()
147 eq(UserHandle.USER_CURRENT)); in verifyStartActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeConfigurationTest.java53 assertFalse(mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_offByDefault()
/frameworks/base/core/java/android/content/
DContentProvider.java299 if (userIds[i] != UserHandle.USER_CURRENT) { in applyBatch()
322 if (userIds[i] != UserHandle.USER_CURRENT) { in applyBatch()
2018 int userId = getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in validateIncomingUri()
2019 if (userId != UserHandle.USER_CURRENT && userId != mContext.getUserId()) { in validateIncomingUri()
2060 return getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in getUserIdFromAuthority()
2071 return getUserIdFromUri(uri, UserHandle.USER_CURRENT); in getUserIdFromUri()
2103 if (userId != UserHandle.USER_CURRENT in maybeAddUserId()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java39 createResolverIntent(i), createResolveInfo(i, UserHandle.USER_CURRENT)); in createResolvedComponentInfo()
DResolverListControllerTest.java117 refererPackage, UserHandle.USER_CURRENT); in reportChooserSelection()
120 mController.updateChooserCounts(packageName, UserHandle.USER_CURRENT, action); in reportChooserSelection()
/frameworks/base/cmds/wm/src/com/android/commands/wm/
DWm.java231 UserHandle.USER_CURRENT); in runDisplayDensity()
234 UserHandle.USER_CURRENT); in runDisplayDensity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmControllerImpl.java72 mNextAlarm = mAlarmManager.getNextAlarmClock(UserHandle.USER_CURRENT); in updateNextAlarm()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java192 if (userId == UserHandle.USER_CURRENT) { in timeout()
280 if (userId == UserHandle.USER_CURRENT) { in getJobState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivityController.java66 final int result = startActivityAsUser(intent, options.toBundle(), UserHandle.USER_CURRENT); in startWorkChallengeInTask()
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java95 userId = UserHandle.USER_CURRENT; in parseSetGrantBindAppWidgetPermissionCommand()
/frameworks/base/core/java/com/android/internal/app/
DResolverComparator.java291 if (lhs.targetUserId != UserHandle.USER_CURRENT) { in compare()
292 return rhs.targetUserId != UserHandle.USER_CURRENT ? 0 : 1; in compare()
294 if (rhs.targetUserId != UserHandle.USER_CURRENT) { in compare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java207 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, UserHandle.USER_CURRENT) != 0; in startAssistActivity()
229 new UserHandle(UserHandle.USER_CURRENT)); in startAssistActivity()
/frameworks/base/services/core/java/com/android/server/policy/
DImmersiveModeConfirmation.java104 UserHandle.USER_CURRENT); in loadSetting()
119 UserHandle.USER_CURRENT); in saveSetting()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java324 intent = makeIntent(UserHandle.USER_CURRENT);
514 intent = makeIntent(UserHandle.USER_CURRENT);
546 intent = makeIntent(UserHandle.USER_CURRENT);
604 intent = makeIntent(UserHandle.USER_CURRENT);
687 int userId = UserHandle.USER_CURRENT;
780 int userId = UserHandle.USER_CURRENT;
1361 intent = makeIntent(UserHandle.USER_CURRENT);
1627 int userId = UserHandle.USER_CURRENT;
1648 int userId = UserHandle.USER_CURRENT;
1669 int userId = UserHandle.USER_CURRENT;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java109 UserHandle.USER_CURRENT, false, new ArraySet<>()); in handleDockKey()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java143 mUser = UserHandle.USER_CURRENT; in onCommand()
259 if (mUser == UserHandle.USER_CURRENT) { in onCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java119 return mAmbientDisplayConfiguration.alwaysOnEnabled(UserHandle.USER_CURRENT); in getAlwaysOn()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DSnoozeHelperTest.java241 new int[] {UserHandle.USER_CURRENT});
248 new int[] {UserHandle.USER_SYSTEM, UserHandle.USER_CURRENT});

123