Searched refs:durationTimeMs (Results 1 – 4 of 4) sorted by relevance
150 public boolean addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() argument153 || watchStartTimeMs + durationTimeMs > System.currentTimeMillis()) { in addWatchLog()158 new WatchedProgram(null, watchStartTimeMs, watchStartTimeMs + durationTimeMs)); in addWatchLog()
72 public void addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() argument74 mChannelRecordSortedMap.addWatchLog(channelId, watchStartTimeMs, durationTimeMs)); in addWatchLog()
1829 final long durationTimeMs = config.minMetricsSessionDurationMs; in testApfSessionInfoMetrics_LegacyApfFilter() local1875 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testApfSessionInfoMetrics_LegacyApfFilter()1896 (int) (durationTimeMs / DateUtils.SECOND_IN_MILLIS)); in testApfSessionInfoMetrics_LegacyApfFilter()1907 final long durationTimeMs = config.minMetricsSessionDurationMs; in testIpClientRaInfoMetrics_LegacyApfFilter() local1963 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testIpClientRaInfoMetrics_LegacyApfFilter()1985 final long durationTimeMs = config.minMetricsSessionDurationMs; in testNoMetricsWrittenForShortDuration_LegacyApfFilter() local1990 doReturn(startTimeMs + durationTimeMs - 1).when(mClock).elapsedRealtime(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()2001 doReturn(startTimeMs + durationTimeMs).when(clock).elapsedRealtime(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
3196 final long durationTimeMs = config.minMetricsSessionDurationMs; in testApfSessionInfoMetrics() local3242 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testApfSessionInfoMetrics()3263 (int) (durationTimeMs / DateUtils.SECOND_IN_MILLIS)); in testApfSessionInfoMetrics()3274 final long durationTimeMs = config.minMetricsSessionDurationMs; in testIpClientRaInfoMetrics() local3330 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testIpClientRaInfoMetrics()3348 final long durationTimeMs = config.minMetricsSessionDurationMs; in verifyNoMetricsWrittenForShortDuration() local3353 doReturn(startTimeMs + durationTimeMs - 1).when(mClock).elapsedRealtime(); in verifyNoMetricsWrittenForShortDuration()3364 doReturn(startTimeMs + durationTimeMs).when(clock).elapsedRealtime(); in verifyNoMetricsWrittenForShortDuration()