/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | SettingsTest.java | 20 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 D | ContentResolverTest.java | 38 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 D | FileDescriptorLocalUriFetcher.java | 20 protected ParcelFileDescriptor loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { argument 21 return contentResolver.openAssetFileDescriptor(uri, "r").getParcelFileDescriptor();
|
H A D | StreamLocalUriFetcher.java | 20 protected InputStream loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { argument 21 return contentResolver.openInputStream(uri);
|
H A D | LocalUriFetcher.java | 43 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 D | SimpleTestCursorTest.java | 22 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 D | ContentUriUtils.java | 134 * @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 D | ApiCompatibilityUtils.java | 366 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 D | ShadowCursorWrapper.java | 189 public void setNotificationUri(ContentResolver contentResolver, Uri uri) { argument 190 wrappedCursor.setNotificationUri(contentResolver, uri);
|
H A D | ShadowApplication.java | 72 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 D | EABDbUtil.java | 63 ContentResolver contentResolver = context.getContentResolver(); 75 cursor = contentResolver.query(Contacts.CONTENT_URI, projection, selection, 105 pCur = contentResolver.query(
|
/external/robolectric/v3/runtime/ |
H A D | shadows-core-3.1-SNAPSHOT-16.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-17.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-18.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-19.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-21.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-22.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |