Home
last modified time | relevance | path

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

/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()
Dvariables.cc27 std::optional<std::string> Variables::GetValue(const std::string& variable) { in GetValue() function in android::linkerconfig::modules::Variables
/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 …]
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;
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()
Dnl80211_packet.h135 *value = attribute.GetValue(); in GetAttributeValue()
Dnl80211_attribute.cpp137 vector<uint8_t> NL80211Attr<vector<uint8_t>>::GetValue() const { in GetValue() function in android::wificond::NL80211Attr
159 string NL80211Attr<string>::GetValue() const { in GetValue() function in android::wificond::NL80211Attr
/system/linkerconfig/contents/context/
Dcontext.cc97 auto val = modules::Variables::GetValue(name); in Var()
106 auto val = modules::Variables::GetValue(name); in Var()
/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()
167 bool FakePrefs::GetValue(std::string_view key, T* value) const { in GetValue() function in chromeos_update_engine::FakePrefs
Dfake_prefs.h106 bool GetValue(std::string_view key, T* value) const;
/system/linkerconfig/modules/include/linkerconfig/
Dvariables.h28 static std::optional<std::string> GetValue(const std::string& key);
/system/tools/aidl/
Dpreprocess.cpp113 DumpConstantValue(t.GetBackingType(), *e->GetValue()); in Visit()
124 DumpConstantValue(c.GetType(), c.GetValue()); in Visit()
Daidl_dumpapi.cpp170 DumpConstantValue(t.GetBackingType(), *e->GetValue()); in Visit()
209 DumpConstantValue(c.GetType(), c.GetValue()); in Visit()
Daidl_checkapi.cpp231 return enumerator->GetValue()->ValueString( in HasZeroEnumerator()
375 old_enum_map[enumerator->GetName()] = enumerator->GetValue(); in are_compatible_enums()
379 new_enum_map[enumerator->GetName()] = enumerator->GetValue(); in are_compatible_enums()
Daidl_language.cpp1556 if (GetValue() == nullptr) { in CheckValid()
1559 if (!GetValue()->CheckValid()) { in CheckValid()
1562 if (GetValue()->ValueString(enum_backing_type, AidlConstantValueDecorator).empty()) { in CheckValid()
1571 return GetValue()->ValueString(backing_type, decorator); in ValueString()
1585 if (enumerator->GetValue() == nullptr) { in AidlEnumDeclaration()
Daidl_const_expressions.cpp871 return resolved_ = e->GetValue(); in Resolve()
877 return resolved_ = &c->GetValue(); in Resolve()
Daidl_language.h829 const AidlConstantValue& GetValue() const { return *value_; }
850 traverse(GetValue());
1114 AidlConstantValue* GetValue() const { return value_.get(); }
Dgenerate_rust.cpp545 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations()
1187 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
Dgenerate_ndk.cpp446 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions()
Dgenerate_cpp.cpp417 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions()
/system/keymaster/tests/
Dauthorization_set_test.cpp435 TEST(GetValue, GetInt) { in TEST() argument
453 TEST(GetValue, GetLong) { in TEST() argument
473 TEST(GetValue, GetLongRep) { in TEST() argument
497 TEST(GetValue, GetEnum) { in TEST() argument
516 TEST(GetValue, GetEnumRep) { in TEST() argument
536 TEST(GetValue, GetDate) { in TEST() argument
555 TEST(GetValue, GetBlob) { in TEST() argument
/system/connectivity/wificond/scanning/
Dscan_utils.cpp241 radio_chain_info.level = attr.GetValue(); in ParseRadioChainInfos()