Searched refs:TimingSession (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 305 private final SparseArrayMap<List<TimingSession>> mTimingSessions = new SparseArrayMap<>(); 741 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in getTimeUntilQuotaConsumedLocked() 777 private long calculateTimeUntilQuotaConsumedLocked(@NonNull List<TimingSession> sessions, in calculateTimeUntilQuotaConsumedLocked() 782 TimingSession session = sessions.get(i); in calculateTimeUntilQuotaConsumedLocked() 900 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in updateExecutionStatsLocked() 915 TimingSession session = sessions.get(i); in updateExecutionStatsLocked() 1062 @NonNull final TimingSession session) { in saveTimingSession() 1064 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in saveTimingSession() 1077 private final class EarliestEndTimeFunctor implements Consumer<List<TimingSession>> { 1081 public void accept(List<TimingSession> sessions) { in accept() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 80 import com.android.server.job.controllers.QuotaController.TimingSession; 310 private TimingSession createTimingSession(long start, long duration, int count) { in createTimingSession() 311 return new TimingSession(start, start + duration, count); in createTimingSession() 318 List<TimingSession> expected = new ArrayList<>(); in testSaveTimingSession() 319 TimingSession one = new TimingSession(1, 10, 1); in testSaveTimingSession() 320 TimingSession two = new TimingSession(11, 20, 2); in testSaveTimingSession() 321 TimingSession thr = new TimingSession(21, 30, 3); in testSaveTimingSession() 339 TimingSession one = createTimingSession( in testDeleteObsoleteSessionsLocked() 341 TimingSession two = createTimingSession( in testDeleteObsoleteSessionsLocked() 343 TimingSession thr = createTimingSession( in testDeleteObsoleteSessionsLocked() [all …]
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 310 // Treat two distinct {@link TimingSession}s as the same if they start and end within this 597 // The number of {@link TimingSession}s within the bucket window size. This will include 629 // The number of {@link TimingSession}s that ran in at least the last 644 message TimingSession { message 674 repeated TimingSession saved_sessions = 3;
|