Home
last modified time | relevance | path

Searched refs:io_delegate_ (Results 1 – 4 of 4) sorted by relevance

/system/tools/aidl/
Daidl_unittest.cpp102 io_delegate_.SetFileContents(path, contents);
120 ImportResolver import_resolver{io_delegate_, path, import_paths_};
122 path, options, io_delegate_, &typenames_, &imported_files);
156 FakeIoDelegate io_delegate_; member in android::aidl::AidlTest
281 io_delegate_.SetFileContents("Bar.aidl", "parcelable Bar { Foo foo; }"); in TEST_P()
290 io_delegate_.SetFileContents("Bar.aidl", "parcelable Bar { @nullable Foo foo; }"); in TEST_P()
511 io_delegate_.SetFileContents( in TEST_F()
515 EXPECT_TRUE(compile_aidl(java_options, io_delegate_)); in TEST_F()
516 EXPECT_TRUE(compile_aidl(cpp_options, io_delegate_)); in TEST_F()
519 EXPECT_FALSE(compile_aidl(cpp_structured_options, io_delegate_)); in TEST_F()
[all …]
Dgenerate_cpp_unittest.cpp46 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface()
49 ImportResolver import_resolver{io_delegate_, options_.InputFiles().at(0), {"."}}; in ParseSingleInterface()
51 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface()
66 FakeIoDelegate io_delegate_; member in android::aidl::cpp::ASTTest
91 ASSERT_TRUE(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_)); in TEST_F()
103 io_delegate_.AddBrokenFilePath(header_path); in TEST_F()
104 ASSERT_DEATH(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_), in TEST_F()
107 ASSERT_FALSE(io_delegate_.GetWrittenContents(kOutputPath, nullptr)); in TEST_F()
116 io_delegate_.AddBrokenFilePath(kOutputPath); in TEST_F()
117 ASSERT_DEATH(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_), in TEST_F()
Dimport_resolver.cpp42 : io_delegate_(io_delegate), input_file_name_(input_file_name) { in ImportResolver()
83 if (io_delegate_.FileIsReadable(path + relative_path)) { in ScanImportPaths()
Dimport_resolver.h46 const IoDelegate& io_delegate_; variable