Home
last modified time | relevance | path

Searched refs:getAppStandbyBucket (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java113 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()
DAppStandbyControllerTests.java373 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/
DAlarmManagerServiceTest.java272 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/
DSyncAdapterStateFetcher.java50 final int value = usmi.getAppStandbyBucket(packageName, userId, in getStandbyBucket()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java673 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()
DIUsageStatsManager.aidl50 int getAppStandbyBucket(String packageName, String callingPackage, int userId); in getAppStandbyBucket() method
DUsageEvents.java627 public int getAppStandbyBucket() { in getAppStandbyBucket() method in UsageEvents.Event
/frameworks/base/services/core/java/android/app/usage/
DUsageStatsManagerInternal.java164 @StandbyBuckets public abstract int getAppStandbyBucket(String packageName, in getAppStandbyBucket() method in UsageStatsManagerInternal
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/usage/
DAppStandbyInternal.java113 int getAppStandbyBucket(String packageName, int userId, in getAppStandbyBucket() method
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1701 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/
DAppStandbyController.java546 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()
DAppIdleHistory.java462 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/
DQuotaControllerTest.java270 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/
DJobSchedulerService.java2537 ? usageStats.getAppStandbyBucket(packageName, userId, elapsedNow)
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2478 int bucket = usm.getAppStandbyBucket(packageName, null, userId);
DActivityManagerService.java6274 <= 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/
DAlarmManagerService.java1881 final int standbyBucket = mUsageStatsManagerInternal.getAppStandbyBucket( in adjustDeliveryTimeBasedOnBucketLocked()
/frameworks/base/non-updatable-api/
Dsystem-current.txt1380 …Permission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dsystem-current.txt1432 …Permission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getAppStandbyBucket(String);
Dcurrent.txt8042 method public int getAppStandbyBucket();
8087 method public int getAppStandbyBucket();
/frameworks/base/services/
Dart-profile32155 HPLcom/android/server/usage/UsageStatsService$BinderService;->getAppStandbyBucket(Ljava/lang/String…
32182 HSPLcom/android/server/usage/UsageStatsService$LocalService;->getAppStandbyBucket(Ljava/lang/String…