Home
last modified time | relevance | path

Searched refs:ValidatableType (Results 1 – 9 of 9) sorted by relevance

/system/tools/aidl/
Dtype_namespace.cpp72 ValidatableType::ValidatableType( in ValidatableType() function in android::aidl::ValidatableType
82 string ValidatableType::HumanReadableKind() const { in HumanReadableKind()
84 case ValidatableType::KIND_BUILT_IN: in HumanReadableKind()
86 case ValidatableType::KIND_PARCELABLE: in HumanReadableKind()
88 case ValidatableType::KIND_INTERFACE: in HumanReadableKind()
90 case ValidatableType::KIND_GENERATED: in HumanReadableKind()
100 const ValidatableType* TypeNamespace::GetReturnType( in GetReturnType()
104 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg, in GetReturnType()
117 const ValidatableType* TypeNamespace::GetArgType( in GetArgType()
126 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg, in GetArgType()
Dtype_cpp.cpp72 VoidType() : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "void", in VoidType()
138 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, aidl_type, {header}, in PrimitiveType()
140 new CppArrayType(ValidatableType::KIND_BUILT_IN, kNoPackage,
158 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "byte", in ByteType()
160 new CppArrayType(ValidatableType::KIND_BUILT_IN, kNoPackage,
189 : Type(ValidatableType::KIND_GENERATED, in BinderType()
226 : Type(ValidatableType::KIND_PARCELABLE, in NullableParcelableType()
246 : Type(ValidatableType::KIND_PARCELABLE, in ParcelableType()
251 ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(),
271 : Type(ValidatableType::KIND_BUILT_IN, in NullableMap()
[all …]
Dtype_namespace.h50 class ValidatableType {
59 ValidatableType(int kind,
62 virtual ~ValidatableType() = default;
68 virtual const ValidatableType* ArrayType() const = 0;
69 virtual const ValidatableType* NullableType() const = 0;
88 DISALLOW_COPY_AND_ASSIGN(ValidatableType);
114 virtual const ValidatableType* GetReturnType(
121 virtual const ValidatableType* GetArgType(
128 virtual const ValidatableType* GetInterfaceType(
135 virtual const ValidatableType* GetValidatableType(
[all …]
Dtype_java.cpp50 : ValidatableType(kind, package, name, declFile, declLine), in Type()
104 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, false), in BasicType()
126 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, true), in BasicArrayType()
150 : Type(types, "java.io", "FileDescriptor", ValidatableType::KIND_BUILT_IN, in FileDescriptorType()
166 : Type(types, "java.io", "FileDescriptor", ValidatableType::KIND_BUILT_IN, in FileDescriptorArrayType()
187 : Type(types, "boolean", ValidatableType::KIND_BUILT_IN, true, false) { in BooleanType()
206 : Type(types, "boolean", ValidatableType::KIND_BUILT_IN, true, true) {} in BooleanArrayType()
226 : Type(types, "char", ValidatableType::KIND_BUILT_IN, true, false) { in CharType()
242 : Type(types, "char", ValidatableType::KIND_BUILT_IN, true, true) {} in CharArrayType()
265 ValidatableType::KIND_BUILT_IN, true, false) { in StringType()
[all …]
Dtype_java.h32 class Type : public ValidatableType {
47 const ValidatableType* ArrayType() const override { return m_array_type.get(); } in ArrayType()
48 const ValidatableType* NullableType() const override { return nullptr; } in NullableType()
91 const ValidatableType* NullableType() const override { return this; } in NullableType()
128 const ValidatableType* NullableType() const override { return this; } in NullableType()
151 const ValidatableType* NullableType() const override { return this; } in NullableType()
174 const ValidatableType* NullableType() const override { return this; } in NullableType()
199 const ValidatableType* NullableType() const override { return this; } in NullableType()
214 const ValidatableType* NullableType() const override { return this; } in NullableType()
259 const ValidatableType* NullableType() const override { return this; } in NullableType()
[all …]
Dast_java_unittest.cpp44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, in TEST()
46 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN, in TEST()
Dtype_cpp.h33 class Type : public ValidatableType {
105 const ValidatableType* GetArgType(const AidlArgument& a,
Daidl_language.h42 class ValidatableType; variable
92 void SetLanguageType(const android::aidl::ValidatableType* language_type) { in SetLanguageType()
106 const android::aidl::ValidatableType* language_type_ = nullptr;
339 void SetLanguageType(const android::aidl::ValidatableType* language_type) { in SetLanguageType()
358 const android::aidl::ValidatableType* language_type_ = nullptr;
Daidl.cpp194 const ValidatableType* return_type = in check_types()
216 const ValidatableType* arg_type = in check_types()