Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DBannerControllerTest.java85 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testCloudMediaAvailable()
100 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testChooseAccount()
118 assertTrue(mBannerController.shouldShowAccountUpdatedBanner()); in testAccountUpdated()
124 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testAccountUpdated()
141 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testChooseApp()
155 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testNoChange()
176 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testCloudProviderSlowQueryFallback()
191 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testCloudProviderSlowQueryFallback()
DBannerTestUtils.java61 .postValue(bannerController.shouldShowAccountUpdatedBanner()); in getTestCloudBannerManager()
97 .postValue(bannerController.shouldShowAccountUpdatedBanner());
DPickerViewModelTest.java979 assertTrue(mBannerController.shouldShowAccountUpdatedBanner()); in testDismissAccountUpdatedBanner()
984 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testDismissAccountUpdatedBanner()
990 assertFalse(mBannerController.shouldShowAccountUpdatedBanner()); in testDismissAccountUpdatedBanner()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumsTabAdapter.java51 @NonNull LiveData<Boolean> shouldShowAccountUpdatedBanner, in AlbumsTabAdapter() argument
60 shouldShowAccountUpdatedBanner, shouldShowChooseAccountBanner, in AlbumsTabAdapter()
DPhotosTabAdapter.java67 @NonNull LiveData<Boolean> shouldShowAccountUpdatedBanner, in PhotosTabAdapter() argument
78 shouldShowAccountUpdatedBanner, shouldShowChooseAccountBanner, in PhotosTabAdapter()
DTabAdapter.java84 @NonNull LiveData<Boolean> shouldShowAccountUpdatedBanner, in TabAdapter() argument
101 shouldShowAccountUpdatedBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DBannerManager.java365 .postValue(bannerController.shouldShowAccountUpdatedBanner()); in maybeInitialiseAndSetBannersForCurrentUser()
DBannerController.java309 boolean shouldShowAccountUpdatedBanner() { in shouldShowAccountUpdatedBanner() method in BannerController