/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/ |
D | UnifiedContentPreviewUiTest.kt | 112 FileInfo.Builder(uri).withMimeType("image/png").build(), in <lambda>() 113 FileInfo.Builder(uri).withMimeType("image/jpeg").build(), in <lambda>() 126 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>() 127 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>() 140 FileInfo.Builder(uri).withMimeType("image/png").build(), in <lambda>() 141 FileInfo.Builder(uri).withMimeType("video/mp4").build(), in <lambda>() 154 FileInfo.Builder(uri).withMimeType("application/pdf").build(), in <lambda>() 155 FileInfo.Builder(uri).withMimeType("application/pdf").build(), in <lambda>() 165 files: List<FileInfo>?, in <lambda>() 169 val endMarker = FileInfo.Builder(Uri.EMPTY).build() in <lambda>() [all …]
|
D | ChooserContentPreviewUiTest.kt | 108 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePreviewTypeWithText_useFilePlusTextPreviewUi() 127 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePreviewTypeWithoutText_useImagePreviewUi() 145 .thenReturn(FileInfo.Builder(uri).withPreviewUri(uri).withMimeType("image/png").build()) in test_imagePayloadSelectionTypeWithEnabledFlag_usePayloadSelectionPreviewUi()
|
D | FilesPlusTextContentPreviewUiTest.kt | 276 loadedFileMetadata: List<FileInfo>? = null, in <lambda>() 314 private fun createFileInfosWithMimeTypes(vararg mimeTypes: String): List<FileInfo> { in <lambda>() 316 return mimeTypes.map { mimeType -> FileInfo.Builder(uri).withMimeType(mimeType).build() } in <lambda>()
|
/packages/modules/Virtualization/authfs/src/fusefs/ |
D | file.rs | 29 enum FileInfo { enum 43 file_info: FileInfo, 59 file_info: FileInfo::ByPathUnderDirFd(remote_dir_fd, remote_path), in prepare_by_path() 69 file_info: FileInfo::ByFd(remote_fd), in prepare_by_fd() 82 FileInfo::ByPathUnderDirFd(dir_fd, related_path) => { in ensure_init_then() 85 FileInfo::ByFd(file_fd) => RemoteFileReader::new(self.service.clone(), *file_fd), in ensure_init_then()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/ |
D | UnifiedContentPreviewUi.java | 51 private final Flow<FileInfo> mFileInfoFlow; 54 private List<FileInfo> mFiles; 67 Flow<FileInfo> fileInfoFlow, in UnifiedContentPreviewUi() 99 private void setFiles(List<FileInfo> files) { in setFiles() 101 .map(FileInfo::getPreviewUri) in setFiles() 149 ViewGroup contentPreviewView, View headlineView, List<FileInfo> files) { in updatePreviewWithFiles() 165 for (FileInfo fileInfo : files) { in updatePreviewWithFiles()
|
D | PreviewDataProvider.kt | 87 private val fileInfoSharedFlow: SharedFlow<FileInfo> by lazy { in <lambda>() 91 MutableSharedFlow<FileInfo>(replay = records.size).apply { in <lambda>() 95 tryEmit(FileInfo.Builder(record.uri).readFromRecord(record).build()) in <lambda>() 115 open val imagePreviewFileInfoFlow: Flow<FileInfo> in <lambda>() 173 open val firstFileInfo: FileInfo? by lazy { in <lambda>() 176 val builder = FileInfo.Builder(record.uri) in <lambda>() 195 private fun FileInfo.Builder.readFromRecord(record: UriRecord): FileInfo.Builder { in <lambda>() method
|
D | FileInfo.kt | 21 class FileInfo private constructor(val uri: Uri, val previewUri: Uri?, val mimeType: String?) { class 37 @Synchronized fun build(): FileInfo = FileInfo(uri, previewUri, mimeType)
|
D | UriMetadataReader.kt | 33 fun getMetadata(uri: Uri): FileInfo in <lambda>() 43 override fun getMetadata(uri: Uri): FileInfo { in getMetadata() 44 val builder = FileInfo.Builder(uri) in getMetadata()
|
D | FilesPlusTextContentPreviewUi.java | 115 public void updatePreviewMetadata(List<FileInfo> files) { in updatePreviewMetadata() 118 for (FileInfo fileInfo : files) { in updatePreviewMetadata()
|
D | JavaFlowHelper.kt | 31 flow: Flow<FileInfo>, in <lambda>()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | FileServiceRepository.java | 21 import android.telephony.mbms.FileInfo; 88 List<FileInfo> fileInfos = Arrays.stream(filesIncluded) in createFileService() 108 private FileInfo getFileInfoForUri(Uri uri) { in getFileInfoForUri() 113 return new FileInfo(uri, "application/octet-stream"); in getFileInfoForUri()
|
D | EmbmsSampleDownloadService.java | 37 import android.telephony.mbms.FileInfo; 308 List<FileInfo> filesToDownload = FileServiceRepository.getInstance(this) in performDownload() 331 FileInfo fileToDownload = filesToDownload.get(i / 2); in performDownload() 345 UriPathPair tempFile, UriPathPair extraTempFile, FileInfo fileToDownload) { in downloadSingleFile()
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.h | 44 struct FileInfo { struct 45 FileInfo(const std::string& name, bool isHistory, int fileSize, long fileAge) in FileInfo() function 166 static void sortFiles(vector<FileInfo>* fileNames);
|
D | StorageManager.cpp | 699 void StorageManager::sortFiles(vector<FileInfo>* fileNames) { in sortFiles() 703 sort(fileNames->begin(), fileNames->end(), [](FileInfo& lhs, FileInfo& rhs) { in sortFiles() 731 vector<FileInfo> fileNames; in trimToFit()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 24 import android.telephony.mbms.FileInfo; 47 private Path getDestinationFile(Context context, String serviceId, FileInfo info) { in getDestinationFile()
|
D | EmbmsTestDownloadApp.java | 31 import android.telephony.mbms.FileInfo; 314 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate() 342 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate() 369 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate() 380 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | CursorPreviewsInteractorTest.kt | 27 import com.android.intentresolver.contentpreview.FileInfo in <lambda>() 68 override fun getMetadata(uri: Uri): FileInfo = in <lambda>() 69 FileInfo.Builder(uri) in <lambda>()
|
D | FetchPreviewsInteractorTest.kt | 25 import com.android.intentresolver.contentpreview.FileInfo 71 override fun getMetadata(uri: Uri): FileInfo = in runTest() 72 FileInfo.Builder(uri) in runTest()
|
/packages/modules/StatsD/statsd/tests/storage/ |
D | StorageManager_test.cpp | 93 vector<StorageManager::FileInfo> list; in TEST()
|