Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DMockingOomAdjusterTests.java774 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_ServiceB()
818 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_Service_Started()
2391 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2394 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2404 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2449 s.lastActivity = now; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2486 s.lastActivity = now - sService.mConstants.MAX_SERVICE_INACTIVITY - 1; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2502 s.lastActivity = now; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2541 s.lastActivity = now; in testUpdateOomAdj_DoAll_Side_Cycle()
2543 s.lastActivity = now; in testUpdateOomAdj_DoAll_Side_Cycle()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java132 long lastActivity; // last time there was some activity on the service. field in ServiceRecord
609 ProtoUtils.toDuration(proto, ServiceRecordProto.LAST_ACTIVITY_TIME, lastActivity, now); in dumpDebug()
788 TimeUtils.formatDuration(lastActivity, now, pw); in dump()
918 lastActivity = SystemClock.uptimeMillis(); in ServiceRecord()
H A DOomAdjuster.java2200 || now < (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLSP()
2364 if (now >= (s.lastActivity in computeOomAdjLSP()
H A DActiveServices.java1052 r.lastActivity = SystemClock.uptimeMillis(); in startServiceInnerLocked()
3725 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()
3797 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()
5367 r.restartTime = r.lastActivity = SystemClock.uptimeMillis(); in realStartServiceLocked()
6692 info.lastActivityTime = r.lastActivity; in makeRunningServiceInfoLocked()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java178 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
180 customIntent.filterEquals(lastActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()