Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/src/anomaly/
DAnomalyTracker.cpp104 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket() local
116 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in addPastBucket() local
122 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket()
141 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
163 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
181 const auto& bucket = mPastBuckets[index(bucketNum)]; in getPastBucketValue() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java418 NetworkStats.Bucket bucket = null; in testDeviceSummary() local
454 NetworkStats.Bucket bucket = null; in testUserSummary() local
501 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testAppSummary() local
616 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testUidDetails() local
670 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testTagDetails() local
749 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in assertAlmostNoUnexpectedTraffic() local
929 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in getTotalAndAssertNotEmpty() local
964 private void assertTimestamps(final NetworkStats.Bucket bucket) { in assertTimestamps()
/packages/modules/StatsD/statsd/tests/anomaly/
DAnomalyTracker_test.cpp47 std::shared_ptr<DimToValMap> bucket) { in AddValueToBucket()
55 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in MockBucket() local
61 int64_t getBucketValue(const std::shared_ptr<DimToValMap>& bucket, in getBucketValue()
92 const std::shared_ptr<DimToValMap>& bucket, in detectAndDeclareAnomalies()
/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
DMtpDeviceIndexRunnable.java145 List<IngestObjectInfo> bucket = bucketsTemp.get(mDateInstance); in addObject() local
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h613 const int64_t timeBaseNs, const int64_t bucketSizeNs, T* bucket) { in backfillStartEndTimestampForFullBucket()
621 void backfillStartEndTimestampForPartialBucket(const int64_t timeBaseNs, T* bucket) { in backfillStartEndTimestampForPartialBucket()
640 auto bucket = data->mutable_bucket_info(j); in backfillStartEndTimestampForMetrics() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java680 WifiMetricsProto.WifiAwareLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
687 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket bucket, int type, int count) { in validateNanStatusProtoHistBucket()
693 WifiMetricsProto.WifiAwareLog.NdpRequestTypeHistogramBucket bucket, int type, in validateNdpRequestProtoHistBucket()
/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/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.java531 WifiMetricsProto.WifiRttLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
538 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, in validateProtoOverallStatusHistBucket()
545 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, in validateProtoIndividualStatusHistBucket()
/packages/modules/StatsD/statsd/src/metrics/
DKllMetricProducer.cpp143 PastBucket<unique_ptr<KllQuantile>> bucket; in buildPartialBucket() local
161 for (const auto& bucket : buckets) { in byteSizeLocked() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java156 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannelCollection() local
166 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithBand() local
185 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannels() local
195 public NativeScanSettingsBuilder addBucket(WifiNative.BucketSettings bucket) { in addBucket()
/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/modules/StatsD/statsd/src/
Dstatsd_config.proto231 optional TimeUnit bucket = 5; field
269 optional TimeUnit bucket = 7; field
296 optional TimeUnit bucket = 6; field
333 optional TimeUnit bucket = 6; field
390 optional TimeUnit bucket = 6; field
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java417 final Bucket bucket = new Bucket(); in bindStats() local
536 Bucket bucket, int itemCategory, ArrayList<AppItem> items, long largest) { in accumulate()
DDataUsageUtils.java82 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/StatsD/statsd/tests/e2e/
DKllMetric_e2e_test.cpp85 KllBucketInfo bucket = data.bucket_info(0); in TEST_F() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java146 static String bucketToName(int bucket) { in bucketToName()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java103 public void addBucket(NetworkStats.Bucket bucket) { in addBucket()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DConnectivityPublisherTest.java602 FakeNetworkStats.CustomBucket bucket = in addWifiStats() local
623 FakeNetworkStats.CustomBucket bucket = in addMobileStats() local
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java139 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testQueryDetails() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DUnusedAppsViewModel.kt214 val bucket = if (isNew) { in <lambda>() constant

12