/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
D | ProviderSearchesUriTest.java | 29 getContentResolver().delete(mSearchesUri, null, null); in setUp() 34 getContentResolver().delete(mSearchesUri, null, null); in tearDown() 42 return getContentResolver().insert(mSearchesUri, values); in addSearchTerm() 57 Cursor cursor = getContentResolver().query(uri, null, SearchColumns.SEARCH + "=? AND " + in testAddSearchTerm() 83 getContentResolver().update(uri, values, null, null); in testUpdateSearchTerm() 85 Cursor cursor = getContentResolver().query(mSearchesUri, null, SearchColumns.SEARCH + "=?", in testUpdateSearchTerm() 90 cursor = getContentResolver().query(mSearchesUri, null, SearchColumns.SEARCH + "=?", in testUpdateSearchTerm() 116 getContentResolver().delete(uri[0], null, null); in testDeleteSearchTerm() 118 Cursor cursor = getContentResolver().query(mSearchesUri, null, SearchColumns.SEARCH + "=?", in testDeleteSearchTerm() 123 cursor = getContentResolver().query(mSearchesUri, null, SearchColumns.SEARCH + "=?", in testDeleteSearchTerm() [all …]
|
D | ProviderBookmarksUriTest.java | 31 getContentResolver().delete(mBookmarksUri, null, null); in setUp() 36 getContentResolver().delete(mBookmarksUri, null, null); in tearDown() 50 return getContentResolver().insert(mBookmarksUri, values); in addBookmark() 73 Uri uri = getContentResolver().insert(mBookmarksUri, values); in testAddBookmark() 74 Cursor cursor = getContentResolver().query(uri, null, null, null, null); in testAddBookmark() 123 Cursor cursor = getContentResolver().query(mBookmarksUri, null, in testQueryBookmark() 151 cursor = getContentResolver().query(mBookmarksUri, null, in testQueryBookmark() 206 getContentResolver().update(uri, values, BookmarkColumns.FAVICON + " IS NOT NULL AND " + in testUpdateBookmark() 209 Cursor cursor = getContentResolver().query(uri, null, null, null, null); in testUpdateBookmark() 256 getContentResolver().delete(mBookmarksUri, BookmarkColumns.FAVICON + " IS NOT NULL AND " + in testDeleteBookmark() [all …]
|
D | ProviderTestBase.java | 39 assertTrue(getContentResolver() instanceof MockContentResolver); in setUp() 42 protected ContentResolver getContentResolver() { in getContentResolver() method in ProviderTestBase 43 return mContext.getContentResolver(); in getContentResolver()
|
/external/chromium_org/base/test/android/java/src/org/chromium/base/ |
D | ContentUriTestUtils.java | 31 Cursor c = context.getContentResolver().query( in insertImageIntoMediaStore() 47 Uri uri = context.getContentResolver().insert( in insertImageIntoMediaStore()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SettingsTest.java | 25 contentResolver = activity.getContentResolver(); in setUp() 34 contentResolver = activity.getContentResolver(); in whileApplicationStaysSame_shouldRememberOldSettings() 45 contentResolver = activity.getContentResolver(); in whenApplicationChanges_shouldStartWithNewSettings()
|
D | ContextWrapperTest.java | 131 assertThat(activity.getContentResolver(), sameInstance(activity.getContentResolver())); in shouldReturnSameContentResolverEveryTime() 133 … assertThat(activity.getContentResolver(), sameInstance(new Activity().getContentResolver())); in shouldReturnSameContentResolverEveryTime()
|
D | BitmapFactoryTest.java | 49 …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()
|
D | ContentProviderTest.java | 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSettings.java | 140 …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()
|
D | ShadowContextWrapper.java | 62 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowContextWrapper 63 return getApplicationContext().getContentResolver(); in getContentResolver()
|
D | ShadowApplication.java | 140 public ContentResolver getContentResolver() { in getContentResolver() method in ShadowApplication
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | MediaStoreThumbFetcher.java | 151 inputStream = context.getContentResolver().openInputStream(thumbnailUri); in open() 162 …return context.getContentResolver().query(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, new S… in query() 174 …return context.getContentResolver().query(MediaStore.Video.Thumbnails.EXTERNAL_CONTENT_URI, new St… in query()
|
D | LocalUriFetcher.java | 44 ContentResolver contentResolver = context.getContentResolver(); in loadData()
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
D | TestContentProvider.java | 50 final Cursor cursor = context.getContentResolver().query(uri, null, null, null, null); in getResourceRequestCount() 62 context.getContentResolver().query(uri, null, null, null, null); in resetResourceRequestCount()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/ |
D | SettingsSecureBasedIdentificationGenerator.java | 44 return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.ANDROID_ID); in getAndroidId()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AndroidProtocolHandler.java | 143 return context.getContentResolver().openInputStream(uri); in openContent() 167 return context.getContentResolver().getType(uri); in getMimeType()
|
D | AwWebContentsDelegateAdapter.java | 195 mContext.getContentResolver(), processId, renderId, modeFlags, results); in runFileChooser()
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
D | ContentUriUtils.java | 64 ContentResolver resolver = context.getContentResolver(); in getParcelFileDescriptor()
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | AdvancedMockContext.java | 48 public ContentResolver getContentResolver() { in getContentResolver() method in AdvancedMockContext
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
D | ActivityWindowAndroid.java | 84 mApplicationContext.getContentResolver(), data); in onActivityResult()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/database/ |
D | SimpleTestCursorTest.java | 26 contentResolver = Robolectric.application.getContentResolver(); in setup()
|
/external/svox/pico/compat/src/com/android/tts/compat/ |
D | CompatTtsService.java | 59 Cursor c = getContentResolver().query(Uri.parse("content://" + getPackageName() in onCreate()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | ChromeBrowserProviderClient.java | 176 Bundle result = context.getContentResolver().call(getPrivateProviderUri(context), in chromeBrowserProviderCall()
|
D | ChromeBrowserProvider.java | 377 cursor.setNotificationUri(getContext().getContentResolver(), uri); in query() 1288 getContext().getContentResolver().notifyChange(uri, null); in notifyChange() 1294 getContext().getContentResolver().notifyChange(uri, null); in notifyChange()
|
/external/chromium_org/components/autofill/core/browser/android/java/src/org/chromium/components/browser/autofill/ |
D | PersonalAutofillPopulator.java | 156 ContentResolver contentResolver = context.getContentResolver(); in PersonalAutofillPopulator()
|