/system/update_engine/update_manager/ |
D | real_updater_provider.h | 43 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 …]
|
D | device_policy_provider.h | 40 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 …]
|
D | updater_provider.h | 60 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 …]
|
D | real_system_provider.h | 55 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_;
|
D | real_device_policy_provider.h | 55 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 …]
|
D | real_time_provider.h | 38 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_;
|
D | system_provider.h | 34 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;
|
D | shill_provider.h | 34 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;
|
D | generic_variables.h | 51 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 …]
|
D | real_time_provider.cc | 33 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()
|
D | fake_variable.h | 30 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()
|
D | time_provider.h | 33 virtual Variable<base::Time>* var_curr_date() = 0; 37 virtual Variable<int>* var_curr_hour() = 0; 40 virtual Variable<int>* var_curr_minute() = 0;
|
D | mock_variable.h | 30 class MockVariable : public Variable<T> { 32 using Variable<T>::Variable;
|
D | real_shill_provider.h | 49 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()
|
D | variable.h | 184 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);
|
D | real_random_provider.h | 31 Variable<uint64_t>* var_seed() override { return var_seed_.get(); } in var_seed() 38 std::unique_ptr<Variable<uint64_t>> var_seed_;
|
D | real_random_provider.cc | 42 class RandomSeedVariable : public Variable<uint64_t> { 48 : Variable<uint64_t>(name, kVariableModeConst), fp_(fp) {} in RandomSeedVariable()
|
D | umtest_utils.h | 41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue() 51 static void ExpectVariableNotSet(Variable<T>* variable) { in ExpectVariableNotSet()
|
D | real_system_provider.cc | 48 class RetryPollVariable : public Variable<T> { 53 : Variable<T>(name, poll_interval), in RetryPollVariable()
|
/system/bt/gd/packet/parser/test/ |
D | variable.h | 34 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()
|
D | variable.cc | 29 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()
|
D | big_endian_test_packets.pdl | 4 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/ |
D | generate_java_binder.cpp | 48 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 …]
|
D | ast_java.h | 88 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 …]
|
D | ast_java.cpp | 78 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()
|