Searched refs:SetupState (Results 1 – 10 of 10) sorted by relevance
20 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()
110 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};
179 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()
148 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};
56 const SetupState& GetSetupState() const override;100 SetupState setup_state_{SetupState::kNone};
102 class SetupState final {110 explicit SetupState(Status status) : status_(status) {} in SetupState() function111 explicit SetupState(ErrorPtr error) in SetupState() function
500 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()
27 virtual const SetupState& GetSetupState() const = 0;
88 virtual const SetupState& GetSetupState() const = 0;
820 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()