/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 401 mQuotaController.getExecutionStatsLocked(0, "com.android.test.remove", RARE_INDEX)); in testOnAppRemovedLocked() 403 mQuotaController.getExecutionStatsLocked(0, "com.android.test.stay", RARE_INDEX)); in testOnAppRemovedLocked() 440 mQuotaController.getExecutionStatsLocked(0, "com.android.test", RARE_INDEX)); in testOnUserRemovedLocked() 442 mQuotaController.getExecutionStatsLocked(10, "com.android.test", RARE_INDEX)); in testOnUserRemovedLocked() 726 mQuotaController.getExecutionStatsLocked(0, "com.android.test", ACTIVE_INDEX)); in testGetExecutionStatsLocked_Values() 741 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values() 756 mQuotaController.getExecutionStatsLocked(0, "com.android.test", FREQUENT_INDEX)); in testGetExecutionStatsLocked_Values() 771 mQuotaController.getExecutionStatsLocked(0, "com.android.test", RARE_INDEX)); in testGetExecutionStatsLocked_Values() 799 mQuotaController.getExecutionStatsLocked(0, "com.android.test", ACTIVE_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime() 807 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 193 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, tag); in noteEvent() 292 return getExecutionStatsLocked(userId, packageName, tag).inQuotaTimeElapsed; in getInQuotaTimeElapsedLocked() 326 return isWithinQuotaLocked(getExecutionStatsLocked(userId, packageName, tag)); in isWithinQuotaLocked() 376 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked() method in CountQuotaTracker 378 return getExecutionStatsLocked(userId, packageName, tag, true); in getExecutionStatsLocked() 383 private ExecutionStats getExecutionStatsLocked(final int userId, in getExecutionStatsLocked() method in CountQuotaTracker 587 getExecutionStatsLocked(userId, packageName, tag, false)); in maybeUpdateStatusForUptcLocked() 594 getExecutionStatsLocked(userId, packageName, tag, true)); in maybeUpdateStatusForUptcLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | CountQuotaTrackerTest.java | 431 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG)); in testGetExecutionStatsLocked_Values() 440 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG)); in testGetExecutionStatsLocked_Values() 450 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG)); in testGetExecutionStatsLocked_Values() 460 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG)); in testGetExecutionStatsLocked_Values() 484 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG)); in testGetExecutionStatsLocked_Values_BeginningOfTime() 735 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG); in testLogEvent_GlobalQuotaFree() 756 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG); in testLogEvent_GlobalQuotaNotFree() 775 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG); in testLogEvent_UptcQuotaFree() 796 mQuotaTracker.getExecutionStatsLocked(TEST_USER_ID, TEST_PACKAGE, TEST_TAG); in testLogEvent_UptcQuotaNotFree()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 669 ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in isWithinQuotaLocked() 719 getExecutionStatsLocked(userId, packageName, standbyBucket)); in getRemainingExecutionTimeLocked() 746 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in getTimeUntilQuotaConsumedLocked() 815 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked() method in QuotaController 817 return getExecutionStatsLocked(userId, packageName, standbyBucket, true); in getExecutionStatsLocked() 821 private ExecutionStats getExecutionStatsLocked(final int userId, in getExecutionStatsLocked() method in QuotaController 1284 ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in maybeScheduleStartAlarmLocked()
|
/frameworks/base/services/ |
D | art-profile | 32918 HSPLcom/android/server/utils/quota/CountQuotaTracker;->getExecutionStatsLocked(ILjava/lang/String;L… 32919 HSPLcom/android/server/utils/quota/CountQuotaTracker;->getExecutionStatsLocked(ILjava/lang/String;L…
|