Searched refs:keyA (Results 1 – 2 of 2) sorted by relevance
/packages/modules/StatsD/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 133 MetricDimensionKey keyA = getMockMetricDimensionKey(1, "a"); in TEST() local 145 std::shared_ptr<DimToValMap> bucket0 = MockBucket({{keyA, 1}, {keyB, 2}, {keyC, 1}}); in TEST() 146 std::shared_ptr<DimToValMap> bucket1 = MockBucket({{keyA, 1}}); in TEST() 148 std::shared_ptr<DimToValMap> bucket3 = MockBucket({{keyA, 2}}); in TEST() 150 std::shared_ptr<DimToValMap> bucket5 = MockBucket({{keyA, 2}}); in TEST() 151 std::shared_ptr<DimToValMap> bucket6 = MockBucket({{keyA, 2}}); in TEST() 158 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 0, bucket0, {}, {keyA, keyB, keyC})); in TEST() 161 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST() 166 EXPECT_EQ(anomalyTracker.getSumOverPastBuckets(keyA), 1LL); in TEST() 172 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 2283 for (String keyA : keySetA) { in assertBundlesEqual() 2284 assertEquals("Bundle value not the same", a.get(keyA), b.get(keyA)); in assertBundlesEqual()
|