/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() 202 private TestMedia createTestMedia(String localId, String cloudId, String albumId, in createTestMedia() argument 206 TestMedia media = new TestMedia(localId, cloudId, albumId, mimeType, in createTestMedia() 217 private static TestMedia createPlaceholderMedia(String localId, String cloudId) { in createPlaceholderMedia() argument 220 return new TestMedia(localId, cloudId, /* albumId */ null, in createPlaceholderMedia() [all …]
|
D | ActionUserSelectImagesForAppTest.java | 170 final long localId = Long.parseLong(uriList.get(0).getLastPathSegment()); in testNoCloudContent() local 180 containsExcept(extractMediaIds(clipData, 1), cloudId, String.valueOf(localId)); in testNoCloudContent() 200 .isEqualTo(localId); in testNoCloudContent()
|
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()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferAidlTest.java | 72 long localId = buffer.getId(); in testRemoteGetId() local 74 assertEquals(localId, remoteId); in testRemoteGetId()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterDiscoverySessionLifecycleTest.java | 80 private void addPrinter(@NonNull String localId, boolean hasCapabilities) { in addPrinter() argument 83 localId); in addPrinter() 86 localId, PrinterInfo.STATUS_IDLE); in addPrinter() 669 String localId = reportedPrinter.getId().getLocalId(); in getAddedPrinterIdForLocalId() local 670 if (printerLocalId.equals(localId)) { in getAddedPrinterIdForLocalId()
|