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.java124 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
134 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()
185 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
223 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateImportantFG_PreviousInteraction()
233 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateImportantFG_PastUsageInterval()
257 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument
262 reportedInteraction, mProcessRecord.reportedInteraction); in assertProcessRecordState()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java2358 } else if (app.reportedInteraction && (nowElapsed - app.getInteractionEventTime()) in applyOomAdjLocked()
2363 } else if (!app.reportedInteraction && (nowElapsed - app.getFgInteractionTime()) in applyOomAdjLocked()
2465 && (!app.reportedInteraction || (nowElapsed - app.getInteractionEventTime()) in maybeUpdateUsageStatsLocked()
2476 app.reportedInteraction = isInteraction; in maybeUpdateUsageStatsLocked()
DProcessRecord.java222 boolean reportedInteraction;// Whether we have told usage stats about it being an interaction field in ProcessRecord
498 if (reportedInteraction || mFgInteractionTime != 0) { in dump()
500 pw.print(reportedInteraction); in dump()