/system/update_engine/ |
D | connection_manager_unittest.cc | 81 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 …]
|
D | metrics_utils_unittest.cc | 34 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 …]
|
D | connection_utils.cc | 43 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()
|
D | connection_manager.h | 44 ConnectionTethering* out_tethering) override; 46 ConnectionTethering tethering) const override; 56 ConnectionTethering* out_tethering);
|
D | connection_manager.cc | 56 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()
|
D | mock_connection_manager.h | 35 ConnectionTethering* out_tethering)); 38 bool(ConnectionType type, ConnectionTethering tethering));
|
D | connection_manager_android.cc | 32 ConnectionType* out_type, ConnectionTethering* out_tethering) { in GetConnectionProperties() 36 ConnectionType type, ConnectionTethering tethering) const { in IsUpdateAllowedOver()
|
D | connection_manager_android.h | 34 ConnectionTethering* out_tethering) override; 36 ConnectionTethering tethering) const override;
|
D | connection_utils.h | 32 enum class ConnectionTethering { enum 42 ConnectionTethering ParseConnectionTethering(const std::string& tethering_str);
|
D | connection_manager_interface.h | 41 ConnectionTethering* out_tethering) = 0; 47 ConnectionTethering tethering) const = 0;
|
D | metrics_utils.h | 51 ConnectionTethering tethering);
|
D | metrics_utils.cc | 263 ConnectionTethering tethering) { in GetConnectionType() 272 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType() 278 if (tethering == ConnectionTethering::kConfirmed) in GetConnectionType()
|
D | common_service.cc | 349 ConnectionType::kCellular, ConnectionTethering::kUnknown); in GetUpdateOverCellularPermission()
|
D | omaha_request_action_unittest.cc | 839 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()
|
D | omaha_request_action.cc | 1594 ConnectionTethering tethering; in IsUpdateAllowedOverCurrentConnection() 1608 tethering == ConnectionTethering::kConfirmed; in IsUpdateAllowedOverCurrentConnection()
|
D | payload_state.cc | 207 ConnectionTethering tethering; in AttemptStarted()
|
/system/update_engine/update_manager/ |
D | boxed_value.cc | 34 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()
|
D | boxed_value_unittest.cc | 37 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()
|
D | real_shill_provider_unittest.cc | 38 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 …]
|
D | fake_shill_provider.h | 37 FakeVariable<chromeos_update_engine::ConnectionTethering>* 50 FakeVariable<chromeos_update_engine::ConnectionTethering> var_conn_tethering_{
|
D | real_shill_provider.h | 55 Variable<chromeos_update_engine::ConnectionTethering>* var_conn_tethering() in var_conn_tethering() 91 AsyncCopyVariable<chromeos_update_engine::ConnectionTethering>
|
D | shill_provider.h | 42 virtual Variable<chromeos_update_engine::ConnectionTethering>*
|
D | chromeos_policy_unittest.cc | 28 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()
|
D | chromeos_policy.cc | 44 using chromeos_update_engine::ConnectionTethering; 489 const ConnectionTethering* conn_tethering_p = in UpdateDownloadAllowed() 492 if (*conn_tethering_p == ConnectionTethering::kConfirmed) in UpdateDownloadAllowed()
|