Home
last modified time | relevance | path

Searched refs:stopReason (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java94 mTestJobStatus.stopReason = JobParameters.STOP_REASON_UNDEFINED;
99 mTestJobStatus.stopReason = params.getStopReason();
219 || mTestJobStatus.stopReason == expectedStopReason);
234 int stopReason;
239 stopReason = jobId = 0;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobPackageTracker.java62 public void addEvent(int cmd, int uid, String tag, int jobId, int stopReason, in addEvent() argument
65 mEventCmds[index] = cmd | ((stopReason<<EVENT_STOP_REASON_SHIFT) & EVENT_STOP_REASON_MASK); in addEvent()
195 void decActive(int uid, String pkg, long now, int stopReason) { in decActive() argument
201 int count = pe.stopReasons.get(stopReason, 0); in decActive()
202 pe.stopReasons.put(stopReason, count+1); in decActive()
214 void decActiveTop(int uid, String pkg, long now, int stopReason) { in decActiveTop() argument
220 int count = pe.stopReasons.get(stopReason, 0); in decActiveTop()
221 pe.stopReasons.put(stopReason, count+1); in decActiveTop()
493 public void noteInactive(JobStatus job, int stopReason, String debugReason) { in noteInactive() argument
497 stopReason); in noteInactive() local
[all …]
DJobCompletedListener.java32 void onJobCompletedLocked(JobStatus jobStatus, int stopReason, boolean needsReschedule); in onJobCompletedLocked() argument
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl80 void noteJobFinish(String name, int uid, int stopReason); in noteJobFinish() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java906 public void noteJobFinish(final String name, final int uid, final int stopReason) { in noteJobFinish() argument
913 mStats.noteJobFinishLocked(name, uid, stopReason, elapsedRealtime, uptime); in noteJobFinish()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4089 public void noteJobFinishLocked(String name, int uid, int stopReason) { in noteJobFinishLocked() argument
4090 noteJobFinishLocked(name, uid, stopReason, in noteJobFinishLocked()
4094 public void noteJobFinishLocked(String name, int uid, int stopReason, in noteJobFinishLocked() argument
4098 .noteStopJobLocked(name, elapsedRealtimeMs, stopReason); in noteJobFinishLocked()
10460 public void noteStopJobLocked(String name, long elapsedRealtimeMs, int stopReason) { in noteStopJobLocked() argument
10471 int last = types.get(stopReason, 0); in noteStopJobLocked()
10472 types.put(stopReason, last + 1); in noteStopJobLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7205 Landroid/app/job/JobParameters;->stopReason:I