Home
last modified time | relevance | path

Searched refs:addMedia (Results 1 – 6 of 6) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerSyncControllerTest.java237 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1); in testSyncIsCancelledIfCloudProviderIsChanged()
238 addMedia(mLocalMediaGenerator, LOCAL_ONLY_2); in testSyncIsCancelledIfCloudProviderIsChanged()
248 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1); in testSyncIsCancelledIfCloudProviderIsChanged()
249 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_2); in testSyncIsCancelledIfCloudProviderIsChanged()
279 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1); in testSyncAllMediaNoCloud()
280 addMedia(mLocalMediaGenerator, LOCAL_ONLY_2); in testSyncAllMediaNoCloud()
397 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1); in testSyncAllMediaCloudOnly()
398 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_2); in testSyncAllMediaCloudOnly()
440 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1); in testSyncAllMediaLocal()
450 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1); in testSyncAllMediaLocal()
[all …]
DPickerDataLayerTest.java166 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1); in testFetchMediaNoFilter()
167 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1); in testFetchMediaNoFilter()
183 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1, /* albumId */ null, VIDEO_MIME_TYPE, in testFetchMediaFavorites()
185 addMedia(mLocalMediaGenerator, LOCAL_ONLY_2, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavorites()
187 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavorites()
190 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_2, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavorites()
216 addMedia(mLocalMediaGenerator, LOCAL_ONLY_1, /* albumId */ null, VIDEO_MIME_TYPE, in testFetchMediaFavoritesMimeTypeFilter()
218 addMedia(mLocalMediaGenerator, LOCAL_ONLY_2, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavoritesMimeTypeFilter()
220 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_1, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavoritesMimeTypeFilter()
223 addMedia(mCloudPrimaryMediaGenerator, CLOUD_ONLY_2, /* albumId */ null, IMAGE_MIME_TYPE, in testFetchMediaFavoritesMimeTypeFilter()
[all …]
DItemsProviderTest.java1117 cloudMediaGenerator.addMedia(null, "cloud_id1", null, "video/mp4", 0, 1024, false); in testGetLocalCategories_withCloudFeatureOn()
1118 cloudMediaGenerator.addMedia(null, "cloud_id2", cloudAlbum, "image/jpeg", 0, 1024, in testGetLocalCategories_withCloudFeatureOn()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sdp/
DSimpleSdpMessage.java81 builder.addMedia(currentMediaBuilder.build()); in parse()
101 builder.addMedia(currentMediaBuilder.build()); in parse()
189 public Builder addMedia(SdpMedia media) {
DSdpUtils.java71 .addMedia(createSdpMediaForMsrp(address, isTls)) in createSdpForMsrp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerProviderMediaGenerator.java244 public void addMedia(String localId, String cloudId) { in addMedia() method in PickerProviderMediaGenerator.MediaGenerator
253 public void addMedia(String localId, String cloudId, String albumId, String mimeType, in addMedia() method in PickerProviderMediaGenerator.MediaGenerator