/system/linkerconfig/modules/ |
D | environment.cc | 27 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()
|
D | variables.cc | 27 std::optional<std::string> Variables::GetValue(const std::string& variable) { in GetValue() function in android::linkerconfig::modules::Variables
|
/system/linkerconfig/modules/tests/ |
D | variables_test.cc | 27 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/ |
D | nl80211_attribute_unittest.cpp | 123 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 …]
|
D | nl80211_packet_unittest.cpp | 205 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/ |
D | nl80211_attribute.h | 102 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()
|
D | nl80211_packet.h | 135 *value = attribute.GetValue(); in GetAttributeValue()
|
D | nl80211_attribute.cpp | 137 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/ |
D | context.cc | 97 auto val = modules::Variables::GetValue(name); in Var() 106 auto val = modules::Variables::GetValue(name); in Var()
|
/system/update_engine/common/ |
D | fake_prefs.cc | 67 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
|
D | fake_prefs.h | 106 bool GetValue(std::string_view key, T* value) const;
|
/system/linkerconfig/modules/include/linkerconfig/ |
D | variables.h | 28 static std::optional<std::string> GetValue(const std::string& key);
|
/system/tools/aidl/ |
D | preprocess.cpp | 113 DumpConstantValue(t.GetBackingType(), *e->GetValue()); in Visit() 124 DumpConstantValue(c.GetType(), c.GetValue()); in Visit()
|
D | aidl_dumpapi.cpp | 170 DumpConstantValue(t.GetBackingType(), *e->GetValue()); in Visit() 209 DumpConstantValue(c.GetType(), c.GetValue()); in Visit()
|
D | aidl_checkapi.cpp | 231 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()
|
D | aidl_language.cpp | 1556 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()
|
D | aidl_const_expressions.cpp | 871 return resolved_ = e->GetValue(); in Resolve() 877 return resolved_ = &c->GetValue(); in Resolve()
|
D | aidl_language.h | 829 const AidlConstantValue& GetValue() const { return *value_; } 850 traverse(GetValue()); 1114 AidlConstantValue* GetValue() const { return value_.get(); }
|
D | generate_rust.cpp | 545 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 1187 auto value = enumerator->GetValue()->ValueString(aidl_backing_type, ConstantValueDecorator); in GenerateRustEnumDeclaration()
|
D | generate_ndk.cpp | 446 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions()
|
D | generate_cpp.cpp | 417 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions()
|
/system/keymaster/tests/ |
D | authorization_set_test.cpp | 435 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/ |
D | scan_utils.cpp | 241 radio_chain_info.level = attr.GetValue(); in ParseRadioChainInfos()
|