Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_rust.cpp487 auto trait_name = ClassName(*iface, cpp::ClassNames::INTERFACE); in GenerateServerItems() local
491 out << "impl " << trait_name << " for binder::binder_impl::Binder<" << server_name << "> {\n"; in GenerateServerItems()
510 << trait_name in GenerateServerItems()
571 auto trait_name = ClassName(*iface, cpp::ClassNames::INTERFACE); in GenerateRustInterface() local
572 auto trait_name_async = trait_name + "Async"; in GenerateRustInterface()
573 auto trait_name_async_server = trait_name + "AsyncServer"; in GenerateRustInterface()
579 *code_writer << trait_name << "[\"" << iface->GetDescriptor() << "\"] {\n"; in GenerateRustInterface()
609 *code_writer << "pub trait " << trait_name << ": binder::Interface + Send {\n"; in GenerateRustInterface()
702 << trait_name << ">\n"; in GenerateRustInterface()
727 *code_writer << "impl<T, R> " << trait_name << " for Wrapper<T, R>\n"; in GenerateRustInterface()
[all …]