Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java74 private TestUserChangeListener mUserChangeListener; field in ShellControllerTest
83 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 …]