Home
last modified time | relevance | path

Searched refs:attr_value (Results 1 – 5 of 5) sorted by relevance

/system/core/libprocessgroup/
Dtask_profiles_test.cpp139 const char* attr_value; member
162 SetAttributeAction a(&pa, params.attr_value, params.optional_attr); in TEST_P()
194 tp->Add(std::make_unique<SetAttributeAction>(&pa, params.attr_value, params.optional_attr)); in TEST_P()
213 .attr_value = ".",
221 .attr_value = ".",
228 .attr_value = "-1",
238 .attr_value = ".",
251 .attr_value = ".",
256 .attr_value = ".",
261 .attr_value = ".",
[all …]
Dtask_profiles.cpp918 std::string attr_value = params_val["Value"].asString(); in Load() local
924 attr_value, optional)); in Load()
948 std::string attr_value = params_val["Value"].asString(); in Load() local
950 if (!attr_filepath.empty() && !attr_value.empty()) { in Load()
954 attr_value, logfailures)); in Load()
958 } else if (attr_value.empty()) { in Load()
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp160 uint32_t attr_value; in TEST() local
161 EXPECT_TRUE(nested_attr.GetAttributeValue(1, &attr_value)); in TEST()
162 EXPECT_EQ(attr_value, kU32Value1); in TEST()
163 EXPECT_TRUE(nested_attr.GetAttributeValue(2, &attr_value)); in TEST()
164 EXPECT_EQ(attr_value, kU32Value2); in TEST()
184 uint32_t attr_value; in TEST() local
186 EXPECT_FALSE(nested_attr.GetAttributeValue(2, &attr_value)); in TEST()
195 uint16_t attr_value; in TEST() local
197 EXPECT_FALSE(nested_attr.GetAttributeValue(1, &attr_value)); in TEST()
Dnl80211_packet_unittest.cpp121 uint8_t attr_value; in TEST() local
122 EXPECT_TRUE(netlink_packet.GetAttributeValue(1, &attr_value)); in TEST()
123 EXPECT_EQ(attr_value, kU8Value1); in TEST()
182 uint8_t attr_value; in TEST() local
183 EXPECT_FALSE(netlink_packet.GetAttributeValue(2, &attr_value)); in TEST()
/system/media/audio_route/
Daudio_route.c478 const XML_Char *attr_value = NULL; in start_tag() local
497 attr_value = attr[i + 1]; in start_tag()
530 if (attr_value == NULL) { in start_tag()
534 value = strtol((char *)attr_value, NULL, 0); in start_tag()
540 if (attr_value == NULL) { in start_tag()
551 attr_sub_value = strtok_r((char *)attr_value, " ", &test_r); in start_tag()
566 attr_value = NULL; in start_tag()
570 if (attr_value == NULL) { in start_tag()
574 value = mixer_enum_string_to_value(ctl, (char *)attr_value); in start_tag()