Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 39) 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()
61 ec->GetValue(system_provider->var_kiosk_required_platform_version()); in UpdateCheckAllowed()
77 ec->GetValue(dp_provider->var_target_version_prefix()); in UpdateCheckAllowed()
84 ec->GetValue(dp_provider->var_release_channel_delegated()); in UpdateCheckAllowed()
87 ec->GetValue(dp_provider->var_release_channel()); in UpdateCheckAllowed()
Devaluation_context_unittest.cc64 ec->GetValue(var); in ReadVar()
145 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_)); in TEST_F()
149 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr))); in TEST_F()
156 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
165 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
171 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
177 const int* p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
183 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
195 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
196 p_fake_string = eval_ctx_->GetValue(&fake_poll_var_); in TEST_F()
[all …]
Dreal_updater_provider.cc102 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::LastCheckedTimeVariable
121 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::ProgressVariable
154 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
174 const Stage* StageVariable::GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::StageVariable
196 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewVersionVariable
214 const uint64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::PayloadSizeVariable
238 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::UpdateCompletedTimeVariable
268 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::CurrChannelVariable
289 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewChannelVariable
357 const unsigned int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::ConsecutiveFailedUpdateChecksVariable
[all …]
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()
Dchromeos_policy.cc313 const bool* device_policy_is_loaded_p = ec->GetValue( in UpdateCanStart()
328 const bool* is_oobe_enabled_p = ec->GetValue( in UpdateCanStart()
333 const bool* is_oobe_complete_p = ec->GetValue( in UpdateCanStart()
438 const ConnectionType* conn_type_p = ec->GetValue( in UpdateDownloadAllowed()
445 const ConnectionTethering* conn_tethering_p = ec->GetValue( in UpdateDownloadAllowed()
483 const bool* device_policy_is_loaded_p = ec->GetValue( in UpdateDownloadAllowed()
486 const set<ConnectionType>* allowed_conn_types_p = ec->GetValue( in UpdateDownloadAllowed()
496 const bool* update_over_cellular_allowed_p = ec->GetValue( in UpdateDownloadAllowed()
517 const bool* device_policy_is_loaded_p = ec->GetValue( in P2PEnabled()
520 const bool* policy_au_p2p_enabled_p = ec->GetValue( 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()
Devaluation_context-inl.h27 const T* EvaluationContext::GetValue(Variable<T>* var) { in GetValue() function
40 const T* result = var->GetValue(RemainingTime(evaluation_monotonic_deadline_), in GetValue()
Dreal_random_provider_unittest.cc51 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
59 provider_->var_seed()->GetValue(UmTestUtils::DefaultTimeout(), in TEST_F()
Dumtest_utils.h44 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableHasValue()
54 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableNotSet()
Dgeneric_variables.h84 inline const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
123 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
147 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
198 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function
Dreal_time_provider.cc41 virtual const Time* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::CurrDateVariable
67 virtual const int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::CurrHourVariable
Dgeneric_variables_unittest.cc44 unique_ptr<const int> copy_1(var.GetValue( in TEST_F()
95 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
134 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()
Dinteractive_update_policy_impl.cc31 ec->GetValue(updater_provider->var_forced_update_requested()); in UpdateCheckAllowed()
Dapi_restricted_downloads_policy_impl.cc34 ec->GetValue(state->updater_provider()->var_update_restrictions()); in UpdateCanBeApplied()
Dfake_variable.h57 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 …]
Dnl80211_packet_unittest.cpp205 EXPECT_TRUE(u8_attr_retrieved->GetValue() == kU8Value1); in TEST()
209 EXPECT_TRUE(u32_attr_1_retrieved->GetValue() == kU32Value1); in TEST()
213 EXPECT_TRUE(u32_attr_2_retrieved->GetValue() == kU32Value2); in TEST()
/system/connectivity/wificond/net/
Dnl80211_attribute.h102 T GetValue() const { in GetValue() function
113 std::vector<uint8_t> GetValue() const;
125 std::string GetValue() const;
168 *value = attribute.GetValue(); in GetAttributeValue()
197 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/tpm/attestation/server/
Dpkcs11_key_store_test.cc179 std::string label = GetValue(attributes, CKA_LABEL); in CreateObject()
181 values_[label] = GetValue(attributes, CKA_VALUE); in CreateObject()
228 values_[handles_[object_handle]] = GetValue(attributes, CKA_VALUE); in SetAttributeValue()
237 std::string label = GetValue(attributes, CKA_LABEL); in FindObjectsInit()
238 std::string value = GetValue(attributes, CKA_VALUE); in FindObjectsInit()
276 std::string GetValue(const std::vector<uint8_t>& attributes, in GetValue() function in attestation::KeyStoreTest
/system/keymaster/tests/
Dauthorization_set_test.cpp428 TEST(GetValue, GetInt) { in TEST() argument
446 TEST(GetValue, GetLong) { in TEST() argument
466 TEST(GetValue, GetLongRep) { in TEST() argument
490 TEST(GetValue, GetEnum) { in TEST() argument
509 TEST(GetValue, GetEnumRep) { in TEST() argument
529 TEST(GetValue, GetDate) { in TEST() argument
548 TEST(GetValue, GetBlob) { in TEST() argument

12