Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java95 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFingerprintAndBiometricsDisallowed_showBouncer()
108 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
117 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFingerprint_dismissKeyguard()
128 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFingerprintOnBouncer_dismissBouncer()
137 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFace_dontDismissKeyguard()
150 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFace_dismissingKeyguard()
160 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFaceOnBouncer_dismissBouncer()
172 mBiometricUnlockController.onBiometricAuthenticated(UserHandle.USER_CURRENT, in onBiometricAuthenticated_whenFaceAndPulsing_dontDismissKeyguard()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java101 UserHandle.USER_CURRENT) == 0; in isRotationLockToggleVisible()
109 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationLocked()
127 UserHandle.USER_CURRENT); in setRotationLockAtAngle()
140 UserHandle.USER_CURRENT); in setRotationLockForAccessibility()
/frameworks/base/core/java/com/android/internal/app/
DAbstractResolverComparator.java146 if (lhs.targetUserId != UserHandle.USER_CURRENT) { in compare()
147 return rhs.targetUserId != UserHandle.USER_CURRENT ? 0 : 1; in compare()
149 if (rhs.targetUserId != UserHandle.USER_CURRENT) { in compare()
251 if (ri.targetUserId != UserHandle.USER_CURRENT) { in isDefaultBrowser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeConfigurationTest.java52 Settings.Secure.DOZE_ALWAYS_ON, null, UserHandle.USER_CURRENT); in alwaysOn_followsConfigByDefault()
55 assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT)); in alwaysOn_followsConfigByDefault()
DDozeScreenBrightnessTest.java67 UserHandle.USER_CURRENT); in setUp()
114 UserHandle.USER_CURRENT); in testAod_usesLightSensorRespectingUserSetting()
/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/services/tests/servicestests/src/com/android/server/power/
DAttentionDetectorTest.java81 Settings.System.ADAPTIVE_SLEEP, 0, UserHandle.USER_CURRENT); in setUp()
84 Settings.System.ADAPTIVE_SLEEP, 1, UserHandle.USER_CURRENT); in setUp()
91 Settings.System.ADAPTIVE_SLEEP, mIsSettingEnabled, UserHandle.USER_CURRENT); in tearDown()
104 Settings.System.ADAPTIVE_SLEEP, 0, UserHandle.USER_CURRENT); in testOnUserActivity_doesntCheckIfNotEnabled()
136 Settings.System.ADAPTIVE_SLEEP, 0, UserHandle.USER_CURRENT) == 1; in testOnUserActivity_disablesSettingIfNotSufficientPermissions()
/frameworks/base/core/java/android/service/dreams/
DSandman.java115 UserHandle.USER_CURRENT) != 0; in isScreenSaverEnabled()
123 UserHandle.USER_CURRENT) != 0; in isScreenSaverActivatedOnDock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java189 UserHandle.USER_CURRENT);
209 UserHandle.USER_CURRENT);
213 UserHandle.USER_CURRENT);
375 setting, val, UserHandle.USER_CURRENT); in onChanged()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java359 targetUserId = UserHandle.USER_CURRENT; in ResolveInfo()
401 if (targetUserId != UserHandle.USER_CURRENT) { in toString()
505 if (a.targetUserId != UserHandle.USER_CURRENT) { in compare()
508 if (b.targetUserId != UserHandle.USER_CURRENT) { in compare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java21 import static android.os.UserHandle.USER_CURRENT;
278 setModeOverlay(NAV_BAR_MODE_3BUTTON_OVERLAY, USER_CURRENT); in deferGesturalNavOverlayIfNecessary()
293 setModeOverlay(NAV_BAR_MODE_GESTURAL_OVERLAY, USER_CURRENT); in restoreGesturalNavOverlayIfNecessary()
325 setModeOverlay(NAV_BAR_MODE_3BUTTON_OVERLAY, USER_CURRENT); in switchFromGestureNavModeIfNotSupportedByDefaultLauncher()
/frameworks/base/core/java/android/os/
DUserHandle.java51 public static final @UserIdInt int USER_CURRENT = -2; field in UserHandle
56 public static final @NonNull UserHandle CURRENT = new UserHandle(USER_CURRENT);
388 userId = UserHandle.USER_CURRENT; in parseUserArg()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java305 accelerometerRotation, UserHandle.USER_CURRENT); in setUserRotation()
307 UserHandle.USER_CURRENT); in setUserRotation()
343 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationFrozen()
848 UserHandle.USER_CURRENT); in updateSettings()
857 UserHandle.USER_CURRENT); in updateSettings()
864 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) != 0 in updateSettings()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java43 assertNotEquals(UserHandle.USER_CURRENT, LockPatternUtils.USER_FRP);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java130 eq(UserHandle.USER_CURRENT)); in setActivityStartCode()
145 eq(UserHandle.USER_CURRENT)); in verifyStartActivity()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java170 mUserId = UserHandle.USER_CURRENT; in parseArgs()
174 if (mUserId == UserHandle.USER_CURRENT) { in parseArgs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java76 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0, UserHandle.USER_CURRENT) != 0; in updateHapticFeedBackEnabled()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java114 refererPackage, UserHandle.USER_CURRENT); in reportChooserSelection()
117 mController.updateChooserCounts(packageName, UserHandle.USER_CURRENT, action); in reportChooserSelection()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java137 mIActivityManager.makePackageIdle(TEST_APP_PACKAGE, UserHandle.USER_CURRENT); in testPowerWhiteList()
154 mIActivityManager.makePackageIdle(TEST_APP_PACKAGE, UserHandle.USER_CURRENT); in testFeatureFlag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java138 UserHandle.USER_CURRENT)); in onActivityPinned()
224 UserHandle.USER_CURRENT, null); in registerSessionListenerForCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmControllerImpl.java80 mNextAlarm = mAlarmManager.getNextAlarmClock(UserHandle.USER_CURRENT); in updateNextAlarm()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivityController.java73 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/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java93 boolean alwaysOn = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT); in DozeSensors()
416 if (!mConfig.enabled(UserHandle.USER_CURRENT)) { in enabledBySetting()
422 UserHandle.USER_CURRENT) != 0; in enabledBySetting()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java198 if (userId == UserHandle.USER_CURRENT) { in timeout()
322 if (userId == UserHandle.USER_CURRENT) { in getJobState()

1234