Home
last modified time | relevance | path

Searched refs:expected_time (Results 1 – 12 of 12) sorted by relevance

/external/openscreen/cast/streaming/
Dsender_report_unittest.cc176 const Clock::time_point expected_time = in TEST_F() local
179 ToStatusReportId(ntp_converter().ToNtpTimestamp(expected_time)); in TEST_F()
183 const auto absolute_difference = (expected_time < report_time) in TEST_F()
184 ? (report_time - expected_time) in TEST_F()
185 : (expected_time - report_time); in TEST_F()
187 << expected_time << " vs " << report_time; in TEST_F()
Dsender_packet_router_unittest.cc480 Clock::time_point expected_time; in TEST_F() local
484 expected_time = start_time + burst_number * kBurstInterval; in TEST_F()
485 EXPECT_EQ(expected_time, ParseTimestamp(packets_sent[packet_idx++])); in TEST_F()
486 EXPECT_EQ(expected_time, ParseTimestamp(packets_sent[packet_idx++])); in TEST_F()
487 EXPECT_EQ(expected_time, ParseTimestamp(packets_sent[packet_idx++])); in TEST_F()
490 expected_time += kBurstInterval; in TEST_F()
491 EXPECT_EQ(expected_time, ParseTimestamp(packets_sent[packet_idx++])); in TEST_F()
492 EXPECT_EQ(expected_time, ParseTimestamp(packets_sent[packet_idx++])); in TEST_F()
/external/toolchain-utils/afdo_tools/
Dupdate_kernel_afdo46 expected_time=$(date +%s -d 00:00:00)
48 expected_time=$(date +%s -d "last Monday")
75 if [ $file_time_unix -lt $expected_time ]
77 expected=$(env TZ=UTC date +%Y-%m-%dT%H:%M:%SZ -d @$expected_time)
/external/python/cpython3/Lib/test/
Dtest_ossaudiodev.py75 expected_time = float(len(data)) / (ssize/8) / nchannels / rate
79 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
86 percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
89 (elapsed_time, expected_time))
/external/python/cpython2/Lib/test/
Dtest_ossaudiodev.py75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
79 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
86 percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc344 double expected_time = in StreamingTrickleArgs() local
346 if (expected_time > 2.0) continue; in StreamingTrickleArgs()
446 double expected_time = in UnaryTrickleArgs() local
448 if (expected_time > 2.0) continue; in UnaryTrickleArgs()
/external/markdown/
Dtest-markdown.py280 expected_time, expected_mem = self.saved_benchmarks.get(test, ("na", "na"))
282 self.html_diff_file.write(get_benchmark_html(conversion_time, expected_time))
/external/libhevc/test/decoder/
Dmain.c1512 UWORD32 expected_time; in display_thread() local
1525 expected_time = 0; in display_thread()
1567 expected_time += frm_duration; in display_thread()
1571 if(current_time < expected_time) in display_thread()
1572 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1574 expected_time += (current_time - expected_time); in display_thread()
/external/libmpeg2/test/decoder/
Dmain.c1544 UWORD32 expected_time; in display_thread() local
1558 expected_time = 0; in display_thread()
1600 expected_time += frm_duration; in display_thread()
1604 if(current_time < expected_time) in display_thread()
1605 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1607 expected_time += (current_time - expected_time); in display_thread()
/external/libavc/test/decoder/
Dmain.c1531 UWORD32 expected_time; in display_thread() local
1544 expected_time = 0; in display_thread()
1586 expected_time += frm_duration; in display_thread()
1590 if(current_time < expected_time) in display_thread()
1591 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1593 expected_time += (current_time - expected_time); in display_thread()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc361 int64_t expected_time = num_samples * kTooSmallDelta; in TEST() local
364 EXPECT_NEAR(expected_time, accumulated_delta, in TEST()
/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl_unittest.cc125 TimeTicks expected_time, in VerifyTimeAndTaskEnvironmentAndSignalEvent() argument
128 EXPECT_LE(expected_time, TimeTicks::Now()); in VerifyTimeAndTaskEnvironmentAndSignalEvent()