Searched refs:contentResolver (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 134 ContentResolver contentResolver = mContext.getContentResolver(); in testSetPrimaryClip_multipleMimeTypes() local 148 clipData.addItem(contentResolver, new Item("More Text")); in testSetPrimaryClip_multipleMimeTypes() 149 clipData.addItem(contentResolver, new Item(intent)); in testSetPrimaryClip_multipleMimeTypes() 150 clipData.addItem(contentResolver, new Item(uri)); in testSetPrimaryClip_multipleMimeTypes() 151 clipData.addItem(contentResolver, new Item(contentUri1)); in testSetPrimaryClip_multipleMimeTypes() 152 clipData.addItem(contentResolver, new Item(contentUri2)); in testSetPrimaryClip_multipleMimeTypes() 153 clipData.addItem(contentResolver, new Item(contentUri3)); in testSetPrimaryClip_multipleMimeTypes() 154 clipData.addItem(contentResolver, new Item(contentUri4)); in testSetPrimaryClip_multipleMimeTypes() 155 clipData.addItem(contentResolver, new Item(contentUri5)); in testSetPrimaryClip_multipleMimeTypes() 156 clipData.addItem(contentResolver, new Item(contentUri6)); in testSetPrimaryClip_multipleMimeTypes() [all …]
|
D | IntentTest.java | 257 final ContentResolver contentResolver = mContext.getContentResolver(); in testResolveType1() local 263 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(mContext)); in testResolveType1() 269 final ContentResolver contentResolver = mContext.getContentResolver(); in testResolveType2() local 270 assertNull(mIntent.resolveType(contentResolver)); in testResolveType2() 272 assertEquals(TEST_TYPE, mIntent.resolveType(contentResolver)); in testResolveType2() 275 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(contentResolver)); in testResolveType2() 277 assertNull(mIntent.resolveType(contentResolver)); in testResolveType2() 358 ContentResolver contentResolver = mContext.getContentResolver(); in testResolveTypeIfNeeded() local 359 assertNull(mIntent.resolveTypeIfNeeded(contentResolver)); in testResolveTypeIfNeeded() 361 assertEquals(TEST_TYPE, mIntent.resolveTypeIfNeeded(contentResolver)); in testResolveTypeIfNeeded() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreAudioTestHelper.java | 52 public Uri insertToInternal(ContentResolver contentResolver) { in insertToInternal() argument 53 Uri uri = contentResolver.insert(Media.INTERNAL_CONTENT_URI, getContentValues(true)); in insertToInternal() 58 public Uri insertToExternal(ContentResolver contentResolver) { in insertToExternal() argument 59 Uri uri = contentResolver.insert(Media.EXTERNAL_CONTENT_URI, getContentValues(false)); in insertToExternal() 64 public int delete(ContentResolver contentResolver, Uri uri) { in delete() argument 65 return contentResolver.delete(uri, null, null); in delete()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RGBZ.java | 54 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { in RGBZ() argument 55 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); in RGBZ() 72 public RGBZ(Uri uriImage, Uri uriDepthmap, ContentResolver contentResolver, in RGBZ() argument 74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in RGBZ()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorFeaturesDeactivator.java | 100 ContentResolver contentResolver = mStateContainer.getContentResolver(); in getSettingMode() local 104 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 107 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue); in getSettingMode()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_GroupMembershipTest.java | 37 ContentResolver contentResolver = in setUp() local 40 contentResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
|
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/ |
D | MultiUserStorageTest.java | 162 ContentResolver contentResolver = mContext.getContentResolver(); in testMediaProviderUserIsolation() local 165 contentResolver.insert(Uri.parse(URI_MEDIA_STRING), cv); in testMediaProviderUserIsolation()
|