Home
last modified time | relevance | path

Searched refs:fgInteractionTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java150 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local
151 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()
155 assertProcessRecordState(fgInteractionTime, false, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()
161 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() local
162 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()
166 assertProcessRecordState(fgInteractionTime, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()
172 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction() local
173 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
178 assertProcessRecordState(fgInteractionTime, true, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
246 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java334 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument
335 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1140 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument
1141 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
1142 mWindowProcessController.setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()