Searched refs:bucket1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ScanScheduleUtil.java | 50 public static boolean bucketEquals(@Nullable WifiNative.BucketSettings bucket1, 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() 60 for (int c = 0; c < bucket1.num_channels; c++) { in bucketEquals() 61 if (!channelEquals(bucket1.channels[c], bucket2.channels[c])) { in bucketEquals()
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 142 std::shared_ptr<DimToValMap> bucket1 = MockBucket({{keyA, 1}}); in TEST() local 168 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST() 169 detectAndDeclareAnomalies(anomalyTracker, 1, bucket1, eventTimestamp1); in TEST() 180 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST() 181 detectAndDeclareAnomalies(anomalyTracker, 1, bucket1, eventTimestamp1 + 1); in TEST() 186 anomalyTracker.addPastBucket(bucket1, 1); in TEST() 200 anomalyTracker.addPastBucket(bucket1, 1); in TEST()
|