Searched refs:ShadowAccountManager (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | ChooseAccountPreferenceControllerTest.java | 41 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()
|
D | AccountDetailDashboardFragmentTest.java | 48 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()
|
D | RemoveAccountPreferenceControllerTest.java | 54 import com.android.settings.testutils.shadow.ShadowAccountManager; 174 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class, 207 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
|
D | AccountTypePreferenceLoaderTest.java | 39 import com.android.settings.testutils.shadow.ShadowAccountManager; 91 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
D | EmergencyInfoPreferenceControllerTest.java | 39 import com.android.settings.testutils.shadow.ShadowAccountManager; 138 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
D | AccountSyncPreferenceControllerTest.java | 37 import com.android.settings.testutils.shadow.ShadowAccountManager; 52 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
D | AccountPreferenceControllerTest.java | 50 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/ |
D | AccountTypesHelperTest.java | 29 import com.android.car.settings.testutils.ShadowAccountManager; 47 @Config(shadows = {ShadowContentResolver.class, ShadowAccountManager.class}) 174 private ShadowAccountManager getShadowAccountManager() { in getShadowAccountManager()
|
D | AccountDetailsSettingControllerTest.java | 38 import com.android.car.settings.testutils.ShadowAccountManager; 59 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
|
D | AccountSyncDetailsPreferenceControllerTest.java | 43 import com.android.car.settings.testutils.ShadowAccountManager; 67 ShadowAccountManager.class})
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowAccountManager.java | 33 public class ShadowAccountManager extends org.robolectric.shadows.ShadowAccountManager { class
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | MainFragmentTest.java | 45 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/ |
D | ShadowAccountManager.java | 33 public class ShadowAccountManager { class
|