Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DAppStandbyInfo.java27 public final class AppStandbyInfo implements Parcelable { class
32 private AppStandbyInfo(Parcel in) { in AppStandbyInfo() method in AppStandbyInfo
37 public AppStandbyInfo(String packageName, int bucket) { in AppStandbyInfo() method in AppStandbyInfo
53 … static final @android.annotation.NonNull Creator<AppStandbyInfo> CREATOR = new Creator<AppStandby…
55 public AppStandbyInfo createFromParcel(Parcel source) {
56 return new AppStandbyInfo(source);
60 public AppStandbyInfo[] newArray(int size) {
61 return new AppStandbyInfo[size];
DUsageStatsManager.java581 final ParceledListSlice<AppStandbyInfo> slice = mService.getAppStandbyBuckets( in getAppStandbyBuckets()
583 final List<AppStandbyInfo> bucketList = slice.getList(); in getAppStandbyBuckets()
587 final AppStandbyInfo bucketInfo = bucketList.get(i); in getAppStandbyBuckets()
608 final List<AppStandbyInfo> bucketInfoList = new ArrayList<>(appBuckets.size()); in setAppStandbyBuckets()
610 bucketInfoList.add(new AppStandbyInfo(bucketEntry.getKey(), bucketEntry.getValue())); in setAppStandbyBuckets()
612 final ParceledListSlice<AppStandbyInfo> slice = new ParceledListSlice<>(bucketInfoList); in setAppStandbyBuckets()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java30 import android.app.usage.AppStandbyInfo;
415 public ArrayList<AppStandbyInfo> getAppStandbyBuckets(int userId, boolean appIdleEnabled) { in getAppStandbyBuckets()
418 ArrayList<AppStandbyInfo> buckets = new ArrayList<>(size); in getAppStandbyBuckets()
420 buckets.add(new AppStandbyInfo(userHistory.keyAt(i), in getAppStandbyBuckets()
DUsageStatsService.java35 import android.app.usage.AppStandbyInfo;
1261 public ParceledListSlice<AppStandbyInfo> getAppStandbyBuckets(String callingPackageName, in getAppStandbyBuckets()
1277 final List<AppStandbyInfo> standbyBucketList = in getAppStandbyBuckets()
1306 List<AppStandbyInfo> bucketList = appBuckets.getList(); in setAppStandbyBuckets()
1307 for (AppStandbyInfo bucketInfo : bucketList) { in setAppStandbyBuckets()
DAppStandbyController.java54 import android.app.usage.AppStandbyInfo;
1203 public List<AppStandbyInfo> getAppStandbyBuckets(int userId) { in getAppStandbyBuckets()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java47 import android.app.usage.AppStandbyInfo;
591 List<AppStandbyInfo> buckets = mController.getAppStandbyBuckets(USER_ID); in testAppStandbyBucketOnInstallAndUninstall()
592 for(AppStandbyInfo bucket : buckets) { in testAppStandbyBucketOnInstallAndUninstall()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java41 import android.app.usage.AppStandbyInfo;
2392 ArrayList<AppStandbyInfo> bucketInfoList = new ArrayList<>();
2393 bucketInfoList.add(new AppStandbyInfo(packageName, bucket));
2398 bucketInfoList.add(new AppStandbyInfo(packageName, bucket));
2400 ParceledListSlice<AppStandbyInfo> slice = new ParceledListSlice<>(bucketInfoList);
2426 ParceledListSlice<AppStandbyInfo> buckets = usm.getAppStandbyBuckets(
2428 for (AppStandbyInfo bucketInfo : buckets.getList()) {
/frameworks/base/config/
Dpreloaded-classes633 android.app.usage.AppStandbyInfo$1
634 android.app.usage.AppStandbyInfo
Dboot-image-profile.txt3047 HSPLandroid/app/usage/AppStandbyInfo$1;-><init>()V
3048 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/usage/Ap…
3049 HSPLandroid/app/usage/AppStandbyInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3050 HSPLandroid/app/usage/AppStandbyInfo;->writeToParcel(Landroid/os/Parcel;I)V
32713 Landroid/app/usage/AppStandbyInfo$1;
32714 Landroid/app/usage/AppStandbyInfo;
Dhiddenapi-greylist-max-o.txt9184 Landroid/app/usage/AppStandbyInfo;-><init>(Landroid/os/Parcel;)V
9185 Landroid/app/usage/AppStandbyInfo;-><init>(Ljava/lang/String;I)V
9186 Landroid/app/usage/AppStandbyInfo;->CREATOR:Landroid/os/Parcelable$Creator;
9187 Landroid/app/usage/AppStandbyInfo;->mPackageName:Ljava/lang/String;
9188 Landroid/app/usage/AppStandbyInfo;->mStandbyBucket:I