Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/
DArchive_test.cpp126 ASSERT_TRUE(writer->WriteFile("test1", 0, input1.get())); in TEST_F()
128 ASSERT_TRUE(writer->WriteFile("test2", 0, input2.get())); in TEST_F()
144 ASSERT_FALSE(writer->WriteFile("test", 0, input.get())); in TEST_F()
186 ASSERT_TRUE(writer->WriteFile("test1", 0, input1.get())); in TEST_F()
188 ASSERT_TRUE(writer->WriteFile("test2", 0, input2.get())); in TEST_F()
204 ASSERT_FALSE(writer->WriteFile("test", 0, input.get())); in TEST_F()
DArchive.h50 virtual bool WriteFile(const android::StringPiece& path, uint32_t flags, io::InputStream* in) = 0;
DArchive.cpp94 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { in WriteFile() function in aapt::__anon5f7f62320111::DirectoryWriter
185 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { in WriteFile() function in aapt::__anon5f7f62320111::ZipFileWriter
/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/cmd/
DLink_test.cpp95 WriteFile(GetTestPath("assets/testtxt"), content); in TEST_F()
96 WriteFile(GetTestPath("assets/testtxt2"), content); in TEST_F()
97 WriteFile(GetTestPath("assets/test.txt"), content); in TEST_F()
98 WriteFile(GetTestPath("assets/test.hello.txt"), content); in TEST_F()
99 WriteFile(GetTestPath("assets/test.hello.xml"), content); in TEST_F()
286 WriteFile(feature_manifest, android::base::StringPrintf(R"(
DCompile_test.cpp204 ctf->WriteFile(source_file, sTranslatableXmlContent); in AssertTranslations()
265 WriteFile(path_values_colors, "<resources>" in TEST_F()
270 WriteFile(path_layout_layout_one, "<LinearLayout " 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/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.cpp36 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp742 RestoreHelperBase::WriteFile(const String8& filename, BackupDataReader* in) in WriteFile() function in android::RestoreHelperBase