Home
last modified time | relevance | path

Searched refs:MODE_READ_WRITE (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DRedactingFileDescriptorTest.java20 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite()
174 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart()
186 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset()
198 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart()
210 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd()
222 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction()
234 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeMultipleRedactions()
DFileUtilsTest.java28 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
506 MODE_READ_WRITE | MODE_CREATE); in testTranslateMode()
508 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
510 MODE_READ_WRITE | MODE_CREATE | MODE_APPEND); in testTranslateMode()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java5 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
136 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
143 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
DKeyValueAdbRestoreEngine.java5 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
90 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in invokeAgentForAdbRestore()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java139 ParcelFileDescriptor.MODE_READ_WRITE|ParcelFileDescriptor.MODE_CREATE|
163 ParcelFileDescriptor.MODE_READ_WRITE|ParcelFileDescriptor.MODE_CREATE|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java42 ParcelFileDescriptor.MODE_READ_WRITE | in MtpFileWriter()
/frameworks/base/core/java/android/os/
DRevocableFileDescriptor.java78 .openProxyFileDescriptor(ParcelFileDescriptor.MODE_READ_WRITE, mCallback); in init()
DFileUtils.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
1350 res = MODE_READ_WRITE; in translateModePosixToPfd()
1373 if ((mode & MODE_READ_WRITE) == MODE_READ_WRITE) { in translateModePfdToPosix()
DParcelFileDescriptor.java151 public static final int MODE_READ_WRITE = 0x30000000; field in ParcelFileDescriptor
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
685 mBackupDataFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
688 mNewStateFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java698 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
722 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
760 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java67 ParcelFileDescriptor.MODE_READ_WRITE)) { in callShellCommand() argument
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java86 mBackupDataOutputFile, ParcelFileDescriptor.MODE_READ_WRITE); in setUp()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java1613 return ParcelFileDescriptor.open(testFile, ParcelFileDescriptor.MODE_READ_WRITE); in getFileDescriptorForAdbTest()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java3198 src = ParcelFileDescriptor.open(jobFile, ParcelFileDescriptor.MODE_READ_WRITE); in doTransform()
3217 dst = ParcelFileDescriptor.open(tempFile, ParcelFileDescriptor.MODE_READ_WRITE); in doTransform()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java24 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
2471 MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE); in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java29 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
2945 mode &= MODE_READ_WRITE; in openProxyFileDescriptor()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1882 ? ParcelFileDescriptor.MODE_READ_WRITE in openDvbDevice()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22074 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000
/frameworks/base/api/
Dcurrent.txt34872 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000