/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 137 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
|
D | PackageManagerSettingsTests.java | 867 private void writeFile(File file, byte[] data) { in writeFile() method in PackageManagerSettingsTests 880 … writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.xml"), in writePackagesXml() 950 writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/users/" in writePackageRestrictions_oldSuspendInfoXml() 965 …writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages-stopped.xm… in writeStoppedPackagesXml() 975 … writeFile(new File(InstrumentationRegistry.getContext().getFilesDir(), "system/packages.list"), in writePackagesList()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 112 writeFile(mTestFile, TEST_DATA); in testCopyFile() 137 writeFile(src, expected); in testCopy_FileToFile() 157 writeFile(src, expected); in testCopy_FileToPipe() 236 writeFile(mTestFile, TEST_DATA); in testReadTextFile() 257 writeFile(mTestFile, TEST_DATA); in testReadTextFileWithZeroLengthFile() 582 private void writeFile(File file, String data) throws Exception { in writeFile() method in FileUtilsTest 583 writeFile(file, data.getBytes()); in writeFile() 586 private void writeFile(File file, byte[] data) throws Exception { in writeFile() method in FileUtilsTest
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 134 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/ |
D | AbsoluteFileBackupHelper.java | 71 writeFile(f, data); in restoreEntity()
|
D | FileBackupHelper.java | 99 writeFile(f, data); in restoreEntity()
|
D | SharedPreferencesBackupHelper.java | 126 writeFile(f, data); in restoreEntity()
|
D | WallpaperBackupHelper.java | 94 if (writeFile(stage, data)) { in restoreEntity()
|
D | FileBackupHelperBase.java | 85 boolean writeFile(File f, BackupDataInputStream in) { in writeFile() method in FileBackupHelperBase
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 252 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/media/libaudioprocessing/tests/ |
D | test-mixer.cpp | 54 static int writeFile(const char *filename, const void *buffer, in writeFile() function 312 writeFile(outputFilename, outputAddr, in main() 319 writeFile(auxFilename, auxAddr, outputSampleRate, 1, outputFrames, false); in main()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | file_utils.h | 56 void writeFile(const char *filename, const std::vector<T> &data) { in writeFile() function
|
/frameworks/rs/ |
D | rsFileA3D.h | 72 bool writeFile(const char *filename);
|
D | rsFileA3D.cpp | 296 bool FileA3D::writeFile(const char *filename) { in writeFile() function in android::renderscript::FileA3D
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.h | 50 static void writeFile(const char* file, const void* buffer, int numBytes);
|
D | StorageManager.cpp | 105 void StorageManager::writeFile(const char* file, const void* buffer, int numBytes) { in writeFile() function in android::os::statsd::StorageManager
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 331 writeFile(getChildProfileLockFile(userId), lock); in writeChildProfileLock() 393 private void writeFile(String name, byte[] hash) { in writeFile() method in LockSettingsStorage 444 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash() 445 writeFile(getLockPatternFilename(userId), patternHash); in writeCredentialHash() 490 writeFile(getSynthenticPasswordStateFilePathForUser(userId, handle, name), data); in writeSyntheticPasswordState()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleUserState.java | 359 mWriteHandler.sendMessageDelayed(PooledLambda.obtainMessage(RoleUserState::writeFile, in scheduleWriteFileLocked() 366 private void writeFile() { in writeFile() method in RoleUserState
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 317 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes); in update_saved_configs_locked()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 485 StorageManager::writeFile(file_name.c_str(), buffer->data(), buffer->size()); in onConfigMetricsReportLocked() 607 StorageManager::writeFile(file_name.c_str(), buffer.data(), buffer.size()); in WriteDataToDiskLocked()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1867 writeFile(dest, bugreportFile); in writeToParcel() 1871 writeFile(dest, screenshotFile); in writeToParcel() 1884 private void writeFile(Parcel dest, File file) { in writeFile() method in BugreportProgressService.BugreportInfo
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 5365 bool writeFile = false; in onTransact() local 5369 writeFile = mTracing.disable(); in onTransact() 5372 if (writeFile) { in onTransact()
|
/frameworks/base/services/ |
D | art-profile | 12828 HSPLcom/android/server/role/RoleUserState;->writeFile()V
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 24199 HSPLcom/android/internal/util/FileRotator;->writeFile(Ljava/io/File;Lcom/android/internal/util/File…
|
D | hiddenapi-greylist-max-o.txt | 4586 Landroid/app/backup/FileBackupHelperBase;->writeFile(Ljava/io/File;Landroid/app/backup/BackupDataIn…
|