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.java161 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local
162 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()
166 assertProcessRecordState(fgInteractionTime, false, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()
172 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() local
173 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()
177 assertProcessRecordState(fgInteractionTime, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()
183 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction() local
184 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
189 assertProcessRecordState(fgInteractionTime, true, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
257 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java386 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument
387 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1295 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument
1296 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
1297 mWindowProcessController.setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()