Searched refs:fgInteractionTime (Results 1 – 3 of 3) sorted by relevance
202 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local203 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()207 assertProcessRecordState(fgInteractionTime, false, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()213 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() local214 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()218 assertProcessRecordState(fgInteractionTime, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()224 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction() local225 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()230 assertProcessRecordState(fgInteractionTime, true, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()299 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument[all …]
805 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument806 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()807 mApp.getWindowProcessController().setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()
514 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument515 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()