Home
last modified time | relevance | path

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

/system/update_engine/
Dconnection_manager_unittest.cc79 ConnectionTethering expected_tethering);
150 ConnectionTethering tethering; in TestWithServiceType()
159 ConnectionTethering expected_tethering) { in TestWithServiceTethering()
165 ConnectionTethering tethering; in TestWithServiceTethering()
192 ConnectionTethering::kConfirmed); in TEST_F()
194 ConnectionTethering::kNotDetected); in TEST_F()
196 ConnectionTethering::kSuspected); in TEST_F()
198 ConnectionTethering::kUnknown); in TEST_F()
208 ConnectionTethering::kUnknown)); in TEST_F()
213 ConnectionTethering::kUnknown)); in TEST_F()
[all …]
Dmetrics_utils_unittest.cc34 ConnectionTethering::kUnknown)); in TEST()
37 ConnectionTethering::kUnknown)); in TEST()
40 ConnectionTethering::kUnknown)); in TEST()
43 ConnectionTethering::kUnknown)); in TEST()
46 ConnectionTethering::kUnknown)); in TEST()
49 ConnectionTethering::kUnknown)); in TEST()
52 ConnectionTethering::kConfirmed)); in TEST()
55 ConnectionTethering::kConfirmed)); in TEST()
60 ConnectionTethering::kNotDetected)); in TEST()
63 ConnectionTethering::kSuspected)); in TEST()
[all …]
Dconnection_utils.cc39 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str) { in ParseConnectionTethering()
41 return ConnectionTethering::kNotDetected; in ParseConnectionTethering()
43 return ConnectionTethering::kSuspected; in ParseConnectionTethering()
45 return ConnectionTethering::kConfirmed; in ParseConnectionTethering()
47 return ConnectionTethering::kUnknown; in ParseConnectionTethering()
Dconnection_manager.h43 ConnectionTethering* out_tethering) override;
45 ConnectionTethering tethering) const override;
54 ConnectionTethering* out_tethering);
Dconnection_manager.cc54 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
112 if (tethering == ConnectionTethering::kConfirmed) { in IsUpdateAllowedOver()
117 ConnectionTethering::kUnknown); in IsUpdateAllowedOver()
124 ConnectionType* out_type, ConnectionTethering* out_tethering) { in GetConnectionProperties()
157 ConnectionTethering* out_tethering) { in GetServicePathProperties()
170 *out_tethering = ConnectionTethering::kUnknown; in GetServicePathProperties()
Dmock_connection_manager.h35 ConnectionTethering* out_tethering));
38 bool(ConnectionType type, ConnectionTethering tethering));
Dconnection_manager_android.cc30 ConnectionType* out_type, ConnectionTethering* out_tethering) { in GetConnectionProperties()
34 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
Dconnection_manager_android.h34 ConnectionTethering* out_tethering) override;
36 ConnectionTethering tethering) const override;
Dconnection_utils.h33 enum class ConnectionTethering { enum
43 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str);
Dconnection_manager_interface.h41 ConnectionTethering* out_tethering) = 0;
47 ConnectionTethering tethering) const = 0;
Dmetrics_utils.h43 ConnectionTethering tethering);
Dmetrics_utils.cc232 ConnectionTethering tethering) { in GetConnectionType()
238 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
244 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
Dcommon_service.cc308 ConnectionTethering::kUnknown); in GetUpdateOverCellularPermission()
Dpayload_state.cc191 ConnectionTethering tethering; in AttemptStarted()
Domaha_request_action.cc1527 ConnectionTethering tethering; in IsUpdateAllowedOverCurrentConnection()
Domaha_request_action_unittest.cc502 SetArgumentPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
/system/update_engine/update_manager/
Dboxed_value.cc32 using chromeos_update_engine::ConnectionTethering;
119 string BoxedValue::ValuePrinter<ConnectionTethering>(const void* value) { in ValuePrinter()
120 const ConnectionTethering* val = in ValuePrinter()
121 reinterpret_cast<const ConnectionTethering*>(value); in ValuePrinter()
123 case ConnectionTethering::kNotDetected: in ValuePrinter()
125 case ConnectionTethering::kSuspected: in ValuePrinter()
127 case ConnectionTethering::kConfirmed: in ValuePrinter()
129 case ConnectionTethering::kUnknown: in ValuePrinter()
Dboxed_value_unittest.cc34 using chromeos_update_engine::ConnectionTethering;
181 BoxedValue(new ConnectionTethering( in TEST()
182 ConnectionTethering::kNotDetected)).ToString()); in TEST()
184 BoxedValue(new ConnectionTethering(ConnectionTethering::kSuspected)) in TEST()
187 BoxedValue(new ConnectionTethering(ConnectionTethering::kConfirmed)) in TEST()
190 BoxedValue(new ConnectionTethering(ConnectionTethering::kUnknown)) in TEST()
Dreal_shill_provider_unittest.cc38 using chromeos_update_engine::ConnectionTethering;
193 ConnectionTethering expected_conn_tethering) { in SetupConnectionAndTestTethering()
417 ConnectionTethering::kNotDetected); in TEST_F()
425 ConnectionTethering::kSuspected); in TEST_F()
433 ConnectionTethering::kConfirmed); in TEST_F()
441 ConnectionTethering::kUnknown); in TEST_F()
449 ConnectionTethering::kNotDetected); in TEST_F()
451 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()
461 ConnectionTethering::kNotDetected); in TEST_F()
465 UmTestUtils::ExpectVariableHasValue(ConnectionTethering::kNotDetected, in TEST_F()
[all …]
Dfake_shill_provider.h39 FakeVariable<chromeos_update_engine::ConnectionTethering>*
52 FakeVariable<chromeos_update_engine::ConnectionTethering> var_conn_tethering_{
Dreal_shill_provider.h57 Variable<chromeos_update_engine::ConnectionTethering>* var_conn_tethering() override { in var_conn_tethering()
92 AsyncCopyVariable<chromeos_update_engine::ConnectionTethering>
Dshill_provider.h42 virtual Variable<chromeos_update_engine::ConnectionTethering>*
Dchromeos_policy_unittest.cc35 using chromeos_update_engine::ConnectionTethering;
102 reset(new ConnectionTethering(ConnectionTethering::kNotDetected)); in SetUpDefaultState()
1486 reset(new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()
1500 reset(new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()
Dchromeos_policy.cc36 using chromeos_update_engine::ConnectionTethering;
509 const ConnectionTethering* conn_tethering_p = ec->GetValue( in UpdateDownloadAllowed()
512 if (*conn_tethering_p == ConnectionTethering::kConfirmed) in UpdateDownloadAllowed()