Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContentResolverTest.java65 private ShadowContentResolver shadowContentResolver;
96 ShadowContentResolver.registerProviderInternal(AUTHORITY, new ContentProvider() { in getType_shouldReturnProviderValue()
257 ShadowContentResolver.registerProviderInternal(AUTHORITY, cp); in acquireUnstableProvider_shouldReturnWithUri()
265 ShadowContentResolver.registerProviderInternal(AUTHORITY, cp); in acquireUnstableProvider_shouldReturnWithString()
278 ShadowContentResolver.registerProviderInternal(AUTHORITY, provider); in call_shouldCallProvider()
359 ShadowContentResolver.NotifiedUri uri = shadowContentResolver.getNotifiedUris().get(0); in shouldTrackNotifiedUris()
376 ShadowContentResolver.registerProviderInternal("registeredProvider", new ContentProvider() { in applyBatchForRegisteredProvider()
462 ShadowContentResolver.Status status = ShadowContentResolver.getStatus(a, AUTHORITY, true); in shouldKeepTrackOfSyncRequests()
517 assertThat(ShadowContentResolver.getPeriodicSyncs(a, AUTHORITY)).containsExactly( in shouldAddPeriodicSync()
520 assertThat(ShadowContentResolver.getPeriodicSyncs(b, AUTHORITY)).containsExactly( in shouldAddPeriodicSync()
[all …]
DShadowContentProviderClientTest.java47 ShadowContentResolver.registerProviderInternal(AUTHORITY, provider); in setUp()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DContentProviderController.java9 import org.robolectric.shadows.ShadowContentResolver;
74 ShadowContentResolver.registerProviderInternal(providerInfo.authority, contentProvider); in create()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java52 public class ShadowContentResolver { class
470 ShadowContentResolver.Status status = getStatus(account, authority);
806 ShadowContentResolver.syncAdapterTypes = syncAdapterTypes;