Searched refs:io_delegate_ (Results 1 – 5 of 5) sorted by relevance
/system/tools/aidl/ |
D | aidl_unittest.cpp | 136 io_delegate_.SetFileContents(path, contents); 156 ImportResolver import_resolver{io_delegate_, path, import_paths_, {}}; 158 path, options, io_delegate_, types, &defined_types, &imported_files); 173 FakeIoDelegate io_delegate_; member in android::aidl::AidlTest 187 io_delegate_.SetFileContents("bar/IBar.aidl", in TEST_F() 270 io_delegate_.SetFileContents("path", simple_content); in TEST_F() 272 EXPECT_TRUE(parse_preprocessed_file(io_delegate_, "path", &java_types_, java_types_.typenames_)); in TEST_F() 279 io_delegate_.SetFileContents("path", simple_content); in TEST_F() 281 EXPECT_TRUE(parse_preprocessed_file(io_delegate_, "path", &java_types_, java_types_.typenames_)); in TEST_F() 287 io_delegate_.SetFileContents("preprocessed", "interface another.IBar;"); in TEST_F() [all …]
|
D | generate_cpp_unittest.cpp | 1379 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface() 1383 ImportResolver import_resolver{io_delegate_, options_.InputFiles().at(0), {"."}, {}}; in ParseSingleInterface() 1385 options_.InputFiles().front(), options_, io_delegate_, &types_, &defined_types, in ParseSingleInterface() 1412 FakeIoDelegate io_delegate_; member in android::aidl::cpp::ASTTest 1421 io_delegate_.SetFileContents("foo/IFooType.aidl", in ComplexTypeInterfaceASTTest() 1473 io_delegate_.SetFileContents("foo/IFooType.aidl", "package foo; interface IFooType {}"); in ComplexTypeInterfaceASTTestWithTrace() 1511 ASSERT_TRUE(GenerateCpp(options_.OutputFile(), options_, types_, *interface, io_delegate_)); in TEST_F() 1523 io_delegate_.AddBrokenFilePath(header_path); in TEST_F() 1524 ASSERT_FALSE(GenerateCpp(options_.OutputFile(), options_, types_, *interface, io_delegate_)); in TEST_F() 1526 ASSERT_FALSE(io_delegate_.GetWrittenContents(kOutputPath, nullptr)); in TEST_F() [all …]
|
D | import_resolver.cpp | 38 : io_delegate_(io_delegate), input_file_name_(input_file_name), input_files_(input_files) { in ImportResolver() 64 if (io_delegate_.FileIsReadable(path)) { in FindImportFile()
|
D | import_resolver.h | 42 const IoDelegate& io_delegate_;
|
/system/tools/aidl/tests/ |
D | end_to_end_tests.cpp | 47 io_delegate_.AddStubParcelable( in AddStubAidls() 51 io_delegate_.AddStubInterface(*interfaces); in AddStubAidls() 58 ASSERT_TRUE(io_delegate_.GetWrittenContents(rel_path, &actual_content)) in CheckFileContents() 70 FakeIoDelegate io_delegate_; member in android::aidl::EndToEndTest 86 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinition); in TEST_F() 87 io_delegate_.AddCompoundParcelable("android.test.CompoundParcelable", in TEST_F() 92 EXPECT_EQ(android::aidl::compile_aidl(options, io_delegate_), 0); in TEST_F() 111 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinition); in TEST_F() 112 io_delegate_.AddCompoundParcelable("android.test.CompoundParcelable", in TEST_F() 117 EXPECT_EQ(android::aidl::compile_aidl(options, io_delegate_), 0); in TEST_F() [all …]
|