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.h41 Variable<base::Time>* var_updater_started_time() override { in var_updater_started_time()
45 Variable<base::Time>* var_last_checked_time() override { in var_last_checked_time()
49 Variable<base::Time>* var_update_completed_time() override { in var_update_completed_time()
53 Variable<double>* var_progress() override { return var_progress_.get(); } in var_progress()
55 Variable<Stage>* var_stage() override { return var_stage_.get(); } in var_stage()
57 Variable<std::string>* var_new_version() override { in var_new_version()
61 Variable<uint64_t>* var_payload_size() override { in var_payload_size()
65 Variable<std::string>* var_curr_channel() override { in var_curr_channel()
69 Variable<std::string>* var_new_channel() override { in var_new_channel()
73 Variable<bool>* var_p2p_enabled() override { return var_p2p_enabled_.get(); } in var_p2p_enabled()
[all …]
Ddevice_policy_provider.h41 virtual Variable<bool>* var_device_policy_is_loaded() = 0;
44 virtual Variable<std::string>* var_release_channel() = 0;
46 virtual Variable<bool>* var_release_channel_delegated() = 0;
48 virtual Variable<std::string>* var_release_lts_tag() = 0;
50 virtual Variable<bool>* var_update_disabled() = 0;
52 virtual Variable<std::string>* var_target_version_prefix() = 0;
56 virtual Variable<RollbackToTargetVersion>*
61 virtual Variable<int>* var_rollback_allowed_milestones() = 0;
64 virtual Variable<base::TimeDelta>* var_scatter_factor() = 0;
69 virtual Variable<std::set<chromeos_update_engine::ConnectionType>>*
[all …]
Dupdater_provider.h61 virtual Variable<base::Time>* var_updater_started_time() = 0;
64 virtual Variable<base::Time>* var_last_checked_time() = 0;
76 virtual Variable<base::Time>* var_update_completed_time() = 0;
79 virtual Variable<double>* var_progress() = 0;
82 virtual Variable<Stage>* var_stage() = 0;
85 virtual Variable<std::string>* var_new_version() = 0;
89 virtual Variable<uint64_t>* var_payload_size() = 0;
92 virtual Variable<std::string>* var_curr_channel() = 0;
95 virtual Variable<std::string>* var_new_channel() = 0;
98 virtual Variable<bool>* var_p2p_enabled() = 0;
[all …]
Dreal_system_provider.h45 Variable<bool>* var_is_normal_boot_mode() override { in var_is_normal_boot_mode()
49 Variable<bool>* var_is_official_build() override { in var_is_official_build()
53 Variable<bool>* var_is_oobe_complete() override { in var_is_oobe_complete()
57 Variable<unsigned int>* var_num_slots() override { in var_num_slots()
61 Variable<std::string>* var_kiosk_required_platform_version() override { in var_kiosk_required_platform_version()
65 Variable<base::Version>* var_chromeos_version() override { in var_chromeos_version()
73 std::unique_ptr<Variable<bool>> var_is_normal_boot_mode_;
74 std::unique_ptr<Variable<bool>> var_is_official_build_;
75 std::unique_ptr<Variable<bool>> var_is_oobe_complete_;
76 std::unique_ptr<Variable<unsigned int>> var_num_slots_;
[all …]
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<std::string>* var_release_lts_tag() override { in var_release_lts_tag()
71 Variable<bool>* var_update_disabled() override { in var_update_disabled()
75 Variable<std::string>* var_target_version_prefix() override { in var_target_version_prefix()
79 Variable<RollbackToTargetVersion>* var_rollback_to_target_version() override { in var_rollback_to_target_version()
83 Variable<int>* var_rollback_allowed_milestones() override { in var_rollback_allowed_milestones()
87 Variable<base::TimeDelta>* var_scatter_factor() override { in var_scatter_factor()
91 Variable<std::set<chromeos_update_engine::ConnectionType>>*
[all …]
Dsystem_provider.h38 virtual Variable<bool>* var_is_normal_boot_mode() = 0;
41 virtual Variable<bool>* var_is_official_build() = 0;
44 virtual Variable<bool>* var_is_oobe_complete() = 0;
47 virtual Variable<unsigned int>* var_num_slots() = 0;
51 virtual Variable<std::string>* var_kiosk_required_platform_version() = 0;
54 virtual Variable<base::Version>* var_chromeos_version() = 0;
Dreal_time_provider.h36 Variable<base::Time>* var_curr_date() override { in var_curr_date()
40 Variable<int>* var_curr_hour() override { return var_curr_hour_.get(); } in var_curr_hour()
42 Variable<int>* var_curr_minute() override { return var_curr_minute_.get(); } in var_curr_minute()
45 std::unique_ptr<Variable<base::Time>> var_curr_date_;
46 std::unique_ptr<Variable<int>> var_curr_hour_;
47 std::unique_ptr<Variable<int>> var_curr_minute_;
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;
Dreal_time_provider.cc33 class CurrDateVariable : public Variable<Time> {
38 : Variable<Time>(name, TimeDelta::FromHours(1)) {} in CurrDateVariable()
56 class CurrHourVariable : public Variable<int> {
61 : Variable<int>(name, TimeDelta::FromMinutes(5)) {} in CurrHourVariable()
74 class CurrMinuteVariable : public Variable<int> {
77 : Variable<int>(name, TimeDelta::FromSeconds(15)) {} in CurrMinuteVariable()
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 …]
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()
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_;
Dvariable.h194 class Variable : public BaseVariable {
196 ~Variable() override {} in ~Variable()
207 Variable(const std::string& name, VariableMode mode) in Variable() function
210 Variable(const std::string& name, const base::TimeDelta poll_interval) in Variable() function
225 DISALLOW_COPY_AND_ASSIGN(Variable);
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()
Dconfig_provider.h32 virtual Variable<bool>* var_is_oobe_enabled() = 0;
/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.cpp49 using Variable = ::android::aidl::java::Variable; typedef in android::aidl::java::VariableFactory
52 std::shared_ptr<Variable> Get(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in Get()
53 auto v = std::make_shared<Variable>(JavaSignatureOf(type, typenames), in Get()
60 std::shared_ptr<Variable> Get(int index) { return vars_[index]; } in Get()
63 std::vector<std::shared_ptr<Variable>> vars_;
80 std::shared_ptr<Variable> transact_code;
81 std::shared_ptr<Variable> transact_data;
82 std::shared_ptr<Variable> transact_reply;
83 std::shared_ptr<Variable> transact_flags;
104 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.cpp83 Field::Field(int m, std::shared_ptr<Variable> v) : ClassElement(), modifiers(m), variable(v) {} in Field()
111 Variable::Variable(const string& t, const string& n) : type(t), name(n) {} in Variable() function in android::aidl::java::Variable
113 void Variable::WriteDeclaration(CodeWriter* to) const { in WriteDeclaration()
120 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } in Write()
167 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in Assignment()
170 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r, string c) in Assignment()
253 VariableDeclaration::VariableDeclaration(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in VariableDeclaration()
256 VariableDeclaration::VariableDeclaration(std::shared_ptr<Variable> l) : lvalue(l) {} in VariableDeclaration()

12