Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_ndk.cpp204 TypeInfo aspect = GetTypeInfo(types, aidl); in NdkNameOf() local
208 return aspect.cpp_name; in NdkNameOf()
210 if (aspect.value_is_cheap) { in NdkNameOf()
211 return aspect.cpp_name; in NdkNameOf()
213 return "const " + aspect.cpp_name + "&"; in NdkNameOf()
216 return aspect.cpp_name + "*"; in NdkNameOf()
Daidl_language.cpp1027 const auto& aspect = typenames.GetArgumentAspect(GetType()); in CheckValid() local
1029 if (aspect.possible_directions.size() == 0) { in CheckValid()
1030 AIDL_ERROR(this) << aspect.name << " cannot be an argument type"; in CheckValid()
1035 if (!DirectionWasSpecified() && aspect.possible_directions != std::set{AidlArgument::IN_DIR}) { in CheckValid()
1036 AIDL_ERROR(this) << "The direction of '" << GetName() << "' is not specified. " << aspect.name in CheckValid()
1037 << " can be an " << FormatDirections(aspect.possible_directions) in CheckValid()
1042 if (aspect.possible_directions.count(GetDirection()) == 0) { in CheckValid()
1044 << " parameter because " << aspect.name << " can only be an " in CheckValid()
1045 << FormatDirections(aspect.possible_directions) << " parameter."; in CheckValid()