Home
last modified time | relevance | path

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

12

/system/linkerconfig/modules/
Denvironment.cc27 return !Variables::GetValue("ro.vndk.version").has_value() || in IsLegacyDevice()
28 Variables::GetValue("ro.treble.enabled") == "false"; in IsLegacyDevice()
32 return Variables::GetValue("ro.vndk.lite").value_or("") == "true"; in IsVndkLiteDevice()
36 return Variables::GetValue("VNDK_USING_CORE_VARIANT_LIBRARIES").has_value(); in IsVndkInSystemNamespace()
40 return Variables::GetValue("ro.vndk.version").value_or(""); in GetVendorVndkVersion()
44 return Variables::GetValue("ro.product.vndk.version").value_or(""); in GetProductVndkVersion()
48 return Variables::GetValue("ro.product.vndk.version").has_value(); in IsProductVndkVersionDefined()
/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()
116 ec->GetValue(dp_provider->var_rollback_allowed_milestones()); in UpdateCheckAllowed()
122 ec->GetValue(dp_provider->var_release_channel_delegated()); in UpdateCheckAllowed()
125 ec->GetValue(dp_provider->var_release_channel()); in UpdateCheckAllowed()
Devaluation_context_unittest.cc64 ec->GetValue(var); in ReadVar()
149 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_)); in TEST_F()
153 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr))); in TEST_F()
160 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
169 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
175 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
181 const int* p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
187 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
199 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
200 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.cc359 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCanStart()
374 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCanStart()
379 ec->GetValue(state->system_provider()->var_is_oobe_complete()); in UpdateCanStart()
483 ec->GetValue(shill_provider->var_conn_type()); in UpdateDownloadAllowed()
490 ec->GetValue(shill_provider->var_conn_tethering()); in UpdateDownloadAllowed()
524 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateDownloadAllowed()
527 ec->GetValue(dp_provider->var_allowed_connection_types_for_update()); in UpdateDownloadAllowed()
537 ec->GetValue(state->updater_provider()->var_cellular_enabled()); in UpdateDownloadAllowed()
558 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in P2PEnabled()
561 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()
/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()
52 ASSERT_FALSE(Variables::GetValue("TEST_KEY").has_value()); in TEST()
/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/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.cc66 return GetValue(key, value); in GetString()
75 return GetValue(key, value); in GetInt64()
84 return GetValue(key, value); in GetBoolean()
149 bool FakePrefs::GetValue(const string& key, T* value) const { in GetValue() function in chromeos_update_engine::FakePrefs
/system/linkerconfig/contents/context/
Dcontext.cc103 auto val = modules::Variables::GetValue(name); in Var()
112 auto val = modules::Variables::GetValue(name); in Var()
/system/bt/gd/packet/
Dbyte_observer.cc29 uint64_t ByteObserver::GetValue() { in GetValue() function in bluetooth::packet::ByteObserver
Dbyte_observer.h31 uint64_t GetValue();
/system/linkerconfig/modules/include/linkerconfig/
Dvariables.h28 static std::optional<std::string> GetValue(const std::string& key);

12