Searched refs:lastActivity (Results 1 – 5 of 5) sorted by relevance
108 long lastActivity; // last time there was some activity on the service. field in ServiceRecord300 ProtoUtils.toDuration(proto, ServiceRecordProto.LAST_ACTIVITY_TIME, lastActivity, now); in dumpDebug()419 TimeUtils.formatDuration(lastActivity, now, pw); in dump()514 lastActivity = SystemClock.uptimeMillis(); in ServiceRecord()
608 r.lastActivity = SystemClock.uptimeMillis(); in startServiceLocked()620 r.lastActivity); in startServiceLocked()755 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()1457 mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in setServiceForegroundInnerLocked()1492 r.lastActivity); in setServiceForegroundInnerLocked()1514 r.lastActivity); in setServiceForegroundInnerLocked()2005 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()2011 s.lastActivity); in bindServiceLocked()2061 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()3011 r.restartTime = r.lastActivity = SystemClock.uptimeMillis(); in realStartServiceLocked()[all …]
1482 if (now < (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLocked()1597 if (now >= (s.lastActivity in computeOomAdjLocked()
149 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local151 customIntent.filterEquals(lastActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()
543 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_ServiceB()587 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_Service_Started()1595 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()1598 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()1608 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()