/system/tools/aidl/ |
D | aidl_to_java.h | 42 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;
|
D | type_java_unittest.cpp | 56 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()
|
D | aidl_language.h | 189 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 …]
|
D | type_namespace.h | 102 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 …]
|
D | aidl_to_cpp.h | 26 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value); 32 const AidlTypeSpecifier& type; // an argument or return type to generate code for
|
D | aidl_language.cpp | 144 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 …]
|
D | aidl_typenames.h | 34 class AidlTypeSpecifier; variable 60 bool CanBeOutParameter(const AidlTypeSpecifier& type) const;
|
D | aidl_to_ndk.h | 39 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode); 45 const AidlTypeSpecifier& type;
|
D | aidl_to_cpp.cpp | 30 std::string ConstantValueDecorator(const AidlTypeSpecifier& type, const std::string& raw_value) { in ConstantValueDecorator()
|
D | aidl_language_y.yy | 51 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>>();
|
D | aidl_to_cpp_common.cpp | 163 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()
|
D | aidl_to_java.cpp | 43 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()
|
D | type_namespace.cpp | 91 const ValidatableType* TypeNamespace::GetReturnType(const AidlTypeSpecifier& raw_type, in GetReturnType()
|
D | aidl_apicheck.cpp | 49 static bool are_compatible_types(const AidlTypeSpecifier& older, const AidlTypeSpecifier& newer) { in are_compatible_types()
|
D | aidl_to_ndk.cpp | 238 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()
|
D | aidl_typenames.cpp | 163 bool AidlTypenames::CanBeOutParameter(const AidlTypeSpecifier& type) const { in CanBeOutParameter()
|
D | aidl.cpp | 200 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()
|
D | aidl_unittest.cpp | 300 AidlTypeSpecifier ambiguous_type(AIDL_LOCATION_HERE, "IBar", false, nullptr, ""); in TEST_F()
|
D | generate_java_binder.cpp | 370 static void generate_write_to_parcel(const AidlTypeSpecifier& type, StatementBlock* addTo, in generate_write_to_parcel()
|