/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchiveHandle.java | 86 private ArchiveHandle(@NonNull ParcelFileDescriptor parcelFileDescriptor, in ArchiveHandle() argument 89 mParcelFileDescriptor = parcelFileDescriptor; in ArchiveHandle() 186 SevenZFileHandle(ParcelFileDescriptor parcelFileDescriptor, String mimeType, in SevenZFileHandle() argument 188 super(parcelFileDescriptor, mimeType, commonArchive); in SevenZFileHandle() 215 ZipFileHandle(ParcelFileDescriptor parcelFileDescriptor, String mimeType, in ZipFileHandle() argument 217 super(parcelFileDescriptor, mimeType, commonArchive); in ZipFileHandle() 237 CommonArchiveInputHandle(ParcelFileDescriptor parcelFileDescriptor, in CommonArchiveInputHandle() argument 239 super(parcelFileDescriptor, mimeType, commonArchive); in CommonArchiveInputHandle() 294 public static ArchiveHandle create(@NonNull ParcelFileDescriptor parcelFileDescriptor, in create() argument 296 checkNotNull(parcelFileDescriptor); in create() [all …]
|
D | ReadableArchive.java | 75 @Nullable ParcelFileDescriptor parcelFileDescriptor, in ReadableArchive() argument 88 if (parcelFileDescriptor == null || parcelFileDescriptor.getFileDescriptor() == null) { in ReadableArchive() 91 mParcelFileDescriptor = parcelFileDescriptor; in ReadableArchive() 93 mArchiveHandle = ArchiveHandle.create(parcelFileDescriptor, archiveMimeType); in ReadableArchive()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 55 ParcelFileDescriptor parcelFileDescriptor = mArchiveFileTestRule in prepareArchiveHandle() local 58 return ArchiveHandle.create(parcelFileDescriptor, mimeType); in prepareArchiveHandle() 159 ParcelFileDescriptor parcelFileDescriptor = mArchiveFileTestRule in buildArchiveHandle_withWrongMimeType_shouldBeIllegal() local 163 ArchiveHandle.create(parcelFileDescriptor, null); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal() 349 ParcelFileDescriptor parcelFileDescriptor = mArchiveFileTestRule in close_zipFile_shouldNotOpen() local 352 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in close_zipFile_shouldNotOpen() 358 new FileInputStream(parcelFileDescriptor.getFileDescriptor()); in close_zipFile_shouldNotOpen() 364 ParcelFileDescriptor parcelFileDescriptor = mArchiveFileTestRule in getInputStream_zipFile_shouldHaveTheSameContent() local 370 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_zipFile_shouldHaveTheSameContent() 450 ParcelFileDescriptor parcelFileDescriptor = mArchiveFileTestRule in getInputStream_sevenZFile_shouldHaveTheSameContent() local [all …]
|
D | ArchiveFileTestRule.java | 90 for (ParcelFileDescriptor parcelFileDescriptor : mParcelFileDescriptors) { in finished() 91 IOUtils.closeQuietly(parcelFileDescriptor); in finished() 142 ParcelFileDescriptor parcelFileDescriptor = ParcelFileDescriptor in openAssetFile() local 145 mParcelFileDescriptors.add(parcelFileDescriptor); in openAssetFile() 146 return parcelFileDescriptor; in openAssetFile() 156 ParcelFileDescriptor parcelFileDescriptor = openAssetFile(assetPath, ".text"); in getAssetText() local 159 new FileInputStream(parcelFileDescriptor.getFileDescriptor())) { in getAssetText()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | ParcelableUtil.java | 64 ParcelFileDescriptor parcelFileDescriptor = writeDataToTempFileAndUnlinkFile(bytes); in writeToParcelForSAndBelow() local 65 parcel.writeFileDescriptor(parcelFileDescriptor.getFileDescriptor()); in writeToParcelForSAndBelow() 137 ParcelFileDescriptor parcelFileDescriptor = in writeDataToTempFileAndUnlinkFile() local 142 return parcelFileDescriptor; in writeDataToTempFileAndUnlinkFile()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | QosSocketFilter.java | 124 final ParcelFileDescriptor parcelFileDescriptor = mQosSocketInfo.getParcelFileDescriptor(); in getLocalAddressFromFileDescriptor() local 125 final FileDescriptor fd = parcelFileDescriptor.getFileDescriptor(); in getLocalAddressFromFileDescriptor() 149 final ParcelFileDescriptor parcelFileDescriptor = mQosSocketInfo.getParcelFileDescriptor(); in getRemoteAddressFromFileDescriptor() local 150 final FileDescriptor fd = parcelFileDescriptor.getFileDescriptor(); in getRemoteAddressFromFileDescriptor()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | PutDocumentsFromFileAidlRequest.java | 92 @Param(id = 3) @NonNull ParcelFileDescriptor parcelFileDescriptor, in PutDocumentsFromFileAidlRequest() 99 mParcelFileDescriptor = Objects.requireNonNull(parcelFileDescriptor); in PutDocumentsFromFileAidlRequest()
|
D | WriteSearchResultsToFileAidlRequest.java | 88 @Param(id = 3) @NonNull ParcelFileDescriptor parcelFileDescriptor, in WriteSearchResultsToFileAidlRequest() 95 mParcelFileDescriptor = Objects.requireNonNull(parcelFileDescriptor); in WriteSearchResultsToFileAidlRequest()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/ |
D | IsolatedTrainingServiceImpl.java | 242 private String getFileDescriptorForTensorflow(ParcelFileDescriptor parcelFileDescriptor) { in getFileDescriptorForTensorflow() argument 243 return "fd:///" + parcelFileDescriptor.getFd(); in getFileDescriptorForTensorflow()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapperTest.java | 297 private String getFileDescriptorForTensorflow(ParcelFileDescriptor parcelFileDescriptor) { in getFileDescriptorForTensorflow() argument 298 return "fd:///" + parcelFileDescriptor.getFd(); in getFileDescriptorForTensorflow()
|