/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 99 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_emptyInput_throwsEOFException() 120 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException() 140 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything() 157 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_notEnoughData_throwsEOFException() 180 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly() 200 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly() 225 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly() 250 ParcelFileDescriptor.MODE_READ_ONLY); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | RedactingFileDescriptorTest.java | 19 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 66 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() 82 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() 104 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile()
|
D | FileUtilsTest.java | 27 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 503 assertTranslate("r", O_RDONLY, MODE_READ_ONLY); in testTranslateMode()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestFontsProvider.java | 19 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 132 return ParcelFileDescriptor.open(file, MODE_READ_ONLY); in createFontFile()
|
D | MockFontProvider.java | 222 return ParcelFileDescriptor.open(targetFile, ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 4 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 88 ParcelFileDescriptor.open(restoreData, MODE_READ_ONLY); in invokeAgentForAdbRestore()
|
D | KeyValueAdbBackupEngine.java | 4 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 133 MODE_READ_ONLY | MODE_CREATE); // Make an empty file if necessary in prepareBackupFiles()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportStorageProvider.java | 99 if (ParcelFileDescriptor.parseMode(mode) != ParcelFileDescriptor.MODE_READ_ONLY) { in openDocument() 103 ParcelFileDescriptor.MODE_READ_ONLY); in openDocument()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DumpHeapProvider.java | 83 ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
|
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/ |
D | AppFusePerfTest.java | 53 ParcelFileDescriptor.MODE_READ_ONLY, new TestCallback()); in testReadWriteFile()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 146 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 682 ParcelFileDescriptor.open(savedStateFileForAgent, MODE_READ_ONLY | MODE_CREATE); in extractAgentData() 855 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in transportPerformBackup() argument 931 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in checkBackupData() argument
|
/frameworks/base/core/java/android/os/ |
D | BugreportManager.java | 160 ParcelFileDescriptor.MODE_READ_ONLY); in startBugreport()
|
D | FileUtils.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 1354 res = MODE_READ_ONLY; in translateModePosixToPfd() 1377 } else if ((mode & MODE_READ_ONLY) == MODE_READ_ONLY) { in translateModePfdToPosix()
|
D | DropBoxManager.java | 183 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY); in Entry()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 116 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 192 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 557 new File(bestModel.getPath()), ParcelFileDescriptor.MODE_READ_ONLY); in getAnnotatorImpl() 584 new File(bestModel.getPath()), ParcelFileDescriptor.MODE_READ_ONLY); in getLangIdImpl() 610 new File(bestModel.getPath()), ParcelFileDescriptor.MODE_READ_ONLY); in getActionsImpl()
|
D | ModelFileManager.java | 151 modelFd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in createModelFile()
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 197 ParcelFileDescriptor.MODE_READ_ONLY); in load()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintPreviewController.java | 266 ParcelFileDescriptor.MODE_READ_ONLY); in handleMessage()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 242 ParcelFileDescriptor.MODE_READ_ONLY | in openForReading()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 719 ParcelFileDescriptor.MODE_READ_ONLY); in initiateOneRestore() 757 ParcelFileDescriptor.MODE_READ_ONLY); in initiateOneRestore()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 278 fd = ParcelFileDescriptor.open(snapshotProfile, ParcelFileDescriptor.MODE_READ_ONLY); in createProfileSnapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 417 ParcelFileDescriptor.MODE_READ_ONLY); in createAndWriteApkSession()
|