Searched refs:AsInterface (Results 1 – 14 of 14) sorted by relevance
90 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()
32 const AidlInterface* interface = defined_type->AsInterface(); in generate_mappings()
109 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()
1546 EXPECT_NE(nullptr, defined_types.front()->AsInterface()); in ParseSingleInterface()1548 return defined_types.front()->AsInterface(); in ParseSingleInterface()
203 if (auto intf = defined_type->AsInterface(); intf != nullptr) { in GetInterface()
303 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()
660 virtual const AidlInterface* AsInterface() const { return nullptr; } in AsInterface() function675 AidlInterface* AsInterface() { in AsInterface() function676 return const_cast<AidlInterface*>(const_cast<const AidlDefinedType*>(this)->AsInterface()); in AsInterface()822 const AidlInterface* AsInterface() const override { return this; } in AsInterface() function
146 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()
429 if (type->AsInterface() != nullptr || type->AsStructuredParcelable() != nullptr) { in load_and_validate_aidl()612 AidlInterface* interface = defined_type->AsInterface(); in load_and_validate_aidl()
88 if (const AidlInterface* interface = defined_type->AsInterface(); interface != nullptr) { in generate_java()
375 if (t->AsInterface() != nullptr) { in WriteToParcelFor()602 if (t->AsInterface() != nullptr) { in CreateFromParcelFor()
351 if (const AidlInterface* intf = type->AsInterface(); intf != nullptr) { in GetTypeAspect()
468 if (defined_type != nullptr && defined_type->AsInterface() != nullptr) { in CheckValid()
1433 const AidlInterface* interface = defined_type.AsInterface(); in GenerateCpp()