MCPcopy Create free account
hub / github.com/M66B/FairEmail / getStandbyBucketName

Method getStandbyBucketName

app/src/main/java/eu/faircode/email/Helper.java:799–816  ·  view source on GitHub ↗
(int bucket)

Source from the content-addressed store, hash-verified

797 }
798
799 static String getStandbyBucketName(int bucket) {
800 switch (bucket) {
801 case 5:
802 return "exempted";
803 case UsageStatsManager.STANDBY_BUCKET_ACTIVE:
804 return "active";
805 case UsageStatsManager.STANDBY_BUCKET_WORKING_SET:
806 return "workingset";
807 case UsageStatsManager.STANDBY_BUCKET_FREQUENT:
808 return "frequent";
809 case UsageStatsManager.STANDBY_BUCKET_RARE:
810 return "rare";
811 case UsageStatsManager.STANDBY_BUCKET_RESTRICTED:
812 return "restricted";
813 default:
814 return Integer.toString(bucket);
815 }
816 }
817
818 static String getEventType(int type) {
819 switch (type) {

Callers 2

getAppInfoMethod · 0.95
attachAccountsMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected