Searched refs:lastActivity (Results 1 – 6 of 6) sorted by relevance
90 EmptyActivity lastActivity = recreateActivity(newActivity, activityTestRule); in test() local92 FragmentManager fm = lastActivity.getSupportFragmentManager(); in test()
126 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local128 customIntent.filterEquals(lastActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()
103 long lastActivity; // last time there was some activity on the service. field in ServiceRecord277 ProtoUtils.toDuration(proto, ServiceRecordProto.LAST_ACTIVITY_TIME, lastActivity, now); in writeToProto()382 TimeUtils.formatDuration(lastActivity, now, pw); in dump()464 lastActivity = SystemClock.uptimeMillis(); in ServiceRecord()
534 r.lastActivity = SystemClock.uptimeMillis(); in startServiceLocked()664 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()1590 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()1596 s.lastActivity); in bindServiceLocked()1644 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()2442 r.restartTime = r.lastActivity = SystemClock.uptimeMillis(); in realStartServiceLocked()3469 info.lastActivityTime = r.lastActivity; in makeRunningServiceInfoLocked()
4118 final boolean lastActivity = task != null ? task.removeActivity(r) : false; in removeActivityFromHistoryLocked()4124 if (lastActivity || onlyHasTaskOverlays) { in removeActivityFromHistoryLocked()4148 if (lastActivity) { in removeActivityFromHistoryLocked()
23498 if (now < (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLocked()23574 if (now >= (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLocked()