Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DCountMetric_e2e_test.cpp1352 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 0); in TEST()
1359 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
1360 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 14); in TEST()
1361 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), in TEST()
1369 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
1370 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 14); in TEST()
1371 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), in TEST()
1437 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
1438 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 14); in TEST()
1439 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), in TEST()
[all …]
DMetricActivation_e2e_test.cpp403 ASSERT_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 ASSERT_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 ASSERT_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 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
[all …]
DGaugeMetric_e2e_pull_test.cpp155 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
157 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
158 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
301 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
303 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
304 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
396 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
398 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
399 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
497 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
[all …]
DKllMetric_e2e_test.cpp159 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST_F()
160 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 5); in TEST_F()
161 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), "dim_1"); in TEST_F()
171 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST_F()
172 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 5); in TEST_F()
173 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), "dim_2"); in TEST_F()
DStringReplace_e2e_test.cpp131 ASSERT_EQ(dimValue.value_tuple().dimensions_value_size(), 1); in TEST()
132 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).field(), in TEST()
134 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimA"); in TEST()
141 ASSERT_EQ(dimValue.value_tuple().dimensions_value_size(), 1); in TEST()
142 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).field(), in TEST()
144 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimA123B"); in TEST()
151 ASSERT_EQ(dimValue.value_tuple().dimensions_value_size(), 1); in TEST()
152 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).field(), in TEST()
154 EXPECT_EQ(dimValue.value_tuple().dimensions_value(0).value_str(), "dimC"); in TEST()
288 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
[all …]
DMetricConditionLink_e2e_test.cpp214 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
216 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
217 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), appUid); in TEST()
335 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST()
337 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
338 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), appUid); in TEST()
DValueMetric_pull_e2e_test.cpp283 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
285 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
286 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
408 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
410 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
411 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
609 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST()
611 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST()
612 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
DGaugeMetric_e2e_push_test.cpp206 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST_F()
208 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST_F()
209 EXPECT_EQ(appUid1, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST_F()
305 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 1); in TEST_F()
307 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST_F()
308 EXPECT_EQ(appUid2, data.dimensions_in_what().value_tuple().dimensions_value(0).value_int()); in TEST_F()
DConfigUpdate_e2e_ab_test.cpp353 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST_P()
355 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST_P()
356 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str(), in TEST_P()
DConfigUpdate_e2e_test.cpp45 ASSERT_EQ(value.value_tuple().dimensions_value_size(), 1); in ValidateSubsystemSleepDimension()
46 EXPECT_EQ(value.value_tuple().dimensions_value(0).field(), 1 /* subsystem name field */); in ValidateSubsystemSleepDimension()
47 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_str(), name); in ValidateSubsystemSleepDimension()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp1601 ASSERT_EQ(value.value_tuple().dimensions_value_size(), 1); in ValidateUidDimension()
1602 EXPECT_EQ(value.value_tuple().dimensions_value(0).field(), 1); in ValidateUidDimension()
1603 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_int(), uid); in ValidateUidDimension()
1609 ASSERT_EQ(value.value_tuple().dimensions_value_size(), 2); in ValidateWakelockAttributionUidAndTagDimension()
1611 EXPECT_EQ(value.value_tuple().dimensions_value(0).field(), 1); in ValidateWakelockAttributionUidAndTagDimension()
1613 ASSERT_EQ(value.value_tuple().dimensions_value(0).value_tuple().dimensions_value_size(), 1); in ValidateWakelockAttributionUidAndTagDimension()
1614 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_tuple().dimensions_value(0).field(), 1); in ValidateWakelockAttributionUidAndTagDimension()
1615 EXPECT_EQ(value.value_tuple().dimensions_value(0).value_tuple().dimensions_value(0).value_int(), in ValidateWakelockAttributionUidAndTagDimension()
1618 EXPECT_EQ(value.value_tuple().dimensions_value(1).field(), 3); in ValidateWakelockAttributionUidAndTagDimension()
1619 EXPECT_EQ(value.value_tuple().dimensions_value(1).value_str(), tag); in ValidateWakelockAttributionUidAndTagDimension()
[all …]
DFieldValue_test.cpp525 ASSERT_EQ(3, result.value_tuple().dimensions_value_size()); in TEST()
527 const auto& dim1 = result.value_tuple().dimensions_value(0); in TEST()
529 ASSERT_EQ(2, dim1.value_tuple().dimensions_value_size()); in TEST()
531 const auto& dim11 = dim1.value_tuple().dimensions_value(0); in TEST()
534 const auto& dim12 = dim1.value_tuple().dimensions_value(1); in TEST()
537 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST()
540 const auto& dim3 = result.value_tuple().dimensions_value(2); in TEST()
773 ASSERT_EQ(2, result.value_tuple().dimensions_value_size()); in TEST()
775 const auto& dim1 = result.value_tuple().dimensions_value(0); in TEST()
777 ASSERT_EQ(3, dim1.value_tuple().dimensions_value_size()); in TEST()
[all …]
/packages/services/Car/service/proto/android/car/telemetry/
Dstats_log.proto42 DimensionsValueTuple value_tuple = 7; field
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp6350 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 2); in TEST()
6351 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
6352 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), 1); in TEST()
6353 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(1).field(), 3); in TEST()
6354 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(1).value_int(), 14); in TEST()
6364 ASSERT_EQ(data.dimensions_in_what().value_tuple().dimensions_value_size(), 2); in TEST()
6365 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).field(), 1); in TEST()
6366 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(0).value_int(), 1); in TEST()
6367 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(1).field(), 3); in TEST()
6368 EXPECT_EQ(data.dimensions_in_what().value_tuple().dimensions_value(1).value_int(), 14); in TEST()
[all …]
/packages/modules/StatsD/statsd/src/
Dstats_log.proto36 DimensionsValueTuple value_tuple = 7; field