Searched refs:aspect (Results 1 – 2 of 2) sorted by relevance
204 TypeInfo aspect = GetTypeInfo(types, aidl); in NdkNameOf() local208 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()
1021 const auto& aspect = typenames.GetArgumentAspect(GetType()); in CheckValid() local1023 if (aspect.possible_directions.size() == 0) { in CheckValid()1024 AIDL_ERROR(this) << aspect.name << " cannot be an argument type"; in CheckValid()1029 if (!DirectionWasSpecified() && aspect.possible_directions != std::set{AidlArgument::IN_DIR}) { in CheckValid()1030 AIDL_ERROR(this) << "The direction of '" << GetName() << "' is not specified. " << aspect.name in CheckValid()1031 << " can be an " << FormatDirections(aspect.possible_directions) in CheckValid()1036 if (aspect.possible_directions.count(GetDirection()) == 0) { in CheckValid()1038 << " parameter because " << aspect.name << " can only be an " in CheckValid()1039 << FormatDirections(aspect.possible_directions) << " parameter."; in CheckValid()