Home
last modified time | relevance | path

Searched refs:io_delegate (Results 1 – 16 of 16) sorted by relevance

/system/tools/aidl/
Daidl.h48 int compile_aidl(const Options& options, const IoDelegate& io_delegate);
49 bool preprocess_aidl(const Options& options, const IoDelegate& io_delegate);
50 bool dump_api(const Options& options, const IoDelegate& io_delegate);
51 bool dump_mappings(const Options& options, const IoDelegate& io_delegate);
54 int aidl_entry(const Options& options, const IoDelegate& io_delegate);
82 const IoDelegate& io_delegate, AidlTypenames* typenames,
85 bool parse_preprocessed_file(const IoDelegate& io_delegate, const std::string& filename,
Daidl.cpp156 const vector<string>& imports, const IoDelegate& io_delegate, in write_dep_file() argument
167 CodeWriterPtr writer = io_delegate.GetCodeWriter(dep_file_name); in write_dep_file()
352 bool parse_preprocessed_file(const IoDelegate& io_delegate, const string& filename, in parse_preprocessed_file() argument
355 unique_ptr<LineReader> line_reader = io_delegate.GetLineReader(filename); in parse_preprocessed_file()
413 const IoDelegate& io_delegate, AidlTypenames* typenames, in load_and_validate_aidl() argument
422 std::unique_ptr<Parser> main_parser = Parser::Parse(input_file_name, io_delegate, *typenames); in load_and_validate_aidl()
439 if (!parse_preprocessed_file(io_delegate, s, typenames)) { in load_and_validate_aidl()
449 ImportResolver import_resolver{io_delegate, input_file_name, options.ImportDirs(), in load_and_validate_aidl()
501 std::unique_ptr<Parser> import_parser = Parser::Parse(import_path, io_delegate, *typenames); in load_and_validate_aidl()
515 std::unique_ptr<Parser> import_parser = Parser::Parse(imported_file, io_delegate, *typenames); in load_and_validate_aidl()
[all …]
Dmain.cpp46 android::aidl::IoDelegate io_delegate; in main() local
47 int ret = aidl_entry(options, io_delegate); in main()
Dgenerate_ndk.cpp42 const IoDelegate& io_delegate) { in GenerateNdkInterface() argument
44 unique_ptr<CodeWriter> i_writer(io_delegate.GetCodeWriter(i_header)); in GenerateNdkInterface()
50 unique_ptr<CodeWriter> bp_writer(io_delegate.GetCodeWriter(bp_header)); in GenerateNdkInterface()
56 unique_ptr<CodeWriter> bn_writer(io_delegate.GetCodeWriter(bn_header)); in GenerateNdkInterface()
60 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateNdkInterface()
67 const IoDelegate& io_delegate) { in GenerateNdkParcel() argument
70 unique_ptr<CodeWriter> header_writer(io_delegate.GetCodeWriter(header_path)); in GenerateNdkParcel()
76 unique_ptr<CodeWriter> bp_writer(io_delegate.GetCodeWriter(bp_header)); in GenerateNdkParcel()
82 unique_ptr<CodeWriter> bn_writer(io_delegate.GetCodeWriter(bn_header)); in GenerateNdkParcel()
86 unique_ptr<CodeWriter> source_writer = io_delegate.GetCodeWriter(output_file); in GenerateNdkParcel()
[all …]
Dgenerate_cpp.cpp1263 const AidlInterface& interface, const IoDelegate& io_delegate, in WriteHeader() argument
1286 unique_ptr<CodeWriter> code_writer(io_delegate.GetCodeWriter(header_path)); in WriteHeader()
1291 io_delegate.RemovePath(header_path); in WriteHeader()
1303 const IoDelegate& io_delegate) { in GenerateCppInterface() argument
1312 if (!WriteHeader(options, typenames, interface, io_delegate, ClassNames::INTERFACE) || in GenerateCppInterface()
1313 !WriteHeader(options, typenames, interface, io_delegate, ClassNames::CLIENT) || in GenerateCppInterface()
1314 !WriteHeader(options, typenames, interface, io_delegate, ClassNames::SERVER)) { in GenerateCppInterface()
1318 unique_ptr<CodeWriter> writer = io_delegate.GetCodeWriter(output_file); in GenerateCppInterface()
1325 io_delegate.RemovePath(output_file); in GenerateCppInterface()
1333 const IoDelegate& io_delegate) { in GenerateCppParcel() argument
[all …]
Dgenerate_java.cpp41 const AidlTypenames& typenames, const IoDelegate& io_delegate, in generate_java_interface() argument
48 CodeWriterPtr code_writer = io_delegate.GetCodeWriter(filename); in generate_java_interface()
55 const AidlTypenames& typenames, const IoDelegate& io_delegate) { in generate_java_parcel() argument
61 CodeWriterPtr code_writer = io_delegate.GetCodeWriter(filename); in generate_java_parcel()
69 const AidlTypenames& typenames, const IoDelegate& io_delegate) { in generate_java_enum_declaration() argument
70 CodeWriterPtr code_writer = io_delegate.GetCodeWriter(filename); in generate_java_enum_declaration()
76 const AidlTypenames& typenames, const IoDelegate& io_delegate, in generate_java() argument
80 return generate_java_parcel(filename, parcelable, typenames, io_delegate); in generate_java()
85 return generate_java_enum_declaration(filename, enum_decl, typenames, io_delegate); in generate_java()
89 return generate_java_interface(filename, interface, typenames, io_delegate, options); in generate_java()
Dparser.cpp29 const android::aidl::IoDelegate& io_delegate, in Parse() argument
32 unique_ptr<string> raw_buffer = io_delegate.GetFileContents(filename); in Parse()
Dimport_resolver.cpp39 ImportResolver::ImportResolver(const IoDelegate& io_delegate, const string& input_file_name, in ImportResolver() argument
41 : io_delegate_(io_delegate), input_file_name_(input_file_name), input_files_(input_files) { in ImportResolver()
Daidl_checkapi.h25 bool check_api(const Options& options, const IoDelegate& io_delegate);
Daidl_checkapi.cpp300 static Result<AidlTypenames> load_from_dir(const Options& options, const IoDelegate& io_delegate, in load_from_dir() argument
303 for (const auto& file : io_delegate.ListFiles(dir)) { in load_from_dir()
305 if (internals::load_and_validate_aidl(file, options, io_delegate, &typenames, in load_from_dir()
314 bool check_api(const Options& options, const IoDelegate& io_delegate) { in check_api() argument
318 auto old_tns = load_from_dir(options, io_delegate, options.InputFiles().at(0)); in check_api()
322 auto new_tns = load_from_dir(options, io_delegate, options.InputFiles().at(1)); in check_api()
Dgenerate_java.h31 const AidlTypenames& typenames, const IoDelegate& io_delegate,
Dimport_resolver.h30 ImportResolver(const IoDelegate& io_delegate, const std::string& input_file_name,
Dgenerate_cpp.h33 const AidlDefinedType& parsed_doc, const IoDelegate& io_delegate);
Dgenerate_ndk.h30 const AidlDefinedType& defined_type, const IoDelegate& io_delegate);
Dparser.h61 const android::aidl::IoDelegate& io_delegate,
DAndroid.bp80 "io_delegate.cpp",