Home
last modified time | relevance | path

Searched refs:Variable (Results 1 – 25 of 32) sorted by relevance

12

/system/update_engine/update_manager/
Dreal_updater_provider.h43 Variable<base::Time>* var_updater_started_time() override { in var_updater_started_time()
47 Variable<base::Time>* var_last_checked_time() override { in var_last_checked_time()
51 Variable<base::Time>* var_update_completed_time() override { in var_update_completed_time()
55 Variable<double>* var_progress() override { return var_progress_.get(); } in var_progress()
57 Variable<Stage>* var_stage() override { return var_stage_.get(); } in var_stage()
59 Variable<std::string>* var_new_version() override { in var_new_version()
63 Variable<uint64_t>* var_payload_size() override { in var_payload_size()
67 Variable<std::string>* var_curr_channel() override { in var_curr_channel()
71 Variable<std::string>* var_new_channel() override { in var_new_channel()
75 Variable<bool>* var_p2p_enabled() override { return var_p2p_enabled_.get(); } in var_p2p_enabled()
[all …]
Ddevice_policy_provider.h40 virtual Variable<bool>* var_device_policy_is_loaded() = 0;
43 virtual Variable<std::string>* var_release_channel() = 0;
45 virtual Variable<bool>* var_release_channel_delegated() = 0;
47 virtual Variable<bool>* var_update_disabled() = 0;
49 virtual Variable<std::string>* var_target_version_prefix() = 0;
53 virtual Variable<RollbackToTargetVersion>*
58 virtual Variable<int>* var_rollback_allowed_milestones() = 0;
61 virtual Variable<base::TimeDelta>* var_scatter_factor() = 0;
66 virtual Variable<std::set<chromeos_update_engine::ConnectionType>>*
71 virtual Variable<std::string>* var_owner() = 0;
[all …]
Dupdater_provider.h60 virtual Variable<base::Time>* var_updater_started_time() = 0;
63 virtual Variable<base::Time>* var_last_checked_time() = 0;
75 virtual Variable<base::Time>* var_update_completed_time() = 0;
78 virtual Variable<double>* var_progress() = 0;
81 virtual Variable<Stage>* var_stage() = 0;
84 virtual Variable<std::string>* var_new_version() = 0;
88 virtual Variable<uint64_t>* var_payload_size() = 0;
91 virtual Variable<std::string>* var_curr_channel() = 0;
94 virtual Variable<std::string>* var_new_channel() = 0;
97 virtual Variable<bool>* var_p2p_enabled() = 0;
[all …]
Dreal_system_provider.h55 Variable<bool>* var_is_normal_boot_mode() override { in var_is_normal_boot_mode()
59 Variable<bool>* var_is_official_build() override { in var_is_official_build()
63 Variable<bool>* var_is_oobe_complete() override { in var_is_oobe_complete()
67 Variable<unsigned int>* var_num_slots() override { in var_num_slots()
71 Variable<std::string>* var_kiosk_required_platform_version() override { in var_kiosk_required_platform_version()
79 std::unique_ptr<Variable<bool>> var_is_normal_boot_mode_;
80 std::unique_ptr<Variable<bool>> var_is_official_build_;
81 std::unique_ptr<Variable<bool>> var_is_oobe_complete_;
82 std::unique_ptr<Variable<unsigned int>> var_num_slots_;
83 std::unique_ptr<Variable<std::string>> var_kiosk_required_platform_version_;
Dreal_device_policy_provider.h55 Variable<bool>* var_device_policy_is_loaded() override { in var_device_policy_is_loaded()
59 Variable<std::string>* var_release_channel() override { in var_release_channel()
63 Variable<bool>* var_release_channel_delegated() override { in var_release_channel_delegated()
67 Variable<bool>* var_update_disabled() override { in var_update_disabled()
71 Variable<std::string>* var_target_version_prefix() override { in var_target_version_prefix()
75 Variable<RollbackToTargetVersion>* var_rollback_to_target_version() override { in var_rollback_to_target_version()
79 Variable<int>* var_rollback_allowed_milestones() override { in var_rollback_allowed_milestones()
83 Variable<base::TimeDelta>* var_scatter_factor() override { in var_scatter_factor()
87 Variable<std::set<chromeos_update_engine::ConnectionType>>*
92 Variable<std::string>* var_owner() override { return &var_owner_; } in var_owner()
[all …]
Dreal_time_provider.h38 Variable<base::Time>* var_curr_date() override { in var_curr_date()
42 Variable<int>* var_curr_hour() override { return var_curr_hour_.get(); } in var_curr_hour()
44 Variable<int>* var_curr_minute() override { return var_curr_minute_.get(); } in var_curr_minute()
50 std::unique_ptr<Variable<base::Time>> var_curr_date_;
51 std::unique_ptr<Variable<int>> var_curr_hour_;
52 std::unique_ptr<Variable<int>> var_curr_minute_;
Dsystem_provider.h34 virtual Variable<bool>* var_is_normal_boot_mode() = 0;
37 virtual Variable<bool>* var_is_official_build() = 0;
40 virtual Variable<bool>* var_is_oobe_complete() = 0;
43 virtual Variable<unsigned int>* var_num_slots() = 0;
47 virtual Variable<std::string>* var_kiosk_required_platform_version() = 0;
Dshill_provider.h34 virtual Variable<bool>* var_is_connected() = 0;
38 virtual Variable<chromeos_update_engine::ConnectionType>* var_conn_type() = 0;
42 virtual Variable<chromeos_update_engine::ConnectionTethering>*
47 virtual Variable<base::Time>* var_conn_last_changed() = 0;
Dgeneric_variables.h51 class PollCopyVariable : public Variable<T> {
62 : Variable<T>(name, kVariableModePoll), in PollCopyVariable()
76 : Variable<T>(name, poll_interval), in PollCopyVariable()
124 class ConstCopyVariable : public Variable<T> {
130 : Variable<T>(name, kVariableModeConst), obj_(obj) {} in ConstCopyVariable()
147 class CallCopyVariable : public Variable<T> {
150 : Variable<T>(name, kVariableModePoll), func_(func) {} in CallCopyVariable()
154 : Variable<T>(name, poll_interval), func_(func) {} in CallCopyVariable()
182 class AsyncCopyVariable : public Variable<T> {
185 : Variable<T>(name, kVariableModeAsync), has_value_(false) {} in AsyncCopyVariable()
[all …]
Dreal_time_provider.cc33 class CurrDateVariable : public Variable<Time> {
38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} in CurrDateVariable()
58 class CurrHourVariable : public Variable<int> {
63 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable()
78 class CurrMinuteVariable : public Variable<int> {
81 : Variable<int>(name, TimeDelta::FromSeconds(15)), clock_(clock) {} in CurrMinuteVariable()
Dfake_variable.h30 class FakeVariable : public Variable<T> {
33 : Variable<T>(name, mode) {} in FakeVariable()
35 : Variable<T>(name, poll_interval) {} in FakeVariable()
45 void NotifyValueChanged() { Variable<T>::NotifyValueChanged(); } in NotifyValueChanged()
Dtime_provider.h33 virtual Variable<base::Time>* var_curr_date() = 0;
37 virtual Variable<int>* var_curr_hour() = 0;
40 virtual Variable<int>* var_curr_minute() = 0;
Dmock_variable.h30 class MockVariable : public Variable<T> {
32 using Variable<T>::Variable;
Dreal_shill_provider.h49 Variable<bool>* var_is_connected() override { return &var_is_connected_; } in var_is_connected()
51 Variable<chromeos_update_engine::ConnectionType>* var_conn_type() override { in var_conn_type()
55 Variable<chromeos_update_engine::ConnectionTethering>* var_conn_tethering() in var_conn_tethering()
60 Variable<base::Time>* var_conn_last_changed() override { in var_conn_last_changed()
Dvariable.h184 class Variable : public BaseVariable {
186 ~Variable() override {} in ~Variable()
197 Variable(const std::string& name, VariableMode mode) in Variable() function
200 Variable(const std::string& name, const base::TimeDelta poll_interval) in Variable() function
215 DISALLOW_COPY_AND_ASSIGN(Variable);
Dreal_random_provider.h31 Variable<uint64_t>* var_seed() override { return var_seed_.get(); } in var_seed()
38 std::unique_ptr<Variable<uint64_t>> var_seed_;
Dreal_random_provider.cc42 class RandomSeedVariable : public Variable<uint64_t> {
48 : Variable<uint64_t>(name, kVariableModeConst), fp_(fp) {} in RandomSeedVariable()
Dumtest_utils.h41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue()
51 static void ExpectVariableNotSet(Variable<T>* variable) { in ExpectVariableNotSet()
Dreal_system_provider.cc48 class RetryPollVariable : public Variable<T> {
53 : Variable<T>(name, poll_interval), in RetryPollVariable()
Dvariable_unittest.cc36 class DefaultVariable : public Variable<T> {
39 : Variable<T>(name, mode) {} in DefaultVariable()
41 : Variable<T>(name, poll_interval) {} in DefaultVariable()
Dconfig_provider.h32 virtual Variable<bool>* var_is_oobe_enabled() = 0;
/system/tools/aidl/
Dgenerate_java_binder.cpp49 using Variable = ::android::aidl::java::Variable; typedef in android::aidl::java::VariableFactory
53 Variable* Get(const Type* type) { in Get()
54 Variable* v = new Variable(type->JavaType(), StringPrintf("%s%d", base_.c_str(), index_)); in Get()
60 Variable* Get(int index) { return vars_[index]; } in Get()
63 std::vector<Variable*> vars_;
77 Variable* transact_code;
78 Variable* transact_data;
79 Variable* transact_reply;
80 Variable* transact_flags;
102 Variable* transact_descriptor;
[all …]
Dast_java.h89 struct Variable : public Expression { struct
94 Variable() = default; argument
95 Variable(const std::string& type, const std::string& name);
96 Variable(const std::string& type, const std::string& name, int dimension);
97 virtual ~Variable() = default;
118 Variable* variable = nullptr;
122 Field(int modifiers, Variable* variable);
162 Variable* lvalue;
166 Assignment(Variable* lvalue, Expression* rvalue);
167 Assignment(Variable* lvalue, Expression* rvalue, std::string cast);
[all …]
Dast_java.cpp78 Field::Field(int m, Variable* v) : ClassElement(), modifiers(m), variable(v) {} in Field()
108 Variable::Variable(const string& t, const string& n) : type(t), name(n), dimension(0) {} in Variable() function in android::aidl::java::Variable
110 Variable::Variable(const string& t, const string& n, int d) : type(t), name(n), dimension(d) {} in Variable() function in android::aidl::java::Variable
112 void Variable::WriteDeclaration(CodeWriter* to) const { in WriteDeclaration()
120 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } in Write()
166 Assignment::Assignment(Variable* l, Expression* r) : lvalue(l), rvalue(r) {} in Assignment()
168 Assignment::Assignment(Variable* l, Expression* r, string c) : lvalue(l), rvalue(r), cast(c) {} in Assignment()
276 VariableDeclaration::VariableDeclaration(Variable* l, Expression* r) : lvalue(l), rvalue(r) {} in VariableDeclaration()
278 VariableDeclaration::VariableDeclaration(Variable* l) : lvalue(l) {} in VariableDeclaration()
Dgenerate_java.cpp32 using ::android::aidl::java::Variable;
140 Variable* flag_variable = new Variable("int", "_aidl_flag"); in generate_parcel_class()
141 Variable* parcel_variable = new Variable("android.os.Parcel", "_aidl_parcel"); in generate_parcel_class()

12