Home
last modified time | relevance | path

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

/system/update_engine/
Dconnection_manager_unittest.cc81 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 …]
Dmetrics_utils_unittest.cc34 ConnectionTethering::kUnknown)); in TEST()
37 ConnectionTethering::kUnknown)); in TEST()
40 ConnectionTethering::kUnknown)); in TEST()
43 GetConnectionType(ConnectionType::kWifi, ConnectionTethering::kUnknown)); in TEST()
46 ConnectionTethering::kUnknown)); in TEST()
49 ConnectionTethering::kConfirmed)); in TEST()
52 ConnectionTethering::kConfirmed)); in TEST()
57 ConnectionTethering::kNotDetected)); in TEST()
60 ConnectionTethering::kSuspected)); in TEST()
63 ConnectionTethering::kUnknown)); in TEST()
[all …]
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_manager.h44 ConnectionTethering* out_tethering) override;
46 ConnectionTethering tethering) const override;
56 ConnectionTethering* out_tethering);
Dconnection_manager.cc56 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
58 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_android.cc32 ConnectionType* out_type, ConnectionTethering* out_tethering) { in GetConnectionProperties()
36 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
Dconnection_manager_android.h34 ConnectionTethering* out_tethering) override;
36 ConnectionTethering tethering) const override;
Dconnection_utils.h32 enum class ConnectionTethering { enum
42 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str);
Dconnection_manager_interface.h41 ConnectionTethering* out_tethering) = 0;
47 ConnectionTethering tethering) const = 0;
Dmetrics_utils.h51 ConnectionTethering tethering);
Dmetrics_utils.cc263 ConnectionTethering tethering) { in GetConnectionType()
272 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
278 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
Dcommon_service.cc349 ConnectionType::kCellular, ConnectionTethering::kUnknown); in GetUpdateOverCellularPermission()
Domaha_request_action_unittest.cc839 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
861 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
883 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
909 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
941 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
974 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
1081 SetArgPointee<1>(ConnectionTethering::kUnknown), in TEST_F()
Domaha_request_action.cc1594 ConnectionTethering tethering; in IsUpdateAllowedOverCurrentConnection()
1608 tethering == ConnectionTethering::kConfirmed; in IsUpdateAllowedOverCurrentConnection()
Dpayload_state.cc207 ConnectionTethering tethering; in AttemptStarted()
/system/update_engine/update_manager/
Dboxed_value.cc34 using chromeos_update_engine::ConnectionTethering;
120 string BoxedValue::ValuePrinter<ConnectionTethering>(const void* value) { in ValuePrinter()
121 const ConnectionTethering* val = in ValuePrinter()
122 reinterpret_cast<const ConnectionTethering*>(value); in ValuePrinter()
124 case ConnectionTethering::kNotDetected: in ValuePrinter()
126 case ConnectionTethering::kSuspected: in ValuePrinter()
128 case ConnectionTethering::kConfirmed: in ValuePrinter()
130 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;
191 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()
91 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()
1417 new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()
1430 new ConnectionTethering(ConnectionTethering::kConfirmed)); in TEST_F()
Dchromeos_policy.cc44 using chromeos_update_engine::ConnectionTethering;
489 const ConnectionTethering* conn_tethering_p = in UpdateDownloadAllowed()
492 if (*conn_tethering_p == ConnectionTethering::kConfirmed) in UpdateDownloadAllowed()