Home
last modified time | relevance | path

Searched refs:getAuthorizedAccountTypes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountTypesHelperTest.java80 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly( in forceUpdate_authorizedAccountTypesShouldBeSet()
94 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly(ACCOUNT_TYPE_1); in forceUpdate_hasAccountTypeFilter_shouldFilterAccounts()
107 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly(ACCOUNT_TYPE_2); in forceUpdate_hasAccountExclusionFilter_shouldFilterAccounts()
126 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly(ACCOUNT_TYPE_2); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized()
145 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly( in refreshUi_hasAuthoritiesInFilter_notAuthorized()
152 assertThat(mHelper.getAuthorizedAccountTypes().size()).isEqualTo(2); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
162 assertThat(mHelper.getAuthorizedAccountTypes()).containsExactly( in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAddAccountPreferenceControllerTest.java119 when(mMockAccountTypesHelper.getAuthorizedAccountTypes()).thenReturn(accountSet); in clickAddAccountButton_shouldNotOpenChooseAccountFragmentWhenOneType()
140 when(mMockAccountTypesHelper.getAuthorizedAccountTypes()).thenReturn(accountSet); in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenTwoTypes()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAddAccountPreferenceController.java76 Set<String> authorizedAccountTypes = helper.getAuthorizedAccountTypes(); in handlePreferenceClicked()
DAccountTypesHelper.java140 public Set<String> getAuthorizedAccountTypes() { in getAuthorizedAccountTypes() method in AccountTypesHelper
DChooseAccountPreferenceController.java147 Set<String> authorizedAccountTypes = mAccountTypesHelper.getAuthorizedAccountTypes(); in getAuthenticatorDescriptionPreferences()