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/core/java/android/os/
DRevocableFileDescriptor.java80 .openProxyFileDescriptor(ParcelFileDescriptor.MODE_READ_WRITE, mCallback); in init()
DFileUtils.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
1366 res = MODE_READ_WRITE; in translateModePosixToPfd()
1389 if ((mode & MODE_READ_WRITE) == MODE_READ_WRITE) { in translateModePfdToPosix()
DParcelFileDescriptor.java158 public static final int MODE_READ_WRITE = 0x30000000; field in ParcelFileDescriptor
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java708 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
732 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
750 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
885 mBackupDataFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
888 mNewStateFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
/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/
DBackupManagerServiceRoboTest.java1374 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.java25 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
2511 MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE); in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java36 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
3505 mode &= MODE_READ_WRITE; in openProxyFileDescriptor()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1906 ? ParcelFileDescriptor.MODE_READ_WRITE in openDvbDevice()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22074 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000
/frameworks/base/api/
Dcurrent.txt36594 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000