Home
last modified time | relevance | path

Searched refs:sCurrentUserId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettingsUtils.java68 private static int sCurrentUserId; field in OneHandedSettingsUtils
72 sCurrentUserId = UserHandle.myUserId(); in OneHandedSettingsUtils()
91 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, sCurrentUserId) == ON; in isOneHandedModeEnabled()
102 Settings.Secure.ONE_HANDED_MODE_ENABLED, enable ? ON : OFF, sCurrentUserId); in setOneHandedModeEnabled()
113 Settings.Secure.TAPS_APP_TO_EXIT, OFF, sCurrentUserId) == ON; in isTapsAppToExitEnabled()
124 Settings.Secure.TAPS_APP_TO_EXIT, enable ? ON : OFF, sCurrentUserId); in setTapsAppToExitEnabled()
137 sCurrentUserId); in getTimeoutValue()
146 return sCurrentUserId; in getUserId()
155 sCurrentUserId = userId; in setUserId()
166 Settings.Secure.ONE_HANDED_MODE_TIMEOUT, timeout, sCurrentUserId); in setTimeoutValue() local
[all …]
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowActivityManager.java28 private static int sCurrentUserId = DEFAULT_CURRENT_USER_ID; field in ShadowActivityManager
32 sCurrentUserId = DEFAULT_CURRENT_USER_ID; in reset()
37 return sCurrentUserId; in getCurrentUser()
41 sCurrentUserId = userId; in setCurrentUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowActivityManager.java32 private static int sCurrentUserId = DEFAULT_CURRENT_USER_ID; field in ShadowActivityManager
39 sCurrentUserId = DEFAULT_CURRENT_USER_ID; in reset()
62 return sCurrentUserId; in getCurrentUser()
66 sCurrentUserId = userId; in setCurrentUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivityManager.java27 private static int sCurrentUserId = 0; field in ShadowActivityManager
32 return sCurrentUserId; in getCurrentUser()
36 sCurrentUserId = userId; in setCurrentUser()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java221 private static int sCurrentUserId = 0; field in QuickAccessWalletClientTest.ShadowActivityManager
225 sCurrentUserId = 0; in reset()
230 return sCurrentUserId; in getCurrentUser()
234 sCurrentUserId = userId; in setCurrentUser()