Home
last modified time | relevance | path

Searched refs:AppStandbyInfo (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DAppStandbyInfo.java31 public final class AppStandbyInfo implements Parcelable { class
36 private AppStandbyInfo(Parcel in) { in AppStandbyInfo() method in AppStandbyInfo
41 public AppStandbyInfo(String packageName, int bucket) { in AppStandbyInfo() method in AppStandbyInfo
57 … static final @android.annotation.NonNull Creator<AppStandbyInfo> CREATOR = new Creator<AppStandby…
59 public AppStandbyInfo createFromParcel(Parcel source) {
60 return new AppStandbyInfo(source);
64 public AppStandbyInfo[] newArray(int size) {
65 return new AppStandbyInfo[size];
DUsageStatsManager.java812 final ParceledListSlice<AppStandbyInfo> slice = mService.getAppStandbyBuckets( in getAppStandbyBuckets()
814 final List<AppStandbyInfo> bucketList = slice.getList(); in getAppStandbyBuckets()
818 final AppStandbyInfo bucketInfo = bucketList.get(i); in getAppStandbyBuckets()
840 final List<AppStandbyInfo> bucketInfoList = new ArrayList<>(appBuckets.size()); in setAppStandbyBuckets()
842 bucketInfoList.add(new AppStandbyInfo(bucketEntry.getKey(), bucketEntry.getValue())); in setAppStandbyBuckets()
844 final ParceledListSlice<AppStandbyInfo> slice = new ParceledListSlice<>(bucketInfoList); in setAppStandbyBuckets()
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
DAppStandbyInternal.java9 import android.app.usage.AppStandbyInfo;
138 List<AppStandbyInfo> getAppStandbyBuckets(int userId); in getAppStandbyBuckets()
152 void setAppStandbyBuckets(@NonNull List<AppStandbyInfo> appBuckets, int userId, int callingUid, in setAppStandbyBuckets()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java37 import android.app.usage.AppStandbyInfo;
565 public ArrayList<AppStandbyInfo> getAppStandbyBuckets(int userId, boolean appIdleEnabled) { in getAppStandbyBuckets()
568 ArrayList<AppStandbyInfo> buckets = new ArrayList<>(size); in getAppStandbyBuckets()
570 buckets.add(new AppStandbyInfo(userHistory.keyAt(i), in getAppStandbyBuckets()
DAppStandbyController.java68 import android.app.usage.AppStandbyInfo;
1643 public List<AppStandbyInfo> getAppStandbyBuckets(int userId) { in getAppStandbyBuckets()
1722 Collections.singletonList(new AppStandbyInfo(packageName, bucket)), in setAppStandbyBucket()
1727 public void setAppStandbyBuckets(@NonNull List<AppStandbyInfo> appBuckets, int userId, in setAppStandbyBuckets()
1750 final AppStandbyInfo bucketInfo = appBuckets.get(i); in setAppStandbyBuckets()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java76 import android.app.usage.AppStandbyInfo;
754 private List<AppStandbyInfo> getStandbyBuckets(int userId) { in getStandbyBuckets()
888 List<AppStandbyInfo> buckets = getStandbyBuckets(USER_ID); in testAppStandbyBucketOnInstallAndUninstall()
889 for(AppStandbyInfo bucket : buckets) { in testAppStandbyBucketOnInstallAndUninstall()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java71 import android.app.usage.AppStandbyInfo;
3159 ArrayList<AppStandbyInfo> bucketInfoList = new ArrayList<>();
3160 bucketInfoList.add(new AppStandbyInfo(packageName, bucket));
3165 bucketInfoList.add(new AppStandbyInfo(packageName, bucket));
3167 ParceledListSlice<AppStandbyInfo> slice = new ParceledListSlice<>(bucketInfoList);
3193 ParceledListSlice<AppStandbyInfo> buckets = usm.getAppStandbyBuckets(
3195 for (AppStandbyInfo bucketInfo : buckets.getList()) {
DAppRestrictionController.java117 import android.app.usage.AppStandbyInfo;
1671 final List<AppStandbyInfo> appStandbyInfos = mInjector.getAppStandbyInternal() in refreshAppRestrictionLevelForUser()
1681 for (AppStandbyInfo info: appStandbyInfos) { in refreshAppRestrictionLevelForUser()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java52 import android.app.usage.AppStandbyInfo;
2629 public ParceledListSlice<AppStandbyInfo> getAppStandbyBuckets(String callingPackageName, in getAppStandbyBuckets()
2647 final List<AppStandbyInfo> standbyBucketList = in getAppStandbyBuckets()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java115 import android.app.usage.AppStandbyInfo;
356 final ArrayList<AppStandbyInfo> appStandbyInfoList = new ArrayList<>(); in initController()
360 appStandbyInfoList.add(new AppStandbyInfo(packageName, TEST_STANDBY_BUCKETS[i])); in initController()
/frameworks/base/config/
Ddirty-image-objects1678 Landroid/app/usage/AppStandbyInfo; 461
Dpreloaded-classes1317 android.app.usage.AppStandbyInfo$1
1318 android.app.usage.AppStandbyInfo-IA
1319 android.app.usage.AppStandbyInfo
Dboot-image-profile.txt3401 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/usage/Ap…
3402 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3403 HSPLandroid/app/usage/AppStandbyInfo;-><init>(Ljava/lang/String;I)V
3404 HSPLandroid/app/usage/AppStandbyInfo;->writeToParcel(Landroid/os/Parcel;I)V
33824 Landroid/app/usage/AppStandbyInfo$1;
33825 Landroid/app/usage/AppStandbyInfo-IA;
33826 Landroid/app/usage/AppStandbyInfo;
/frameworks/base/boot/
Dpreloaded-classes1317 android.app.usage.AppStandbyInfo$1
1318 android.app.usage.AppStandbyInfo-IA
1319 android.app.usage.AppStandbyInfo
Dboot-image-profile.txt3401 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/usage/Ap…
3402 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3403 HSPLandroid/app/usage/AppStandbyInfo;-><init>(Ljava/lang/String;I)V
3404 HSPLandroid/app/usage/AppStandbyInfo;->writeToParcel(Landroid/os/Parcel;I)V
23694 Landroid/app/usage/AppStandbyInfo$1;
23695 Landroid/app/usage/AppStandbyInfo-IA;
23696 Landroid/app/usage/AppStandbyInfo;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9175 Landroid/app/usage/AppStandbyInfo;-><init>(Landroid/os/Parcel;)V
9176 Landroid/app/usage/AppStandbyInfo;-><init>(Ljava/lang/String;I)V
9177 Landroid/app/usage/AppStandbyInfo;->CREATOR:Landroid/os/Parcelable$Creator;
9178 Landroid/app/usage/AppStandbyInfo;->mPackageName:Ljava/lang/String;
9179 Landroid/app/usage/AppStandbyInfo;->mStandbyBucket:I