Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java72 private TestConfigurationChangeListener mConfigChangeListener; field in ShellControllerTest
82 mConfigChangeListener = new TestConfigurationChangeListener(); in setUp()
269 mController.addConfigurationChangeListener(mConfigChangeListener); in testAddConfigurationChangeListener_ensureCallback()
274 assertTrue(mConfigChangeListener.configChanges == 1); in testAddConfigurationChangeListener_ensureCallback()
279 mController.addConfigurationChangeListener(mConfigChangeListener); in testDoubleAddConfigurationChangeListener_ensureSingleCallback()
280 mController.addConfigurationChangeListener(mConfigChangeListener); in testDoubleAddConfigurationChangeListener_ensureSingleCallback()
285 assertTrue(mConfigChangeListener.configChanges == 1); in testDoubleAddConfigurationChangeListener_ensureSingleCallback()
290 mController.addConfigurationChangeListener(mConfigChangeListener); in testAddRemoveConfigurationChangeListener_ensureNoCallback()
291 mController.removeConfigurationChangeListener(mConfigChangeListener); in testAddRemoveConfigurationChangeListener_ensureNoCallback()
296 assertTrue(mConfigChangeListener.configChanges == 0); in testAddRemoveConfigurationChangeListener_ensureNoCallback()
[all …]