Searched refs:Capability (Results 1 – 14 of 14) sorted by relevance
23 GetCapabilitiesRequestBuilder::MakeBuilder(Capability capability) { in MakeBuilder()48 Capability GetCapabilitiesRequest::GetCapabilityRequested() const { in GetCapabilityRequested()50 return static_cast<Capability>(value); in GetCapabilityRequested()77 new GetCapabilitiesResponseBuilder(Capability::COMPANY_ID)); in MakeCompanyIdBuilder()88 new GetCapabilitiesResponseBuilder(Capability::EVENTS_SUPPORTED)); in MakeEventsSupportedBuilder()97 CHECK_EQ(capability_, Capability::COMPANY_ID); in AddCompanyId()109 CHECK_EQ(capability_, Capability::EVENTS_SUPPORTED); in AddEvent()121 size_t capability_size = capability_ == Capability::COMPANY_ID ? 3 : 1; in size()142 if (capability_ == Capability::COMPANY_ID) in Serialize()
31 Capability capability);38 Capability capability_;40 GetCapabilitiesRequestBuilder(Capability capability) in GetCapabilitiesRequestBuilder()68 Capability GetCapabilityRequested() const;96 Capability capability_;99 GetCapabilitiesResponseBuilder(Capability capability) in GetCapabilitiesResponseBuilder()
43 capability_(Capability::UNKNOWN), in ScanResult()106 if ((capability_ == Capability::UNKNOWN) || in Deserialize()107 (capability_ & ~Capability::ALL_CAPABILITIES_MASK)) { in Deserialize()
100 inline std::string CapabilityText(const Capability& cap) { in CapabilityText()102 CASE_RETURN_TEXT(Capability::COMPANY_ID); in CapabilityText()103 CASE_RETURN_TEXT(Capability::EVENTS_SUPPORTED); in CapabilityText()109 inline std::ostream& operator<<(std::ostream& os, const Capability& cap) {
66 enum class Capability : uint8_t { enum
38 enum Capability : uint16_t { enum
33 Capability::EVENTS_SUPPORTED); in TEST()
96 # Capability checks when on a non-init user namespace
99 # Capability checks when on a non-init user namespace
95 # Capability checks when on a non-init user namespace
196 case Capability::COMPANY_ID: { in HandleGetCapabilities()203 case Capability::EVENTS_SUPPORTED: { in HandleGetCapabilities()