Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java279 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()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java77 UiBlockerController mBlockerController; field in DashboardFragment
143 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()