Searched refs:fgInteractionTime (Results 1 – 3 of 3) sorted by relevance
216 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local217 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()221 assertProcessRecordState(fgInteractionTime, false, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()227 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() local228 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()232 assertProcessRecordState(fgInteractionTime, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()238 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction() local239 mProcessRecord.mState.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()244 assertProcessRecordState(fgInteractionTime, true, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()313 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument[all …]
739 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument740 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()741 mApp.getWindowProcessController().setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()
417 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument418 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()