Home
last modified time | relevance | path

Searched refs:ShadowAccountManager (Results 1 – 20 of 20) 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;
66 @Config(shadows = {ShadowAccountManager.class, ShadowUserManager.class})
97 ShadowAccountManager.reset(); in tearDown()
185 ShadowAccountManager.addAccountForUser(1, new Account("test@test.com", "com.test")); in onResume_accountMissing_shouldFinish()
197 ShadowAccountManager.addAccountForUser(1, mFragment.mAccount); in onResume_accountPresentOneProfile_shouldNotFinish()
210 ShadowAccountManager.addAccountForUser(1, new Account("test@test.com", "com.test")); in onResume_accountPresentTwoProfiles_shouldNotFinish()
211 ShadowAccountManager.addAccountForUser(2, mFragment.mAccount); in onResume_accountPresentTwoProfiles_shouldNotFinish()
DRemoveAccountPreferenceControllerTest.java54 import com.android.settings.testutils.shadow.ShadowAccountManager;
172 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
204 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
DAccountTypePreferenceLoaderTest.java39 import com.android.settings.testutils.shadow.ShadowAccountManager;
91 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
DEmergencyInfoPreferenceControllerTest.java40 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;
69 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
366 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceControllerTest.java35 import com.android.car.settings.testutils.ShadowAccountManager;
49 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
134 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
DAccountDetailsFragmentTest.java38 import com.android.car.settings.testutils.ShadowAccountManager;
56 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowAccountManager.class,
166 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
DAccountListPreferenceControllerTest.java41 import com.android.car.settings.testutils.ShadowAccountManager;
57 ShadowAccountManager.class})
235 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
DChooseAccountPreferenceControllerTest.java43 import com.android.car.settings.testutils.ShadowAccountManager;
64 ShadowAccountManager.class})
248 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
DAccountSettingsFragmentTest.java31 import com.android.car.settings.testutils.ShadowAccountManager;
48 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowAccountManager.class,
DAccountDetailsWithSyncStatusPreferenceControllerTest.java40 import com.android.car.settings.testutils.ShadowAccountManager;
53 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
DAccountDetailsSettingControllerTest.java39 import com.android.car.settings.testutils.ShadowAccountManager;
59 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
DAccountSyncDetailsFragmentTest.java39 import com.android.car.settings.testutils.ShadowAccountManager;
59 @Config(shadows = {ShadowContentResolver.class, ShadowAccountManager.class})
DAccountSyncDetailsPreferenceControllerTest.java44 import com.android.car.settings.testutils.ShadowAccountManager;
67 ShadowAccountManager.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearAccountsPreferenceControllerTest.java37 import com.android.car.settings.testutils.ShadowAccountManager;
54 ShadowAccountManager.class})
206 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
/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.java51 import org.robolectric.shadows.ShadowAccountManager;
241 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPref_hasOneAccount()
273 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPref_hasMoreThanOneAccount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAccountManager.java33 public class ShadowAccountManager { class