Searched refs:ConnectionTethering (Results 1 – 9 of 9) sorted by relevance
134 string BoxedValue::ValuePrinter<ConnectionTethering>(const void* value) { in ValuePrinter()135 const ConnectionTethering* val = in ValuePrinter()136 reinterpret_cast<const ConnectionTethering*>(value); in ValuePrinter()138 case ConnectionTethering::kNotDetected: in ValuePrinter()140 case ConnectionTethering::kSuspected: in ValuePrinter()142 case ConnectionTethering::kConfirmed: in ValuePrinter()144 case ConnectionTethering::kUnknown: in ValuePrinter()
179 BoxedValue(new ConnectionTethering( in TEST()180 ConnectionTethering::kNotDetected)).ToString()); in TEST()182 BoxedValue(new ConnectionTethering(ConnectionTethering::kSuspected)) in TEST()185 BoxedValue(new ConnectionTethering(ConnectionTethering::kConfirmed)) in TEST()188 BoxedValue(new ConnectionTethering(ConnectionTethering::kUnknown)) in TEST()
190 ConnectionTethering expected_conn_tethering) { in SetupConnectionAndTestTethering()414 ConnectionTethering::kNotDetected); in TEST_F()422 ConnectionTethering::kSuspected); in TEST_F()430 ConnectionTethering::kConfirmed); in TEST_F()438 ConnectionTethering::kUnknown); in TEST_F()446 ConnectionTethering::kNotDetected); in TEST_F()448 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()458 ConnectionTethering::kNotDetected); in TEST_F()462 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()472 ConnectionTethering::kNotDetected); in TEST_F()[all …]
56 Variable<ConnectionTethering>* var_conn_tethering() override { in var_conn_tethering()66 static ConnectionTethering ParseConnectionTethering(96 AsyncCopyVariable<ConnectionTethering> var_conn_tethering_{"conn_tethering"};
48 ConnectionTethering RealShillProvider::ParseConnectionTethering( in ParseConnectionTethering()51 return ConnectionTethering::kNotDetected; in ParseConnectionTethering()53 return ConnectionTethering::kSuspected; in ParseConnectionTethering()55 return ConnectionTethering::kConfirmed; in ParseConnectionTethering()57 return ConnectionTethering::kUnknown; in ParseConnectionTethering()
36 enum class ConnectionTethering { enum57 virtual Variable<ConnectionTethering>* var_conn_tethering() = 0;
38 FakeVariable<ConnectionTethering>*50 FakeVariable<ConnectionTethering> var_conn_tethering_{
100 reset(new ConnectionTethering(ConnectionTethering::kNotDetected)); in SetUpDefaultState()1405 reset(new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()1419 reset(new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()
476 const ConnectionTethering* conn_tethering_p = ec->GetValue( in UpdateDownloadAllowed()479 if (*conn_tethering_p == ConnectionTethering::kConfirmed) in UpdateDownloadAllowed()