Home
last modified time | relevance | path

Searched refs:lastActivity (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DFragmentInBackStackLifecycleTest.java90 EmptyActivity lastActivity = recreateActivity(newActivity, activityTestRule); in test() local
92 FragmentManager fm = lastActivity.getSupportFragmentManager(); in test()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java126 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local
128 customIntent.filterEquals(lastActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java103 long lastActivity; // last time there was some activity on the service. field in ServiceRecord
277 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()
DActiveServices.java534 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()
DActivityStack.java4118 final boolean lastActivity = task != null ? task.removeActivity(r) : false; in removeActivityFromHistoryLocked()
4124 if (lastActivity || onlyHasTaskOverlays) { in removeActivityFromHistoryLocked()
4148 if (lastActivity) { in removeActivityFromHistoryLocked()
DActivityManagerService.java23498 if (now < (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLocked()
23574 if (now >= (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLocked()