/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 491 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 …]
|
D | FieldValue_test.cpp | 270 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/ |
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 153 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 …]
|
D | MetricActivation_e2e_test.cpp | 403 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 …]
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 163 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 …]
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 232 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 …]
|
D | ValueMetric_pull_e2e_test.cpp | 143 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()
|
D | GaugeMetric_e2e_pull_test.cpp | 148 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 …]
|
D | GaugeMetric_e2e_push_test.cpp | 168 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()
|
D | MetricConditionLink_e2e_test.cpp | 217 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/ |
D | stats_log.proto | 35 DimensionsValueTuple value_tuple = 7; field
|