Home
last modified time | relevance | path

Searched refs:getNextBucket (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/publisher/net/
DNetworkStatsWrapper.java37 public NetworkStats.Bucket getNextBucket() { in getNextBucket() method in NetworkStatsWrapper
43 mNetworkStats.getNextBucket(bucket); in getNextBucket()
DRefinedStats.java60 NetworkStats.Bucket bucket = stats.getNextBucket(); in addNetworkStats()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java148 assertTrue(stats.getNextBucket(bucket)); in testQueryDetails()
153 assertTrue(stats.getNextBucket(bucket)); in testQueryDetails()
159 assertTrue(stats.getNextBucket(bucket)); in testQueryDetails()
168 assertTrue(stats.getNextBucket(bucket)); in testQueryDetails()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java522 assertTrue(result.getNextBucket(bucket)); in testAppSummary()
535 assertFalse(result.getNextBucket(bucket)); in testAppSummary()
628 assertTrue(result.getNextBucket(bucket)); in testUidDetails()
640 assertFalse(result.getNextBucket(bucket)); in testUidDetails()
682 assertTrue(result.getNextBucket(bucket)); in testTagDetails()
757 assertTrue(result.getNextBucket(bucket)); in assertAlmostNoUnexpectedTraffic()
940 assertTrue(result.getNextBucket(bucket)); in getTotalAndAssertNotEmpty()
954 assertFalse(result.getNextBucket(bucket)); in getTotalAndAssertNotEmpty()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java83 NetworkStats.Bucket getNextBucket(@NonNull NetworkStats stats) { in getNextBucket() method in AppDataUsagePreferenceController
85 stats.getNextBucket(bucket); in getNextBucket()
104 NetworkStats.Bucket entry = getNextBucket(stats); in onDataLoaded()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/net/
DFakeNetworkStats.java38 public NetworkStats.Bucket getNextBucket() { in getNextBucket() method in FakeNetworkStats
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkStatsRepository.kt95 while (getNextBucket(bucket)) { in <lambda>()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java111 publiceNetworkStats.getNextBucket(bucket); in fromPublicNetworkStats()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java140 if (!stats.getNextBucket(displayBucket)) { in calculateTraffic()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java113 public NetworkStats.Bucket getNextBucket(@NonNull NetworkStats unused) { in getNextBucket() method in AppDataUsagePreferenceControllerTest.TestAppDataUsagePreferenceController
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java482 public boolean getNextBucket(@Nullable Bucket bucketOut) { in getNextBucket() method in NetworkStats
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt471 NetworkStats.Bucket().also { assertTrue(getNextBucket(it)) } in <lambda>()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt6 method public boolean getNextBucket(@Nullable android.app.usage.NetworkStats.Bucket);