Searched refs:stopReason (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/app/job/ |
D | JobParameters.java | 73 private int stopReason; // Default value of stopReason is REASON_CANCELED field in JobParameters 105 return stopReason; in getStopReason() 300 stopReason = in.readInt(); in JobParameters() 306 stopReason = reason; in setStopReason() 337 dest.writeInt(stopReason); in writeToParcel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 92 mTestJobStatus.stopReason = JobParameters.REASON_CANCELED; 97 mTestJobStatus.stopReason = params.getStopReason(); 197 mTestJobStatus.stopReason == JobParameters.REASON_CONSTRAINTS_NOT_SATISFIED; 212 int stopReason; 216 stopReason = jobId = 0;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 63 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/ |
D | IBatteryStats.aidl | 72 void noteJobFinish(String name, int uid, int stopReason); in noteJobFinish() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 462 public void noteJobFinish(String name, int uid, int stopReason) { in noteJobFinish() argument 465 mStats.noteJobFinishLocked(name, uid, stopReason); in noteJobFinish() 468 stopReason); in noteJobFinish()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4195 public void noteJobFinishLocked(String name, int uid, int stopReason) { in noteJobFinishLocked() argument 4199 getUidStatsLocked(uid).noteStopJobLocked(name, elapsedRealtime, stopReason); in noteJobFinishLocked() 9969 public void noteStopJobLocked(String name, long elapsedRealtimeMs, int stopReason) { in noteStopJobLocked() argument 9980 int last = types.get(stopReason, 0); in noteStopJobLocked() 9981 types.put(stopReason, last + 1); in noteStopJobLocked()
|