Home
last modified time | relevance | path

Searched refs:ShadowAccountManager (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java41 import com.android.settings.testutils.shadow.ShadowAccountManager;
56 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
79 ShadowAccountManager.reset(); in tearDown()
111 ShadowAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()
136 ShadowAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
161 ShadowAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_noProvider_shouldNotAddPreference()
187 ShadowAccountManager.addAuthenticator(authDesc); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
188 ShadowAccountManager.addAuthenticator(authDesc2); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
DAccountDetailDashboardFragmentTest.java48 import com.android.settings.testutils.shadow.ShadowAccountManager;
67 @Config(shadows = {ShadowAccountManager.class, ShadowUserManager.class})
98 ShadowAccountManager.reset(); in tearDown()
186 ShadowAccountManager.addAccountForUser(1, new Account("test@test.com", "com.test")); in onResume_accountMissing_shouldFinish()
198 ShadowAccountManager.addAccountForUser(1, mFragment.mAccount); in onResume_accountPresentOneProfile_shouldNotFinish()
211 ShadowAccountManager.addAccountForUser(1, new Account("test@test.com", "com.test")); in onResume_accountPresentTwoProfiles_shouldNotFinish()
212 ShadowAccountManager.addAccountForUser(2, mFragment.mAccount); in onResume_accountPresentTwoProfiles_shouldNotFinish()
DRemoveAccountPreferenceControllerTest.java54 import com.android.settings.testutils.shadow.ShadowAccountManager;
174 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
207 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
DAccountTypePreferenceLoaderTest.java39 import com.android.settings.testutils.shadow.ShadowAccountManager;
91 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
DEmergencyInfoPreferenceControllerTest.java39 import com.android.settings.testutils.shadow.ShadowAccountManager;
138 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
DAccountSyncPreferenceControllerTest.java37 import com.android.settings.testutils.shadow.ShadowAccountManager;
52 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
DAccountPreferenceControllerTest.java50 import com.android.settings.testutils.shadow.ShadowAccountManager;
71 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
370 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountTypesHelperTest.java29 import com.android.car.settings.testutils.ShadowAccountManager;
47 @Config(shadows = {ShadowContentResolver.class, ShadowAccountManager.class})
174 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
DAccountDetailsSettingControllerTest.java38 import com.android.car.settings.testutils.ShadowAccountManager;
59 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
DAccountSyncDetailsPreferenceControllerTest.java43 import com.android.car.settings.testutils.ShadowAccountManager;
67 ShadowAccountManager.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAccountManager.java33 public class ShadowAccountManager extends org.robolectric.shadows.ShadowAccountManager { class
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java45 import org.robolectric.shadows.ShadowAccountManager;
233 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasOneAccount()
265 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAccountManager.java33 public class ShadowAccountManager { class