Home
last modified time | relevance | path

Searched refs:writeFile (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java137 writeFile(ceFile, "-----" ); in testDestroyUserData()
154 writeFile(new File(systemDir, "file"), "-----" ); in testDestroyUserData_De()
157 writeFile(new File(systemDeDir, "file"), "-----" ); in testDestroyUserData_De()
175 writeFile(new File(systemCeDir, "file"), "-----" ); in testDestroyUserData_Ce()
208 private static void writeFile(File file, String content) throws IOException { in writeFile() method in UserDataPreparerTest
DPackageManagerSettingsTests.java867 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests
880writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml()
950 writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/users/" in writePackageRestrictions_oldSuspendInfoXml()
965writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages-stopped.xm… in writeStoppedPackagesXml()
975writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.list"), in writePackagesList()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java112 writeFile(mTestFile, TEST_DATA); in testCopyFile()
137 writeFile(src, expected); in testCopy_FileToFile()
157 writeFile(src, expected); in testCopy_FileToPipe()
236 writeFile(mTestFile, TEST_DATA); in testReadTextFile()
257 writeFile(mTestFile, TEST_DATA); in testReadTextFileWithZeroLengthFile()
582 private void writeFile(File file, String data) throws Exception { in writeFile() method in FileUtilsTest
583 writeFile(file, data.getBytes()); in writeFile()
586 private void writeFile(File file, byte[] data) throws Exception { in writeFile() method in FileUtilsTest
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java134 writeFile("a", "a\naa", MODE_PRIVATE);
135 writeFile("empty", "", MODE_PRIVATE);
204 void writeFile(String name, String contents, int mode) { in writeFile() method in BackupTestActivity
/frameworks/base/core/java/android/app/backup/
DAbsoluteFileBackupHelper.java71 writeFile(f, data); in restoreEntity()
DFileBackupHelper.java99 writeFile(f, data); in restoreEntity()
DSharedPreferencesBackupHelper.java126 writeFile(f, data); in restoreEntity()
DWallpaperBackupHelper.java94 if (writeFile(stage, data)) { in restoreEntity()
DFileBackupHelperBase.java85 boolean writeFile(File f, BackupDataInputStream in) { in writeFile() method in FileBackupHelperBase
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java252 writeFile(file, rewriter); in rewriteSingle()
269 writeFile(file, rewriter); in rewriteSingle()
378 private static void writeFile(File file, Writer writer) throws IOException { in writeFile() method in FileRotator
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp54 static int writeFile(const char *filename, const void *buffer, in writeFile() function
312 writeFile(outputFilename, outputAddr, in main()
319 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
/frameworks/rs/rsov/compiler/spirit/
Dfile_utils.h56 void writeFile(const char *filename, const std::vector<T> &data) { in writeFile() function
/frameworks/rs/
DrsFileA3D.h72 bool writeFile(const char *filename);
DrsFileA3D.cpp296 bool FileA3D::writeFile(const char *filename) { in writeFile() function in android::renderscript::FileA3D
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.h50 static void writeFile(const char* file, const void* buffer, int numBytes);
DStorageManager.cpp105 void StorageManager::writeFile(const char* file, const void* buffer, int numBytes) { in writeFile() function in android::os::statsd::StorageManager
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java331 writeFile(getChildProfileLockFile(userId), lock); in writeChildProfileLock()
393 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsStorage
444 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash()
445 writeFile(getLockPatternFilename(userId), patternHash); in writeCredentialHash()
490 writeFile(getSynthenticPasswordStateFilePathForUser(userId, handle, name), data); in writeSyntheticPasswordState()
/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java359 mWriteHandler.sendMessageDelayed(PooledLambda.obtainMessage(RoleUserState::writeFile, in scheduleWriteFileLocked()
366 private void writeFile() { in writeFile() method in RoleUserState
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp317 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes); in update_saved_configs_locked()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp485 StorageManager::writeFile(file_name.c_str(), buffer->data(), buffer->size()); in onConfigMetricsReportLocked()
607 StorageManager::writeFile(file_name.c_str(), buffer.data(), buffer.size()); in WriteDataToDiskLocked()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1867 writeFile(dest, bugreportFile); in writeToParcel()
1871 writeFile(dest, screenshotFile); in writeToParcel()
1884 private void writeFile(Parcel dest, File file) { in writeFile() method in BugreportProgressService.BugreportInfo
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5365 bool writeFile = false; in onTransact() local
5369 writeFile = mTracing.disable(); in onTransact()
5372 if (writeFile) { in onTransact()
/frameworks/base/services/
Dart-profile12828 HSPLcom/android/server/role/RoleUserState;->writeFile()V
/frameworks/base/config/
Dboot-image-profile.txt24199 HSPLcom/android/internal/util/FileRotator;->writeFile(Ljava/io/File;Lcom/android/internal/util/File…
Dhiddenapi-greylist-max-o.txt4586 Landroid/app/backup/FileBackupHelperBase;->writeFile(Ljava/io/File;Landroid/app/backup/BackupDataIn…