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.java71 private static int sCurrentUserId; field in OneHandedSettingsUtils
75 sCurrentUserId = UserHandle.myUserId(); in OneHandedSettingsUtils()
94 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, sCurrentUserId) == ON; in isOneHandedModeEnabled()
105 Settings.Secure.ONE_HANDED_MODE_ENABLED, enable ? ON : OFF, sCurrentUserId); in setOneHandedModeEnabled()
116 Settings.Secure.TAPS_APP_TO_EXIT, OFF, sCurrentUserId) == ON; in isTapsAppToExitEnabled()
127 Settings.Secure.TAPS_APP_TO_EXIT, enable ? ON : OFF, sCurrentUserId); in setTapsAppToExitEnabled()
140 sCurrentUserId); in getTimeoutValue()
149 return sCurrentUserId; in getUserId()
158 sCurrentUserId = userId; in setUserId()
169 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.java47 @UserIdInt private static volatile int sCurrentUserId; field in HealthConnectDailyService
59 if (userId == DEFAULT_INT || userId != sCurrentUserId) { in onStartJob()
115 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()