Home
last modified time | relevance | path

Searched refs:Bucket (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartData.java25 public List<NetworkStats.Bucket> network;
28 public List<NetworkStats.Bucket> detail;
30 public List<NetworkStats.Bucket> detailDefault;
32 public List<NetworkStats.Bucket> detailForeground;
DNetworkCycleDataLoader.java149 final NetworkStats.Bucket bucket = new NetworkStats.Bucket();
164 final NetworkStats.Bucket bucket = getNextBucket(stats);
178 NetworkStats.Bucket getNextBucket(@NonNull NetworkStats stats) {
179 NetworkStats.Bucket bucket = new NetworkStats.Bucket();
DNetworkCycleDataForUidLoader.java19 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
57 mNetworkTemplate, start, end, uid, NetworkStats.Bucket.TAG_NONE, in recordUsage()
58 NetworkStats.Bucket.STATE_ALL); in recordUsage()
DNetworkCycleChartDataLoader.java45 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage()
82 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice(
DDataUsageController.java23 import android.app.usage.NetworkStats.Bucket;
146 final Bucket bucket = mNetworkStatsManager.querySummaryForDevice(template, start, end); in getUsageLevel()
DUidDetailProvider.java120 case NetworkStats.Bucket.UID_REMOVED: in buildUidDetail()
126 case NetworkStats.Bucket.UID_TETHERING: in buildUidDetail()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java101 .thenReturn(mock(NetworkStats.Bucket.class)); in getHistoricalUsageLevel_noUsageData_shouldReturn0()
110 final NetworkStats.Bucket bucket = mock(NetworkStats.Bucket.class); in getHistoricalUsageLevel_hasUsageData_shouldReturnTotalUsage()
126 final NetworkStats.Bucket defaultSubscriberBucket = mock(NetworkStats.Bucket.class); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
135 final NetworkStats.Bucket nonDefaultSubscriberBucket = mock(NetworkStats.Bucket.class); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
DNetworkCycleDataLoaderTest.java19 import static android.app.usage.NetworkStats.Bucket.UID_ALL;
136 private NetworkStats.Bucket makeMockBucket(int uid, long rxBytes, long txBytes, in makeMockBucket()
138 NetworkStats.Bucket ret = mock(NetworkStats.Bucket.class); in makeMockBucket()
201 private final Queue<NetworkStats.Bucket> mMockedBuckets = new LinkedBlockingQueue<>();
218 public void addBucket(NetworkStats.Bucket bucket) { in addBucket()
228 public NetworkStats.Bucket getNextBucket(@NonNull NetworkStats unused) { in getNextBucket()
DNetworkCycleDataForUidLoaderTest.java19 import static android.app.usage.NetworkStats.Bucket.STATE_ALL;
20 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java80 final NetworkStats.Bucket bucket = in fetchStats()
92 void reportStats(NetworkStats.Bucket bucket) { in reportStats()
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java44 final Bucket mBucket;
50 mBucket = new Bucket(); in ChildHelper()
395 static class Bucket { class in ChildHelper
403 Bucket mNext;
416 mNext = new Bucket(); in ensureNext()
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py55 class Bucket: class
132 bucket = Bucket(letter)
/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java146 var bucket = new NetworkStats.Bucket(); in hasActiveNetwork()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto218 // Bucket assignments as recorded in the JobStatus objects are normalized to
590 optional JobStatusDumpProto.Bucket effective_standby_bucket = 3;
618 optional JobStatusDumpProto.Bucket standby_bucket = 1;
1069 enum Bucket { enum
1078 optional Bucket standby_bucket = 17;
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java393 private final SparseArray<NetworkStats.Bucket> mMockedStats = new SparseArray<>();
405 NetworkStats.Bucket bucket = mMockedStats.valueAt(i); in getNetworkTotalBytes()
412 List<NetworkStats.Bucket> getNetworkUidBytes(NetworkTemplate template, long start, in getNetworkUidBytes()
414 final List<NetworkStats.Bucket> ret = new ArrayList<>(); in getNetworkUidBytes()
422 final NetworkStats.Bucket bucket = mock(NetworkStats.Bucket.class); in setMockedTotalBytes()
430 final NetworkStats.Bucket bucket = mMockedStats.get(uid); in increaseMockedTotalBytes()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java273 final android.app.usage.NetworkStats.Bucket ret = in getNetworkTotalBytes()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java876 final NetworkStats.Bucket ret = mNetworkStatsManager in getNetworkTotalBytes()
888 List<NetworkStats.Bucket> getNetworkUidBytes( in getNetworkUidBytes()
891 final List<NetworkStats.Bucket> buckets = new ArrayList<>(); in getNetworkUidBytes()
895 final NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in getNetworkUidBytes()
1782 final List<NetworkStats.Bucket> stats = mDeps.getNetworkUidBytes(template, start, end); in findRapidBlame()
1783 for (final NetworkStats.Bucket entry : stats) { in findRapidBlame()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java1858 final NetworkStats.Bucket ret = networkStatsManager in getDataUsage()
/frameworks/proto_logging/stats/
Datoms.proto2511 enum Bucket { enum
2521 optional Bucket standby_bucket = 5 [default = UNKNOWN];
2919 optional AppStandbyBucketChanged.Bucket app_standby_bucket = 4;
16542 enum Bucket { enum
16552 optional Bucket bucket = 3;
/frameworks/base/boot/
Dpreloaded-classes4192 android.icu.text.AlphabeticIndex$Bucket$LabelType
4193 android.icu.text.AlphabeticIndex$Bucket
14226 [Landroid.icu.text.AlphabeticIndex$Bucket$LabelType;
Dboot-image-profile.txt26579 Landroid/icu/text/AlphabeticIndex$Bucket$LabelType;
26580 Landroid/icu/text/AlphabeticIndex$Bucket;
36673 [Landroid/icu/text/AlphabeticIndex$Bucket$LabelType;
/frameworks/base/config/
Dpreloaded-classes4196 android.icu.text.AlphabeticIndex$Bucket$LabelType
4197 android.icu.text.AlphabeticIndex$Bucket
17249 [Landroid.icu.text.AlphabeticIndex$Bucket$LabelType;
Dboot-image-profile.txt36713 Landroid/icu/text/AlphabeticIndex$Bucket$LabelType;
36714 Landroid/icu/text/AlphabeticIndex$Bucket;
49840 [Landroid/icu/text/AlphabeticIndex$Bucket$LabelType;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...