Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DBannerControllerTest.java84 assertTrue(mBannerController.shouldShowCloudMediaAvailableBanner()); in testCloudMediaAvailable()
90 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testCloudMediaAvailable()
101 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testChooseAccount()
119 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testAccountUpdated()
139 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testChooseApp()
154 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testNoChange()
175 assertTrue(mBannerController.shouldShowCloudMediaAvailableBanner()); in testCloudProviderSlowQueryFallback()
190 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testCloudProviderSlowQueryFallback()
DBannerTestUtils.java59 .postValue(bannerController.shouldShowCloudMediaAvailableBanner()); in getTestCloudBannerManager()
95 .postValue(bannerController.shouldShowCloudMediaAvailableBanner());
DPickerViewModelTest.java957 assertTrue(mBannerController.shouldShowCloudMediaAvailableBanner()); in testDismissCloudMediaAvailableBanner()
962 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testDismissCloudMediaAvailableBanner()
968 assertFalse(mBannerController.shouldShowCloudMediaAvailableBanner()); in testDismissCloudMediaAvailableBanner()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumsTabAdapter.java50 @NonNull LiveData<Boolean> shouldShowCloudMediaAvailableBanner, in AlbumsTabAdapter() argument
59 shouldShowChooseAppBanner, shouldShowCloudMediaAvailableBanner, in AlbumsTabAdapter()
DPhotosTabAdapter.java66 @NonNull LiveData<Boolean> shouldShowCloudMediaAvailableBanner, in PhotosTabAdapter() argument
77 shouldShowChooseAppBanner, shouldShowCloudMediaAvailableBanner, in PhotosTabAdapter()
DTabAdapter.java83 @NonNull LiveData<Boolean> shouldShowCloudMediaAvailableBanner, in TabAdapter() argument
98 shouldShowCloudMediaAvailableBanner.observe(lifecycleOwner, isVisible -> in TabAdapter()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DBannerManager.java363 .postValue(bannerController.shouldShowCloudMediaAvailableBanner()); in maybeInitialiseAndSetBannersForCurrentUser()
DBannerController.java302 boolean shouldShowCloudMediaAvailableBanner() { in shouldShowCloudMediaAvailableBanner() method in BannerController