Searched refs:mInitialUser (Results 1 – 4 of 4) sorted by relevance
65 private Optional<Integer> mInitialUser = Optional.empty(); field in BaseMultiUserBackupHostSideTest78 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()
58 private UserReference mInitialUser; field in StaticSharedLibsMultiUserTests70 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()
39 private int mInitialUser = 0; field in UserStatsTests53 mInitialUser = getDevice().getCurrentUser(); in setUp()58 getDevice().switchUser(mInitialUser); in tearDown()
42 private int mInitialUser = 0; field in UserInfoStatsTests51 mInitialUser = getDevice().getCurrentUser(); in setUp()56 getDevice().switchUser(mInitialUser); in tearDown()