Home
last modified time | relevance | path

Searched refs:MODE_READ_WRITE (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandProvider.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
129 return ParcelFileDescriptor.open(file, MODE_READ_WRITE); in openFile()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java186 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in setFlags()
209 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in fetchAllVoicemails()
315 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in fetchVoicemailPayload()
353 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in fetchTranscription()
459 folder = openImapFolder(ImapFolder.MODE_READ_WRITE); in updateQuota()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
560 ParcelFileDescriptor.open(vm.mInstanceFilePath, MODE_READ_WRITE), in create()
574 ParcelFileDescriptor.open(vm.mEncryptedStoreFilePath, MODE_READ_WRITE), in create()
1092 appConfig.instanceImage = ParcelFileDescriptor.open(mInstanceFilePath, MODE_READ_WRITE); in createVirtualMachineConfigForAppFrom()
1102 ParcelFileDescriptor.open(mEncryptedStoreFilePath, MODE_READ_WRITE); in createVirtualMachineConfigForAppFrom()
1233 appConfig.apk, ParcelFileDescriptor.open(mIdsigFilePath, MODE_READ_WRITE)); in createIdSigsAndUpdateConfig()
1238 ParcelFileDescriptor.open(extraApk.idsig, MODE_READ_WRITE)); in createIdSigsAndUpdateConfig()
DVirtualMachineConfig.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
706 config.disks[i].writable ? MODE_READ_WRITE : MODE_READ_ONLY); in toVsRawConfig()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DParcelableUtil.java140 ParcelFileDescriptor.MODE_CREATE | ParcelFileDescriptor.MODE_READ_WRITE); in writeDataToTempFileAndUnlinkFile()
/packages/services/Mtp/src/com/android/mtp/
DMtpFileWriter.java42 ParcelFileDescriptor.MODE_READ_WRITE | in MtpFileWriter()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java72 public static final String MODE_READ_WRITE = "mode_read_write"; field in ImapFolder
722 mode = MODE_READ_WRITE; in doSelect()
732 mode = MODE_READ_WRITE; in doSelect()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputUtils.java82 ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE)); in readFilePlaybackInput()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportService.java421 ParcelFileDescriptor.MODE_CREATE | ParcelFileDescriptor.MODE_READ_WRITE); in saveBugReport() argument
423 ParcelFileDescriptor.MODE_CREATE | ParcelFileDescriptor.MODE_READ_WRITE)) { in saveBugReport()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
241 MODE_READ_WRITE | MODE_CREATE); in testTranslateMode()
243 MODE_READ_WRITE | MODE_CREATE | MODE_TRUNCATE); in testTranslateMode()
245 MODE_READ_WRITE | MODE_CREATE | MODE_APPEND); in testTranslateMode()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java22 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
261 res = MODE_READ_WRITE; in translateModePosixToPfd()
286 if ((mode & MODE_READ_WRITE) == MODE_READ_WRITE) { in translateModePfdToPosix()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSdkApi.java82 ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in getFileDescriptor()
/packages/modules/Profiling/framework/java/android/os/
DProfilingManager.java480 ParcelFileDescriptor.MODE_READ_WRITE); in getOrCreateIProfilingServiceLocked()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java207 ParcelFileDescriptor.open(dbFileBacked, ParcelFileDescriptor.MODE_READ_WRITE)); in testGetAllBackupData_forDeviceToDevice_copiesAllData()
211 grantTimeFileBacked, ParcelFileDescriptor.MODE_READ_WRITE)); in testGetAllBackupData_forDeviceToDevice_copiesAllData()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java328 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in createFileDescriptor()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DFederatedComputeWorker.java825 outputCheckpointFile, ParcelFileDescriptor.MODE_READ_WRITE);
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1195 ParcelFileDescriptor.MODE_READ_WRITE); in enqueueTranscodingSession()
DMediaProvider.java9409 modeBits |= ParcelFileDescriptor.MODE_READ_WRITE;