Home
last modified time | relevance | path

Searched refs:mInitialUser (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java65 private Optional<Integer> mInitialUser = Optional.empty(); field in BaseMultiUserBackupHostSideTest
78 mInitialUser = Optional.of(currentUserId); in setUp()
90 if (mInitialUser.isPresent()) { in tearDown()
91 mDevice.switchUser(mInitialUser.get()); in tearDown()
92 mInitialUser = Optional.empty(); in tearDown()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsMultiUserTests.java58 private UserReference mInitialUser; field in StaticSharedLibsMultiUserTests
70 mInitialUser = sDeviceState.initialUser(); in setUp()
73 mContextInitial = TestApis.context().androidContextAsUser(mInitialUser); in setUp()
107 sDeviceState.registerBroadcastReceiverForUser(mInitialUser, filter); in testStaticSharedLibInstallOnSecondaryUser_broadcastReceivedByAllUsers()
138 sDeviceState.registerBroadcastReceiverForUser(mInitialUser, filter); in testStaticSharedLibUninstallOnAllUsers_broadcastReceivedByAllUsers()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserStatsTests.java39 private int mInitialUser = 0; field in UserStatsTests
53 mInitialUser = getDevice().getCurrentUser(); in setUp()
58 getDevice().switchUser(mInitialUser); in tearDown()
DUserInfoStatsTests.java42 private int mInitialUser = 0; field in UserInfoStatsTests
51 mInitialUser = getDevice().getCurrentUser(); in setUp()
56 getDevice().switchUser(mInitialUser); in tearDown()