Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java59 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests
72 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml()
142 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), in writeStoppedPackagesXml()
152 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), in writePackagesList()
/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/services/core/java/com/android/server/
DLockSettingsStorage.java261 writeFile(getChildProfileLockFile(userId), lock); in writeChildProfileLock()
319 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsStorage
361 writeFile(getLockPatternFilename(userId), hash); in writePatternHash()
366 writeFile(getLockPatternFilename(userId), null); in clearPatternHash()
372 writeFile(getLockPasswordFilename(userId), hash); in writePasswordHash()
377 writeFile(getLockPasswordFilename(userId), null); in clearPasswordHash()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java141 if (writeFile(f, data)) { in restoreEntity()
185 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/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/services/audioflinger/tests/
Dtest-mixer.cpp54 static int writeFile(const char *filename, const void *buffer, in writeFile() function
315 writeFile(outputFilename, outputAddr, in main()
321 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
/frameworks/rs/
DrsFileA3D.h71 bool writeFile(const char *filename);
DrsFileA3D.cpp310 bool FileA3D::writeFile(const char *filename) { in writeFile() function in FileA3D
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java247 if (!writeFile(portDir, SYSFS_PORT_MODE, in setPortRoles()
257 if (!writeFile(portDir, SYSFS_PORT_POWER_ROLE, in setPortRoles()
267 if (!writeFile(portDir, SYSFS_PORT_DATA_ROLE, in setPortRoles()
682 private static boolean writeFile(File dir, String filename, String contents) { in writeFile() method in UsbPortManager
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1771 writeFile(dest, bugreportFile); in writeToParcel()
1775 writeFile(dest, screenshotFile); in writeToParcel()
1787 private void writeFile(Parcel dest, File file) { in writeFile() method in BugreportProgressService.BugreportInfo