Home
last modified time | relevance | path

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

/external/libweave/src/privet/
Dprivet_types.cc20 using privet::SetupState;
43 const EnumToStringMap<SetupState::Status>::Map kSetupStateMap[] = {
44 {SetupState::kNone, nullptr},
45 {SetupState::kInProgress, "inProgress"},
46 {SetupState::kSuccess, "success"},
88 LIBWEAVE_EXPORT EnumToStringMap<SetupState::Status>::EnumToStringMap() in EnumToStringMap()
Dcloud_delegate.cc110 const SetupState& GetSetupState() const override { return setup_state_; } in GetSetupState()
121 if (setup_state_.IsStatusEqual(SetupState::kInProgress)) { in Setup()
126 setup_state_ = SetupState(SetupState::kInProgress); in Setup()
263 setup_state_ = SetupState(SetupState::kSuccess); in OnRegisterSuccess()
272 setup_state_ = SetupState{std::move(error)}; in CallManagerRegisterDevice()
291 setup_state_ = SetupState(SetupState::kSuccess); in RegisterDeviceDone()
338 SetupState setup_state_{SetupState::kNone};
Dwifi_bootstrap_manager.cc179 const SetupState& WifiBootstrapManager::GetSetupState() const { in GetSetupState()
186 setup_state_ = SetupState{SetupState::kInProgress}; in ConfigureCredentials()
220 setup_state_ = SetupState{std::move(error)}; in OnConnectDone()
227 setup_state_ = SetupState{SetupState::kSuccess}; in OnConnectDone()
235 setup_state_ = SetupState{std::move(error)}; in OnConnectTimeout()
Dmock_delegates.h148 MOCK_CONST_METHOD0(GetSetupState, const SetupState&());
167 SetupState setup_state_{SetupState::kNone};
185 MOCK_CONST_METHOD0(GetSetupState, const SetupState&());
234 SetupState setup_state_{SetupState::kNone};
Dwifi_bootstrap_manager.h56 const SetupState& GetSetupState() const override;
100 SetupState setup_state_{SetupState::kNone};
Dprivet_types.h102 class SetupState final {
110 explicit SetupState(Status status) : status_(status) {} in SetupState() function
111 explicit SetupState(ErrorPtr error) in SetupState() function
Dprivet_handler_unittest.cc500 wifi_.setup_state_ = SetupState{SetupState::kSuccess}; in TEST_F()
514 wifi_.setup_state_ = SetupState{std::move(error)}; in TEST_F()
530 cloud_.setup_state_ = SetupState{SetupState::kSuccess}; in TEST_F()
544 cloud_.setup_state_ = SetupState{std::move(error)}; in TEST_F()
614 wifi_.setup_state_ = SetupState{SetupState::kInProgress}; in TEST_F()
653 cloud_.setup_state_ = SetupState{SetupState::kInProgress}; in TEST_F()
Dwifi_delegate.h27 virtual const SetupState& GetSetupState() const = 0;
Dcloud_delegate.h88 virtual const SetupState& GetSetupState() const = 0;
Dprivet_handler.cc820 const SetupState& state = cloud_->GetSetupState(); in ReplyWithSetupStatus()
821 if (!state.IsStatusEqual(SetupState::kNone)) { in ReplyWithSetupStatus()
825 if (state.IsStatusEqual(SetupState::kSuccess)) in ReplyWithSetupStatus()
830 const SetupState& state = wifi_->GetSetupState(); in ReplyWithSetupStatus()
831 if (!state.IsStatusEqual(SetupState::kNone)) { in ReplyWithSetupStatus()
835 if (state.IsStatusEqual(SetupState::kSuccess)) in ReplyWithSetupStatus()