Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/job/
DJobParameters.java78 private int stopReason; // Default value of stopReason is REASON_CANCELED field in JobParameters
110 return stopReason; in getStopReason()
306 stopReason = in.readInt(); in JobParameters()
312 stopReason = reason; in setStopReason()
343 dest.writeInt(stopReason); in writeToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java93 mTestJobStatus.stopReason = JobParameters.REASON_CANCELED;
98 mTestJobStatus.stopReason = params.getStopReason();
198 mTestJobStatus.stopReason == JobParameters.REASON_CONSTRAINTS_NOT_SATISFIED;
213 int stopReason;
217 stopReason = jobId = 0;
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java63 public void addEvent(int cmd, int uid, String tag, int jobId, int stopReason, in addEvent() argument
66 mEventCmds[index] = cmd | ((stopReason<<EVENT_STOP_REASON_SHIFT) & EVENT_STOP_REASON_MASK); in addEvent()
196 void decActive(int uid, String pkg, long now, int stopReason) { in decActive() argument
202 int count = pe.stopReasons.get(stopReason, 0); in decActive()
203 pe.stopReasons.put(stopReason, count+1); in decActive()
215 void decActiveTop(int uid, String pkg, long now, int stopReason) { in decActiveTop() argument
221 int count = pe.stopReasons.get(stopReason, 0); in decActiveTop()
222 pe.stopReasons.put(stopReason, count+1); in decActiveTop()
479 public void noteInactive(JobStatus job, int stopReason, String debugReason) { in noteInactive() argument
483 stopReason); in noteInactive() local
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl75 void noteJobFinish(String name, int uid, int stopReason, int standbyBucket, int jobid); in noteJobFinish() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java482 public void noteJobFinish(String name, int uid, int stopReason, int standbyBucket, int jobid) { in noteJobFinish() argument
485 mStats.noteJobFinishLocked(name, uid, stopReason); in noteJobFinish()
488 stopReason, standbyBucket, jobid); in noteJobFinish()