Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DBannerControllerTest.java52 private static final String CMP_AUTHORITY = "authority"; field in BannerControllerTest
80 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, CMP_ACCOUNT_NAME); in testCloudMediaAvailable()
81 assertEquals(CMP_AUTHORITY, mBannerController.getCloudMediaProviderAuthority()); in testCloudMediaAvailable()
95 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName */ null); in testChooseAccount()
96 assertEquals(CMP_AUTHORITY, mBannerController.getCloudMediaProviderAuthority()); in testChooseAccount()
110 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName */ null); in testAccountUpdated()
111 assertEquals(CMP_AUTHORITY, mBannerController.getCloudMediaProviderAuthority()); in testAccountUpdated()
114 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, CMP_ACCOUNT_NAME); in testAccountUpdated()
115 assertEquals(CMP_AUTHORITY, mBannerController.getCloudMediaProviderAuthority()); in testAccountUpdated()
129 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName */ null); in testChooseApp()
[all …]
DPickerViewModelTest.java117 private static final String CMP_AUTHORITY = "authority"; field in PickerViewModelTest
934 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, CMP_ACCOUNT_NAME); in testDismissChooseAppBanner()
955 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, CMP_ACCOUNT_NAME); in testDismissCloudMediaAvailableBanner()
974 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName= */ null); in testDismissAccountUpdatedBanner()
977 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, CMP_ACCOUNT_NAME); in testDismissAccountUpdatedBanner()
996 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName= */ null); in testDismissChooseAccountBanner()
1017 mBannerController.onChangeCloudMediaInfo(CMP_AUTHORITY, /* cmpAccountName= */ null); in testGetCloudMediaProviderAuthorityLiveData()
1020 assertEquals(CMP_AUTHORITY, in testGetCloudMediaProviderAuthorityLiveData()