Searched refs:if_class (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/client/ |
D | usb_osx.cpp | 144 UInt8 if_class, subclass, protocol; in AndroidInterfaceAdded() local 174 kr = (*iface)->GetInterfaceClass(iface, &if_class); in AndroidInterfaceAdded() 177 if (!is_adb_interface(if_class, subclass, protocol)) { in AndroidInterfaceAdded() 179 LOG(DEBUG) << "Ignoring interface with incorrect class/subclass/protocol - " << if_class in AndroidInterfaceAdded()
|
/system/tools/aidl/ |
D | generate_cpp.cpp | 915 unique_ptr<ClassDecl> if_class{new ClassDecl{i_name, "::android::IInterface"}}; in BuildInterfaceHeader() local 916 if_class->AddPublic(unique_ptr<Declaration>{new MacroDecl{ in BuildInterfaceHeader() 924 if_class->AddPublic(unique_ptr<Declaration>(new LiteralDecl(code.str()))); in BuildInterfaceHeader() 952 if_class->AddPublic(std::move(int_constant_enum)); in BuildInterfaceHeader() 958 if_class->AddPublic(std::move(string_constant)); in BuildInterfaceHeader() 970 if_class->AddPublic(BuildMethodDecl(*method, types, true)); in BuildInterfaceHeader() 972 if_class->AddPublic(BuildMetaMethodDecl(*method, types, options, true)); in BuildInterfaceHeader() 978 decls.emplace_back(std::move(if_class)); in BuildInterfaceHeader()
|