Searched refs:fgInteractionTime (Results 1 – 3 of 3) sorted by relevance
150 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() local151 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()155 assertProcessRecordState(fgInteractionTime, false, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()161 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() local162 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()166 assertProcessRecordState(fgInteractionTime, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()172 final long fgInteractionTime = 1000L; in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction() local173 mProcessRecord.setFgInteractionTime(fgInteractionTime); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()178 assertProcessRecordState(fgInteractionTime, true, ZERO); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()246 private void assertProcessRecordState(long fgInteractionTime, boolean reportedInteraction, in assertProcessRecordState() argument[all …]
341 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument342 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
1143 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument1144 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()1145 mWindowProcessController.setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()