Home
last modified time | relevance | path

Searched refs:ConnectionTethering (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/update_manager/
Dboxed_value.cc134 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()
Dboxed_value_unittest.cc179 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()
Dreal_shill_provider_unittest.cc190 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 …]
Dreal_shill_provider.h56 Variable<ConnectionTethering>* var_conn_tethering() override { in var_conn_tethering()
66 static ConnectionTethering ParseConnectionTethering(
96 AsyncCopyVariable<ConnectionTethering> var_conn_tethering_{"conn_tethering"};
Dreal_shill_provider.cc48 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()
Dshill_provider.h36 enum class ConnectionTethering { enum
57 virtual Variable<ConnectionTethering>* var_conn_tethering() = 0;
Dfake_shill_provider.h38 FakeVariable<ConnectionTethering>*
50 FakeVariable<ConnectionTethering> var_conn_tethering_{
Dchromeos_policy_unittest.cc100 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()
Dchromeos_policy.cc476 const ConnectionTethering* conn_tethering_p = ec->GetValue( in UpdateDownloadAllowed()
479 if (*conn_tethering_p == ConnectionTethering::kConfirmed) in UpdateDownloadAllowed()