Searched refs:GetValue (Results 1 - 25 of 39) sorted by relevance

12

/system/update_engine/update_manager/
H A Denterprise_device_policy_impl.cc36 ec->GetValue(dp_provider->var_device_policy_is_loaded());
42 ec->GetValue(dp_provider->var_update_disabled());
46 const bool* allow_kiosk_app_control_chrome_version_p = ec->GetValue(
61 ec->GetValue(system_provider->var_kiosk_required_platform_version());
77 ec->GetValue(dp_provider->var_target_version_prefix());
84 ec->GetValue(dp_provider->var_release_channel_delegated());
87 ec->GetValue(dp_provider->var_release_channel());
H A Dout_of_box_experience_policy_impl.cc31 ec->GetValue(state->config_provider()->var_is_oobe_enabled());
34 ec->GetValue(system_provider->var_is_oobe_complete());
H A Denough_slots_ab_updates_policy_impl.cc29 ec->GetValue(state->system_provider()->var_num_slots());
H A Dmock_variable.h34 MOCK_METHOD2_T(GetValue, const T*(base::TimeDelta, std::string*));
H A Dofficial_build_check_policy_impl.cc28 ec->GetValue(state->system_provider()->var_is_official_build());
H A Devaluation_context_unittest.cc64 ec->GetValue(var);
145 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_));
149 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr)));
156 p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
165 p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
171 p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
177 const int* p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
183 p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
195 p_fake_int = eval_ctx_->GetValue(&fake_int_var_);
196 p_fake_string = eval_ctx_->GetValue(
[all...]
H A Devaluation_context-inl.h27 const T* EvaluationContext::GetValue(Variable<T>* var) { function in class:chromeos_update_manager::EvaluationContext
29 LOG(ERROR) << "GetValue received an uninitialized variable.";
40 const T* result = var->GetValue(RemainingTime(evaluation_monotonic_deadline_),
H A Dreal_random_provider_unittest.cc51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr));
59 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(),
H A Dapi_restricted_downloads_policy_impl.cc34 ec->GetValue(state->updater_provider()->var_update_restrictions());
H A Dinteractive_update_policy_impl.cc31 ec->GetValue(updater_provider->var_forced_update_requested());
H A Dnext_update_check_policy_impl.cc72 ec->GetValue(updater_provider->var_updater_started_time());
76 ec->GetValue(updater_provider->var_last_checked_time());
78 const auto* seed = ec->GetValue(state->random_provider()->var_seed());
96 ec->GetValue(updater_provider->var_server_dictated_poll_interval());
107 ec->GetValue(updater_provider->var_consecutive_failed_update_checks());
H A Dreal_time_provider.cc41 virtual const Time* GetValue(TimeDelta /* timeout */, function in class:chromeos_update_manager::CurrDateVariable
67 virtual const int* GetValue(TimeDelta /* timeout */, function in class:chromeos_update_manager::CurrHourVariable
H A Dumtest_utils.h39 // Calls GetValue on |variable| and expects its result to be |expected|.
44 variable->GetValue(DefaultTimeout(), nullptr));
49 // Calls GetValue on |variable| and expects its result to be null.
54 variable->GetValue(DefaultTimeout(), nullptr));
H A Dchromeos_policy.cc313 const bool* device_policy_is_loaded_p = ec->GetValue(
328 const bool* is_oobe_enabled_p = ec->GetValue(
333 const bool* is_oobe_complete_p = ec->GetValue(
438 const ConnectionType* conn_type_p = ec->GetValue(
445 const ConnectionTethering* conn_tethering_p = ec->GetValue(
483 const bool* device_policy_is_loaded_p = ec->GetValue(
486 const set<ConnectionType>* allowed_conn_types_p = ec->GetValue(
496 const bool* update_over_cellular_allowed_p = ec->GetValue(
517 const bool* device_policy_is_loaded_p = ec->GetValue(
520 const bool* policy_au_p2p_enabled_p = ec->GetValue(
[all...]
H A Dreal_updater_provider.cc102 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override {
121 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override {
154 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
174 const Stage* StageVariable::GetValue(TimeDelta /* timeout */, function in class:chromeos_update_manager::StageVariable
196 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override {
214 const uint64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override {
238 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override {
268 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override {
289 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override {
357 const unsigned int* GetValue(TimeDelt
[all...]
H A Dfake_variable.h39 // returned by GetValue(), the pointer is released and has to be set again.
40 // A value of null means that the GetValue() call will fail and return
55 // call to GetValue() without reset() will return null and set the error
57 const T* GetValue(base::TimeDelta /* timeout */,
66 // The pointer returned by GetValue().
H A Dgeneric_variables.h54 // this object is kept and it should be available whenever the GetValue()
84 inline const T* GetValue(base::TimeDelta /* timeout */,
99 // Reference to the object to be copied by GetValue().
117 // GetValue().
123 const T* GetValue(base::TimeDelta /* timeout */,
129 // Value to be copied by GetValue().
147 const T* GetValue(base::TimeDelta /* timeout */,
198 const T* GetValue(base::TimeDelta /* timeout */,
212 // Copy of the object to be returned by GetValue().
H A Dgeneric_variables_unittest.cc44 unique_ptr<const int> copy_1(var.GetValue(
95 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr));
134 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr));
H A Dreal_random_provider.cc52 const uint64_t* GetValue(base::TimeDelta /* timeout */,
H A Dreal_system_provider.cc41 // The polling interval to be used whenever GetValue() returns an error.
62 const T* GetValue(base::TimeDelta /* timeout */,
/system/connectivity/wificond/tests/
H A Dnl80211_attribute_unittest.cpp123 EXPECT_EQ(u8_attr.GetValue(), kU8Value1);
128 EXPECT_EQ(u16_attr.GetValue(), kU16Value1);
133 EXPECT_EQ(u32_attr.GetValue(), kU32Value1);
138 EXPECT_EQ(str_attr.GetValue(), kIFName);
146 EXPECT_EQ(byte_vector_attr.GetValue(), mac_address);
231 EXPECT_EQ("wlan0", str_attr.GetValue());
240 EXPECT_EQ("wlan0", str_attr.GetValue());
249 EXPECT_EQ("wlan0", str_attr.GetValue());
277 ASSERT_EQ("first", attrs[0].GetValue());
278 ASSERT_EQ("second", attrs[1].GetValue());
[all...]
/system/update_engine/common/
H A Dfake_prefs.cc65 return GetValue(key, value);
74 return GetValue(key, value);
83 return GetValue(key, value);
141 bool FakePrefs::GetValue(const string& key, T* value) const { function in class:chromeos_update_engine::FakePrefs
H A Dfake_prefs.h100 bool GetValue(const std::string& key, T* value) const;
/system/connectivity/wificond/net/
H A Dnl80211_attribute.h102 T GetValue() const { function in class:android::wificond::NL80211Attr
113 std::vector<uint8_t> GetValue() const;
125 std::string GetValue() const;
168 *value = attribute.GetValue();
197 attr_list.emplace_back(attribute.GetValue());
H A Dnl80211_packet.h135 *value = attribute.GetValue();

Completed in 166 milliseconds

12