Searched refs:mUserChangeListener (Results 1 – 1 of 1) sorted by relevance
74 private TestUserChangeListener mUserChangeListener; field in ShellControllerTest83 mUserChangeListener = new TestUserChangeListener(); in setUp()179 mController.addUserChangeListener(mUserChangeListener); in testAddUserChangeListener_ensureCallback()182 assertTrue(mUserChangeListener.userChanged == 1); in testAddUserChangeListener_ensureCallback()183 assertTrue(mUserChangeListener.lastUserContext == mTestUserContext); in testAddUserChangeListener_ensureCallback()188 mController.addUserChangeListener(mUserChangeListener); in testDoubleAddUserChangeListener_ensureSingleCallback()189 mController.addUserChangeListener(mUserChangeListener); in testDoubleAddUserChangeListener_ensureSingleCallback()192 assertTrue(mUserChangeListener.userChanged == 1); in testDoubleAddUserChangeListener_ensureSingleCallback()193 assertTrue(mUserChangeListener.lastUserContext == mTestUserContext); in testDoubleAddUserChangeListener_ensureSingleCallback()198 mController.addUserChangeListener(mUserChangeListener); in testAddRemoveUserChangeListener_ensureNoCallback()[all …]