Home
last modified time | relevance | path

Searched refs:getContentResolver (Results 1 – 14 of 14) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextWrapperTest.java131 assertThat(activity.getContentResolver(), sameInstance(activity.getContentResolver())); in shouldReturnSameContentResolverEveryTime()
133 … assertThat(activity.getContentResolver(), sameInstance(new Activity().getContentResolver())); in shouldReturnSameContentResolverEveryTime()
DSettingsTest.java25 contentResolver = activity.getContentResolver(); in setUp()
34 contentResolver = activity.getContentResolver(); in whileApplicationStaysSame_shouldRememberOldSettings()
45 contentResolver = activity.getContentResolver(); in whenApplicationChanges_shouldStartWithNewSettings()
DBitmapFactoryTest.java49 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldSetDescription()
111 …bitmap = MediaStore.Images.Media.getBitmap(Robolectric.application.getContentResolver(), Uri.parse… in decodeUri_shouldGetWidthAndHeightFromHints()
121 …InputStream inputStream = Robolectric.application.getContentResolver().openInputStream(Uri.parse("… in decodeStream_shouldGetWidthAndHeightFromHints()
DContentProviderTest.java68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
DContentResolverTest.java46 contentResolver = new Activity().getContentResolver(); in setUp()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSettings.java140 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.AIRPLANE_MODE… in setAirplaneMode()
149 …Settings.Secure.putInt(Robolectric.application.getContentResolver(), Settings.Secure.WIFI_ON, isOn… in setWifiOn()
158 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.TIME_12_24, u… in set24HourTimeFormat()
DShadowContextWrapper.java62 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowContextWrapper
63 return getApplicationContext().getContentResolver(); in getContentResolver()
DShadowApplication.java140 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowApplication
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DMediaStoreThumbFetcher.java152 inputStream = context.getContentResolver().openInputStream(thumbnailUri); in open()
163 …return context.getContentResolver().query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new S… in query()
175 …return context.getContentResolver().query(MediaStore.Video.Thumbnails.EXTERNAL_CONTENT_URI, new St… in query()
DLocalUriFetcher.java43 ContentResolver contentResolver = context.getContentResolver(); in loadData()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/database/
DSimpleTestCursorTest.java26 contentResolver = Robolectric.application.getContentResolver(); in setup()
/external/svox/pico/compat/src/com/android/tts/compat/
DCompatTtsService.java59 Cursor c = getContentResolver().query(Uri.parse("content://" + getPackageName() in onCreate()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java64 public ContentResolver getContentResolver() { in getContentResolver() method in MockContext.MockContext2
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...