Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettingsUtils.java73 private static int sCurrentUserId; field in OneHandedSettingsUtils
77 sCurrentUserId = UserHandle.myUserId(); in OneHandedSettingsUtils()
96 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, sCurrentUserId) == ON; in isOneHandedModeEnabled()
107 Settings.Secure.ONE_HANDED_MODE_ENABLED, enable ? ON : OFF, sCurrentUserId); in setOneHandedModeEnabled()
118 Settings.Secure.TAPS_APP_TO_EXIT, OFF, sCurrentUserId) == ON; in isTapsAppToExitEnabled()
129 Settings.Secure.TAPS_APP_TO_EXIT, enable ? ON : OFF, sCurrentUserId); in setTapsAppToExitEnabled()
142 sCurrentUserId); in getTimeoutValue()
151 return sCurrentUserId; in getUserId()
160 sCurrentUserId = userId; in setUserId()
171 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/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDailyService.java51 @UserIdInt private static volatile int sCurrentUserId; field in HealthConnectDailyService
63 if (userId == DEFAULT_INT || userId != sCurrentUserId) { in onStartJob()
127 sCurrentUserId = userId; in schedule()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java220 private static int sCurrentUserId = 0; field in QuickAccessWalletClientTest.ShadowActivityManager
224 sCurrentUserId = 0; in reset()
229 return sCurrentUserId; in getCurrentUser()
233 sCurrentUserId = userId; in setCurrentUser()