Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFragment.java69 UiBlockerController mBlockerController; field in DashboardFragment
124 mBlockerController = new UiBlockerController(keys); in checkUiBlocker()
125 mBlockerController.start(()->updatePreferenceVisibility(mPreferenceControllers)); in checkUiBlocker()
366 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility()
370 final boolean visible = mBlockerController.isBlockerFinished(); in updatePreferenceVisibility()
452 mBlockerController.countDown(controller.getPreferenceKey()); in onBlockerWorkFinished()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java73 UiBlockerController mBlockerController; field in DashboardFragment
130 mBlockerController = new UiBlockerController(keys); in checkUiBlocker()
131 mBlockerController.start(()->updatePreferenceVisibility(mPreferenceControllers)); in checkUiBlocker()
377 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility()
381 final boolean visible = mBlockerController.isBlockerFinished(); in updatePreferenceVisibility()
463 mBlockerController.countDown(controller.getPreferenceKey()); in onBlockerWorkFinished()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java226 mTestFragment.mBlockerController = new UiBlockerController(Arrays.asList("pref_key")); in updatePreferenceVisibility_prefKeyNull_shouldNotCrash()
234 mTestFragment.mBlockerController = null; in checkUiBlocker_noUiBlocker_controllerIsNull()
239 assertThat(mTestFragment.mBlockerController).isNull(); in checkUiBlocker_noUiBlocker_controllerIsNull()
244 mTestFragment.mBlockerController = null; in checkUiBlocker_hasUiBlocker_controllerNotNull()
250 assertThat(mTestFragment.mBlockerController).isNotNull(); in checkUiBlocker_hasUiBlocker_controllerNotNull()