Searched refs:GcdState (Results 1 – 9 of 9) sorted by relevance
/external/libweave/src/ |
D | registration_status.cc | 13 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()
|
D | device_registration_info_unittest.cc | 193 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()
|
D | device_registration_info.h | 122 GcdState GetGcdState() const { return gcd_state_; } in GetGcdState() 258 void SetGcdState(GcdState new_state); 350 GcdState gcd_state_{GcdState::kUnconfigured};
|
D | device_registration_info.cc | 261 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()
|
D | device_manager.h | 74 GcdState GetGcdState() const override;
|
D | device_manager.cc | 84 GcdState DeviceManager::GetGcdState() const { in GetGcdState()
|
/external/libweave/include/weave/ |
D | device.h | 27 enum class GcdState { enum 133 virtual GcdState GetGcdState() const = 0; 136 using GcdStateChangedCallback = base::Callback<void(GcdState state)>;
|
/external/libweave/src/privet/ |
D | cloud_delegate.cc | 242 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/ |
D | mock_device.h | 62 MOCK_CONST_METHOD0(GetGcdState, GcdState());
|