Home
last modified time | relevance | path

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

123

/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()
71 ec->GetValue(dp_provider->var_device_minimum_version()); in UpdateCheckAllowed()
73 ec->GetValue(system_provider->var_chromeos_version())); in UpdateCheckAllowed()
101 ec->GetValue(dp_provider->var_target_version_prefix()); in UpdateCheckAllowed()
109 ec->GetValue(dp_provider->var_rollback_to_target_version()); in UpdateCheckAllowed()
140 ec->GetValue(dp_provider->var_rollback_allowed_milestones()); in UpdateCheckAllowed()
147 ec->GetValue(dp_provider->var_release_channel_delegated()); in UpdateCheckAllowed()
[all …]
Devaluation_context_unittest.cc66 ec->GetValue(var); in ReadVar()
152 EXPECT_EQ(nullptr, eval_ctx_->GetValue(&fake_int_var_)); in TEST_F()
156 EXPECT_EQ(nullptr, eval_ctx_->GetValue(static_cast<Variable<int>*>(nullptr))); in TEST_F()
163 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
172 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
178 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
184 const int* p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
190 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
202 p_fake_int = eval_ctx_->GetValue(&fake_int_var_); in TEST_F()
203 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()
78 ec->GetValue(updater_provider->var_test_update_check_interval_timeout()); in NextUpdateCheckTime()
81 ec->GetValue(updater_provider->var_last_checked_time()); in NextUpdateCheckTime()
83 const auto* seed = ec->GetValue(state->random_provider()->var_seed()); in NextUpdateCheckTime()
109 ec->GetValue(updater_provider->var_server_dictated_poll_interval()); in NextUpdateCheckTime()
120 ec->GetValue(updater_provider->var_consecutive_failed_update_checks()); in NextUpdateCheckTime()
Dreal_updater_provider.cc95 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::LastCheckedTimeVariable
114 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::ProgressVariable
147 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
168 const Stage* StageVariable::GetValue(TimeDelta /* timeout */, string* errmsg) { in GetValue() function in chromeos_update_manager::StageVariable
189 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewVersionVariable
207 const uint64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::PayloadSizeVariable
231 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::UpdateCompletedTimeVariable
261 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::CurrChannelVariable
282 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() function in chromeos_update_manager::NewChannelVariable
343 const unsigned int* GetValue(TimeDelta /* timeout */, in GetValue() function in chromeos_update_manager::ConsecutiveFailedUpdateChecksVariable
[all …]
Dreal_time_provider.cc41 virtual const Time* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrDateVariable
64 virtual const int* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrHourVariable
80 virtual const int* GetValue(TimeDelta /* timeout */, string* /* errmsg */) { in GetValue() function in chromeos_update_manager::CurrMinuteVariable
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()
Dofficial_build_check_policy_impl.cc28 ec->GetValue(state->system_provider()->var_is_official_build()); in UpdateCheckAllowed()
30 const int64_t* interval_timeout_p = ec->GetValue( in UpdateCheckAllowed()
Dchromeos_policy.cc363 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateCanStart()
378 ec->GetValue(state->config_provider()->var_is_oobe_enabled()); in UpdateCanStart()
383 ec->GetValue(state->system_provider()->var_is_oobe_complete()); in UpdateCanStart()
480 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in P2PEnabled()
483 ec->GetValue(dp_provider->var_au_p2p_enabled()); in P2PEnabled()
488 ec->GetValue(dp_provider->var_has_owner()); in P2PEnabled()
498 ec->GetValue(state->updater_provider()->var_p2p_enabled()); in P2PEnabled()
532 ec->GetValue(state->system_provider()->var_is_official_build()); in UpdateBackoffAndDownloadUrl()
562 ec->GetValue(dp_provider->var_device_policy_is_loaded()); in UpdateBackoffAndDownloadUrl()
565 ec->GetValue(dp_provider->var_http_downloads_enabled()); in UpdateBackoffAndDownloadUrl()
[all …]
Devaluation_context-inl.h27 const T* EvaluationContext::GetValue(Variable<T>* var) { in GetValue() function
41 var->GetValue(RemainingTime(evaluation_monotonic_deadline_), &errmsg); in GetValue()
Dminimum_version_policy_impl.cc33 ec->GetValue(state->system_provider()->var_chromeos_version())); in UpdateCanBeApplied()
39 const base::Version* minimum_version = ec->GetValue( in UpdateCanBeApplied()
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*));
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.cc67 return GetValue(key, value); in GetString()
76 return GetValue(key, value); in GetInt64()
85 return GetValue(key, value); in GetBoolean()
166 bool FakePrefs::GetValue(const string& key, T* value) const { in GetValue() function in chromeos_update_engine::FakePrefs
/system/linkerconfig/contents/context/
Dcontext.cc97 auto val = modules::Variables::GetValue(name); in Var()
106 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
/system/tools/aidl/
Daidl_dumpapi.cpp111 DumpConstantValue(t.GetBackingType(), *e->GetValue()); in Visit()
138 DumpConstantValue(c.GetType(), c.GetValue()); in Visit()
145 e.GetValue()->DispatchVisit(*this); in Visit()

123