Searched refs:stopReason (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/job/ |
D | JobParameters.java | 77 private int stopReason; // Default value of stopReason is REASON_CANCELED field in JobParameters 109 return stopReason; in getStopReason() 305 stopReason = in.readInt(); in JobParameters() 311 stopReason = reason; in setStopReason() 342 dest.writeInt(stopReason); in writeToParcel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 93 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/ |
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 | 75 void noteJobFinish(String name, int uid, int stopReason, int standbyBucket, int jobid); in noteJobFinish() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 482 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()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4059 public void noteJobFinishLocked(String name, int uid, int stopReason) { in noteJobFinishLocked() argument 4063 getUidStatsLocked(uid).noteStopJobLocked(name, elapsedRealtime, stopReason); in noteJobFinishLocked() 9617 public void noteStopJobLocked(String name, long elapsedRealtimeMs, int stopReason) { in noteStopJobLocked() argument 9628 int last = types.get(stopReason, 0); in noteStopJobLocked() 9629 types.put(stopReason, last + 1); in noteStopJobLocked()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 7208 Landroid/app/job/JobParameters;->stopReason:I
|