Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 41) sorted by relevance

12

/system/update_engine/update_manager/
Denterprise_device_policy_impl.cc36 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCheckAllowed()
42 ec->GetValue(dp_provider->var_update_disabled()); in UpdateCheckAllowed()
46 const bool* allow_kiosk_app_control_chrome_version_p = ec->GetValue( in UpdateCheckAllowed()
62 ec->GetValue(system_provider->var_kiosk_required_platform_version()); in UpdateCheckAllowed()
77 ec->GetValue(dp_provider->var_target_version_prefix()); in UpdateCheckAllowed()
85 ec->GetValue(dp_provider->var_rollback_to_target_version()); in UpdateCheckAllowed()
120 ec->GetValue(dp_provider->var_rollback_allowed_milestones()); in UpdateCheckAllowed()
126 ec->GetValue(dp_provider->var_release_channel_delegated()); in UpdateCheckAllowed()
129 ec->GetValue(dp_provider->var_release_channel()); in UpdateCheckAllowed()
Devaluation_context_unittest.cc63 ec->GetValue(var); in ReadVar()
148 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_)); in TEST_F()
152 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr))); in TEST_F()
159 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
168 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
174 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
180 const int* p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
186 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
198 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
199 p_fake_string = eval_ctx_->GetValue(&fake_poll_var_); in TEST_F()
[all …]
Dupdate_time_restrictions_policy_impl.cc44 if (!ec->GetValue(dp_provider->var_auto_launched_kiosk_app_id())) in UpdateCanBeApplied()
47 const Time* curr_date = ec->GetValue(time_provider->var_curr_date()); in UpdateCanBeApplied()
48 const int* curr_hour = ec->GetValue(time_provider->var_curr_hour()); in UpdateCanBeApplied()
49 const int* curr_minute = ec->GetValue(time_provider->var_curr_minute()); in UpdateCanBeApplied()
60 ec->GetValue(dp_provider->var_disallowed_time_intervals()); in UpdateCanBeApplied()
Dnext_update_check_policy_impl.cc72 ec->GetValue(updater_provider->var_updater_started_time()); in NextUpdateCheckTime()
76 ec->GetValue(updater_provider->var_last_checked_time()); in NextUpdateCheckTime()
78 const auto* seed = ec->GetValue(state->random_provider()->var_seed()); in NextUpdateCheckTime()
96 ec->GetValue(updater_provider->var_server_dictated_poll_interval()); in NextUpdateCheckTime()
107 ec->GetValue(updater_provider->var_consecutive_failed_update_checks()); in NextUpdateCheckTime()
Dreal_updater_provider.cc103 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::LastCheckedTimeVariable
122 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::ProgressVariable
155 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
174 const Stage* StageVariable::GetValue(TimeDelta /* timeout */, string* errmsg) { in GetValue() function in chromeos_update_manager::StageVariable
195 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewVersionVariable
213 const uint64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::PayloadSizeVariable
237 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::UpdateCompletedTimeVariable
267 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::CurrChannelVariable
288 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewChannelVariable
352 const unsigned int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::ConsecutiveFailedUpdateChecksVariable
[all …]
Dchromeos_policy.cc348 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCanStart()
363 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCanStart()
368 ec->GetValue(state->system_provider()->var_is_oobe_complete()); in UpdateCanStart()
472 ec->GetValue(shill_provider->var_conn_type()); in UpdateDownloadAllowed()
479 ec->GetValue(shill_provider->var_conn_tethering()); in UpdateDownloadAllowed()
517 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateDownloadAllowed()
520 ec->GetValue(dp_provider->var_allowed_connection_types_for_update()); in UpdateDownloadAllowed()
530 ec->GetValue(state->updater_provider()->var_cellular_enabled()); in UpdateDownloadAllowed()
551 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in P2PEnabled()
554 ec->GetValue(dp_provider->var_au_p2p_enabled()); in P2PEnabled()
[all …]
Dout_of_box_experience_policy_impl.cc31 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCheckAllowed()
34 ec->GetValue(system_provider->var_is_oobe_complete()); in UpdateCheckAllowed()
Dreal_time_provider.cc41 virtual const Time* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrDateVariable
66 virtual const int* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrHourVariable
84 virtual const int* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrMinuteVariable
Devaluation_context-inl.h27 const T* EvaluationContext::GetValue(Variable<T>* var) { in GetValue() function
41 var->GetValue(RemainingTime(evaluation_monotonic_deadline_), &errmsg); in GetValue()
Dreal_random_provider_unittest.cc51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
58 unique_ptr<const uint64_t> other_value(provider_->var_seed()->GetValue( in TEST_F()
Dumtest_utils.h44 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableHasValue()
54 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableNotSet()
Dgeneric_variables.h95 inline const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
134 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
158 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
209 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
Dgeneric_variables_unittest.cc44 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
92 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
129 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
Dmock_variable.h34 MOCK_METHOD2_T(GetValue, const T*(base::TimeDelta, std::string*));
Dofficial_build_check_policy_impl.cc28 ec->GetValue(state->system_provider()->var_is_official_build()); in UpdateCheckAllowed()
Denough_slots_ab_updates_policy_impl.cc29 ec->GetValue(state->system_provider()->var_num_slots()); in UpdateCheckAllowed()
Dapi_restricted_downloads_policy_impl.cc34 ec->GetValue(state->updater_provider()->var_update_restrictions()); in UpdateCanBeApplied()
Dfake_variable.h53 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
Dreal_random_provider.cc52 const uint64_t* GetValue(base::TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::RandomSeedVariable
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp123 EXPECT_EQ(u8_attr.GetValue(), kU8Value1); in TEST()
128 EXPECT_EQ(u16_attr.GetValue(), kU16Value1); in TEST()
133 EXPECT_EQ(u32_attr.GetValue(), kU32Value1); in TEST()
138 EXPECT_EQ(str_attr.GetValue(), kIFName); in TEST()
146 EXPECT_EQ(byte_vector_attr.GetValue(), mac_address); in TEST()
231 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
240 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
249 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
277 ASSERT_EQ("first", attrs[0].GetValue()); in TEST()
278 ASSERT_EQ("second", attrs[1].GetValue()); in TEST()
[all …]
/system/linkerconfig/modules/tests/
Dvariables_test.cc27 auto value = Variables::GetValue("TEST_KEY"); in TEST()
39 auto value = Variables::GetValue("debug.linkerconfig.test_prop_key"); in TEST()
46 auto value = Variables::GetValue("INVALID_KEY"); in TEST()
/system/connectivity/wificond/net/
Dnl80211_attribute.h102 T GetValue() const { in GetValue() function
113 std::vector<uint8_t> GetValue() const;
126 std::array<uint8_t, N> GetValue() const { in GetValue() function
142 std::string GetValue() const;
185 *value = attribute.GetValue(); in GetAttributeValue()
214 attr_list.emplace_back(attribute.GetValue()); in GetListOfAttributeValues()
/system/update_engine/common/
Dfake_prefs.cc65 return GetValue(key, value); in GetString()
74 return GetValue(key, value); in GetInt64()
83 return GetValue(key, value); in GetBoolean()
141 bool FakePrefs::GetValue(const string& key, T* value) const { in GetValue() function in chromeos_update_engine::FakePrefs
/system/linkerconfig/include/linkerconfig/
Dvariables.h27 static std::optional<std::string> GetValue(const std::string& key);
/system/linkerconfig/modules/
Dvariables.cc29 std::optional<std::string> Variables::GetValue(const std::string& variable) { in GetValue() function in android::linkerconfig::modules::Variables

12