Home
last modified time | relevance | path

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

/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DParcelFileDescriptor_host.java23 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
76 if ((pfdMode & MODE_TRUNCATE) != 0) { in native_open$ravenwood()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java6 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
137 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
144 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in prepareBackupFiles()
DKeyValueAdbRestoreEngine.java6 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
90 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in invokeAgentForAdbRestore()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java140 ParcelFileDescriptor.MODE_TRUNCATE);
164 ParcelFileDescriptor.MODE_TRUNCATE);
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpProvider.java82 | ParcelFileDescriptor.MODE_TRUNCATE in openFile()
/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/
DAppFusePerfTest.java64 ParcelFileDescriptor.MODE_WRITE_ONLY | ParcelFileDescriptor.MODE_TRUNCATE, in testReadWriteFile()
/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.java119 ParcelFileDescriptor.MODE_TRUNCATE | in onOpenFile()
/frameworks/base/core/java/android/os/
DFileUtils.java23 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
1611 res |= MODE_TRUNCATE; in translateModePosixToPfd()
1635 if ((mode & MODE_TRUNCATE) == MODE_TRUNCATE) { in translateModePfdToPosix()
DParcelFileDescriptor.java176 public static final int MODE_TRUNCATE = 0x04000000; field in ParcelFileDescriptor
346 && (mode & MODE_TRUNCATE) == 0 && ((mode & MODE_READ_ONLY) == 0) in openInternal()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java30 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
687 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
694 MODE_WRITE_ONLY | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java23 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
921 mBackupDataFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
924 mNewStateFile, MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in extractAgentData()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java237 ParcelFileDescriptor.MODE_TRUNCATE); // Make an empty file if necessary in openForWriting()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java359 | ParcelFileDescriptor.MODE_TRUNCATE in openForWriting()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java878 | ParcelFileDescriptor.MODE_TRUNCATE); in initiateOneRestore()
916 | ParcelFileDescriptor.MODE_TRUNCATE); in initiateOneRestore()
936 | ParcelFileDescriptor.MODE_TRUNCATE); in initiateOneRestore()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1946 | ParcelFileDescriptor.MODE_TRUNCATE);
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java32 import static android.os.ParcelFileDescriptor.MODE_TRUNCATE;
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.txt22075 field public static final int MODE_TRUNCATE = 67108864; // 0x4000000
/frameworks/base/core/api/
Dcurrent.txt33530 field public static final int MODE_TRUNCATE = 67108864; // 0x4000000