Home
last modified time | relevance | path

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

/external/libweave/src/
Dregistration_status.cc13 const EnumToStringMap<GcdState>::Map kMap[] = {
14 {GcdState::kUnconfigured, "unconfigured"},
15 {GcdState::kConnecting, "connecting"},
16 {GcdState::kConnected, "connected"},
17 {GcdState::kInvalidCredentials, "invalid_credentials"},
23 LIBWEAVE_EXPORT EnumToStringMap<GcdState>::EnumToStringMap() in EnumToStringMap()
Ddevice_registration_info_unittest.cc193 GcdState GetGcdState() const { return dev_reg_->GetGcdState(); } in GetGcdState()
291 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
315 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
320 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
344 EXPECT_EQ(GcdState::kInvalidCredentials, GetGcdState()); in TEST_F()
553 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
575 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
591 EXPECT_EQ(GcdState::kUnconfigured, GetGcdState()); in TEST_F()
594 EXPECT_EQ(GcdState::kConnecting, GetGcdState()); in TEST_F()
Ddevice_registration_info.h122 GcdState GetGcdState() const { return gcd_state_; } in GetGcdState()
258 void SetGcdState(GcdState new_state);
350 GcdState gcd_state_{GcdState::kUnconfigured};
Ddevice_registration_info.cc261 revoked ? GcdState::kInvalidCredentials : GcdState::kUnconfigured;
309 SetGcdState(GcdState::kConnecting); in ScheduleCloudConnection()
349 SetGcdState(GcdState::kInvalidCredentials); in ParseOAuthResponse()
742 SetGcdState(GcdState::kConnected); in OnCloudRequestDone()
749 SetGcdState(GcdState::kConnecting); in RetryCloudRequest()
1207 void DeviceRegistrationInfo::SetGcdState(GcdState new_state) { in SetGcdState()
1350 SetGcdState(GcdState::kInvalidCredentials); in RemoveCredentials()
Ddevice_manager.h74 GcdState GetGcdState() const override;
Ddevice_manager.cc84 GcdState DeviceManager::GetGcdState() const { in GetGcdState()
/external/libweave/include/weave/
Ddevice.h27 enum class GcdState { enum
133 virtual GcdState GetGcdState() const = 0;
136 using GcdStateChangedCallback = base::Callback<void(GcdState state)>;
/external/libweave/src/privet/
Dcloud_delegate.cc242 void OnRegistrationChanged(GcdState status) { in OnRegistrationChanged()
243 if (status == GcdState::kUnconfigured || in OnRegistrationChanged()
244 status == GcdState::kInvalidCredentials) { in OnRegistrationChanged()
246 } else if (status == GcdState::kConnecting) { in OnRegistrationChanged()
249 } else if (status == GcdState::kConnected) { in OnRegistrationChanged()
/external/libweave/include/weave/test/
Dmock_device.h62 MOCK_CONST_METHOD0(GetGcdState, GcdState());