Home
last modified time | relevance | path

Searched refs:tether_device_state (Results 1 – 2 of 2) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/network/
H A Dnetwork_state_handler.cc328 DeviceState* tether_device_state = in SetTetherScanState() local
330 if (!tether_device_state) { in SetTetherScanState()
336 bool was_scanning = tether_device_state->scanning(); in SetTetherScanState()
337 tether_device_state->set_scanning(is_scanning); in SetTetherScanState()
341 NotifyScanCompleted(tether_device_state); in SetTetherScanState()
344 NotifyScanStarted(tether_device_state); in SetTetherScanState()
980 tether_device_state->set_update_received(); in EnsureTetherDeviceState()
981 tether_device_state->set_update_requested(false); in EnsureTetherDeviceState()
982 tether_device_state->set_name(kTetherDeviceName); in EnsureTetherDeviceState()
983 tether_device_state->set_type(kTypeTether); in EnsureTetherDeviceState()
[all …]
H A Dnetwork_state_handler_unittest.cc837 const DeviceState* tether_device_state = in TEST_F() local
839 EXPECT_TRUE(tether_device_state); in TEST_F()
850 EXPECT_EQ(tether_device_state, in TEST_F()
862 EXPECT_EQ(tether_device_state, in TEST_F()
880 const DeviceState* tether_device_state = in TEST_F() local
883 EXPECT_TRUE(tether_device_state); in TEST_F()
884 EXPECT_FALSE(tether_device_state->scanning()); in TEST_F()
890 EXPECT_TRUE(tether_device_state); in TEST_F()
891 EXPECT_TRUE(tether_device_state->scanning()); in TEST_F()
897 EXPECT_TRUE(tether_device_state); in TEST_F()
[all …]