Home
last modified time | relevance | path

Searched refs:openFileOutput (Results 1 – 19 of 19) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRenamingDelegatingContext.java205 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() method in RenamingDelegatingContext
208 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFileMover.java34 FileOutputStream output = dstContext.openFileOutput( in moveFileBetweenContexts()
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxConfigurationTest.java154 new OutputStreamWriter(mContext.openFileOutput("random_ce_file", MODE_PRIVATE))) { in testCanWriteToDataDir_CE()
170 ctx.openFileOutput("random_de_file", MODE_PRIVATE))) { in testCanWriteToDataDir_DE()
/packages/modules/Telephony/libs/TelephonyStatsLib/src/com/android/telephony/statslib/
DStatsLibStorage.java168 fileOutputStream = mContext.openFileOutput(filename, Context.MODE_PRIVATE); in saveToFileImmediately()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSdkApi.java76 FileOutputStream fout = mContext.openFileOutput(fileName, Context.MODE_PRIVATE); in getFileDescriptor()
/packages/services/Mms/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorage.java273 try (FileOutputStream stream = mContext.openFileOutput(FILENAME, Context.MODE_PRIVATE)) { in saveAtomsToFileNow()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java382 outputStream = getContext().openFileOutput(TEST_FILE_NAME, Context.MODE_PRIVATE); in testComputeHashOfFile()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java402 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); in createFileForSharedContent()
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java301 getApplicationContext().openFileOutput("console.log", 0)); in onCreate()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java324 FileOutputStream fout = mContext.openFileOutput(fileName, Context.MODE_PRIVATE); in createFileDescriptor()
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java113 doReturn(mTestFileOutputStream).when(mContext).openFileOutput(anyString(), anyInt()); in setUp()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportVCardActivity.java464 outputChannel = context.openFileOutput(filename, Context.MODE_PRIVATE).getChannel(); in copyTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java633 outputStream = context.openFileOutput(destinationFile, Context.MODE_PRIVATE); in handleWordList()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBackupHelper.java359 try (OutputStream delayedRestoreData = mContext.openFileOutput( in writeDelayedStorePkgsLocked()
DLocationAccessCheck.java322 mContext.openFileOutput(LOCATION_ACCESS_CHECK_ALREADY_NOTIFIED_FILE, in persistAlreadyNotifiedPackagesLocked()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java645 getApplicationContext().openFileOutput(fileName, Context.MODE_PRIVATE); in onSendFileDescriptorPressed()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1535 openFileOutput(fileName, MODE_PRIVATE)), CHARSET_UTF8), WRITER_BUFFER_SIZE));
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java1310 tempStream = mActivity.openFileOutput(sTempCropFilename, 0); in onCaptureDone()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java1424 tempStream = openFileOutput(sTempCropFilename, 0); in doAttach()