Home
last modified time | relevance | path

Searched refs:insertValues (Results 1 – 3 of 3) 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()
80 public final ContentValues insertValues; field in MediaStoreUtils.PendingParams
94 this.insertValues = new ContentValues(); in PendingParams()
95 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
96 this.insertValues.put(MediaColumns.MIME_TYPE, Objects.requireNonNull(mimeType)); in PendingParams()
97 this.insertValues.put(MediaColumns.DATE_ADDED, now); in PendingParams()
98 this.insertValues.put(MediaColumns.DATE_MODIFIED, now); in PendingParams()
99 this.insertValues.put(MediaColumns.IS_PENDING, 1); in PendingParams()
100 this.insertValues.put(MediaColumns.DATE_EXPIRES, in PendingParams()
106 this.insertValues.remove(MediaColumns.RELATIVE_PATH); in setPath()
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreUtils.java63 return context.getContentResolver().insert(params.insertUri, params.insertValues); in createPending()
92 public final ContentValues insertValues; field in MediaStoreUtils.PendingParams
106 this.insertValues = new ContentValues(); in PendingParams()
107 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
108 this.insertValues.put(MediaColumns.MIME_TYPE, Objects.requireNonNull(mimeType)); in PendingParams()
109 this.insertValues.put(MediaColumns.DATE_ADDED, now); in PendingParams()
110 this.insertValues.put(MediaColumns.DATE_MODIFIED, now); in PendingParams()
111 this.insertValues.put(MediaColumns.IS_PENDING, 1); in PendingParams()
112 this.insertValues.put(MediaColumns.DATE_EXPIRES, in PendingParams()
118 this.insertValues.remove(MediaColumns.RELATIVE_PATH); in setPath()
[all …]
DMediaStore_FilesTest.java354 final ContentValues insertValues = new ContentValues(); in testInPlaceUpdate_mediaFileWithInvalidRelativePath() local
355 insertValues.put(MediaColumns.DATA, file.getAbsolutePath()); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
356 insertValues.put(MediaStore.Audio.AudioColumns.BOOKMARK, 42L); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
357 final Uri uri = mResolver.insert(mExternalAudio, insertValues); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()