/frameworks/base/services/tests/mockingservicestests/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/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | BackupRestoreStorageTest.kt | 25 import android.os.ParcelFileDescriptor.MODE_READ_ONLY in <lambda>() 139 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 149 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 160 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 170 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 206 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 217 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).apply { in <lambda>() 234 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 244 temporaryFolder.newFile().toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() 275 stateFile.toParcelFileDescriptor(MODE_READ_ONLY).use { in <lambda>() [all …]
|
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | ParcelFileDescriptor_host.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 67 } else if ((pfdMode & MODE_READ_ONLY) == MODE_READ_ONLY) { in native_open$ravenwood()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | FileIntegrity.java | 19 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 49 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, MODE_READ_ONLY)) { in setUpFsVerity() argument
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | RedactingFileDescriptorTest.java | 19 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 73 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() 89 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() 111 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile()
|
/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; 134 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/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/ |
D | UpdatableSystemFontTest.java | 22 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 347 new File(TEST_NOTO_COLOR_EMOJI_VPLUS1_TTF), MODE_READ_ONLY)) { in fdLeakTest_withoutPermission() argument 378 ParcelFileDescriptor.open(new File(fontPath), MODE_READ_ONLY)) { in updateFontFile() argument 406 new File(NOTO_SERIF_REGULAR_TTF), MODE_READ_ONLY); in updateNotoSerifAs() argument 408 new File(NOTO_SERIF_BOLD_TTF), MODE_READ_ONLY)) { in updateNotoSerifAs()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 201 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY); in Entry() 360 ParcelFileDescriptor.MODE_READ_ONLY)) { in addFile() argument
|
D | BugreportManager.java | 242 new File("/dev/null"), ParcelFileDescriptor.MODE_READ_ONLY); in startBugreport()
|
/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/ |
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; 480 pfd = ParcelFileDescriptor.open(mBlankStateFile, MODE_READ_ONLY | MODE_CREATE); in sendNoDataChangedTo() 918 ParcelFileDescriptor.open(savedStateFileForAgent, MODE_READ_ONLY | MODE_CREATE); in extractAgentData() 1092 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in transportPerformBackup() argument 1170 ParcelFileDescriptor.open(backupDataFile, MODE_READ_ONLY)) { in checkBackupData() argument
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 139 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { in testOpenProxyFileDescriptor()
|
/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/com/android/internal/content/ |
D | FileSystemProvider.java | 514 } else if (pfdMode == ParcelFileDescriptor.MODE_READ_ONLY) { in openDocument() 534 return ParcelFileDescriptor.open(target, ParcelFileDescriptor.MODE_READ_ONLY); in openFileForRead() 547 return ParcelFileDescriptor.open(target, ParcelFileDescriptor.MODE_READ_ONLY); in openFileForRead()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | NativeTombstoneManager.java | 20 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 572 MODE_READ_ONLY); in getPfd()
|
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgentTest.java | 21 import static android.os.ParcelFileDescriptor.MODE_READ_ONLY; 892 ParcelFileDescriptor.open(fakeInfoFile, MODE_READ_ONLY)); in mockWallpaperInfoFileWithContents() 899 ParcelFileDescriptor.open(fakeSystemWallpaperFile, MODE_READ_ONLY)); in mockSystemWallpaperFileWithContents() 906 ParcelFileDescriptor.open(fakeLockWallpaperFile, MODE_READ_ONLY)); in mockLockWallpaperFileWithContents()
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | FakeBlobData.java | 178 return ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_ONLY); in openForRead()
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 200 ParcelFileDescriptor.MODE_READ_ONLY); in load()
|