Home
last modified time | relevance | path

Searched refs:value_tuple (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp491 EXPECT_EQ(value.value_tuple().dimensions_value(0).field(), 1); in ValidateAttributionUidDimension()
493 EXPECT_EQ(value.value_tuple().dimensions_value(0) in ValidateAttributionUidDimension()
494 .value_tuple().dimensions_value_size(), 1); in ValidateAttributionUidDimension()
495 EXPECT_EQ(value.value_tuple().dimensions_value(0) in ValidateAttributionUidDimension()
496 .value_tuple().dimensions_value(0).field(), 1); in ValidateAttributionUidDimension()
497 EXPECT_EQ(value.value_tuple().dimensions_value(0) in ValidateAttributionUidDimension()
498 .value_tuple().dimensions_value(0).value_int(), uid); in ValidateAttributionUidDimension()
503 EXPECT_EQ(value.value_tuple().dimensions_value_size(), 1); in ValidateUidDimension()
505 EXPECT_EQ(value.value_tuple().dimensions_value(0).field(), 1); in ValidateUidDimension()
507 EXPECT_EQ(value.value_tuple().dimensions_value(0) in ValidateUidDimension()
[all …]
DFieldValue_test.cpp270 EXPECT_EQ(3, result.value_tuple().dimensions_value_size()); in TEST()
272 const auto& dim1 = result.value_tuple().dimensions_value(0); in TEST()
274 EXPECT_EQ(2, dim1.value_tuple().dimensions_value_size()); in TEST()
276 const auto& dim11 = dim1.value_tuple().dimensions_value(0); in TEST()
279 const auto& dim12 = dim1.value_tuple().dimensions_value(1); in TEST()
282 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST()
285 const auto& dim3 = result.value_tuple().dimensions_value(2); in TEST()
287 EXPECT_EQ(1, dim3.value_tuple().dimensions_value_size()); in TEST()
288 const auto& dim31 = dim3.value_tuple().dimensions_value(0); in TEST()
360 EXPECT_EQ(2, result.value_tuple().dimensions_value_size()); in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/e2e/
DDimensionInCondition_e2e_combination_OR_cond_test.cpp153 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
154 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
155 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), 123); in TEST()
164 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
165 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
166 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), 123); in TEST()
176 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
177 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
178 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), 456); in TEST()
191 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
[all …]
DMetricActivation_e2e_test.cpp403 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
405 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
406 EXPECT_EQ(222, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST()
414 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
416 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
417 EXPECT_EQ(333, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST()
425 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
427 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
428 EXPECT_EQ(444, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST()
438 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
[all …]
DDimensionInCondition_e2e_simple_cond_test.cpp163 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
165 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
179 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
181 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
195 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
197 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
215 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
217 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
236 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
238 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST()
[all …]
DDimensionInCondition_e2e_combination_AND_cond_test.cpp232 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
234 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST()
251 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
253 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST()
269 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
271 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST()
291 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
293 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST()
314 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), in TEST()
316 EXPECT_EQ(data.dimensions_in_what().value_tuple(). in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp143 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
145 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
146 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
251 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
253 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
254 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
354 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
356 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
357 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
DGaugeMetric_e2e_pull_test.cpp148 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
150 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
151 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
271 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
273 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
274 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
375 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
377 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
378 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
497 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
[all …]
DGaugeMetric_e2e_push_test.cpp168 EXPECT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
170 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
171 EXPECT_EQ(appUid1, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST()
267 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
269 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
270 EXPECT_EQ(appUid2, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST()
DMetricConditionLink_e2e_test.cpp217 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
219 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
220 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), appUid); in TEST()
338 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
340 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
341 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), appUid); in TEST()
/frameworks/base/cmds/statsd/src/
Dstats_log.proto35 DimensionsValueTuple value_tuple = 7; field