Home
last modified time | relevance | path

Searched refs:Variable (Results 1 – 25 of 38) 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<bool>* var_has_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<bool>* var_has_owner() override { return &var_has_owner_; } in var_has_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()
/system/bt/gd/packet/parser/test/
Dvariable.h34 class Variable final {
38 Variable() = default;
39 Variable(const Variable&) = default;
40 Variable(const std::string& str);
47 …static std::optional<Iterator<little_endian>> Parse(Variable* instance, Iterator<little_endian> it… in Parse()
Dvariable.cc29 Variable::Variable(const std::string& str) : data(str) {} in Variable() function in bluetooth::packet::parser::test::Variable
31 void Variable::Serialize(BitInserter& bi) const { in Serialize()
42 size_t Variable::size() const { in size()
Dbig_endian_test_packets.pdl4 custom_field Variable "packet/parser/test/"
145 one : Variable,
150 variable_array : Variable[],
154 variable_array : Variable[5],
159 variable_array : Variable[],
/system/tools/aidl/
Dgenerate_java_binder.cpp48 using Variable = ::android::aidl::java::Variable; typedef in android::aidl::java::VariableFactory
51 std::shared_ptr<Variable> Get(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in Get()
52 auto v = std::make_shared<Variable>(JavaSignatureOf(type, typenames), in Get()
59 std::shared_ptr<Variable> Get(int index) { return vars_[index]; } in Get()
62 std::vector<std::shared_ptr<Variable>> vars_;
79 std::shared_ptr<Variable> transact_code;
80 std::shared_ptr<Variable> transact_data;
81 std::shared_ptr<Variable> transact_reply;
82 std::shared_ptr<Variable> transact_flags;
102 std::shared_ptr<Variable> transact_descriptor;
[all …]
Dast_java.h88 struct Variable : public Expression { struct
93 Variable() = default; argument
94 Variable(const std::string& type, const std::string& name);
95 virtual ~Variable() = default;
116 std::shared_ptr<Variable> variable = nullptr;
120 Field(int modifiers, std::shared_ptr<Variable> variable);
160 std::shared_ptr<Variable> lvalue;
164 Assignment(std::shared_ptr<Variable> lvalue, std::shared_ptr<Expression> rvalue);
165 Assignment(std::shared_ptr<Variable> lvalue, std::shared_ptr<Expression> rvalue,
230 std::shared_ptr<Variable> lvalue = nullptr;
[all …]
Dast_java.cpp78 Field::Field(int m, std::shared_ptr<Variable> v) : ClassElement(), modifiers(m), variable(v) {} in Field()
108 Variable::Variable(const string& t, const string& n) : type(t), name(n) {} in Variable() function in android::aidl::java::Variable
110 void Variable::WriteDeclaration(CodeWriter* to) const { in WriteDeclaration()
117 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } in Write()
164 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in Assignment()
167 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r, string c) in Assignment()
250 VariableDeclaration::VariableDeclaration(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in VariableDeclaration()
253 VariableDeclaration::VariableDeclaration(std::shared_ptr<Variable> l) : lvalue(l) {} in VariableDeclaration()

12