Home
last modified time | relevance | path

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

/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DParcelFileDescriptor_host.java20 import static android.os.ParcelFileDescriptor.MODE_CREATE;
58 if ((pfdMode & MODE_CREATE) != 0 && !file.exists()) { in native_open$ravenwood()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java3 import static android.os.ParcelFileDescriptor.MODE_CREATE;
134 MODE_READ_ONLY | MODE_CREATE); // Make an empty file if necessary in prepareBackupFiles()
137 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
144 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.java27 import static android.os.ParcelFileDescriptor.MODE_CREATE;
685 MODE_READ_WRITE | MODE_CREATE); in testTranslateMode()
687 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
689 MODE_READ_WRITE | MODE_CREATE | MODE_APPEND); in testTranslateMode()
692 MODE_WRITE_ONLY | MODE_CREATE | MODE_CREATE); in testTranslateMode()
694 MODE_WRITE_ONLY | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
696 MODE_WRITE_ONLY | MODE_CREATE | MODE_APPEND); in testTranslateMode()
767 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
770 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
774 MODE_CREATE | MODE_READ_WRITE).getFileDescriptor(); in testConvertToModernFd()
[all …]
DFileBridgeTest.java19 import static android.os.ParcelFileDescriptor.MODE_CREATE;
64 outputFile = ParcelFileDescriptor.open(file, MODE_CREATE | MODE_READ_WRITE); in setUp()
/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;
480 pfd = ParcelFileDescriptor.open(mBlankStateFile, MODE_READ_ONLY | MODE_CREATE); in sendNoDataChangedTo()
918 ParcelFileDescriptor.open(savedStateFileForAgent, MODE_READ_ONLY | MODE_CREATE); in extractAgentData()
921 mBackupDataFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
924 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.java118 ParcelFileDescriptor.MODE_CREATE | in onOpenFile()
/frameworks/base/core/java/android/os/
DFileUtils.java20 import static android.os.ParcelFileDescriptor.MODE_CREATE;
1608 res |= MODE_CREATE; in translateModePosixToPfd()
1632 if ((mode & MODE_CREATE) == MODE_CREATE) { in translateModePfdToPosix()
DParcelFileDescriptor.java171 public static final int MODE_CREATE = 0x08000000; field in ParcelFileDescriptor
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java358 ParcelFileDescriptor.MODE_CREATE in openForWriting()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java877 | ParcelFileDescriptor.MODE_CREATE in initiateOneRestore()
915 | ParcelFileDescriptor.MODE_CREATE in initiateOneRestore()
935 | ParcelFileDescriptor.MODE_CREATE in initiateOneRestore()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1945 | ParcelFileDescriptor.MODE_CREATE
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java29 import static android.os.ParcelFileDescriptor.MODE_CREATE;
3065 MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE); in updateWallpaperBitmapLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22072 field public static final int MODE_CREATE = 134217728; // 0x8000000
/frameworks/base/core/api/
Dcurrent.txt33527 field public static final int MODE_CREATE = 134217728; // 0x8000000