Home
last modified time | relevance | path

Searched refs:MODE_CREATE (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java3 import static android.os.ParcelFileDescriptor.MODE_CREATE;
133 MODE_READ_ONLY | MODE_CREATE); // Make an empty file if necessary in prepareBackupFiles()
136 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
143 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
DKeyValueAdbRestoreEngine.java3 import static android.os.ParcelFileDescriptor.MODE_CREATE;
90 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in invokeAgentForAdbRestore()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java26 import static android.os.ParcelFileDescriptor.MODE_CREATE;
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()
513 MODE_WRITE_ONLY | MODE_CREATE | MODE_CREATE); in testTranslateMode()
515 MODE_WRITE_ONLY | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
517 MODE_WRITE_ONLY | MODE_CREATE | MODE_APPEND); in testTranslateMode()
/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/Shell/src/com/android/shell/
DHeapDumpProvider.java81 pMode = ParcelFileDescriptor.MODE_CREATE in openFile()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java236 ParcelFileDescriptor.MODE_CREATE | in openForWriting()
243 ParcelFileDescriptor.MODE_CREATE); // Make an empty file if necessary in openForReading()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java20 import static android.os.ParcelFileDescriptor.MODE_CREATE;
469 pfd = ParcelFileDescriptor.open(mBlankStateFile, MODE_READ_ONLY | MODE_CREATE); in sendNoDataChangedTo()
882 ParcelFileDescriptor.open(savedStateFileForAgent, MODE_READ_ONLY | MODE_CREATE); in extractAgentData()
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/core/java/com/android/server/power/
DPreRebootLogger.java152 ParcelFileDescriptor.MODE_CREATE | ParcelFileDescriptor.MODE_TRUNCATE in dumpServiceLocked()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java113 ParcelFileDescriptor.MODE_CREATE | in onOpenFile()
/frameworks/base/core/java/android/os/
DFileUtils.java20 import static android.os.ParcelFileDescriptor.MODE_CREATE;
1375 res |= MODE_CREATE; in translateModePosixToPfd()
1398 if ((mode & MODE_CREATE) == MODE_CREATE) { in translateModePfdToPosix()
DParcelFileDescriptor.java163 public static final int MODE_CREATE = 0x08000000; field in ParcelFileDescriptor
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java709 ParcelFileDescriptor.MODE_CREATE | in initiateOneRestore()
733 ParcelFileDescriptor.MODE_CREATE | in initiateOneRestore()
751 ParcelFileDescriptor.MODE_CREATE | in initiateOneRestore()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1846 | ParcelFileDescriptor.MODE_CREATE
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java23 import static android.os.ParcelFileDescriptor.MODE_CREATE;
2511 MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE); in updateWallpaperBitmapLocked()
/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.txt22072 field public static final int MODE_CREATE = 134217728; // 0x8000000
/frameworks/base/api/
Dcurrent.txt36592 field public static final int MODE_CREATE = 134217728; // 0x8000000