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 …]
334 public void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument335 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()
1140 void setFgInteractionTime(long fgInteractionTime) { in setFgInteractionTime() argument1141 mFgInteractionTime = fgInteractionTime; in setFgInteractionTime()1142 mWindowProcessController.setFgInteractionTime(fgInteractionTime); in setFgInteractionTime()