Home
last modified time | relevance | path

Searched refs:writeFile (Results 1 – 18 of 18) 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.java1019 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests
1032writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml()
1101 writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/users/" in writePackageRestrictions_noSuspendingPackageXml()
1116 writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/users/" in writePackageRestrictions_noSuspendParamsMapXml()
1140writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages-stopped.xm… in writeStoppedPackagesXml()
1150writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.list"), in writePackagesList()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java116 writeFile(mTestFile, TEST_DATA); in testCopyFile()
141 writeFile(src, expected); in testCopy_FileToFile()
161 writeFile(src, expected); in testCopy_FileToPipe()
238 writeFile(src, expected); in testCopyFileWithAppend()
261 writeFile(mTestFile, TEST_DATA); in testReadTextFile()
282 writeFile(mTestFile, TEST_DATA); in testReadTextFileWithZeroLengthFile()
650 private void writeFile(File file, String data) throws Exception { in writeFile() method in FileUtilsTest
651 writeFile(file, data.getBytes()); in writeFile()
654 private void writeFile(File file, byte[] data) throws Exception { in writeFile() method in FileUtilsTest
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DGameManagerServiceSettingsTests.java49 private void writeFile(File file, byte[] data) { in writeFile() method in GameManagerServiceSettingsTests
62 writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), in writeGameServiceXml()
/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.java98 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.java253 writeFile(file, rewriter); in rewriteSingle()
270 writeFile(file, rewriter); in rewriteSingle()
379 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
313 writeFile(outputFilename, outputAddr, in main()
320 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
/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/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java295 writeFile(getChildProfileLockFile(userId), lock); in writeChildProfileLock()
307 writeFile(getRebootEscrowFile(userId), rebootEscrow); in writeRebootEscrow()
323 writeFile(getRebootEscrowServerBlob(), serverBlob); in writeRebootEscrowServerBlob()
386 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsStorage
442 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash()
443 writeFile(getLockPatternFilename(userId), patternHash); in writeCredentialHash()
485 writeFile(getSynthenticPasswordStateFilePathForUser(userId, handle, name), data); in writeSyntheticPasswordState()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java2185 writeFile(dest, bugreportFile); in writeToParcel()
2189 writeFile(dest, screenshotFile); in writeToParcel()
2205 private void writeFile(Parcel dest, File file) { in writeFile() method in BugreportProgressService.BugreportInfo
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4261 Landroid/app/backup/FileBackupHelperBase;->writeFile(Ljava/io/File;Landroid/app/backup/BackupDataIn…
/frameworks/base/services/
Dart-profile23610 HPLcom/android/server/locksettings/LockSettingsStorage;->writeFile(Ljava/lang/String;[B)V+]Ljava/io…