/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()
|
D | HeapDumpProvider.java | 85 pMode = ParcelFileDescriptor.MODE_READ_ONLY; in openFile()
|
/frameworks/base/tests/AppResourcesLoaders/src/com/android/example/loaders/ |
D | LoadersApplication.java | 56 return ParcelFileDescriptor.open(apkFile, ParcelFileDescriptor.MODE_READ_ONLY); in copyResource()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 469 pfd = ParcelFileDescriptor.open(mBlankStateFile, MODE_READ_ONLY | MODE_CREATE); in sendNoDataChangedTo() 882 ParcelFileDescriptor.open(savedStateFileForAgent, MODE_READ_ONLY | MODE_CREATE); in extractAgentData() 1055 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in transportPerformBackup() argument 1133 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in checkBackupData() argument
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 146 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
|
/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/java/android/os/ |
D | BugreportManager.java | 167 ParcelFileDescriptor.MODE_READ_ONLY); in startBugreport()
|
D | FileUtils.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 1370 res = MODE_READ_ONLY; in translateModePosixToPfd() 1393 } 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/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 192 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor()
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | DummyBlobData.java | 177 return ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_ONLY); in openForRead()
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 189 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 | 729 ParcelFileDescriptor.MODE_READ_ONLY); in initiateOneRestore() 747 ParcelFileDescriptor.MODE_READ_ONLY); in initiateOneRestore()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 553 ParcelFileDescriptor.MODE_READ_ONLY)) { in commit() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 523 new File(files.get(i)), ParcelFileDescriptor.MODE_READ_ONLY); 583 ParcelFileDescriptor.MODE_READ_ONLY);
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 284 fd = ParcelFileDescriptor.open(snapshotProfile, ParcelFileDescriptor.MODE_READ_ONLY); in createProfileSnapshot()
|