Home
last modified time | relevance | path

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

12

/system/update_engine/update_manager/
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 …]
Dchromeos_policy.cc207 const unsigned int* num_slots_p = ec->GetValue( in UpdateCheckAllowed()
215 const bool* device_policy_is_loaded_p = ec->GetValue( in UpdateCheckAllowed()
221 const bool* update_disabled_p = ec->GetValue( in UpdateCheckAllowed()
226 const bool* allow_kiosk_app_control_chrome_version_p = ec->GetValue( in UpdateCheckAllowed()
241 ec->GetValue(system_provider->var_kiosk_required_platform_version()); in UpdateCheckAllowed()
256 const string* target_version_prefix_p = ec->GetValue( in UpdateCheckAllowed()
263 const bool* release_channel_delegated_p = ec->GetValue( in UpdateCheckAllowed()
266 const string* release_channel_p = ec->GetValue( in UpdateCheckAllowed()
274 const UpdateRequestStatus* forced_update_requested_p = ec->GetValue( in UpdateCheckAllowed()
291 const bool* is_official_build_p = ec->GetValue( in UpdateCheckAllowed()
[all …]
Dreal_updater_provider.cc93 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::LastCheckedTimeVariable
112 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::ProgressVariable
145 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
165 const Stage* StageVariable::GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::StageVariable
187 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewVersionVariable
205 const int64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::PayloadSizeVariable
235 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::UpdateCompletedTimeVariable
265 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::CurrChannelVariable
286 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewChannelVariable
354 const unsigned int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::ConsecutiveFailedUpdateChecksVariable
[all …]
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()
Dreal_time_provider.cc41 virtual const Time* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::CurrDateVariable
64 virtual const int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::CurrHourVariable
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
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*));
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
Dreal_system_provider.cc62 const T* GetValue(base::TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::__anon74e8506b0111::RetryPollVariable
Devaluation_context.h87 const T* GetValue(Variable<T>* var);
Dvariable.h216 virtual const T* GetValue(base::TimeDelta timeout, std::string* errmsg) = 0;
Dvariable_unittest.cc45 const T* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::DefaultVariable
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp124 EXPECT_EQ(u8_attr.GetValue(), kU8Value1); in TEST()
129 EXPECT_EQ(u16_attr.GetValue(), kU16Value1); in TEST()
134 EXPECT_EQ(u32_attr.GetValue(), kU32Value1); in TEST()
139 EXPECT_EQ(str_attr.GetValue(), kIFName); in TEST()
147 EXPECT_EQ(byte_vector_attr.GetValue(), mac_address); in TEST()
232 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
241 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
250 EXPECT_EQ("wlan0", str_attr.GetValue()); in TEST()
/system/connectivity/wificond/net/
Dnl80211_attribute.h97 T GetValue() const { in GetValue() function
108 std::vector<uint8_t> GetValue() const;
120 std::string GetValue() const;
163 *value = attribute.GetValue(); in GetAttributeValue()
199 attr_list.emplace_back(attribute.GetValue()); in GetListOfAttributeValues()
Dnl80211_packet.h127 *value = attribute.GetValue(); in GetAttributeValue()
Dnl80211_attribute.cpp99 vector<uint8_t> NL80211Attr<vector<uint8_t>>::GetValue() const { in GetValue() function in android::wificond::NL80211Attr
121 string NL80211Attr<string>::GetValue() const { in GetValue() function in android::wificond::NL80211Attr
/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
Dfake_prefs.h100 bool GetValue(const std::string& key, T* value) const;
/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/
Dauthorization_set_test.cpp419 TEST(GetValue, GetInt) { in TEST() argument
437 TEST(GetValue, GetLong) { in TEST() argument
457 TEST(GetValue, GetLongRep) { in TEST() argument
481 TEST(GetValue, GetEnum) { in TEST() argument
500 TEST(GetValue, GetEnumRep) { in TEST() argument
520 TEST(GetValue, GetDate) { in TEST() argument
539 TEST(GetValue, GetBlob) { in TEST() argument
/system/tools/aidl/
Daidl_unittest.cpp319 EXPECT_EQ(245, cpp_int_constants[0]->GetValue()); in TEST_F()
337 EXPECT_EQ(-1, cpp_int_constants[0]->GetValue()); in TEST_F()

12