Searched refs:fgInteractionTime (Results 1 – 3 of 3) sorted by relevance
161 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local162 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() local173 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() local184 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 …]
386 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument387 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
1295 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument1296 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()1297 mWindowProcessController.setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()