Home
last modified time | relevance | path

Searched refs:getRemainingExecutionTimeLocked (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java779 return getRemainingExecutionTimeLocked(stats) > 0 in isWithinQuotaLocked()
804 long getRemainingExecutionTimeLocked(@NonNull final JobStatus jobStatus) { in getRemainingExecutionTimeLocked() method in QuotaController
805 return getRemainingExecutionTimeLocked(jobStatus.getSourceUserId(), in getRemainingExecutionTimeLocked()
811 long getRemainingExecutionTimeLocked(final int userId, @NonNull final String packageName) { in getRemainingExecutionTimeLocked() method in QuotaController
814 return getRemainingExecutionTimeLocked(userId, packageName, standbyBucket); in getRemainingExecutionTimeLocked()
822 private long getRemainingExecutionTimeLocked(final int userId, in getRemainingExecutionTimeLocked() method in QuotaController
827 return getRemainingExecutionTimeLocked( in getRemainingExecutionTimeLocked()
831 private long getRemainingExecutionTimeLocked(@NonNull ExecutionStats stats) { in getRemainingExecutionTimeLocked() method in QuotaController
1383 + getRemainingExecutionTimeLocked(userId, packageName, standbyBucket) in maybeScheduleStartAlarmLocked()
1872 long timeRemainingMs = getRemainingExecutionTimeLocked(pkg.userId, in handleMessage()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1002 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1008 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1014 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1022 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1040 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_MaxExecution()
1053 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_MaxExecution()
1065 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_MaxExecution()
1091 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_EqualTimeRemaining()
1113 mQuotaController.getRemainingExecutionTimeLocked(SOURCE_USER_ID, SOURCE_PACKAGE)); in testGetTimeUntilQuotaConsumedLocked_EqualTimeRemaining()
1399 assertEquals(0, mQuotaController.getRemainingExecutionTimeLocked(jobStatus)); in testMaybeScheduleStartAlarmLocked_Active()
[all …]