Home
last modified time | relevance | path

Searched refs:MODE_READ_WRITE (Results 1 – 21 of 21) 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.java29 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
531 MODE_READ_WRITE | MODE_CREATE); in testTranslateMode()
533 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
535 MODE_READ_WRITE | MODE_CREATE | MODE_APPEND); in testTranslateMode()
608 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
611 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
615 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
618 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
DFileBridgeTest.java20 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
49 outputFile = ParcelFileDescriptor.open(file, MODE_CREATE | MODE_READ_WRITE); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java5 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
137 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
144 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;
1399 res = MODE_READ_WRITE; in translateModePosixToPfd()
1422 if ((mode & MODE_READ_WRITE) == MODE_READ_WRITE) { in translateModePfdToPosix()
DParcelFileDescriptor.java156 public static final int MODE_READ_WRITE = 0x30000000; field in ParcelFileDescriptor
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
148 pfd = ParcelFileDescriptor.open(path, MODE_READ_WRITE); in handleProtoTombstone()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
909 mBackupDataFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
912 mNewStateFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java717 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
741 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
759 ParcelFileDescriptor.MODE_READ_WRITE | in initiateOneRestore()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java73 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/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java3197 src = ParcelFileDescriptor.open(jobFile, ParcelFileDescriptor.MODE_READ_WRITE); in doTransform()
3216 dst = ParcelFileDescriptor.open(tempFile, ParcelFileDescriptor.MODE_READ_WRITE); in doTransform()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java1376 return ParcelFileDescriptor.open(testFile, ParcelFileDescriptor.MODE_READ_WRITE); in getFileDescriptorForAdbTest()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java26 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
2704 MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE); in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java37 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
3633 mode &= MODE_READ_WRITE; in openProxyFileDescriptor()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2207 ? ParcelFileDescriptor.MODE_READ_WRITE in openDvbDevice()
/frameworks/base/core/api/
Dcurrent.txt31537 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22074 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000