Home
last modified time | relevance | path

Searched refs:insertUri (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStoreUtils.java53 return context.getContentResolver().insert(params.insertUri, params.insertValues); in createPending()
78 public final Uri insertUri; field in MediaStoreUtils.PendingParams
90 public PendingParams(@NonNull Uri insertUri, @NonNull String displayName, in PendingParams() argument
92 this.insertUri = Objects.requireNonNull(insertUri); in PendingParams()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreUtils.java59 return context.getContentResolver().insert(params.insertUri, params.insertValues); in createPending()
84 public final Uri insertUri; field in MediaStoreUtils.PendingParams
96 public PendingParams(@NonNull Uri insertUri, @NonNull String displayName, in PendingParams() argument
98 this.insertUri = Objects.requireNonNull(insertUri); in PendingParams()
DMediaStorePendingTest.java106 private void verifySuccessfulImageInsertion(Uri insertUri, String expectedDestDir) in verifySuccessfulImageInsertion() argument
111 insertUri, displayName, "image/png"); in verifySuccessfulImageInsertion()
122 assertFalse(containsId(insertUri, id)); in verifySuccessfulImageInsertion()
123 assertTrue(containsId(MediaStore.setIncludePending(insertUri), id)); in verifySuccessfulImageInsertion()
141 assertTrue(containsId(insertUri, id)); in verifySuccessfulImageInsertion()
142 assertTrue(containsId(MediaStore.setIncludePending(insertUri), id)); in verifySuccessfulImageInsertion()
159 final Uri insertUri = mExternalImages; in testSimple_Abandoned() local
161 insertUri, displayName, "image/png"); in testSimple_Abandoned()
197 final Uri insertUri = mExternalAudio; in testDuplicates() local
199 insertUri, displayName, "audio/mpeg"); in testDuplicates()
[all …]
DMediaStore_DownloadsTest.java149 final Uri insertUri = insertImage(displayName, "test image", in testMediaInDownloadsDir() local
163 assertEquals(1, mContentResolver.delete(insertUri, null, null)); in testMediaInDownloadsDir()
353 final Uri insertUri = mContentResolver.insert(mExternalImages, values); in insertImage() local
354 assertNotNull(insertUri); in insertImage()
355 return insertUri; in insertImage()
DCalendarTest.java3506 Uri insertUri = Events.CONTENT_URI; in createAndVerifyEvent() local
3508 insertUri = asSyncAdapter(insertUri, account, CTS_TEST_TYPE); in createAndVerifyEvent()
3510 Uri uri = mContentResolver.insert(insertUri, values); in createAndVerifyEvent()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DMmsPartTest.java166 Uri insertUri = Telephony.Mms.Part.getPartUriForMessage(TEST_MESSAGE_ID); in insertTestMmsPartWithValues() local
168 Uri uri = mContentResolver.insert(insertUri, values); in insertTestMmsPartWithValues()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java180 Uri insertUri = mMediaScannerConnectionClient.mediaUri; in testMediaScanner() local
181 long id = Long.valueOf(insertUri.getLastPathSegment()); in testMediaScanner()