Home
last modified time | relevance | path

Searched defs:bucket (Results 1 – 25 of 64) sorted by relevance

123

/packages/modules/StatsD/statsd/src/anomaly/
DAnomalyTracker.cpp103 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket() local
115 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in addPastBucket() local
121 void AnomalyTracker::addPastBucket(const std::shared_ptr<DimToValMap>& bucket, in addPastBucket()
140 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
161 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
179 const auto& bucket = mPastBuckets[index(bucketNum)]; in getPastBucketValue() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java424 NetworkStats.Bucket bucket = null; in testDeviceSummary() local
460 NetworkStats.Bucket bucket = null; in testUserSummary() local
507 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testAppSummary() local
622 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testUidDetails() local
676 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testTagDetails() local
755 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in assertAlmostNoUnexpectedTraffic() local
934 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in getTotalAndAssertNotEmpty() local
969 private void assertTimestamps(final NetworkStats.Bucket bucket) { in assertTimestamps()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get() local
258 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get() local
340 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in getPositionWithoutLabelsFromPosition() local
347 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in getPositionWithoutLabelsFromPosition() local
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkStatsUtilsTest.kt81 val bucket = makeMockBucket(android.app.usage.NetworkStats.Bucket.UID_ALL, in testBucketToEntry() constant
/packages/modules/StatsD/statsd/tests/anomaly/
DAnomalyTracker_test.cpp53 std::shared_ptr<DimToValMap> bucket) { in AddValueToBucket()
61 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in MockBucket() local
67 int64_t getBucketValue(const std::shared_ptr<DimToValMap>& bucket, in getBucketValue()
96 const std::shared_ptr<DimToValMap>& bucket, int64_t eventTimestamp) { in detectAndDeclareAnomalies()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java110 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in fromPublicNetworkStats() local
119 public static android.net.NetworkStats.Entry fromBucket(NetworkStats.Bucket bucket) { in fromBucket()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/net/
DNetworkStatsWrapper.java42 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in getNextBucket() local
DRefinedStats.java60 NetworkStats.Bucket bucket = stats.getNextBucket(); in addNetworkStats() local
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h738 T* bucket) { in backfillStartEndTimestampForFullBucket()
746 void backfillStartEndTimestampForPartialBucket(const int64_t timeBaseNs, T* bucket) { in backfillStartEndTimestampForPartialBucket()
765 auto bucket = data->mutable_bucket_info(j); in backfillStartEndTimestampForMetrics() local
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java153 int bucket = 0; in addValueToLinearHistogram() local
177 int bucket = histogram.keyAt(i); in linearHistogramToGenericBuckets() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java540 WifiMetricsProto.WifiRttLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
547 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, in validateProtoOverallStatusHistBucket()
554 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, in validateProtoIndividualStatusHistBucket()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java905 WifiMetricsProto.WifiAwareLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
912 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket bucket, int type, int count) { in validateNanStatusProtoHistBucket()
918 WifiMetricsProto.WifiAwareLog.NdpRequestTypeHistogramBucket bucket, int type, in validateNdpRequestProtoHistBucket()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkStatsRepository.kt94 val bucket = NetworkStats.Bucket() in <lambda>() constant
/packages/modules/StatsD/statsd/src/metrics/
DKllMetricProducer.cpp142 PastBucket<unique_ptr<KllQuantile>> bucket; in buildPartialBucket() local
179 for (const auto& bucket : buckets) { in byteSizeLocked() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java167 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannelCollection() local
177 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithBand() local
196 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannels() local
206 public NativeScanSettingsBuilder addBucket(WifiNative.BucketSettings bucket) { in addBucket()
/packages/modules/StatsD/statsd/tests/e2e/
DKllMetric_e2e_test.cpp100 KllBucketInfo bucket = data.bucket_info(0); in TEST_F() local
153 KllBucketInfo bucket = data.bucket_info(0); in TEST_F() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java657 protected Set<Integer> getAllChannels(BucketSettings bucket) { in getAllChannels()
737 BucketSettings bucket = schedule.buckets[b]; in assertSettingsSatisfied() local
821 private void assertBucketChannels(BucketSettings bucket, Set<Integer> expectedChannelSet) { in assertBucketChannels()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/net/
DFakeNetworkStats.java46 public void add(NetworkStats.Bucket bucket) { in add()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java136 static String bucketToName(int bucket) { in bucketToName()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java89 final Bucket bucket = networkStatsManager.querySummaryForUser( in hasEthernet() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMetricsUtilsTest.java201 private void validateProtoHistBucket(String prefix, MetricsUtils.GenericBucket bucket, in validateProtoHistBucket()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java112 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverter.java148 String bucket = dataObject.getString("bucket"); in convert() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java103 public void addBucket(NetworkStats.Bucket bucket) { in addBucket()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DLogAggregators.java125 Bucket bucket = updatedHistogram.getBuckets(i); in aggregate() local

123