Searched refs:mBlockerController (Results 1 – 2 of 2) sorted by relevance
279 mTestFragment.mBlockerController = new UiBlockerController(Arrays.asList("pref_key")); in updatePreferenceVisibility_prefKeyNull_shouldNotCrash()287 mTestFragment.mBlockerController = null; in checkUiBlocker_noUiBlocker_controllerIsNull()292 assertThat(mTestFragment.mBlockerController).isNull(); in checkUiBlocker_noUiBlocker_controllerIsNull()300 mTestFragment.mBlockerController = null; in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()306 assertThat(mTestFragment.mBlockerController).isNotNull(); in checkUiBlocker_hasUiBlockerAndControllerIsAvailable_controllerNotNull()311 mTestFragment.mBlockerController = null; in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()317 assertThat(mTestFragment.mBlockerController).isNull(); in checkUiBlocker_hasUiBlockerAndControllerIsNotAvailable_controllerIsNull()
77 UiBlockerController mBlockerController; field in DashboardFragment143 mBlockerController = new UiBlockerController(keys); in checkUiBlocker()144 mBlockerController.start(() -> updatePreferenceVisibility(mPreferenceControllers)); in checkUiBlocker()448 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility()452 final boolean visible = mBlockerController.isBlockerFinished(); in updatePreferenceVisibility()529 mBlockerController.countDown(controller.getPreferenceKey()); in onBlockerWorkFinished()