Home
last modified time | relevance | path

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

/aosp12/system/tools/hidl/lint/lints/
H A Doneway.cpp30 enum InterfaceMethodType { NONE = 0, ONEWAY = 1, TWOWAY = 2, MIXED = ONEWAY | TWOWAY }; enum
33 static inline InterfaceMethodType operator|(InterfaceMethodType lhs, InterfaceMethodType rhs) { in operator |()
34 using T = std::underlying_type_t<InterfaceMethodType>; in operator |()
35 return static_cast<InterfaceMethodType>(static_cast<T>(lhs) | static_cast<T>(rhs)); in operator |()
39 static InterfaceMethodType getInterfaceOnewayType(const Interface& iface, in getInterfaceOnewayType()
41 InterfaceMethodType onewayType = NONE; in getInterfaceOnewayType()
79 InterfaceMethodType ifaceType = getInterfaceOnewayType(*iface, false); in onewayLint()
99 InterfaceMethodType parentType = getInterfaceOnewayType(*iface->superType(), true); in onewayLint()