Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/test/
DFixture.cpp82 void TestDirectoryFixture::WriteFile(const std::string& path, const std::string& contents) { in WriteFile() function in aapt::TestDirectoryFixture
95 WriteFile(path, contents); in CompileFile()
142 WriteFile(manifest_file, android::base::StringPrintf(R"(
DFixture.h61 void WriteFile(const std::string& path, const std::string& contents);
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp167 ASSERT_TRUE(writer->WriteFile("test1", 0, input1.get())); in TEST_F()
169 ASSERT_TRUE(writer->WriteFile("test2", 0, input2.get())); in TEST_F()
185 ASSERT_FALSE(writer->WriteFile("test", 0, input.get())); in TEST_F()
227 ASSERT_TRUE(writer->WriteFile("test1", 0, input1.get())); in TEST_F()
229 ASSERT_TRUE(writer->WriteFile("test2", 0, input2.get())); in TEST_F()
245 ASSERT_FALSE(writer->WriteFile("test", 0, input.get())); in TEST_F()
DArchive.h49 virtual bool WriteFile(android::StringPiece path, uint32_t flags, android::InputStream* in) = 0;
DArchive.cpp94 bool WriteFile(StringPiece path, uint32_t flags, android::InputStream* in) override { in WriteFile() function in aapt::__anone368909f0111::DirectoryWriter
185 bool WriteFile(StringPiece path, uint32_t flags, android::InputStream* in) override { in WriteFile() function in aapt::__anone368909f0111::ZipFileWriter
/frameworks/base/tools/aapt2/util/
DFiles_test.cpp76 WriteFile(args_file, in TEST_F()
94 WriteFile(args_file, in TEST_F()
/frameworks/base/tools/dump-coverage/
Ddump_coverage.cc84 static jint WriteFile(const char* data, int length, const std::string& filename) { in WriteFile() function
121 return WriteFile((const char*) result_ptr, result_len, filename); in Dump()
/frameworks/base/tools/aapt2/cmd/
DLink_test.cpp96 WriteFile(GetTestPath("assets/testtxt"), content); in TEST_F()
97 WriteFile(GetTestPath("assets/testtxt2"), content); in TEST_F()
98 WriteFile(GetTestPath("assets/test.txt"), content); in TEST_F()
99 WriteFile(GetTestPath("assets/test.hello.txt"), content); in TEST_F()
100 WriteFile(GetTestPath("assets/test.hello.xml"), content); in TEST_F()
287 WriteFile(feature_manifest, android::base::StringPrintf(R"( in TEST_F()
DCompile_test.cpp200 ctf->WriteFile(source_file, sTranslatableXmlContent); in AssertTranslations()
276 WriteFile(path_values_colors, "<resources>" in TEST_F()
281 WriteFile(path_layout_layout_one, "<LinearLayout " in TEST_F()
DConvert_test.cpp171 WriteFile(resource_config_path, "integer/int1#no_collapse\ninteger/int2#no_collapse"); in TEST_F()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h149 status_t WriteFile(const String8& filename, BackupDataReader* in);
/frameworks/base/core/jni/
Dandroid_backup_FileBackupHelperBase.cpp89 err = restore->WriteFile(String8(filename), reader); in writeFile_native()
/frameworks/base/tools/aapt2/io/
DUtil.cpp38 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp747 RestoreHelperBase::WriteFile(const String8& filename, BackupDataReader* in) in WriteFile() function in android::RestoreHelperBase