Home
last modified time | relevance | path

Searched refs:mInitialUserId (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java45 protected int mInitialUserId; field in BaseMultiUserTest
58 mInitialUserId = getDevice().getCurrentUser(); in setUp()
67 if (getDevice().getCurrentUser() != mInitialUserId) { in tearDown()
68 CLog.w("User changed during test. Switching back to " + mInitialUserId); in tearDown()
69 getDevice().switchUser(mInitialUserId); in tearDown()
DCreateUsersNoAppCrashesTest.java64 assertSwitchToUser(userId, mInitialUserId); in testCanCreateGuestUser()
78 assertSwitchToUser(userId, mInitialUserId); in testCanCreateSecondaryUser()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java58 private int mInitialUserId; field in BaseShortcutManagerHostTest
75 mInitialUserId = getDevice().getCurrentUser(); in setUp()
149 getDevice().switchUser(mInitialUserId); in removeTestUsers()
158 if (getDevice().isUserSecondary(mInitialUserId)) { in getOrCreateSecondaryUser()
159 return mInitialUserId; in getOrCreateSecondaryUser()