Searched refs:bucket2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ScanScheduleUtil.java | 51 @Nullable WifiNative.BucketSettings bucket2) { in bucketEquals() argument 52 if (bucket1 == null || bucket2 == null) return false; in bucketEquals() 53 if (bucket1 == bucket2) return true; in bucketEquals() 55 if (bucket1.bucket != bucket2.bucket) return false; in bucketEquals() 56 if (bucket1.band != bucket2.band) return false; in bucketEquals() 57 if (bucket1.period_ms != bucket2.period_ms) return false; in bucketEquals() 58 if (bucket1.report_events != bucket2.report_events) return false; in bucketEquals() 59 if (bucket1.num_channels != bucket2.num_channels) return false; in bucketEquals() 61 if (!channelEquals(bucket1.channels[c], bucket2.channels[c])) { in bucketEquals()
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 143 std::shared_ptr<DimToValMap> bucket2 = MockBucket({{keyB, 1}}); in TEST() local 194 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 2, bucket2, {keyB}, {keyA, keyC})); in TEST() 195 detectAndDeclareAnomalies(anomalyTracker, 2, bucket2, eventTimestamp2); in TEST() 207 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 2, bucket2, {keyB}, {keyA, keyC})); in TEST() 208 detectAndDeclareAnomalies(anomalyTracker, 2, bucket2, eventTimestamp2 + 1); in TEST() 213 anomalyTracker.addPastBucket(bucket2, 2); in TEST()
|