Lines Matching refs:interface
128 fprintf(stderr, "%s:%d interface %s should be declared in a file"
140 const AidlInterface* interface = doc->GetInterface();
142 if (interface) {
143 return check_filename(filename, interface->GetPackage(),
144 interface->GetName(), interface->GetLine());
162 const AidlInterface* interface = doc->GetInterface();
164 if (interface)
165 return types->AddBinderType(*interface, filename);
284 const AidlInterface& interface,
310 ClassNames::INTERFACE}) {
312 HeaderFile(interface, c, false /* use_os_sep */));
326 const AidlInterface& interface) {
327 string name = interface.GetName();
328 string package = interface.GetPackage();
332 // interface package name
487 } else if (decl == "interface") {
534 unique_ptr<AidlInterface> interface(parsed_doc->ReleaseInterface());
536 if (!interface) {
542 if (!check_filename(input_file_name.c_str(), interface->GetPackage(),
543 interface->GetName(), interface->GetLine()) ||
544 !types->IsValidPackage(interface->GetPackage())) {
545 LOG(ERROR) << "Invalid package declaration '" << interface->GetPackage()
587 if (!types->AddBinderType(*interface.get(), input_file_name)) {
591 interface->SetLanguageType(types->GetInterfaceType(*interface));
607 if (check_types(input_file_name, interface.get(), types) != 0) {
617 interface->GetMethods()) != 0) {
622 *returned_interface = std::move(interface);
634 unique_ptr<AidlInterface> interface;
644 &interface,
650 if (!write_cpp_dep_file(options, *interface, imports, io_delegate)) {
654 return (cpp::GenerateCpp(options, *types, *interface, io_delegate)) ? 0 : 1;
659 unique_ptr<AidlInterface> interface;
669 &interface,
686 output_file_name = generate_outputFileName(options, *interface);
699 interface.get(), types.get(), io_delegate);
714 const AidlInterface* interface = doc->GetInterface();
716 if (interface != nullptr &&
717 !writer->Write("interface %s;\n",
718 interface->GetCanonicalName().c_str())) {