Home
last modified time | relevance | path

Searched refs:writeFile (Results 1 – 15 of 15) 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/services/java/com/android/server/am/
DProcessList.java207 writeFile("/sys/module/lowmemorykiller/parameters/adj", adjString.toString()); in updateOomLevels()
208 writeFile("/sys/module/lowmemorykiller/parameters/minfree", memString.toString()); in updateOomLevels()
223 private void writeFile(String path, String data) { in writeFile() method in ProcessList
/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/
DWallpaperBackupHelper.java123 if (writeFile(f, data)) { in restoreEntity()
158 writeFile(f, data); in restoreEntity()
DAbsoluteFileBackupHelper.java71 writeFile(f, data); in restoreEntity()
DFileBackupHelper.java99 writeFile(f, data); in restoreEntity()
DSharedPreferencesBackupHelper.java127 writeFile(f, data); in restoreEntity()
DFileBackupHelperBase.java84 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()
373 private static void writeFile(File file, Writer writer) throws IOException { in writeFile() method in FileRotator
/frameworks/base/core/java/com/android/internal/widget/
DLockSettingsService.java213 writeFile(getLockPatternFilename(userId), hash); in setLockPattern()
243 writeFile(getLockPasswordFilename(userId), hash); in setLockPassword()
293 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsService
/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp70 RSReflectionBase::writeFile(mClassName + ".h", header); in reflect()
71 RSReflectionBase::writeFile(mClassName + ".cpp", cpp); in reflect()
Dslang_rs_reflection_base.h68 static bool writeFile(const std::string &filename, const std::vector< std::string > &txt);
Dslang_rs_reflection_base.cpp136 bool RSReflectionBase::writeFile(const string &filename, const vector< string > &txt) { in writeFile() function in slang::RSReflectionBase
/frameworks/rs/
DrsFileA3D.h70 bool writeFile(const char *filename);
DrsFileA3D.cpp297 bool FileA3D::writeFile(const char *filename) { in writeFile() function in FileA3D