Home
last modified time | relevance | path

Searched refs:AidlTypeSpecifier (Results 1 – 19 of 19) sorted by relevance

/system/tools/aidl/
Daidl_to_java.h42 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
46 const string& JavaNameOf(const AidlTypeSpecifier& aidl);
50 string JavaSignatureOf(const AidlTypeSpecifier& aidl);
53 string DefaultJavaValueOf(const AidlTypeSpecifier& aidl);
60 const AidlTypeSpecifier& type;
Dtype_java_unittest.cpp56 std::vector<std::unique_ptr<AidlTypeSpecifier>>* type_args = in TEST_F()
57 new std::vector<std::unique_ptr<AidlTypeSpecifier>>(); in TEST_F()
58 type_args->emplace_back(new AidlTypeSpecifier(AIDL_LOCATION_HERE, "Foo", false, nullptr, "")); in TEST_F()
59 AidlTypeSpecifier container_type(AIDL_LOCATION_HERE, "List", false, type_args, ""); in TEST_F()
Daidl_language.h189 class AidlTypeSpecifier final : public AidlAnnotatable {
191 AidlTypeSpecifier(const AidlLocation& location, const string& unresolved_name, bool is_array,
192 vector<unique_ptr<AidlTypeSpecifier>>* type_params, const string& comments);
193 virtual ~AidlTypeSpecifier() = default;
196 AidlTypeSpecifier ArrayBase() const;
229 const vector<unique_ptr<AidlTypeSpecifier>>& GetTypeParameters() const { return *type_params_; } in GetTypeParameters()
246 AidlTypeSpecifier(const AidlTypeSpecifier&) = default;
251 const shared_ptr<vector<unique_ptr<AidlTypeSpecifier>>> type_params_;
259 std::function<std::string(const AidlTypeSpecifier& type, const std::string& raw_value)>;
262 std::string AidlConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
[all …]
Dtype_namespace.h102 virtual bool MaybeAddContainerType(const AidlTypeSpecifier& aidl_type) = 0;
109 virtual const ValidatableType* GetReturnType(const AidlTypeSpecifier& raw_type,
126 virtual const ValidatableType* GetValidatableType(const AidlTypeSpecifier& type,
142 const T* Find(const AidlTypeSpecifier& aidl_type) const;
158 bool MaybeAddContainerType(const AidlTypeSpecifier& aidl_type) override;
175 virtual bool CanonicalizeContainerType(const AidlTypeSpecifier& aidl_type,
182 const ValidatableType* GetValidatableType(const AidlTypeSpecifier& type, std::string* error_msg,
219 const T* LanguageTypeNamespace<T>::Find(const AidlTypeSpecifier& aidl_type) const { in Find()
264 bool LanguageTypeNamespace<T>::MaybeAddContainerType(const AidlTypeSpecifier& aidl_type) { in MaybeAddContainerType()
314 const AidlTypeSpecifier& aidl_type, std::vector<std::string>* container_class, in CanonicalizeContainerType()
[all …]
Daidl_to_cpp.h26 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value);
32 const AidlTypeSpecifier& type; // an argument or return type to generate code for
Daidl_language.cpp144 AidlTypeSpecifier::AidlTypeSpecifier(const AidlLocation& location, const string& unresolved_name, in AidlTypeSpecifier() function in AidlTypeSpecifier
146 vector<unique_ptr<AidlTypeSpecifier>>* type_params, in AidlTypeSpecifier()
154 AidlTypeSpecifier AidlTypeSpecifier::ArrayBase() const { in ArrayBase()
157 AidlTypeSpecifier arrayBase = *this; in ArrayBase()
162 string AidlTypeSpecifier::ToString() const { in ToString()
177 string AidlTypeSpecifier::Signature() const { in Signature()
186 bool AidlTypeSpecifier::Resolve(android::aidl::AidlTypenames& typenames) { in Resolve()
195 bool AidlTypeSpecifier::CheckValid(const AidlTypenames& typenames) const { in CheckValid()
238 std::string AidlConstantValueDecorator(const AidlTypeSpecifier& /*type*/, in AidlConstantValueDecorator() argument
244 AidlTypeSpecifier* type, const std::string& name) in AidlVariableDeclaration()
[all …]
Daidl_typenames.h34 class AidlTypeSpecifier; variable
60 bool CanBeOutParameter(const AidlTypeSpecifier& type) const;
Daidl_to_ndk.h39 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode);
45 const AidlTypeSpecifier& type;
Daidl_to_cpp.cpp30 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator()
Daidl_language_y.yy51 AidlTypeSpecifier* type;
66 std::vector<std::unique_ptr<AidlTypeSpecifier>>* type_args;
359 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), false, nullptr, $1->GetComments());
364 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), true, nullptr, $1->GetComments());
369 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), false, $3, $1->GetComments());
387 $$ = new std::vector<std::unique_ptr<AidlTypeSpecifier>>();
Daidl_to_cpp_common.cpp163 TypeInfo GetTypeInfo(const AidlTypeSpecifier& aidl) { in GetTypeInfo()
182 bool CanWriteLog(const AidlTypeSpecifier& aidl) { in CanWriteLog()
186 void WriteLogFor(CodeWriter& writer, const AidlTypeSpecifier& type, const std::string& name, in WriteLogFor()
Daidl_to_java.cpp43 std::string ConstantValueDecorator(const AidlTypeSpecifier& /*type*/, in ConstantValueDecorator() argument
49 const string& JavaNameOf(const AidlTypeSpecifier& aidl) { in JavaNameOf()
80 string JavaSignatureOf(const AidlTypeSpecifier& aidl) { in JavaSignatureOf()
95 string DefaultJavaValueOf(const AidlTypeSpecifier& aidl) { in DefaultJavaValueOf()
112 static bool IsMarshallingUnsupportedFor(const AidlTypeSpecifier& aidl, in IsMarshallingUnsupportedFor()
Dtype_namespace.cpp91 const ValidatableType* TypeNamespace::GetReturnType(const AidlTypeSpecifier& raw_type, in GetReturnType()
Daidl_apicheck.cpp49 static bool are_compatible_types(const AidlTypeSpecifier& older, const AidlTypeSpecifier& newer) { in are_compatible_types()
Daidl_to_ndk.cpp238 static TypeInfo::Aspect GetTypeAspect(const AidlTypenames& types, const AidlTypeSpecifier& aidl) { in GetTypeAspect()
290 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode) { in NdkNameOf()
Daidl_typenames.cpp163 bool AidlTypenames::CanBeOutParameter(const AidlTypeSpecifier& type) const { in CanBeOutParameter()
Daidl.cpp200 AidlTypeSpecifier* specifier = constant->GetMutableType(); in register_types()
667 AidlTypeSpecifier* ret = in load_and_validate_aidl()
668 new AidlTypeSpecifier(AIDL_LOCATION_HERE, "int", false, nullptr, ""); in load_and_validate_aidl()
Daidl_unittest.cpp300 AidlTypeSpecifier ambiguous_type(AIDL_LOCATION_HERE, "IBar", false, nullptr, ""); in TEST_F()
Dgenerate_java_binder.cpp370 static void generate_write_to_parcel(const AidlTypeSpecifier& type, StatementBlock* addTo, in generate_write_to_parcel()