Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_checkapi.cpp90 for (const auto& m : newer.AsInterface()->GetMethods()) { in are_compatible_interfaces()
94 for (const auto& old_m : older.AsInterface()->GetMethods()) { in are_compatible_interfaces()
141 for (const auto& c : newer.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
145 for (const auto& old_c : older.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
307 if (old_type->AsInterface() != nullptr) { in check_api()
308 if (new_type->AsInterface() == nullptr) { in check_api()
316 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.cpp1546 EXPECT_NE(nullptr, defined_types.front()->AsInterface()); in ParseSingleInterface()
1548 return defined_types.front()->AsInterface(); in ParseSingleInterface()
Daidl_typenames.cpp203 if (auto intf = defined_type->AsInterface(); intf != nullptr) { in GetInterface()
Daidl_unittest.cpp303 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
318 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
357 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
411 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
634 const AidlInterface* interface = cpp_parse_result->AsInterface(); in TEST_F()
653 const AidlInterface* interface = cpp_parse_result->AsInterface(); in TEST_F()
Daidl_language.h660 virtual const AidlInterface* AsInterface() const { return nullptr; } in AsInterface() function
675 AidlInterface* AsInterface() { in AsInterface() function
676 return const_cast<AidlInterface*>(const_cast<const AidlDefinedType*>(this)->AsInterface()); in AsInterface()
822 const AidlInterface* AsInterface() const override { return this; } in AsInterface() function
Dgenerate_ndk.cpp146 if (const AidlInterface* interface = defined_type.AsInterface(); interface != nullptr) { in GenerateNdk()
188 if (other_defined_type.AsInterface() != nullptr) { in GenerateHeaderIncludes()
209 if (a_defined_type.AsInterface() != nullptr) { in GenerateSourceIncludes()
Daidl.cpp429 if (type->AsInterface() != nullptr || type->AsStructuredParcelable() != nullptr) { in load_and_validate_aidl()
612 AidlInterface* interface = defined_type->AsInterface(); in load_and_validate_aidl()
Dgenerate_java.cpp88 if (const AidlInterface* interface = defined_type->AsInterface(); interface != nullptr) { in generate_java()
Daidl_to_java.cpp375 if (t->AsInterface() != nullptr) { in WriteToParcelFor()
602 if (t->AsInterface() != nullptr) { in CreateFromParcelFor()
Daidl_to_ndk.cpp351 if (const AidlInterface* intf = type->AsInterface(); intf != nullptr) { in GetTypeAspect()
Daidl_language.cpp468 if (defined_type != nullptr && defined_type->AsInterface() != nullptr) { in CheckValid()
Dgenerate_cpp.cpp1433 const AidlInterface* interface = defined_type.AsInterface(); in GenerateCpp()