Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_cpp.cpp71 const auto& type = raw_type.IsGeneric() ? *raw_type.GetTypeParameters().at(0) : raw_type; in RawParcelMethod()
139 const auto& type = raw_type.IsGeneric() ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in WrapIfNullable()
166 (raw_type.GetName() == "List" && raw_type.GetTypeParameters().size() == 1)); in GetCppName()
167 const auto& type = raw_type.IsGeneric() ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in GetCppName()
277 (raw_type.GetName() == "List" && raw_type.GetTypeParameters().size() == 1)); in AddHeaders()
278 const auto& type = raw_type.IsGeneric() ? *raw_type.GetTypeParameters().at(0) : raw_type; in AddHeaders()
Daidl_to_java.cpp129 for (const auto& ta : aidl.GetTypeParameters()) { in JavaSignatureOfInternal()
263 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in WriteToParcelFor()
298 *c.type.GetTypeParameters()[1].get(), in WriteToParcelFor()
491 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in CreateFromParcelFor()
503 << JavaNameOf(*(c.type.GetTypeParameters().at(0)), c.typenames) in CreateFromParcelFor()
520 auto creator = JavaNameOf(*(c.type.GetTypeParameters().at(1)), c.typenames) + ".CREATOR"; in CreateFromParcelFor()
524 c.writer << JavaNameOf(*(c.type.GetTypeParameters().at(1)), c.typenames) << " v;\n"; in CreateFromParcelFor()
528 *c.type.GetTypeParameters()[1].get(), in CreateFromParcelFor()
681 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in ReadFromParcelFor()
693 << JavaNameOf(*(c.type.GetTypeParameters().at(0)), c.typenames) in ReadFromParcelFor()
[all …]
Daidl_language.cpp387 for (const auto& ta : GetTypeParameters()) { in ToString()
432 auto& types = GetTypeParameters(); in CheckValid()
447 const size_t num_params = GetTypeParameters().size(); in CheckValid()
461 const string& key_type = GetTypeParameters()[0]->GetName(); in CheckValid()
469 const size_t allowed = parameterizable->GetTypeParameters().size(); in CheckValid()
482 GetTypeParameters().size() == 1 && in CheckValid()
483 GetTypeParameters()[0]->GetName() == "String"; in CheckValid()
774 std::unordered_set<std::string> set(GetTypeParameters().begin(), GetTypeParameters().end()); in CheckValid()
775 if (set.size() != GetTypeParameters().size()) { in CheckValid()
880 if (this->GetTypeParameters().size() != 1) { in LanguageSpecificCheckValid()
[all …]
Daidl_to_ndk.cpp327 AIDL_FATAL_IF(aidl.GetTypeParameters().size() != 1, aidl) in GetTypeAspect()
329 auto& type_param = aidl.GetTypeParameters()[0]; in GetTypeAspect()
Daidl_typenames.cpp226 const auto& types = type.GetTypeParameters(); in CanBeImmutable()
Daidl_language.h133 const std::vector<T>& GetTypeParameters() const { return *type_params_; } in GetTypeParameters() function