Home
last modified time | relevance | path

Searched refs:AsInterface (Results 1 – 14 of 14) sorted by relevance

/system/tools/aidl/
Daidl_checkapi.cpp95 for (const auto& m : newer.AsInterface()->GetMethods()) { in are_compatible_interfaces()
99 for (const auto& old_m : older.AsInterface()->GetMethods()) { in are_compatible_interfaces()
146 for (const auto& c : newer.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
150 for (const auto& old_c : older.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
345 if (old_type->AsInterface() != nullptr) { in check_api()
346 if (new_type->AsInterface() == nullptr) { in check_api()
354 are_compatible_interfaces(*(old_type->AsInterface()), *(new_type->AsInterface())); in check_api()
Dgenerate_aidl_mappings.cpp32 const AidlInterface* interface = defined_type->AsInterface(); in generate_mappings()
Daidl_to_cpp.cpp109 if (definedType != nullptr && definedType->AsInterface() != nullptr) { in RawParcelMethod()
180 if (definedType != nullptr && definedType->AsInterface() != nullptr) { in GetCppName()
310 if (definedType->AsInterface() != nullptr || definedType->AsStructuredParcelable() != nullptr || in AddHeaders()
Dgenerate_cpp_unittest.cpp1535 EXPECT_NE(nullptr, defined_types.front().get()->AsInterface()); in ParseSingleInterface()
1537 return defined_types.front().get()->AsInterface(); in ParseSingleInterface()
Daidl_unittest.cpp353 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
363 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
373 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
383 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
433 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
520 const AidlInterface* iface = defined->AsInterface(); in TEST_P()
544 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
840 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
859 const AidlInterface* interface = parse_result->AsInterface(); in TEST_P()
Daidl_language.h674 virtual const AidlInterface* AsInterface() const { return nullptr; } in AsInterface() function
690 AidlInterface* AsInterface() { in AsInterface() function
691 return const_cast<AidlInterface*>(const_cast<const AidlDefinedType*>(this)->AsInterface()); in AsInterface()
863 const AidlInterface* AsInterface() const override { return this; } in AsInterface() function
Daidl.cpp428 if (type->AsInterface() != nullptr || type->AsStructuredParcelable() != nullptr) { in load_and_validate_aidl()
620 AidlInterface* interface = defined_type->AsInterface(); in load_and_validate_aidl()
708 const AidlInterface* iface = type.AsInterface(); in load_and_validate_aidl()
Daidl_typenames.cpp269 if (auto intf = defined_type->AsInterface(); intf != nullptr) { in GetInterface()
Dgenerate_ndk.cpp145 if (const AidlInterface* interface = defined_type.AsInterface(); interface != nullptr) { in GenerateNdk()
191 if (type->AsInterface() != nullptr) { in GenerateHeaderIncludes()
207 const AidlInterface* interface = defined_type.AsInterface(); in GenerateHeaderIncludes()
242 if (a_defined_type.AsInterface() != nullptr) { in GenerateSourceIncludes()
Daidl_to_java.cpp380 if (t->AsInterface() != nullptr) { in WriteToParcelFor()
615 if (t->AsInterface() != nullptr) { in CreateFromParcelFor()
815 if (t->AsInterface() != nullptr || t->AsParcelable() != nullptr) { in ToStringFor()
Daidl_to_ndk.cpp353 if (const AidlInterface* intf = type->AsInterface(); intf != nullptr) { in GetTypeAspect()
Dgenerate_java.cpp88 if (const AidlInterface* interface = defined_type->AsInterface(); interface != nullptr) { in generate_java()
Daidl_language.cpp498 if (defined_type != nullptr && defined_type->AsInterface() != nullptr) { in CheckValid()
Dgenerate_cpp.cpp1433 const AidlInterface* interface = defined_type.AsInterface(); in GenerateCpp()