Home
last modified time | relevance | path

Searched refs:ShadowContentResolver (Results 1 – 25 of 25) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
H A DAccountSyncPreferenceControllerTest.java38 import com.android.settings.testutils.shadow.ShadowContentResolver;
81 ShadowContentResolver.reset(); in tearDown()
101 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_adapterInvisible_shouldNotCount()
114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSameAccountType_shouldNotCount()
127 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSyncable_shouldNotCount()
128 ShadowContentResolver.setSyncable("authority", 0); in updateSummary_notSyncable_shouldNotCount()
141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_syncDisabled_shouldNotCount()
142 ShadowContentResolver.setSyncAutomatically("authority", false); in updateSummary_syncDisabled_shouldNotCount()
143 ShadowContentResolver.setMasterSyncAutomatically(3, true); in updateSummary_syncDisabled_shouldNotCount()
156 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_syncEnabled_shouldCount()
[all …]
H A DChooseAccountPreferenceControllerTest.java42 import com.android.settings.testutils.shadow.ShadowContentResolver;
56 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
78 ShadowContentResolver.reset(); in tearDown()
116 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()
141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
166 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_noProvider_shouldNotAddPreference()
195 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
H A DAccountSyncSettingsTest.java32 import com.android.settings.testutils.shadow.ShadowContentResolver;
44 @Config(shadows = {ShadowContentResolver.class})
57 ShadowContentResolver.reset(); in tearDown()
H A DAccountTypePreferenceLoaderTest.java40 import com.android.settings.testutils.shadow.ShadowContentResolver;
87 ShadowContentResolver.reset(); in tearDown()
91 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
H A DRemoveAccountPreferenceControllerTest.java55 import com.android.settings.testutils.shadow.ShadowContentResolver;
124 ShadowContentResolver.reset(); in tearDown()
174 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
207 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
H A DEmergencyInfoPreferenceControllerTest.java40 import com.android.settings.testutils.shadow.ShadowContentResolver;
83 ShadowContentResolver.reset(); in tearDown()
138 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
H A DAvatarViewMixinTest.java59 import org.robolectric.shadows.ShadowContentResolver;
155 ShadowContentResolver.registerProviderInternal(FAKE_AUTHORITY, mockContentProvider); in callWithGetAccountAvatarMethod_useFakeData_shouldReturnAccountNameAndAvatar()
H A DAccountPreferenceControllerTest.java51 import com.android.settings.testutils.shadow.ShadowContentResolver;
71 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
108 ShadowContentResolver.reset(); in tearDown()
370 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
H A DAccountSyncDetailsPreferenceControllerTest.java45 import com.android.car.settings.testutils.ShadowContentResolver;
82 ShadowContentResolver.SyncListener mMockSyncListener;
91 ShadowContentResolver.setSyncListener(mMockSyncListener); in setUp()
108 ShadowContentResolver.reset(); in tearDown()
117 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveSameAccountType_shouldNotBeShown()
130 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown()
143 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown()
291 ShadowContentResolver.setCurrentSyncs(syncs); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet()
329 ShadowContentResolver.setCurrentSyncs(syncs); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon()
407 ShadowContentResolver.reset(); in onAccountsUpdate_correctUserId_shouldForceUpdatePreferences()
[all …]
H A DAccountSyncPreferenceControllerTest.java36 import com.android.car.settings.testutils.ShadowContentResolver;
51 @Config(shadows = {ShadowContentResolver.class})
82 ShadowContentResolver.reset(); in tearDown()
94 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSameAccountType_shouldNotCount()
114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_adapterInvisible_shouldNotCount()
134 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSyncable_shouldNotCount()
152 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount()
173 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncUsed_shouldCount()
192 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_automaticSyncEnabled_shouldCount()
223 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_someEnabled_shouldSetSummary()
H A DAccountTypesHelperTest.java30 import com.android.car.settings.testutils.ShadowContentResolver;
47 @Config(shadows = {ShadowContentResolver.class, ShadowAccountManager.class})
73 ShadowContentResolver.reset(); in tearDown()
118 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized()
137 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_hasAuthoritiesInFilter_notAuthorized()
H A DAccountAutoSyncPreferenceControllerTest.java37 import com.android.car.settings.testutils.ShadowContentResolver;
49 @Config(shadows = {ShadowContentResolver.class})
H A DAccountDetailsSettingControllerTest.java40 import com.android.car.settings.testutils.ShadowContentResolver;
59 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/util/
H A DTvProviderUtilsTest.java35 import org.robolectric.shadows.ShadowContentResolver;
43 shadows = {ShadowContentResolver.class})
53 ShadowContentResolver.registerProviderInternal(TvContract.AUTHORITY, provider); in setUp()
/aosp12/packages/apps/TV/tests/common/src/com/android/tv/testing/robo/
H A DContentProviders.java22 import org.robolectric.shadows.ShadowContentResolver;
35 ShadowContentResolver.registerProviderInternal(authority, provider); in register()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowContentResolver.java45 public class ShadowContentResolver extends org.robolectric.shadows.ShadowContentResolver { class
153 org.robolectric.shadows.ShadowContentResolver.reset(); in reset()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
H A DUserDictionaryCursorLoaderTest.java34 import org.robolectric.shadows.ShadowContentResolver;
47 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
H A DUserDictionaryListControllerTest.java42 import org.robolectric.shadows.ShadowContentResolver;
59 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
H A DBrightnessLevelPreferenceControllerTest.java56 import org.robolectric.shadows.ShadowContentResolver;
112 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in onStart_shouldRegisterObserver()
126 ShadowContentResolver shadowContentResolver = Shadow.extract(mContext.getContentResolver()); in onStop_shouldUnregisterObserver()
/aosp12/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
H A DChannelDataManagerTest.java39 import org.robolectric.shadows.ShadowContentResolver;
59 ShadowContentResolver.registerProviderInternal(TvContract.AUTHORITY, provider); in setup()
/aosp12/packages/services/Mms/tests/robotests/src/com/android/mms/service/
H A DApnSettingsTest.java40 import org.robolectric.shadows.ShadowContentResolver;
93 ShadowContentResolver.registerProviderInternal( in createApnSettingsCursor()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/
H A DPreviewDataManagerTest.java46 import org.robolectric.shadows.ShadowContentResolver;
123 ShadowContentResolver.registerProviderInternal(TvContractCompat.AUTHORITY, provider); in queryPreviewData_sqlexception()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
H A DSliceContextualCardControllerTest.java58 import org.robolectric.shadows.ShadowContentResolver;
79 ShadowContentResolver.registerProviderInternal(CardContentProvider.CARD_AUTHORITY, in setUp()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowContentResolver.java37 public class ShadowContentResolver { class
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
H A DPrivateDnsPreferenceControllerTest.java80 import org.robolectric.shadows.ShadowContentResolver;
121 private ShadowContentResolver mShadowContentResolver;