Searched refs:cloudId (Results 1 – 4 of 4) sorted by relevance
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PickerProviderMediaGenerator.java | 154 public void addMedia(String localId, String cloudId, String albumId, String mimeType, in addMedia() argument 157 mDeletedMedia.remove(createPlaceholderMedia(localId, cloudId)); in addMedia() 158 mMedia.add(0, createTestMedia(localId, cloudId, albumId, mimeType, in addMedia() 162 public void deleteMedia(String localId, String cloudId, boolean trackDeleted) in deleteMedia() argument 164 if (mMedia.remove(createPlaceholderMedia(localId, cloudId)) && trackDeleted) { in deleteMedia() 165 mDeletedMedia.add(createTestMedia(localId, cloudId, /* albumId */ null, in deleteMedia() 171 public ParcelFileDescriptor openMedia(String cloudId) throws FileNotFoundException { in openMedia() argument 173 return ParcelFileDescriptor.open(getTestMedia(cloudId), in openMedia() 176 throw new FileNotFoundException("Failed to open: " + cloudId); in openMedia() 202 private TestMedia createTestMedia(String localId, String cloudId, String albumId, in createTestMedia() argument [all …]
|
D | ActionUserSelectImagesForAppTest.java | 166 final String cloudId = "cloud_id1"; in testNoCloudContent() local 171 setupCloudProviderWithImage(cloudId); in testNoCloudContent() 180 containsExcept(extractMediaIds(clipData, 1), cloudId, String.valueOf(localId)); in testNoCloudContent() local 197 .isNotEqualTo(cloudId); in testNoCloudContent() 211 private void setupCloudProviderWithImage(String cloudId) throws Exception { in setupCloudProviderWithImage() argument 217 CloudProviderPrimary.AUTHORITY, Pair.create(null, cloudId)); in setupCloudProviderWithImage()
|
D | RemoteVideoPreviewTest.java | 390 private void addImage(MediaGenerator generator, String localId, String cloudId) in addImage() argument 392 generator.addMedia(localId, cloudId, /* albumId */ null, "image/jpeg", in addImage() 406 private void addVideo(MediaGenerator generator, String localId, String cloudId) in addVideo() argument 408 generator.addMedia(localId, cloudId, /* albumId */ null, "video/mp4", in addVideo()
|
D | PhotoPickerCloudUtils.java | 128 String localId, String cloudId) in addImage() argument 131 generator.addMedia(localId, cloudId, /* albumId */ null, "image/jpeg", in addImage()
|