Searched refs:FakeVariable (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/update_manager/ |
D | fake_updater_provider.h | 32 FakeVariable<base::Time>* var_updater_started_time() override { in var_updater_started_time() 36 FakeVariable<base::Time>* var_last_checked_time() override { in var_last_checked_time() 40 FakeVariable<base::Time>* var_update_completed_time() override { in var_update_completed_time() 44 FakeVariable<double>* var_progress() override { in var_progress() 48 FakeVariable<Stage>* var_stage() override { in var_stage() 52 FakeVariable<std::string>* var_new_version() override { in var_new_version() 56 FakeVariable<int64_t>* var_payload_size() override { in var_payload_size() 60 FakeVariable<std::string>* var_curr_channel() override { in var_curr_channel() 64 FakeVariable<std::string>* var_new_channel() override { in var_new_channel() 68 FakeVariable<bool>* var_p2p_enabled() override { in var_p2p_enabled() [all …]
|
D | fake_device_policy_provider.h | 33 FakeVariable<bool>* var_device_policy_is_loaded() override { in var_device_policy_is_loaded() 37 FakeVariable<std::string>* var_release_channel() override { in var_release_channel() 41 FakeVariable<bool>* var_release_channel_delegated() override { in var_release_channel_delegated() 45 FakeVariable<bool>* var_update_disabled() override { in var_update_disabled() 49 FakeVariable<std::string>* var_target_version_prefix() override { in var_target_version_prefix() 53 FakeVariable<base::TimeDelta>* var_scatter_factor() override { in var_scatter_factor() 57 FakeVariable<std::set<chromeos_update_engine::ConnectionType>>* 62 FakeVariable<std::string>* var_owner() override { in var_owner() 66 FakeVariable<bool>* var_http_downloads_enabled() override { in var_http_downloads_enabled() 70 FakeVariable<bool>* var_au_p2p_enabled() override { in var_au_p2p_enabled() [all …]
|
D | fake_system_provider.h | 30 FakeVariable<bool>* var_is_normal_boot_mode() override { in var_is_normal_boot_mode() 34 FakeVariable<bool>* var_is_official_build() override { in var_is_official_build() 38 FakeVariable<bool>* var_is_oobe_complete() override { in var_is_oobe_complete() 42 FakeVariable<unsigned int>* var_num_slots() override { in var_num_slots() 46 FakeVariable<std::string>* var_kiosk_required_platform_version() override { in var_kiosk_required_platform_version() 51 FakeVariable<bool> var_is_normal_boot_mode_{ // NOLINT(whitespace/braces) 53 FakeVariable<bool> var_is_official_build_{ // NOLINT(whitespace/braces) 55 FakeVariable<bool> var_is_oobe_complete_{ // NOLINT(whitespace/braces) 57 FakeVariable<unsigned int> var_num_slots_{"num_slots", kVariableModePoll}; 58 FakeVariable<std::string> var_kiosk_required_platform_version_{
|
D | fake_shill_provider.h | 30 FakeVariable<bool>* var_is_connected() override { in var_is_connected() 34 FakeVariable<chromeos_update_engine::ConnectionType>* var_conn_type() in var_conn_type() 39 FakeVariable<chromeos_update_engine::ConnectionTethering>* 44 FakeVariable<base::Time>* var_conn_last_changed() override { in var_conn_last_changed() 49 FakeVariable<bool> var_is_connected_{"is_connected", kVariableModePoll}; 50 FakeVariable<chromeos_update_engine::ConnectionType> var_conn_type_{ 52 FakeVariable<chromeos_update_engine::ConnectionTethering> var_conn_tethering_{ 54 FakeVariable<base::Time> var_conn_last_changed_{
|
D | fake_variable.h | 30 class FakeVariable : public Variable<T> { 32 FakeVariable(const std::string& name, VariableMode mode) in FakeVariable() function 34 FakeVariable(const std::string& name, base::TimeDelta poll_interval) in FakeVariable() function 36 ~FakeVariable() override {} in ~FakeVariable() 69 DISALLOW_COPY_AND_ASSIGN(FakeVariable);
|
D | fake_time_provider.h | 30 FakeVariable<base::Time>* var_curr_date() override { return &var_curr_date_; } in var_curr_date() 31 FakeVariable<int>* var_curr_hour() override { return &var_curr_hour_; } in var_curr_hour() 34 FakeVariable<base::Time> var_curr_date_{"curr_date", kVariableModePoll}; 35 FakeVariable<int> var_curr_hour_{"curr_hour", kVariableModePoll};
|
D | fake_config_provider.h | 30 FakeVariable<bool>* var_is_oobe_enabled() override { in var_is_oobe_enabled() 35 FakeVariable<bool> var_is_oobe_enabled_{ // NOLINT(whitespace/braces)
|
D | fake_random_provider.h | 30 FakeVariable<uint64_t>* var_seed() override { return &var_seed_; } in var_seed() 33 FakeVariable<uint64_t> var_seed_{"seed", kVariableModePoll};
|
D | evaluation_context_unittest.cc | 131 FakeVariable<bool> fail_var_ = {"fail_var", kVariableModePoll}; 132 FakeVariable<int> fake_int_var_ = {"fake_int", kVariableModePoll}; 133 FakeVariable<string> fake_async_var_ = {"fake_async", kVariableModeAsync}; 134 FakeVariable<string> fake_const_var_ = {"fake_const", kVariableModeConst}; 135 FakeVariable<string> fake_poll_var_ = {"fake_poll", 338 FakeVariable<string> fake_short_poll_var = {"fake_short_poll", in TEST_F()
|