Home
last modified time | relevance | path

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

/external/libweave/src/privet/
Dsecurity_manager_unittest.cc56 PairingType pairing_type,
69 settings->pairing_modes = {PairingType::kEmbeddedCode}; in SecurityManagerConfigStore()
93 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in PairAndAuthenticate()
212 EXPECT_CALL(callbacks, OnPairingStart(_, PairingType::kEmbeddedCode, _)); in TEST_F()
213 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
243 EXPECT_CALL(callbacks, OnPairingStart(_, PairingType::kEmbeddedCode, _)); in TEST_F()
244 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
256 bool result = security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
299 EXPECT_TRUE(security_.StartPairing(PairingType::kEmbeddedCode, in TEST_F()
Dprivet_types.cc24 const EnumToStringMap<PairingType>::Map kPairingTypeMap[] = {
25 {PairingType::kPinCode, "pinCode"},
26 {PairingType::kEmbeddedCode, "embeddedCode"},
76 LIBWEAVE_EXPORT EnumToStringMap<PairingType>::EnumToStringMap() in EnumToStringMap()
Dmock_delegates.h80 MOCK_CONST_METHOD0(GetPairingTypes, std::set<PairingType>());
87 bool(PairingType, CryptoType, std::string*, std::string*, ErrorPtr*));
119 .WillRepeatedly(Return(std::set<PairingType>{ in MockSecurityDelegate()
120 PairingType::kPinCode, PairingType::kEmbeddedCode, in MockSecurityDelegate()
Dsecurity_manager.h40 PairingType pairing_type,
72 std::set<PairingType> GetPairingTypes() const override;
78 bool StartPairing(PairingType mode,
Dsecurity_delegate.h39 virtual std::set<PairingType> GetPairingTypes() const = 0;
55 virtual bool StartPairing(PairingType mode,
Dsecurity_manager.cc80 PairingType::kEmbeddedCode) ==
197 std::set<PairingType> SecurityManager::GetPairingTypes() const { in GetPairingTypes()
256 bool SecurityManager::StartPairing(PairingType mode, in StartPairing()
273 case PairingType::kEmbeddedCode: in StartPairing()
277 case PairingType::kPinCode: in StartPairing()
Dprivet_handler.cc249 for (PairingType type : security.GetPairingTypes()) in CreateInfoAuthSection()
582 PairingType pairing; in HandlePairingStart()
583 std::set<PairingType> modes = security_->GetPairingTypes(); in HandlePairingStart()
Dprivet_handler_unittest.cc215 .WillRepeatedly(Return(std::set<PairingType>{})); in TEST_F()
/external/libweave/include/weave/
Dsettings.h25 enum class PairingType { enum
56 std::set<PairingType> pairing_modes;
Ddevice.h150 PairingType pairing_type,
/external/libweave/examples/provider/
Dfile_config_store.cc49 settings->pairing_modes = {PairingType::kEmbeddedCode}; in LoadDefaults()
/external/libweave/src/
Dconfig_unittest.cc73 EXPECT_EQ(std::set<PairingType>{PairingType::kPinCode}, in TEST_F()
Dconfig.cc76 result.pairing_modes.insert(PairingType::kPinCode); in CreateDefaultSettings()
132 (settings_.pairing_modes.find(PairingType::kEmbeddedCode) == in Load()