HomeSort by relevance Sort by last modified time
    Searched refs:FakeVariable (Results 1 - 9 of 9) sorted by null

  /system/update_engine/update_manager/
fake_system_provider.h 30 FakeVariable<bool>* var_is_normal_boot_mode() override {
34 FakeVariable<bool>* var_is_official_build() override {
38 FakeVariable<bool>* var_is_oobe_complete() override {
42 FakeVariable<unsigned int>* var_num_slots() override {
47 FakeVariable<bool> var_is_normal_boot_mode_{ // NOLINT(whitespace/braces)
49 FakeVariable<bool> var_is_official_build_{ // NOLINT(whitespace/braces)
51 FakeVariable<bool> var_is_oobe_complete_{ // NOLINT(whitespace/braces)
53 FakeVariable<unsigned int> var_num_slots_{"num_slots", kVariableModePoll};
fake_updater_provider.h 32 FakeVariable<base::Time>* var_updater_started_time() override {
36 FakeVariable<base::Time>* var_last_checked_time() override {
40 FakeVariable<base::Time>* var_update_completed_time() override {
44 FakeVariable<double>* var_progress() override {
48 FakeVariable<Stage>* var_stage() override {
52 FakeVariable<std::string>* var_new_version() override {
56 FakeVariable<int64_t>* var_payload_size() override {
60 FakeVariable<std::string>* var_curr_channel() override {
64 FakeVariable<std::string>* var_new_channel() override {
68 FakeVariable<bool>* var_p2p_enabled() override
    [all...]
fake_device_policy_provider.h 33 FakeVariable<bool>* var_device_policy_is_loaded() override {
37 FakeVariable<std::string>* var_release_channel() override {
41 FakeVariable<bool>* var_release_channel_delegated() override {
45 FakeVariable<bool>* var_update_disabled() override {
49 FakeVariable<std::string>* var_target_version_prefix() override {
53 FakeVariable<base::TimeDelta>* var_scatter_factor() override {
57 FakeVariable<std::set<ConnectionType>>*
62 FakeVariable<std::string>* var_owner() override {
66 FakeVariable<bool>* var_http_downloads_enabled() override {
70 FakeVariable<bool>* var_au_p2p_enabled() override
    [all...]
fake_shill_provider.h 30 FakeVariable<bool>* var_is_connected() override {
34 FakeVariable<ConnectionType>* var_conn_type() override {
38 FakeVariable<ConnectionTethering>*
43 FakeVariable<base::Time>* var_conn_last_changed() override {
48 FakeVariable<bool> var_is_connected_{"is_connected", kVariableModePoll};
49 FakeVariable<ConnectionType> var_conn_type_{"conn_type", kVariableModePoll};
50 FakeVariable<ConnectionTethering> var_conn_tethering_{
52 FakeVariable<base::Time> var_conn_last_changed_{
fake_time_provider.h 30 FakeVariable<base::Time>* var_curr_date() override { return &var_curr_date_; }
31 FakeVariable<int>* var_curr_hour() override { return &var_curr_hour_; }
34 FakeVariable<base::Time> var_curr_date_{"curr_date", kVariableModePoll};
35 FakeVariable<int> var_curr_hour_{"curr_hour", kVariableModePoll};
fake_config_provider.h 30 FakeVariable<bool>* var_is_oobe_enabled() override {
35 FakeVariable<bool> var_is_oobe_enabled_{ // NOLINT(whitespace/braces)
fake_random_provider.h 30 FakeVariable<uint64_t>* var_seed() override { return &var_seed_; }
33 FakeVariable<uint64_t> var_seed_{"seed", kVariableModePoll};
fake_variable.h 30 class FakeVariable : public Variable<T> {
32 FakeVariable(const std::string& name, VariableMode mode)
34 FakeVariable(const std::string& name, base::TimeDelta poll_interval)
36 ~FakeVariable() override {}
54 // to the caller and the pointer is release from the FakeVariable. A second
60 *errmsg = this->GetName() + " is an empty FakeVariable";
69 DISALLOW_COPY_AND_ASSIGN(FakeVariable);
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",
144 // FakeVariable is initialized as returning null.
338 FakeVariable<string> fake_short_poll_var = {"fake_short_poll",

Completed in 69 milliseconds