Home
last modified time | relevance | path

Searched refs:durationTimeMs (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java150 public boolean addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() argument
153 || watchStartTimeMs + durationTimeMs > System.currentTimeMillis()) { in addWatchLog()
158 new WatchedProgram(null, watchStartTimeMs, watchStartTimeMs + durationTimeMs)); in addWatchLog()
DEvaluatorTestCase.java72 public void addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() argument
74 mChannelRecordSortedMap.addWatchLog(channelId, watchStartTimeMs, durationTimeMs)); in addWatchLog()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DLegacyApfTest.java1829 final long durationTimeMs = config.minMetricsSessionDurationMs; in testApfSessionInfoMetrics_LegacyApfFilter() local
1875 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() local
1963 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testIpClientRaInfoMetrics_LegacyApfFilter()
1985 final long durationTimeMs = config.minMetricsSessionDurationMs; in testNoMetricsWrittenForShortDuration_LegacyApfFilter() local
1990 doReturn(startTimeMs + durationTimeMs - 1).when(mClock).elapsedRealtime(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
2001 doReturn(startTimeMs + durationTimeMs).when(clock).elapsedRealtime(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
DApfTest.java3196 final long durationTimeMs = config.minMetricsSessionDurationMs; in testApfSessionInfoMetrics() local
3242 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() local
3330 doReturn(startTimeMs + durationTimeMs).when(mClock).elapsedRealtime(); in testIpClientRaInfoMetrics()
3348 final long durationTimeMs = config.minMetricsSessionDurationMs; in verifyNoMetricsWrittenForShortDuration() local
3353 doReturn(startTimeMs + durationTimeMs - 1).when(mClock).elapsedRealtime(); in verifyNoMetricsWrittenForShortDuration()
3364 doReturn(startTimeMs + durationTimeMs).when(clock).elapsedRealtime(); in verifyNoMetricsWrittenForShortDuration()