/system/tools/aidl/ |
D | type_java.cpp | 46 : ValidatableType(kind, package, name, declFile, declLine), in Type() 70 : Type(types, name, ValidatableType::KIND_BUILT_IN, true), in BasicType() 80 : Type(types, name, ValidatableType::KIND_BUILT_IN, true), in BasicArrayType() 88 : Type(types, "java.io", "FileDescriptor", ValidatableType::KIND_BUILT_IN, true) { in FileDescriptorType() 93 : Type(types, "java.io", "FileDescriptor", ValidatableType::KIND_BUILT_IN, true) {} in FileDescriptorArrayType() 98 : Type(types, "android.os", "ParcelFileDescriptor", ValidatableType::KIND_BUILT_IN, true) { in ParcelFileDescriptorType() 103 : Type(types, "android.os", "ParcelFileDescriptor", ValidatableType::KIND_BUILT_IN, true) {} in ParcelFileDescriptorArrayType() 108 : Type(types, "boolean", ValidatableType::KIND_BUILT_IN, true) { in BooleanType() 113 : Type(types, "boolean", ValidatableType::KIND_BUILT_IN, true) {} in BooleanArrayType() 118 : Type(types, "char", ValidatableType::KIND_BUILT_IN, true) { in CharType() [all …]
|
D | type_cpp.cpp | 48 VoidType() : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "void", in VoidType() 113 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, aidl_type, {header}, in PrimitiveType() 115 new CppArrayType(ValidatableType::KIND_BUILT_IN, kNoPackage, 133 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "byte", in ByteType() 135 new CppArrayType(ValidatableType::KIND_BUILT_IN, kNoPackage, 169 : Type(ValidatableType::KIND_GENERATED, interface.GetPackage(), interface.GetName(), in BinderType() 198 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in NullableParcelableType() 214 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in ParcelableType() 216 new CppArrayType(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), 233 : Type(ValidatableType::KIND_BUILT_IN, in NullableMap() [all …]
|
D | type_namespace.cpp | 67 ValidatableType::ValidatableType( in ValidatableType() function in android::aidl::ValidatableType 77 string ValidatableType::HumanReadableKind() const { in HumanReadableKind() 79 case ValidatableType::KIND_BUILT_IN: in HumanReadableKind() 81 case ValidatableType::KIND_PARCELABLE: in HumanReadableKind() 83 case ValidatableType::KIND_INTERFACE: in HumanReadableKind() 85 case ValidatableType::KIND_GENERATED: in HumanReadableKind() 91 const ValidatableType* TypeNamespace::GetReturnType(const AidlTypeSpecifier& raw_type, in GetReturnType() 94 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg, context); in GetReturnType() 123 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, int arg_index, in GetArgType() 130 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg, context); in GetArgType()
|
D | type_java.h | 31 class Type : public ValidatableType { 46 const ValidatableType* ArrayType() const override { return m_array_type.get(); } in ArrayType() 47 const ValidatableType* NullableType() const override { return nullptr; } in NullableType() 78 const ValidatableType* NullableType() const override { return this; } in NullableType() 102 const ValidatableType* NullableType() const override { return this; } in NullableType() 114 const ValidatableType* NullableType() const override { return this; } in NullableType() 121 const ValidatableType* NullableType() const override { return this; } in NullableType() 127 const ValidatableType* NullableType() const override { return this; } in NullableType() 138 const ValidatableType* NullableType() const override { return this; } in NullableType() 150 const ValidatableType* NullableType() const override { return this; } in NullableType() [all …]
|
D | type_namespace.h | 46 class ValidatableType { 55 ValidatableType(int kind, 58 virtual ~ValidatableType() = default; 63 virtual const ValidatableType* ArrayType() const = 0; 64 virtual const ValidatableType* NullableType() const = 0; 83 DISALLOW_COPY_AND_ASSIGN(ValidatableType); 109 virtual const ValidatableType* GetReturnType(const AidlTypeSpecifier& raw_type, 114 virtual const ValidatableType* GetArgType(const AidlArgument& a, int arg_index, 118 virtual const ValidatableType* GetDefinedType(const AidlDefinedType& defined_type) const = 0; 126 virtual const ValidatableType* GetValidatableType(const AidlTypeSpecifier& type, [all …]
|
D | ast_java_unittest.cpp | 44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, false); in TEST() 45 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN, false); in TEST()
|
D | type_cpp.h | 32 class Type : public ValidatableType { 102 const ValidatableType* GetArgType(const AidlArgument& a, int arg_index,
|
D | aidl_language.h | 131 class ValidatableType; variable 237 void SetLanguageType(const android::aidl::ValidatableType* language_type) { in SetLanguageType() 253 const android::aidl::ValidatableType* language_type_ = nullptr; 534 void SetLanguageType(const android::aidl::ValidatableType* language_type) { in SetLanguageType() 548 const android::aidl::ValidatableType* language_type_ = nullptr;
|
D | aidl.cpp | 161 const ValidatableType* type = types->GetReturnType(v->GetType(), *parcel); in register_types() 176 const ValidatableType* return_type = types->GetReturnType(m->GetType(), *c); in register_types() 191 const ValidatableType* arg_type = types->GetArgType(*arg, index, *c); in register_types() 201 const ValidatableType* return_type = types->GetReturnType(*specifier, *c); in register_types()
|