Searched refs:MetricsUtils (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | MetricsUtilsTest.java | 56 private static final MetricsUtils.LogHistParms HIST1 = new MetricsUtils.LogHistParms(0, 1, 10, 65 private static final MetricsUtils.LogHistParms HIST2 = new MetricsUtils.LogHistParms(-20, 2, 5, 112 MetricsUtils.GenericBucket[] phb1 = MetricsUtils.logHistogramToGenericBuckets(hist1, HIST1); in testHistBucketing() 139 MetricsUtils.GenericBucket[] phb2 = MetricsUtils.logHistogramToGenericBuckets(hist2, HIST2); in testHistBucketing() 175 MetricsUtils.GenericBucket[] phb = MetricsUtils.linearHistogramToGenericBuckets(hist, in testLinearHistBucketing() 188 MetricsUtils.LogHistParms hp, int expectedKey, int expectedValue) { in bucketValueAndVerify() 189 MetricsUtils.addValueToLogHistogram(value, h, hp); in bucketValueAndVerify() 195 MetricsUtils.addValueToLinearHistogram(value, h, hp); in bucketValueAndVerify() 199 private void validateProtoHistBucket(String prefix, MetricsUtils.GenericBucket bucket, in validateProtoHistBucket()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 29 import com.android.server.wifi.util.MetricsUtils; 57 private static final MetricsUtils.LogHistParms DURATION_LOG_HISTOGRAM = 58 new MetricsUtils.LogHistParms(0, 1, 10, 9, 8); 167 MetricsUtils.addValueToLogHistogram(now - mLastEnableUsageMs, in recordDisableUsage() 198 MetricsUtils.addValueToLogHistogram(now - mLastEnableAwareMs, in recordDisableAware() 246 MetricsUtils.addValueToLogHistogram(mClock.getElapsedSinceBootMillis() - creationTime, in recordAttachSessionDuration() 340 MetricsUtils.addValueToLinearHistogram(minRange, mHistogramSubscribeGeofenceMin, in recordDiscoverySessionInternal() 344 MetricsUtils.addValueToLinearHistogram(maxRange, mHistogramSubscribeGeofenceMax, in recordDiscoverySessionInternal() 373 MetricsUtils.addValueToLogHistogram(mClock.getElapsedSinceBootMillis() - creationTime, in recordDiscoverySessionDuration() 473 MetricsUtils.addValueToLogHistogram(creationTime, mNdpCreationTimeDuration, in recordNdpStatus() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttMetrics.java | 19 import static com.android.server.wifi.util.MetricsUtils.addValueToLinearHistogram; 20 import static com.android.server.wifi.util.MetricsUtils.addValueToLogHistogram; 21 import static com.android.server.wifi.util.MetricsUtils.linearHistogramToGenericBuckets; 22 import static com.android.server.wifi.util.MetricsUtils.logHistogramToGenericBuckets; 36 import com.android.server.wifi.util.MetricsUtils; 66 private static final MetricsUtils.LogHistParms COUNT_LOG_HISTOGRAM = 67 new MetricsUtils.LogHistParms(0, 1, 10, 1, 7); 333 MetricsUtils.GenericBucket[] genericHistogram) { in genericBucketsToRttBuckets()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 37 import com.android.server.wifi.util.MetricsUtils; 76 private static final MetricsUtils.LogHistParms HIST1 = new MetricsUtils.LogHistParms(0, 1, 85 private static final MetricsUtils.LogHistParms HIST2 = new MetricsUtils.LogHistParms(-20, 2,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | MetricsUtils.java | 24 public class MetricsUtils { class
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 89 import com.android.server.wifi.util.MetricsUtils; 3541 MetricsUtils.GenericBucket[] genericBuckets = in makeWifiConfigStoreIODurationBucketArray() 3542 MetricsUtils.linearHistogramToGenericBuckets(sia, in makeWifiConfigStoreIODurationBucketArray() 4921 MetricsUtils.addValueToLinearHistogram(timeMs, mWifiConfigStoreReadDurationHistogram, 4933 MetricsUtils.addValueToLinearHistogram(timeMs, mWifiConfigStoreWriteDurationHistogram,
|