Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_apicheck.cpp64 for (const auto& m : newer.AsInterface()->GetMethods()) { in are_compatible_interfaces()
68 for (const auto& old_m : older.AsInterface()->GetMethods()) { in are_compatible_interfaces()
115 for (const auto& c : newer.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
119 for (const auto& old_c : older.AsInterface()->GetConstantDeclarations()) { in are_compatible_interfaces()
236 const bool old_is_iface = old_type->AsInterface() != nullptr; in check_api()
237 const bool new_is_iface = new_type->AsInterface() != nullptr; in check_api()
248 are_compatible_interfaces(*(old_type->AsInterface()), *(new_type->AsInterface())); in check_api()
Dgenerate_aidl_mappings.cpp31 const AidlInterface* interface = defined_type->AsInterface(); in generate_mappings()
Dgenerate_cpp_unittest.cpp1393 EXPECT_NE(nullptr, defined_types.front()->AsInterface()); in ParseSingleInterface()
1395 return defined_types.front()->AsInterface(); in ParseSingleInterface()
Dtype_namespace.cpp106 const AidlInterface* interface = type->AsInterface(); in AddDefinedTypes()
Daidl_to_java.cpp126 if (t != nullptr && t->AsInterface() != nullptr) { in IsMarshallingUnsupportedFor()
141 if (aidl.IsArray() && t != nullptr && t->AsInterface() != nullptr) { in IsMarshallingUnsupportedFor()
319 if (t->AsInterface() != nullptr) { in WriteToParcelFor()
518 if (t->AsInterface() != nullptr) { in CreateFromParcelFor()
Daidl_to_ndk.cpp255 if (type->AsInterface() != nullptr) { in GetTypeAspect()
256 info = InterfaceTypeInfo(*type->AsInterface()); in GetTypeAspect()
Daidl_language.h511 virtual const AidlInterface* AsInterface() const { return nullptr; } in AsInterface() function
521 AidlInterface* AsInterface() { in AsInterface() function
522 return const_cast<AidlInterface*>(const_cast<const AidlDefinedType*>(this)->AsInterface()); in AsInterface()
616 const AidlInterface* AsInterface() const override { return this; } in AsInterface() function
Daidl_unittest.cpp234 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
250 const AidlInterface* interface = parse_result->AsInterface(); in TEST_F()
467 const AidlInterface* interface = cpp_parse_result->AsInterface(); in TEST_F()
487 const AidlInterface* interface = cpp_parse_result->AsInterface(); in TEST_F()
Dgenerate_ndk.cpp110 const AidlInterface* interface = defined_type.AsInterface(); in GenerateNdk()
146 if (other_defined_type.AsInterface() != nullptr) { in GenerateHeaderIncludes()
162 if (a_defined_type.AsInterface() != nullptr) { in GenerateSourceIncludes()
Dgenerate_java.cpp87 const AidlInterface* interface = defined_type->AsInterface(); in generate_java()
Daidl.cpp587 AidlInterface* interface = defined_type->AsInterface(); in load_and_validate_aidl()
646 AidlInterface* interface = defined_type->AsInterface(); in load_and_validate_aidl()
Daidl_language.cpp223 if (definedType != nullptr && definedType->AsInterface() != nullptr) { in CheckValid()
Dgenerate_cpp.cpp1237 const AidlInterface* interface = defined_type.AsInterface(); in GenerateCpp()