Home
last modified time | relevance | path

Searched refs:TimingSession (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java386 private final UserPackageMap<List<TimingSession>> mTimingSessions = new UserPackageMap<>();
850 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in getTimeUntilQuotaConsumedLocked()
886 private long calculateTimeUntilQuotaConsumedLocked(@NonNull List<TimingSession> sessions, in calculateTimeUntilQuotaConsumedLocked()
891 TimingSession session = sessions.get(i); in calculateTimeUntilQuotaConsumedLocked()
998 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in updateExecutionStatsLocked()
1013 TimingSession session = sessions.get(i); in updateExecutionStatsLocked()
1160 @NonNull final TimingSession session) { in saveTimingSession()
1162 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in saveTimingSession()
1175 private final class EarliestEndTimeFunctor implements Consumer<List<TimingSession>> {
1179 public void accept(List<TimingSession> sessions) { in accept()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java78 import com.android.server.job.controllers.QuotaController.TimingSession;
306 private TimingSession createTimingSession(long start, long duration, int count) { in createTimingSession()
307 return new TimingSession(start, start + duration, count); in createTimingSession()
314 List<TimingSession> expected = new ArrayList<>(); in testSaveTimingSession()
315 TimingSession one = new TimingSession(1, 10, 1); in testSaveTimingSession()
316 TimingSession two = new TimingSession(11, 20, 2); in testSaveTimingSession()
317 TimingSession thr = new TimingSession(21, 30, 3); in testSaveTimingSession()
335 TimingSession one = createTimingSession( in testDeleteObsoleteSessionsLocked()
337 TimingSession two = createTimingSession( in testDeleteObsoleteSessionsLocked()
339 TimingSession thr = createTimingSession( in testDeleteObsoleteSessionsLocked()
[all …]
/frameworks/base/core/proto/android/server/
Djobscheduler.proto298 // Treat two distinct {@link TimingSession}s as the same if they start and end within this
536 // The number of {@link TimingSession}s within the bucket window size. This will include
568 // The number of {@link TimingSession}s that ran in at least the last
583 message TimingSession { message
614 repeated TimingSession saved_sessions = 3;
/frameworks/base/services/
Dart-profile7734 …TimingSessionsFunctor$1;->test(Lcom/android/server/job/controllers/QuotaController$TimingSession;)Z
7758 HSPLcom/android/server/job/controllers/QuotaController$TimingSession;-><init>(JJI)V
7759 PLcom/android/server/job/controllers/QuotaController$TimingSession;->dump(Landroid/util/proto/Proto…
7760 PLcom/android/server/job/controllers/QuotaController$TimingSession;->dump(Lcom/android/internal/uti…
7798 …mingSession(ILjava/lang/String;Lcom/android/server/job/controllers/QuotaController$TimingSession;)V