Searched refs:contentResolver (Results 1 - 23 of 23) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSettingsTest.java20 private ContentResolver contentResolver; field in class:SettingsTest
25 contentResolver = activity.getContentResolver();
30 Settings.System.putInt(contentResolver, "property", 1);
31 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1));
34 contentResolver = activity.getContentResolver();
35 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1));
40 Settings.System.putInt(contentResolver, "property", 1);
41 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1));
45 contentResolver = activity.getContentResolver();
46 assertThat(Settings.System.getInt(contentResolver, "propert
[all...]
H A DContentResolverTest.java38 private ContentResolver contentResolver; field in class:ContentResolverTest
46 contentResolver = new Activity().getContentResolver();
47 shadowContentResolver = shadowOf(contentResolver);
59 assertThat(contentResolver.insert(EXTERNAL_CONTENT_URI, new ContentValues()), equalTo(uri21));
60 assertThat(contentResolver.insert(EXTERNAL_CONTENT_URI, new ContentValues()), equalTo(uri22));
67 contentResolver.insert(EXTERNAL_CONTENT_URI, contentValues);
74 contentResolver.insert(EXTERNAL_CONTENT_URI, contentValues);
83 contentResolver.update(EXTERNAL_CONTENT_URI, contentValues, "robolectric", new String[] { "awesome" });
92 contentResolver.update(EXTERNAL_CONTENT_URI, contentValues, null, null);
104 assertThat(contentResolver
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
H A DFileDescriptorLocalUriFetcher.java20 protected ParcelFileDescriptor loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { argument
21 return contentResolver.openAssetFileDescriptor(uri, "r").getParcelFileDescriptor();
H A DStreamLocalUriFetcher.java20 protected InputStream loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { argument
21 return contentResolver.openInputStream(uri);
H A DLocalUriFetcher.java43 ContentResolver contentResolver = context.getContentResolver();
44 data = loadResource(uri, contentResolver);
79 protected abstract T loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException; argument
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/
H A DSimpleTestCursorTest.java22 private ContentResolver contentResolver; field in class:SimpleTestCursorTest
26 contentResolver = Robolectric.application.getContentResolver();
27 ShadowContentResolver shadowContentResolver = shadowOf(contentResolver);
39 contentResolver.query(uri, new String[]{"projection"}, "selection", new String[]{"selection"}, "sortOrder");
/external/libmojo/base/android/java/src/org/chromium/base/
H A DContentUriUtils.java134 * @param contentResolver the content resolver to query.
140 Uri uri, ContentResolver contentResolver, String columnField) {
141 if (contentResolver == null || uri == null) return "";
144 cursor = contentResolver.query(uri, null, null, null, null);
139 getDisplayName( Uri uri, ContentResolver contentResolver, String columnField) argument
H A DApiCompatibilityUtils.java366 public static boolean shouldSkipFirstUseHints(ContentResolver contentResolver) { argument
369 contentResolver, Settings.Secure.SKIP_FIRST_USE_HINTS, 0) != 0;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCursorWrapper.java189 public void setNotificationUri(ContentResolver contentResolver, Uri uri) { argument
190 wrappedCursor.setNotificationUri(contentResolver, uri);
H A DShadowApplication.java72 private ContentResolver contentResolver; field in class:ShadowApplication
141 if (contentResolver == null) {
142 contentResolver = new ContentResolver(realApplication) {
145 return contentResolver;
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
H A DEABDbUtil.java63 ContentResolver contentResolver = context.getContentResolver();
75 cursor = contentResolver.query(Contacts.CONTENT_URI, projection, selection,
105 pCur = contentResolver.query(
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 259 milliseconds