Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java50 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests
63 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml()
103 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), in writeStoppedPackagesXml()
113 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), in writePackagesList()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java138 if (writeFile(f, data)) { in restoreEntity()
182 writeFile(f, data); in restoreEntity()
DAbsoluteFileBackupHelper.java71 writeFile(f, data); in restoreEntity()
DSharedPreferencesBackupHelper.java126 writeFile(f, data); in restoreEntity()
DFileBackupHelper.java99 writeFile(f, data); in restoreEntity()
DFileBackupHelperBase.java84 boolean writeFile(File f, BackupDataInputStream in) { in writeFile() method in FileBackupHelperBase
/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/av/services/audioflinger/tests/
Dtest-mixer.cpp54 static int writeFile(const char *filename, const void *buffer, in writeFile() function
293 writeFile(outputFilename, outputAddr, in main()
299 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
/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/rs/
DrsFileA3D.h71 bool writeFile(const char *filename);
DrsFileA3D.cpp304 bool FileA3D::writeFile(const char *filename) { in writeFile() function in FileA3D
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java397 writeFile(getLockPatternFilename(userId), hash); in setLockPattern()
406 writeFile(getLockPasswordFilename(userId), in setLockPassword()
543 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsService