Searched refs:code_writer (Results 1 – 4 of 4) sorted by relevance
607 void GenerateRustInterface(CodeWriter* code_writer, const AidlInterface* iface, in GenerateRustInterface() argument609 *code_writer << "#![allow(non_upper_case_globals)]\n"; in GenerateRustInterface()610 *code_writer << "#![allow(non_snake_case)]\n"; in GenerateRustInterface()612 *code_writer << "#[allow(unused_imports)] use binder::binder_impl::IBinderInternal;\n"; in GenerateRustInterface()619 *code_writer << "use binder::declare_binder_interface;\n"; in GenerateRustInterface()620 *code_writer << "declare_binder_interface! {\n"; in GenerateRustInterface()621 code_writer->Indent(); in GenerateRustInterface()622 *code_writer << trait_name << "[\"" << iface->GetDescriptor() << "\"] {\n"; in GenerateRustInterface()623 code_writer->Indent(); in GenerateRustInterface()624 *code_writer << "native: " << server_name << "(on_transact),\n"; in GenerateRustInterface()[all …]
1067 CodeWriterPtr code_writer = io_delegate.GetCodeWriter(filename); in GenerateJava() local1070 auto& out = *code_writer; in GenerateJava()1079 GenerateClass(*code_writer, defined_type, types, options); in GenerateJava()1080 AIDL_FATAL_IF(!code_writer->Close(), defined_type) << "I/O Error!"; in GenerateJava()
903 auto code_writer = io_delegate.GetCodeWriter(options.OutputFile()); in dump_mappings() local904 code_writer->Write("%s", mappings_str.str().c_str()); in dump_mappings()
113 "code_writer.cpp",