Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java113 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
123 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()
174 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
212 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateImportantFG_PreviousInteraction()
222 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateImportantFG_PastUsageInterval()
246 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument
251 reportedInteraction, mProcessRecord.reportedInteraction); in assertProcessRecordState()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1922 } else if (app.reportedInteraction && (nowElapsed - app.getInteractionEventTime()) in applyOomAdjLocked()
1927 } else if (!app.reportedInteraction && (nowElapsed - app.getFgInteractionTime()) in applyOomAdjLocked()
1991 && (!app.reportedInteraction || (nowElapsed - app.getInteractionEventTime()) in maybeUpdateUsageStatsLocked()
2002 app.reportedInteraction = isInteraction; in maybeUpdateUsageStatsLocked()
DProcessRecord.java207 boolean reportedInteraction;// Whether we have told usage stats about it being an interaction field in ProcessRecord
434 if (reportedInteraction || mFgInteractionTime != 0) { in dump()
436 pw.print(reportedInteraction); in dump()