/packages/modules/StatsD/statsd/tests/e2e/ |
D | CountMetric_e2e_test.cpp | 1352 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 …]
|
D | MetricActivation_e2e_test.cpp | 403 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 …]
|
D | GaugeMetric_e2e_pull_test.cpp | 155 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 …]
|
D | KllMetric_e2e_test.cpp | 159 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()
|
D | StringReplace_e2e_test.cpp | 131 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 …]
|
D | MetricConditionLink_e2e_test.cpp | 214 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()
|
D | ValueMetric_pull_e2e_test.cpp | 283 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()
|
D | GaugeMetric_e2e_push_test.cpp | 206 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()
|
D | ConfigUpdate_e2e_ab_test.cpp | 353 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()
|
D | ConfigUpdate_e2e_test.cpp | 45 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/ |
D | statsd_test_util.cpp | 1601 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 …]
|
D | FieldValue_test.cpp | 525 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/ |
D | stats_log.proto | 42 DimensionsValueTuple value_tuple = 7; field
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 6350 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/ |
D | stats_log.proto | 36 DimensionsValueTuple value_tuple = 7; field
|