/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 113 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 3000), STANDBY_BUCKET_RARE); in testBuckets() 114 assertEquals(aih.getAppStandbyBucket(PACKAGE_2, USER_ID, 3000), STANDBY_BUCKET_ACTIVE); in testBuckets() 116 assertEquals(aih.getAppStandbyBucket(PACKAGE_3, USER_ID, 3000), STANDBY_BUCKET_RESTRICTED); in testBuckets() 133 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 5000), STANDBY_BUCKET_RARE); in testBuckets() 134 assertEquals(aih.getAppStandbyBucket(PACKAGE_2, USER_ID, 5000), STANDBY_BUCKET_ACTIVE); in testBuckets() 136 assertEquals(aih.getAppStandbyBucket(PACKAGE_3, USER_ID, 3000), STANDBY_BUCKET_RESTRICTED); in testBuckets()
|
D | AppStandbyControllerTests.java | 373 controller.getAppStandbyBucket(PACKAGE_1, USER_ID, in setupController() 395 mController.getAppStandbyBucket(PACKAGE_EXEMPTED_1, USER_ID, in testBoundWidgetPackageExempt() 512 controller.getAppStandbyBucket(PACKAGE_1, userId, mInjector.mElapsedRealtime, in assertTimeout() 531 return controller.getAppStandbyBucket(packageName, userId, mInjector.mElapsedRealtime, in getStandbyBucket() 651 assertEquals(STANDBY_BUCKET_ACTIVE, mController.getAppStandbyBucket(PACKAGE_1, USER_ID, 0, in testForcedIdle()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AlarmManagerServiceTest.java | 272 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), in setUp() 500 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testQuotasDeferralOnSet() 518 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testQuotasDeferralOnExpiration() 538 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testQuotasNoDeferral() 618 .getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), anyLong())) in testRestrictedBucketAlarmsDeferredOnSet() 636 .getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), anyLong())) in testRestrictedBucketAlarmsDeferredOnExpiration() 653 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in assertAndHandleBucketChanged() 672 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testQuotaDowngrade() 699 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testQuotaUpgrade() 731 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testCharging()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 50 final int value = usmi.getAppStandbyBucket(packageName, userId, in getStandbyBucket()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManager.java | 673 public @StandbyBuckets int getAppStandbyBucket() { in getAppStandbyBucket() method in UsageStatsManager 675 return mService.getAppStandbyBucket(mContext.getOpPackageName(), in getAppStandbyBucket() 691 public @StandbyBuckets int getAppStandbyBucket(String packageName) { in getAppStandbyBucket() method in UsageStatsManager 693 return mService.getAppStandbyBucket(packageName, mContext.getOpPackageName(), in getAppStandbyBucket()
|
D | IUsageStatsManager.aidl | 50 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket() method
|
D | UsageEvents.java | 627 public int getAppStandbyBucket() { in getAppStandbyBucket() method in UsageEvents.Event
|
/frameworks/base/services/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 164 @StandbyBuckets public abstract int getAppStandbyBucket(String packageName, in getAppStandbyBucket() method in UsageStatsManagerInternal
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/ |
D | AppStandbyInternal.java | 113 int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket() method
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1701 public int getAppStandbyBucket(String packageName, String callingPackage, int userId) { in getAppStandbyBucket() method in UsageStatsService.BinderService 1726 return mAppStandby.getAppStandbyBucket(packageName, userId, in getAppStandbyBucket() 2175 @StandbyBuckets public int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket() method in UsageStatsService.LocalService 2177 return mAppStandby.getAppStandbyBucket(packageName, userId, nowElapsed, false); in getAppStandbyBucket()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 546 mAppIdleHistory.getAppStandbyBucket(packageName, userId, elapsedRealtime); in reportUnexemptedSyncScheduled() 1247 @StandbyBuckets public int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket() method in AppStandbyController 1255 return mAppIdleHistory.getAppStandbyBucket(packageName, userId, elapsedRealtime); in getAppStandbyBucket()
|
D | AppIdleHistory.java | 462 public int getAppStandbyBucket(String packageName, int userId, long elapsedRealtime) { in getAppStandbyBucket() method in AppIdleHistory
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 270 when(mUsageStatsManager.getAppStandbyBucket(eq(SOURCE_PACKAGE), eq(SOURCE_USER_ID), in setStandbyBucket() 278 when(mUsageStatsManager.getAppStandbyBucket( in setStandbyBucket()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 2537 ? usageStats.getAppStandbyBucket(packageName, userId, elapsedNow)
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2478 int bucket = usm.getAppStandbyBucket(packageName, null, userId);
|
D | ActivityManagerService.java | 6274 <= mUsageStatsService.getAppStandbyBucket(packageName, userId, nowElapsed); in isInRestrictedBucket() 9080 standbyBucket = mUsageStatsService.getAppStandbyBucket(workSourcePackage, in noteWakeupAlarm() 9093 standbyBucket = mUsageStatsService.getAppStandbyBucket(sourcePkg, in noteWakeupAlarm()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1881 final int standbyBucket = mUsageStatsManagerInternal.getAppStandbyBucket( in adjustDeliveryTimeBasedOnBucketLocked()
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1380 …Permission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/api/ |
D | system-current.txt | 1432 …Permission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
|
D | current.txt | 8042 method public int getAppStandbyBucket(); 8087 method public int getAppStandbyBucket();
|
/frameworks/base/services/ |
D | art-profile | 32155 HPLcom/android/server/usage/UsageStatsService$BinderService;->getAppStandbyBucket(Ljava/lang/String… 32182 HSPLcom/android/server/usage/UsageStatsService$LocalService;->getAppStandbyBucket(Ljava/lang/String…
|