Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_rust.cpp564 void GenerateRustInterface(CodeWriter* code_writer, const AidlInterface* iface, in GenerateRustInterface() argument
566 *code_writer << "#![allow(non_upper_case_globals)]\n"; in GenerateRustInterface()
567 *code_writer << "#![allow(non_snake_case)]\n"; in GenerateRustInterface()
569 *code_writer << "#[allow(unused_imports)] use binder::binder_impl::IBinderInternal;\n"; in GenerateRustInterface()
576 *code_writer << "use binder::declare_binder_interface;\n"; in GenerateRustInterface()
577 *code_writer << "declare_binder_interface! {\n"; in GenerateRustInterface()
578 code_writer->Indent(); in GenerateRustInterface()
579 *code_writer << trait_name << "[\"" << iface->GetDescriptor() << "\"] {\n"; in GenerateRustInterface()
580 code_writer->Indent(); in GenerateRustInterface()
581 *code_writer << "native: " << server_name << "(on_transact),\n"; in GenerateRustInterface()
[all …]
Dgenerate_java.cpp1053 CodeWriterPtr code_writer = io_delegate.GetCodeWriter(filename); in GenerateJava() local
1054 GenerateClass(*code_writer, defined_type, types, options); in GenerateJava()
1055 AIDL_FATAL_IF(!code_writer->Close(), defined_type) << "I/O Error!"; in GenerateJava()
Daidl.cpp777 auto code_writer = io_delegate.GetCodeWriter(options.OutputFile()); in dump_mappings() local
778 code_writer->Write("%s", mappings_str.str().c_str()); in dump_mappings()
DAndroid.bp92 "code_writer.cpp",