Searched refs:mConfigChangeListener (Results 1 – 1 of 1) sorted by relevance
72 private TestConfigurationChangeListener mConfigChangeListener; field in ShellControllerTest82 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 …]