Searched refs:io_delegate_ (Results 1 - 7 of 7) sorted by relevance

/system/tools/aidl/tests/
H A Dend_to_end_tests.cpp47 io_delegate_.AddStubParcelable(
51 io_delegate_.AddStubInterface(*interfaces);
58 ASSERT_TRUE(io_delegate_.GetWrittenContents(rel_path, &actual_content))
70 FakeIoDelegate io_delegate_; member in class:android::aidl::EndToEndTest
84 io_delegate_.SetFileContents(options.input_file_name_, kInterfaceDefinition);
85 io_delegate_.AddCompoundParcelable("android.test.CompoundParcelable",
90 EXPECT_EQ(android::aidl::compile_aidl_to_java(options, io_delegate_), 0);
108 io_delegate_.SetFileContents(input_path, kInterfaceDefinition);
112 EXPECT_EQ(android::aidl::compile_aidl_to_cpp(*options, io_delegate_), 0);
133 io_delegate_
[all...]
/system/tools/aidl/
H A Daidl_unittest.cpp76 io_delegate_.SetFileContents(path, contents);
83 io_delegate_,
93 FakeIoDelegate io_delegate_; member in class:android::aidl::AidlTest
106 io_delegate_.SetFileContents("bar/IBar.aidl",
185 io_delegate_.SetFileContents("path", simple_content);
187 EXPECT_TRUE(parse_preprocessed_file(io_delegate_, "path", &java_types_));
194 io_delegate_.SetFileContents("path", simple_content);
196 EXPECT_TRUE(parse_preprocessed_file(io_delegate_, "path", &java_types_));
202 io_delegate_.SetFileContents("preprocessed", "interface another.IBar;");
203 io_delegate_
[all...]
H A Dimport_resolver.cpp35 : io_delegate_(io_delegate) {
61 if (io_delegate_.FileIsReadable(path)) {
H A Dimport_resolver.h41 const IoDelegate& io_delegate_; member in class:android::aidl::ImportResolver
H A Dgenerate_cpp_unittest.cpp729 io_delegate_.SetFileContents(file_path_, file_contents_);
737 io_delegate_,
764 FakeIoDelegate io_delegate_; member in class:android::aidl::cpp::ASTTest
773 io_delegate_.SetFileContents("foo/IFooType.aidl",
854 ASSERT_TRUE(GenerateCpp(*options_, types_, *interface, io_delegate_));
866 io_delegate_.AddBrokenFilePath(header_path);
867 ASSERT_FALSE(GenerateCpp(*options_, types_, *interface, io_delegate_));
869 ASSERT_FALSE(io_delegate_.GetWrittenContents(kOutputPath, nullptr));
871 ASSERT_TRUE(io_delegate_.PathWasRemoved(header_path));
880 io_delegate_
[all...]
H A Daidl_language.cpp158 : io_delegate_(io_delegate) {
263 unique_ptr<string> new_buffer = io_delegate_.GetFileContents(filename);
H A Daidl_language.h418 const android::aidl::IoDelegate& io_delegate_; member in class:Parser

Completed in 208 milliseconds