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.java48 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests
61 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml()
131 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), in writeStoppedPackagesXml()
141 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/core/java/android/app/backup/
DWallpaperBackupHelper.java137 if (writeFile(f, data)) { in restoreEntity()
185 writeFile(f, data); in restoreEntity()
DAbsoluteFileBackupHelper.java71 writeFile(f, data); in restoreEntity()
DFileBackupHelper.java99 writeFile(f, data); in restoreEntity()
DSharedPreferencesBackupHelper.java126 writeFile(f, data); in restoreEntity()
DFileBackupHelperBase.java84 boolean writeFile(File f, BackupDataInputStream in) { in writeFile() method in FileBackupHelperBase
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java292 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsStorage
331 writeFile(getLockPatternFilename(userId), hash); in writePatternHash()
336 writeFile(getLockPatternFilename(userId), null); in clearPatternHash()
343 writeFile(getLockPasswordFilename(userId), hash); in writePasswordHash()
348 writeFile(getLockPasswordFilename(userId), null); in clearPasswordHash()
/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.java239 if (!writeFile(portDir, SYSFS_PORT_MODE, in setPortRoles()
249 if (!writeFile(portDir, SYSFS_PORT_POWER_ROLE, in setPortRoles()
259 if (!writeFile(portDir, SYSFS_PORT_DATA_ROLE, in setPortRoles()
645 private static boolean writeFile(File dir, String filename, String contents) { in writeFile() method in UsbPortManager
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...