Home
last modified time | relevance | path

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

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/
DImportFilesIntegrationTest.java99 private static final String FILE_ID_1 = "test-file-1"; field in ImportFilesIntegrationTest
111 .setFileId(FILE_ID_1)
250 .setInlineFileMap(ImmutableMap.of(FILE_ID_1, inlineFileSource1)) in importFiles_performsImport()
298 ImmutableMap.of(FILE_ID_1, inlineFileSource1, FILE_ID_2, inlineFileSource2)) in importFiles_whenImportingMultipleFiles_performsImport()
373 .setInlineFileMap(ImmutableMap.of(FILE_ID_1, inlineFileSource1)) in importFiles_supportsMultipleCallsConcurrently()
455 ImmutableMap.of(FILE_ID_1, inlineFileSource1, FILE_ID_2, inlineFileSource2)) in importFiles_whenNewInlineFileSpecified_importsAndStoresFile()
470 .containsExactly(FILE_ID_1, FILE_ID_2); in importFiles_whenNewInlineFileSpecified_importsAndStoresFile()
567 .setInlineFileMap(ImmutableMap.of(FILE_ID_1, inlineFileSource)) in importFiles_toNonExistentDataFileGroup_fails()
606 .setInlineFileMap(ImmutableMap.of(FILE_ID_1, inlineFileSource1)) in importFiles_whenMismatchedVersion_failToImport()
640 .setInlineFileMap(ImmutableMap.of(FILE_ID_1, inlineFileSource1)) in importFiles_whenImportFails_doesNotWriteUpdatedMetadata()
[all …]
DMddGarbageCollectionWithAndroidSharingIntegrationTest.java81 private static final String FILE_ID_1 = "test-file-to-share-1"; field in MddGarbageCollectionWithAndroidSharingIntegrationTest
208 new String[] {FILE_ID_1}, in deletesStaleGroups_staleLifetimeZero()
220 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in deletesStaleGroups_staleLifetimeZero()
300 new String[] {FILE_ID_1}, in deletesStaleGroups_staleLifetimeTwoDays()
313 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in deletesStaleGroups_staleLifetimeTwoDays()
401 new String[] {FILE_ID_1}, in deletesExpiredGroups()
416 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in deletesExpiredGroups()
DDownloadFileGroupAndroidSharingIntegrationTest.java89 private static final String FILE_ID_1 = "test-file-to-share-1"; field in DownloadFileGroupAndroidSharingIntegrationTest
180 new String[] {FILE_ID_1, FILE_ID}, in oneAndroidSharedFile_blobStoreBackendNotRegistered_fileDownloadedAndStoredLocally()
225 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in oneAndroidSharedFile_blobStoreBackendNotRegistered_fileDownloadedAndStoredLocally()
263 new String[] {FILE_ID_1}, in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
279 new String[] {FILE_ID_1}, in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
340 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
385 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in oneAndroidSharedFile_twoFileGroups_downloadedOnlyOnce()
428 new String[] {FILE_ID_1, FILE_ID}, in fileAvailableInSharedStorage_neverDownloaded()
475 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in fileAvailableInSharedStorage_neverDownloaded()
DMobileDataDownloadTest.java110 private static final String FILE_ID_1 = "test-file-1"; field in MobileDataDownloadTest
125 new String[] {FILE_ID_1},
136 new String[] {FILE_ID_1},
330 new String[] {FILE_ID_1}, in addFileGroup_invalidOwnerPackageName()
463 new String[] {FILE_ID_1}, in addFileGroupWithFileGroupKey_nullAccount()
695 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in getFileGroup()
996 assertThat(clientFile.getFileId()).isEqualTo(FILE_ID_1); in getFileGroup_withAccount()
1203 .setFileId(FILE_ID_1) in getFileGroup_includesFileLevelMetadataWhenProvided()
1251 clientFileGroup.getFile(0).getFileId().equals(FILE_ID_1) in getFileGroup_includesFileLevelMetadataWhenProvided()
1255 clientFileGroup.getFile(0).getFileId().equals(FILE_ID_1) in getFileGroup_includesFileLevelMetadataWhenProvided()
[all …]
DDownloadFileGroupCancellationIntegrationTest.java79 private static final String FILE_ID_1 = "test-file-1"; field in DownloadFileGroupCancellationIntegrationTest
DDownloadFileGroupIntegrationTest.java96 private static final String FILE_ID_1 = "test-file-1"; field in DownloadFileGroupIntegrationTest
252 new String[] {FILE_ID_1, FILE_ID_2}, in downloadFailed()