Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_utils_unittest.cc30 ConnectionTethering::kUnknown)); in TEST()
33 ConnectionTethering::kUnknown)); in TEST()
36 ConnectionTethering::kUnknown)); in TEST()
39 GetConnectionType(ConnectionType::kWifi, ConnectionTethering::kUnknown)); in TEST()
42 ConnectionTethering::kUnknown)); in TEST()
45 ConnectionTethering::kConfirmed)); in TEST()
48 ConnectionTethering::kConfirmed)); in TEST()
53 ConnectionTethering::kNotDetected)); in TEST()
56 ConnectionTethering::kSuspected)); in TEST()
59 ConnectionTethering::kUnknown)); in TEST()
[all …]
Dmetrics_utils.h49 ConnectionTethering tethering);
Dmetrics_utils.cc266 ConnectionTethering tethering) { in GetConnectionType()
275 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
281 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
/system/update_engine/cros/
Dconnection_manager_unittest.cc82 ConnectionTethering expected_tethering);
151 ConnectionTethering tethering; in TestWithServiceType()
159 const char* service_tethering, ConnectionTethering expected_tethering) { in TestWithServiceTethering()
165 ConnectionTethering tethering; in TestWithServiceTethering()
177 ConnectionTethering tethering; in TestWithServiceDisconnected()
199 ConnectionTethering::kConfirmed); in TEST_F()
201 ConnectionTethering::kNotDetected); in TEST_F()
203 ConnectionTethering::kSuspected); in TEST_F()
205 ConnectionTethering::kUnknown); in TEST_F()
219 ConnectionTethering::kUnknown)); in TEST_F()
[all …]
Dconnection_manager.h43 ConnectionTethering* out_tethering) override;
45 ConnectionTethering tethering) const override;
55 ConnectionTethering* out_tethering);
Dconnection_manager.cc54 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
56 if (tethering != ConnectionTethering::kConfirmed) { in IsUpdateAllowedOver()
127 ConnectionType* out_type, ConnectionTethering* out_tethering) { in GetConnectionProperties()
135 *out_tethering = ConnectionTethering::kUnknown; in GetConnectionProperties()
163 ConnectionTethering* out_tethering) { in GetServicePathProperties()
176 *out_tethering = ConnectionTethering::kUnknown; in GetServicePathProperties()
Dmock_connection_manager.h35 ConnectionTethering* out_tethering));
38 bool(ConnectionType type, ConnectionTethering tethering));
Dconnection_manager_interface.h39 ConnectionTethering* out_tethering) = 0;
45 ConnectionTethering tethering) const = 0;
Dcommon_service.cc340 ConnectionType::kCellular, ConnectionTethering::kUnknown); in GetUpdateOverCellularPermission()
Domaha_request_action_unittest.cc837 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
859 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
881 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
907 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
939 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
972 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
1080 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
Domaha_request_action.cc1638 ConnectionTethering tethering; in IsUpdateAllowedOverCurrentConnection()
1652 tethering == ConnectionTethering::kConfirmed; in IsUpdateAllowedOverCurrentConnection()
Dpayload_state.cc206 ConnectionTethering tethering; in AttemptStarted()
/system/update_engine/common/
Dconnection_utils.cc43 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str) { in ParseConnectionTethering()
45 return ConnectionTethering::kNotDetected; in ParseConnectionTethering()
47 return ConnectionTethering::kSuspected; in ParseConnectionTethering()
49 return ConnectionTethering::kConfirmed; in ParseConnectionTethering()
51 return ConnectionTethering::kUnknown; in ParseConnectionTethering()
Dconnection_utils.h32 enum class ConnectionTethering { enum
42 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str);
/system/update_engine/update_manager/
Dboxed_value.cc35 using chromeos_update_engine::ConnectionTethering;
121 string BoxedValue::ValuePrinter<ConnectionTethering>(const void* value) { in ValuePrinter()
122 const ConnectionTethering* val = in ValuePrinter()
123 reinterpret_cast<const ConnectionTethering*>(value); in ValuePrinter()
125 case ConnectionTethering::kNotDetected: in ValuePrinter()
127 case ConnectionTethering::kSuspected: in ValuePrinter()
129 case ConnectionTethering::kConfirmed: in ValuePrinter()
131 case ConnectionTethering::kUnknown: in ValuePrinter()
Dboxed_value_unittest.cc37 using chromeos_update_engine::ConnectionTethering;
182 BoxedValue(new ConnectionTethering(ConnectionTethering::kNotDetected)) in TEST()
185 BoxedValue(new ConnectionTethering(ConnectionTethering::kSuspected)) in TEST()
188 BoxedValue(new ConnectionTethering(ConnectionTethering::kConfirmed)) in TEST()
191 BoxedValue(new ConnectionTethering(ConnectionTethering::kUnknown)) in TEST()
Dreal_shill_provider_unittest.cc38 using chromeos_update_engine::ConnectionTethering;
192 ConnectionTethering expected_conn_tethering) { in SetupConnectionAndTestTethering()
396 ConnectionTethering::kNotDetected); in TEST_F()
404 ConnectionTethering::kSuspected); in TEST_F()
412 ConnectionTethering::kConfirmed); in TEST_F()
419 kFakeWifiServicePath, "FooConnTethering", ConnectionTethering::kUnknown); in TEST_F()
427 ConnectionTethering::kNotDetected); in TEST_F()
429 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()
439 ConnectionTethering::kNotDetected); in TEST_F()
443 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()
[all …]
Dfake_shill_provider.h37 FakeVariable<chromeos_update_engine::ConnectionTethering>*
50 FakeVariable<chromeos_update_engine::ConnectionTethering> var_conn_tethering_{
Dreal_shill_provider.h55 Variable<chromeos_update_engine::ConnectionTethering>* var_conn_tethering() in var_conn_tethering()
88 AsyncCopyVariable<chromeos_update_engine::ConnectionTethering>
Dshill_provider.h42 virtual Variable<chromeos_update_engine::ConnectionTethering>*
Dchromeos_policy_unittest.cc28 using chromeos_update_engine::ConnectionTethering;
67 new ConnectionTethering(ConnectionTethering::kNotDetected)); in SetUpDefaultState()
Dchromeos_policy.cc44 using chromeos_update_engine::ConnectionTethering;