Home
last modified time | relevance | path

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

/aosp12/system/tools/aidl/
H A Daidl_unittest.cpp127 FakeIoDelegate io_delegate_; member in android::aidl::AidlTest
432 io_delegate_.SetFileContents( in TEST_F()
1175 io_delegate_.SetFileContents( in TEST_P()
1193 io_delegate_.SetFileContents( in TEST_P()
1448 io_delegate_.SetFileContents( in TEST_F()
1523 io_delegate_.SetFileContents( in TEST_F()
1551 io_delegate_.SetFileContents( in TEST_F()
2199 io_delegate_.SetFileContents( in TEST_F()
2729 io_delegate_.SetFileContents( in TEST_F()
2840 io_delegate_.SetFileContents( in TEST_P()
[all …]
H A Dgenerate_cpp_unittest.cpp47 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface()
50 ImportResolver import_resolver{io_delegate_, options_.InputFiles().at(0), {"."}, {}}; in ParseSingleInterface()
52 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface()
66 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleEnumDeclaration()
70 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleEnumDeclaration()
97 FakeIoDelegate io_delegate_; member in android::aidl::cpp::ASTTest
133 io_delegate_.AddBrokenFilePath(header_path); in TEST_F()
136 ASSERT_FALSE(io_delegate_.GetWrittenContents(kOutputPath, nullptr)); in TEST_F()
138 ASSERT_TRUE(io_delegate_.PathWasRemoved(header_path)); in TEST_F()
147 io_delegate_.AddBrokenFilePath(kOutputPath); in TEST_F()
[all …]
H A Dimport_resolver.cpp41 : io_delegate_(io_delegate), input_file_name_(input_file_name), input_files_(input_files) { in ImportResolver()
67 if (io_delegate_.FileIsReadable(path)) { in FindImportFile()
H A Dimport_resolver.h46 const IoDelegate& io_delegate_;