/external/libweave/src/privet/ |
D | wifi_ssid_generator_unittest.cc | 20 testing::StrictMock<MockWifiDelegate> wifi_; member in weave::privet::WifiSsidGeneratorTest 22 WifiSsidGenerator ssid_generator_{&gcd_, &wifi_}; 26 EXPECT_CALL(wifi_, GetTypes()) in TEST_F() 31 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F() 35 wifi_.connection_state_ = ConnectionState{ConnectionState::kOnline}; in TEST_F() 41 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F() 46 EXPECT_CALL(wifi_, GetTypes()) in TEST_F() 51 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F() 55 wifi_.connection_state_ = ConnectionState{ConnectionState::kOnline}; in TEST_F() 61 wifi_.connection_state_ = ConnectionState{ConnectionState::kUnconfigured}; in TEST_F()
|
D | wifi_ssid_generator.cc | 50 : gcd_(cloud), wifi_(wifi), get_random_(base::Bind(&base::RandInt, 0, 99)) { in WifiSsidGenerator() 61 flags1[0] = wifi_ && IsSetupNeeded(wifi_->GetConnectionState()); in GenerateFlagsInternal() 68 if (wifi_) { in GenerateFlagsInternal() 69 std::set<WifiType> types = wifi_->GetTypes(); in GenerateFlagsInternal()
|
D | wifi_bootstrap_manager.cc | 46 wifi_{wifi}, 51 CHECK(wifi_); 94 wifi_->StartAccessPoint(privet_ssid_); in StartBootstrapping() 99 wifi_->StopAccessPoint(); in EndBootstrapping() 111 wifi_->Connect(ssid, passphrase, in StartConnecting() 208 if (wifi_->IsWifi24Supported()) in GetTypes() 210 if (wifi_->IsWifi50Supported()) in GetTypes()
|
D | publisher.cc | 33 : dns_sd_{dns_sd}, device_{device}, cloud_{cloud}, wifi_{wifi} { in Publisher() 65 {"flags=" + WifiSsidGenerator{cloud_, wifi_}.GenerateFlags()}, in ExposeService()
|
D | privet_handler.cc | 376 wifi_(wifi), in PrivetHandler() 555 CreateInfoAuthSection(*security_, GetAnonymousMaxScope(*cloud_, wifi_)) in HandleInfo() 560 if (wifi_) in HandleInfo() 561 output.Set(kWifiKey, CreateWifiSection(*wifi_).release()); in HandleInfo() 681 desired_scope = GetAnonymousMaxScope(*cloud_, wifi_); in HandleAuth() 764 if (!wifi_ || wifi_->GetTypes().empty()) { in HandleSetupStart() 801 if (!ssid.empty() && !wifi_->ConfigureCredentials(ssid, passphrase, &error)) in HandleSetupStart() 829 if (wifi_) { in ReplyWithSetupStatus() 830 const SetupState& state = wifi_->GetSetupState(); in ReplyWithSetupStatus() 836 wifi->SetString(kInfoWifiSsidKey, wifi_->GetCurrentlyConnectedSsid()); in ReplyWithSetupStatus()
|
D | privet_handler_unittest.cc | 101 new PrivetHandler(&cloud_, &device_, &security_, &wifi_, &clock_)); in SetUp() 149 testing::StrictMock<MockWifiDelegate> wifi_; member in weave::privet::PrivetHandlerTest 265 EXPECT_CALL(wifi_, GetHostedSsid()) in TEST_F() 500 wifi_.setup_state_ = SetupState{SetupState::kSuccess}; in TEST_F() 514 wifi_.setup_state_ = SetupState{std::move(error)}; in TEST_F() 605 EXPECT_CALL(wifi_, ConfigureCredentials(_, _, _)).WillOnce(Invoke(set_error)); in TEST_F() 614 wifi_.setup_state_ = SetupState{SetupState::kInProgress}; in TEST_F() 615 EXPECT_CALL(wifi_, ConfigureCredentials("testSsid", "testPass", _)) in TEST_F()
|
D | wifi_ssid_generator.h | 36 const WifiDelegate* wifi_{nullptr};
|
D | publisher.h | 46 const WifiDelegate* wifi_{nullptr};
|
D | wifi_bootstrap_manager.h | 105 provider::Wifi* wifi_{nullptr};
|
D | privet_handler.h | 144 WifiDelegate* wifi_{nullptr};
|
/external/libweave/src/ |
D | weave_unittest.cc | 185 EXPECT_CALL(wifi_, IsWifi24Supported()).WillRepeatedly(Return(true)); in SetUp() 186 EXPECT_CALL(wifi_, IsWifi50Supported()).WillRepeatedly(Return(false)); in SetUp() 270 EXPECT_CALL(wifi_, StartAccessPoint(MatchesRegex("TEST_NAME.*prv"))) in InitDefaultExpectations() 279 &http_server_, &wifi_, &bluetooth_); in StartDevice() 345 StrictMock<provider::test::MockWifi> wifi_; member in weave::WeaveTest 362 &network_, nullptr, nullptr, &wifi_, nullptr); in TEST_F() 470 EXPECT_CALL(wifi_, StartAccessPoint(MatchesRegex("TEST_NAME.*prv"))) in TEST_F() 492 EXPECT_CALL(wifi_, StartAccessPoint(MatchesRegex("TEST_NAME.*prv"))) in TEST_F() 502 EXPECT_CALL(wifi_, StopAccessPoint()) in TEST_F() 522 EXPECT_CALL(wifi_, StartAccessPoint(MatchesRegex("TEST_NAME.*prv"))) in TEST_F() [all …]
|
/external/libweave/examples/daemon/common/ |
D | daemon.h | 82 wifi_.reset( 88 wifi_.get(), bluetooth_.get()); 120 std::unique_ptr<weave::examples::WifiImpl> wifi_; variable
|