• Home
  • Raw
  • Download

Lines Matching refs:interface

140   const AidlInterface* interface = doc->GetInterface();  in check_filenames()  local
142 if (interface) { in check_filenames()
143 return check_filename(filename, interface->GetPackage(), in check_filenames()
144 interface->GetName(), interface->GetLine()); in check_filenames()
162 const AidlInterface* interface = doc->GetInterface(); in gather_types() local
164 if (interface) in gather_types()
165 return types->AddBinderType(*interface, filename); in gather_types()
284 const AidlInterface& interface, in write_cpp_dep_file() argument
312 HeaderFile(interface, c, false /* use_os_sep */)); in write_cpp_dep_file()
326 const AidlInterface& interface) { in generate_outputFileName() argument
327 string name = interface.GetName(); in generate_outputFileName()
328 string package = interface.GetPackage(); in generate_outputFileName()
534 unique_ptr<AidlInterface> interface(parsed_doc->ReleaseInterface()); in load_and_validate_aidl() local
536 if (!interface) { in load_and_validate_aidl()
542 if (!check_filename(input_file_name.c_str(), interface->GetPackage(), in load_and_validate_aidl()
543 interface->GetName(), interface->GetLine()) || in load_and_validate_aidl()
544 !types->IsValidPackage(interface->GetPackage())) { in load_and_validate_aidl()
545 LOG(ERROR) << "Invalid package declaration '" << interface->GetPackage() in load_and_validate_aidl()
587 if (!types->AddBinderType(*interface.get(), input_file_name)) { in load_and_validate_aidl()
591 interface->SetLanguageType(types->GetInterfaceType(*interface)); in load_and_validate_aidl()
607 if (check_types(input_file_name, interface.get(), types) != 0) { in load_and_validate_aidl()
617 interface->GetMethods()) != 0) { in load_and_validate_aidl()
622 *returned_interface = std::move(interface); in load_and_validate_aidl()
634 unique_ptr<AidlInterface> interface; in compile_aidl_to_cpp() local
644 &interface, in compile_aidl_to_cpp()
650 if (!write_cpp_dep_file(options, *interface, imports, io_delegate)) { in compile_aidl_to_cpp()
654 return (cpp::GenerateCpp(options, *types, *interface, io_delegate)) ? 0 : 1; in compile_aidl_to_cpp()
659 unique_ptr<AidlInterface> interface; in compile_aidl_to_java() local
669 &interface, in compile_aidl_to_java()
686 output_file_name = generate_outputFileName(options, *interface); in compile_aidl_to_java()
699 interface.get(), types.get(), io_delegate); in compile_aidl_to_java()
714 const AidlInterface* interface = doc->GetInterface(); in preprocess_aidl() local
716 if (interface != nullptr && in preprocess_aidl()
718 interface->GetCanonicalName().c_str())) { in preprocess_aidl()