/system/tools/aidl/ |
D | type_java.h | 54 virtual void WriteToParcel(StatementBlock* addTo, Variable* v, 55 Variable* parcel, int flags) const; 56 virtual void CreateFromParcel(StatementBlock* addTo, Variable* v, 57 Variable* parcel, Variable** cl) const; 58 virtual void ReadFromParcel(StatementBlock* addTo, Variable* v, 59 Variable* parcel, Variable** cl) const; 85 void WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, 87 void CreateFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, 88 Variable** cl) const override; 89 void ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, [all …]
|
D | type_java.cpp | 61 void Type::WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in WriteToParcel() 69 void Type::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel() 70 Variable* parcel, Variable**) const { in CreateFromParcel() 77 void Type::ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in ReadFromParcel() 78 Variable**) const { in ReadFromParcel() 111 void BasicType::WriteToParcel(StatementBlock* addTo, Variable* v, in WriteToParcel() 112 Variable* parcel, int flags) const { in WriteToParcel() 116 void BasicType::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel() 117 Variable* parcel, Variable**) const { in CreateFromParcel() 132 void BasicArrayType::WriteToParcel(StatementBlock* addTo, Variable* v, in WriteToParcel() [all …]
|
D | generate_java_binder.cpp | 41 Variable* transact_code; 42 Variable* transact_data; 43 Variable* transact_reply; 44 Variable* transact_flags; 67 new Variable(types->StringType(), "DESCRIPTOR")); in StubClass() 98 this->transact_code = new Variable(types->IntType(), "code"); in StubClass() 99 this->transact_data = new Variable(types->ParcelType(), "data"); in StubClass() 100 this->transact_reply = new Variable(types->ParcelType(), "reply"); in StubClass() 101 this->transact_flags = new Variable(types->IntType(), "flags"); in StubClass() 124 Variable* obj = new Variable(types->IBinderType(), "obj"); in make_as_interface() [all …]
|
D | generate_java.h | 44 using Variable = ::android::aidl::java::Variable; 48 Variable* Get(const Type* type); 49 Variable* Get(int index); 52 std::vector<Variable*> vars_;
|
D | generate_java.cpp | 30 using ::android::aidl::java::Variable; 43 Variable* VariableFactory::Get(const Type* type) { in Get() 44 Variable* v = new Variable( in Get() 51 Variable* VariableFactory::Get(int index) { in Get()
|
D | ast_java.h | 86 struct Variable : public Expression { struct 91 Variable() = default; argument 92 Variable(const Type* type, const std::string& name); 93 Variable(const Type* type, const std::string& name, int dimension); 94 virtual ~Variable() = default; 115 Variable* variable = nullptr; 119 Field(int modifiers, Variable* variable); 150 Variable* lvalue; 154 Assignment(Variable* lvalue, Expression* rvalue); 155 Assignment(Variable* lvalue, Expression* rvalue, const Type* cast); [all …]
|
D | ast_java.cpp | 67 Field::Field(int m, Variable* v) : ClassElement(), modifiers(m), variable(v) {} in Field() 94 Variable::Variable(const Type* t, const string& n) in Variable() function in android::aidl::java::Variable 97 Variable::Variable(const Type* t, const string& n, int d) in Variable() function in android::aidl::java::Variable 100 void Variable::WriteDeclaration(CodeWriter* to) const { in WriteDeclaration() 109 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } in Write() 150 Assignment::Assignment(Variable* l, Expression* r) in Assignment() 153 Assignment::Assignment(Variable* l, Expression* r, const Type* c) in Assignment() 276 VariableDeclaration::VariableDeclaration(Variable* l, Expression* r, in VariableDeclaration() 280 VariableDeclaration::VariableDeclaration(Variable* l) : lvalue(l) {} in VariableDeclaration() 320 CatchStatement::CatchStatement(Variable* e) in CatchStatement()
|
/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 { in var_progress() 59 Variable<Stage>* var_stage() override { in var_stage() 63 Variable<std::string>* var_new_version() override { in var_new_version() 67 Variable<int64_t>* var_payload_size() override { in var_payload_size() 71 Variable<std::string>* var_curr_channel() override { in var_curr_channel() 75 Variable<std::string>* var_new_channel() override { in var_new_channel() 79 Variable<bool>* var_p2p_enabled() override { in var_p2p_enabled() [all …]
|
D | updater_provider.h | 54 virtual Variable<base::Time>* var_updater_started_time() = 0; 57 virtual Variable<base::Time>* var_last_checked_time() = 0; 69 virtual Variable<base::Time>* var_update_completed_time() = 0; 72 virtual Variable<double>* var_progress() = 0; 75 virtual Variable<Stage>* var_stage() = 0; 78 virtual Variable<std::string>* var_new_version() = 0; 82 virtual Variable<int64_t>* var_payload_size() = 0; 85 virtual Variable<std::string>* var_curr_channel() = 0; 88 virtual Variable<std::string>* var_new_channel() = 0; 91 virtual Variable<bool>* var_p2p_enabled() = 0; [all …]
|
D | device_policy_provider.h | 38 virtual Variable<bool>* var_device_policy_is_loaded() = 0; 41 virtual Variable<std::string>* var_release_channel() = 0; 43 virtual Variable<bool>* var_release_channel_delegated() = 0; 45 virtual Variable<bool>* var_update_disabled() = 0; 47 virtual Variable<std::string>* var_target_version_prefix() = 0; 50 virtual Variable<base::TimeDelta>* var_scatter_factor() = 0; 55 virtual Variable<std::set<chromeos_update_engine::ConnectionType>>* 60 virtual Variable<std::string>* var_owner() = 0; 62 virtual Variable<bool>* var_http_downloads_enabled() = 0; 64 virtual Variable<bool>* var_au_p2p_enabled() = 0; [all …]
|
D | real_system_provider.h | 46 Variable<bool>* var_is_normal_boot_mode() override { in var_is_normal_boot_mode() 50 Variable<bool>* var_is_official_build() override { in var_is_official_build() 54 Variable<bool>* var_is_oobe_complete() override { in var_is_oobe_complete() 58 Variable<unsigned int>* var_num_slots() override { in var_num_slots() 62 Variable<std::string>* var_kiosk_required_platform_version() override { in var_kiosk_required_platform_version() 70 std::unique_ptr<Variable<bool>> var_is_normal_boot_mode_; 71 std::unique_ptr<Variable<bool>> var_is_official_build_; 72 std::unique_ptr<Variable<bool>> var_is_oobe_complete_; 73 std::unique_ptr<Variable<unsigned int>> var_num_slots_; 74 std::unique_ptr<Variable<std::string>> var_kiosk_required_platform_version_;
|
D | real_device_policy_provider.h | 54 Variable<bool>* var_device_policy_is_loaded() override { in var_device_policy_is_loaded() 58 Variable<std::string>* var_release_channel() override { in var_release_channel() 62 Variable<bool>* var_release_channel_delegated() override { in var_release_channel_delegated() 66 Variable<bool>* var_update_disabled() override { in var_update_disabled() 70 Variable<std::string>* var_target_version_prefix() override { in var_target_version_prefix() 74 Variable<base::TimeDelta>* var_scatter_factor() override { in var_scatter_factor() 78 Variable<std::set<chromeos_update_engine::ConnectionType>>* 83 Variable<std::string>* var_owner() override { in var_owner() 87 Variable<bool>* var_http_downloads_enabled() override { in var_http_downloads_enabled() 91 Variable<bool>* var_au_p2p_enabled() override { in var_au_p2p_enabled() [all …]
|
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 | generic_variables.h | 51 class PollCopyVariable : public Variable<T> { 60 : Variable<T>(name, kVariableModePoll), ref_(ref), is_set_p_(is_set_p), in PollCopyVariable() 70 : Variable<T>(name, poll_interval), ref_(ref), is_set_p_(is_set_p), in PollCopyVariable() 113 class ConstCopyVariable : public Variable<T> { 119 : Variable<T>(name, kVariableModeConst), obj_(obj) {} in ConstCopyVariable() 136 class CallCopyVariable : public Variable<T> { 139 : Variable<T>(name, kVariableModePoll), func_(func) {} in CallCopyVariable() 143 : Variable<T>(name, poll_interval), func_(func) {} in CallCopyVariable() 172 class AsyncCopyVariable : public Variable<T> { 175 : Variable<T>(name, kVariableModeAsync), has_value_(false) {} in AsyncCopyVariable() [all …]
|
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 | real_time_provider.h | 38 Variable<base::Time>* var_curr_date() override { in var_curr_date() 42 Variable<int>* var_curr_hour() override { in var_curr_hour() 50 std::unique_ptr<Variable<base::Time>> var_curr_date_; 51 std::unique_ptr<Variable<int>> var_curr_hour_;
|
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() 48 Variable<T>::NotifyValueChanged(); in NotifyValueChanged()
|
D | mock_variable.h | 30 class MockVariable : public Variable<T> { 32 using Variable<T>::Variable;
|
D | real_time_provider.cc | 33 class CurrDateVariable : public Variable<Time> { 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} in CurrDateVariable() 56 class CurrHourVariable : public Variable<int> { 61 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable()
|
D | real_shill_provider.h | 49 Variable<bool>* var_is_connected() override { in var_is_connected() 53 Variable<chromeos_update_engine::ConnectionType>* var_conn_type() override { in var_conn_type() 57 Variable<chromeos_update_engine::ConnectionTethering>* var_conn_tethering() override { in var_conn_tethering() 61 Variable<base::Time>* var_conn_last_changed() override { in var_conn_last_changed()
|
D | variable.h | 188 class Variable : public BaseVariable { 190 ~Variable() override {} in ~Variable() 201 Variable(const std::string& name, VariableMode mode) in Variable() function 204 Variable(const std::string& name, const base::TimeDelta poll_interval) in Variable() function 219 DISALLOW_COPY_AND_ASSIGN(Variable);
|
D | time_provider.h | 33 virtual Variable<base::Time>* var_curr_date() = 0; 37 virtual Variable<int>* var_curr_hour() = 0;
|
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()
|