Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_java.cpp89 if (aidl.IsArray()) { in JavaSignatureOf()
103 if (!aidl.IsArray() && m.find(name) != m.end()) { in DefaultJavaValueOf()
133 if (AidlTypenames::IsBuiltinTypename(name) && aidl.IsArray()) { in IsMarshallingUnsupportedFor()
141 if (aidl.IsArray() && t != nullptr && t->AsInterface() != nullptr) { in IsMarshallingUnsupportedFor()
312 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in WriteToParcelFor()
320 if (!c.type.IsArray()) { in WriteToParcelFor()
327 if (c.type.IsArray()) { in WriteToParcelFor()
511 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in CreateFromParcelFor()
519 if (!c.type.IsArray()) { in CreateFromParcelFor()
524 if (c.type.IsArray()) { in CreateFromParcelFor()
[all …]
Daidl_to_cpp.cpp31 if (type.GetName() == "String" && !type.IsArray() && !type.IsUtf8InCpp()) { in ConstantValueDecorator()
Dtype_namespace.h225 string name = Trim(aidl_type.IsArray() ? aidl_type.GetName() : aidl_type.ToString()); in Find()
374 if (aidl_type.IsArray()) { in GetValidatableType()
419 if (aidl_type.IsArray()) { in GetValidatableType()
441 (aidl_type.IsArray()) ? "[]" : ""); in GetValidatableType()
Dgenerate_java_binder.cpp406 decl->returnTypeDimension = method.GetType().IsArray() ? 1 : 0; in generate_interface_method()
412 arg->GetName(), arg->GetType().IsArray() ? 1 : 0)); in generate_interface_method()
443 v->dimension = arg->GetType().IsArray() ? 1 : 0; in generate_stub_code()
460 if (!arg->GetType().IsArray()) { in generate_stub_code()
505 "_result", method.GetType().IsArray() ? 1 : 0); in generate_stub_code()
599 proxy->returnTypeDimension = method.GetType().IsArray() ? 1 : 0; in generate_proxy_method()
604 arg->GetName(), arg->GetType().IsArray() ? 1 : 0)); in generate_proxy_method()
622 _result = new Variable(*proxy->returnType, "_result", method.GetType().IsArray() ? 1 : 0); in generate_proxy_method()
648 Variable* v = new Variable(t->JavaType(), arg->GetName(), arg->GetType().IsArray() ? 1 : 0); in generate_proxy_method()
650 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_proxy_method()
[all …]
Daidl_language.cpp171 if (IsArray()) { in ToString()
215 if (IsArray() || IsNullable() || IsUtf8InCpp()) { in CheckValid()
221 if (IsArray()) { in CheckValid()
230 if (AidlTypenames::IsPrimitiveTypename(GetName()) && !IsArray()) { in CheckValid()
413 if ((type_ == Type::ARRAY) != type.IsArray()) { in As()
Daidl_typenames.cpp166 return type.IsArray() || type.GetName() == "List" || type.GetName() == "Map" || in CanBeOutParameter()
Daidl_to_cpp_common.cpp194 if (type.IsArray()) { in WriteLogFor()
Dgenerate_java.cpp114 out << "public " << type->JavaType() << (variable->GetType().IsArray() ? "[]" : "") << " " in generate_parcel_class()
Daidl_to_ndk.cpp264 if (aidl.IsArray()) { in GetTypeAspect()
Dgenerate_cpp.cpp113 if (!type->IsCppPrimitive() || a->GetType().IsArray()) { in BuildArgList()
284 } else if (a->IsOut() && a->GetType().IsArray()) { in DefineClientTransaction()
527 } else if (a->IsOut() && a->GetType().IsArray()) { in HandleServerTransaction()
Dgenerate_ndk.cpp278 } else if (arg->IsOut() && arg->GetType().IsArray()) { in GenerateClientMethodDefinition()
362 } else if (arg->IsOut() && arg->GetType().IsArray()) { in GenerateServerCaseDefinition()
Daidl_language.h225 bool IsArray() const { return is_array_; } in IsArray() function