Home
last modified time | relevance | path

Searched refs:allowedReaders (Results 1 – 5 of 5) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DDirectoryUtil.java78 Context context, AllowedReaders allowedReaders, Optional<String> instanceId) { in getDownloadDirectory() argument
79 String subDirectory = getSubDirectory(allowedReaders); in getDownloadDirectory()
96 Context context, AllowedReaders allowedReaders, Optional<String> instanceId) { in getDownloadSymlinkDirectory() argument
97 String subDirectory = getSubDirectory(allowedReaders); in getDownloadSymlinkDirectory()
115 AllowedReaders allowedReaders, in getOnDeviceUri() argument
126 Uri directoryUri = getDownloadDirectory(context, allowedReaders, instanceId); in getOnDeviceUri()
193 private static String getSubDirectory(AllowedReaders allowedReaders) { in getSubDirectory() argument
194 switch (allowedReaders) { in getSubDirectory()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/downloader/
DDeltaFileDownloaderCallbackImpl.java63 private final AllowedReaders allowedReaders; field in DeltaFileDownloaderCallbackImpl
81 AllowedReaders allowedReaders, in DeltaFileDownloaderCallbackImpl() argument
97 this.allowedReaders = allowedReaders; in DeltaFileDownloaderCallbackImpl()
128 allowedReaders, in onDownloadComplete()
166 allowedReaders, in onDownloadComplete()
182 allowedReaders,
189 allowedReaders,
198 .setAllowedReaders(allowedReaders)
209 allowedReaders,
DDownloaderCallbackImpl.java67 private final AllowedReaders allowedReaders; field in DownloaderCallbackImpl
81 AllowedReaders allowedReaders, in DownloaderCallbackImpl() argument
92 this.allowedReaders = allowedReaders; in DownloaderCallbackImpl()
130 allowedReaders, in onDownloadComplete()
156 allowedReaders, in onDownloadComplete()
170 allowedReaders, in onDownloadFailed()
177 allowedReaders, in onDownloadFailed()
388 AllowedReaders allowedReaders,
395 NewFileKey newFileKey = SharedFilesMetadata.createKeyFromDataFile(dataFile, allowedReaders);
431 AllowedReaders allowedReaders,
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/
DSharedFileManager.java653 AllowedReaders allowedReaders, String downloadFileName, String checksum) {
657 allowedReaders,
708 DataFile dataFile, AllowedReaders allowedReaders) {
716 dataFile.getDeltaFileList(), /* index= */ 0, allowedReaders);
722 List<DeltaFile> deltaFiles, int index, AllowedReaders allowedReaders) {
728 return findFirstDeltaFileWithBaseFileDownloaded(deltaFiles, index + 1, allowedReaders);
733 .setAllowedReaders(allowedReaders)
753 return findFirstDeltaFileWithBaseFileDownloaded(deltaFiles, index + 1, allowedReaders);
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/
DSharedFileManagerTest.java700 private void markBaseFileDownloaded(String checksum, AllowedReaders allowedReaders) in markBaseFileDownloaded() argument
703 NewFileKey.newBuilder().setChecksum(checksum).setAllowedReaders(allowedReaders).build(); in markBaseFileDownloaded()
980 private File simulateDownload(DataFile dataFile, String fileName, AllowedReaders allowedReaders) in simulateDownload() argument
983 if (allowedReaders == AllowedReaders.ALL_GOOGLE_APPS) { in simulateDownload()