Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java894 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_ServiceB()
938 s.lastActivity = SystemClock.uptimeMillis(); in testUpdateOomAdj_DoOne_Service_Started()
2550 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2553 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2563 s.lastActivity = now; in testUpdateOomAdj_DoAll_ServiceB()
2608 s.lastActivity = now; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2620 s2.lastActivity = now - mService.mConstants.MAX_SERVICE_INACTIVITY - 1; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2642 s.lastActivity = now - mService.mConstants.MAX_SERVICE_INACTIVITY - 1; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2658 s.lastActivity = now; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
2670 s.lastActivity = now - mService.mConstants.MAX_SERVICE_INACTIVITY - 1; in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java166 long lastActivity; // last time there was some activity on the service. field in ServiceRecord
833 ProtoUtils.toDuration(proto, ServiceRecordProto.LAST_ACTIVITY_TIME, lastActivity, now); in dumpDebug()
1036 TimeUtils.formatDuration(lastActivity, now, pw); in dump()
1166 lastActivity = SystemClock.uptimeMillis(); in ServiceRecord()
DOomAdjuster.java2279 || now < (s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY)) { in computeOomAdjLSP()
2293 s.lastActivity + mConstants.MAX_SERVICE_INACTIVITY, now); in computeOomAdjLSP()
2766 if (now >= (cr.binding.service.lastActivity in computeServiceHostOomAdjLSP()
DActiveServices.java1191 r.lastActivity = SystemClock.uptimeMillis(); in startServiceInnerLocked()
4219 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()
4316 s.lastActivity = SystemClock.uptimeMillis(); in bindServiceLocked()
6024 r.restartTime = r.lastActivity = SystemClock.uptimeMillis(); in realStartServiceLocked()
7392 info.lastActivityTime = r.lastActivity; in makeRunningServiceInfoLocked()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java226 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() local
228 customIntent.filterEquals(lastActivity.getIntent())); in testCustomIntentPreservedOnRelaunch()