Home
last modified time | relevance | path

Searched refs:node_idx (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp515 void ValidateUidDimension(const DimensionsValue& value, int node_idx, int atomId, int uid) { in ValidateUidDimension() argument
517 EXPECT_GT(value.value_tuple().dimensions_value_size(), node_idx); in ValidateUidDimension()
519 EXPECT_EQ(value.value_tuple().dimensions_value(node_idx).field(), 1); in ValidateUidDimension()
520 EXPECT_EQ(value.value_tuple().dimensions_value(node_idx) in ValidateUidDimension()
522 EXPECT_EQ(value.value_tuple().dimensions_value(node_idx) in ValidateUidDimension()
527 const DimensionsValue& value, int node_idx, int atomId, int uid, const std::string& tag) { in ValidateAttributionUidAndTagDimension() argument
529 EXPECT_GT(value.value_tuple().dimensions_value_size(), node_idx); in ValidateAttributionUidAndTagDimension()
531 EXPECT_EQ(1, value.value_tuple().dimensions_value(node_idx).field()); in ValidateAttributionUidAndTagDimension()
533 EXPECT_EQ(2, value.value_tuple().dimensions_value(node_idx) in ValidateAttributionUidAndTagDimension()
535 EXPECT_EQ(1, value.value_tuple().dimensions_value(node_idx) in ValidateAttributionUidAndTagDimension()
[all …]
Dstatsd_test_util.h191 void ValidateUidDimension(const DimensionsValue& value, int node_idx, int atomId, int uid);
196 const DimensionsValue& value, int node_idx, int atomId, int uid, const std::string& tag);