Home
last modified time | relevance | path

Searched refs:Times (Results 1 – 25 of 196) sorted by relevance

12345678

/external/webrtc/webrtc/modules/pacing/
Dpacket_router_unittest.cc47 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F()
48 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); in TEST_F()
51 .Times(1) in TEST_F()
53 EXPECT_CALL(rtp_2, TimeToSendPacket(_, _, _, _)).Times(0); in TEST_F()
62 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F()
63 EXPECT_CALL(rtp_2, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F()
64 EXPECT_CALL(rtp_2, SSRC()).Times(1).WillOnce(Return(kSsrc2)); in TEST_F()
65 EXPECT_CALL(rtp_1, TimeToSendPacket(_, _, _, _)).Times(0); in TEST_F()
68 .Times(1) in TEST_F()
74 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F()
[all …]
Dpaced_sender_unittest.cc131 .Times(1) in SendAndExpectPacket()
168 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
176 .Times(1) in TEST_F()
217 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
222 .Times(3) in TEST_F()
280 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
289 .Times(1) in TEST_F()
372 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
379 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F()
404 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F()
[all …]
/external/openfst/src/test/
Dweight-tester.h69 CHECK(Times(w1, w2).Member()); in TestSemiring()
73 CHECK(ApproxEqual(Times(w1, Times(w2, w3)), Times(Times(w1, w2), w3))); in TestSemiring()
78 CHECK(Times(w1, Weight::One()) == w1); in TestSemiring()
79 CHECK(Times(Weight::One(), w1) == w1); in TestSemiring()
85 CHECK(!Times(w1, Weight::NoWeight()).Member()); in TestSemiring()
86 CHECK(!Times(Weight::NoWeight(), w1).Member()); in TestSemiring()
91 CHECK(ApproxEqual(Times(w1, w2), Times(w2, w1))); in TestSemiring()
94 CHECK(Times(w1, Weight::Zero()) == Weight::Zero()); in TestSemiring()
95 CHECK(Times(Weight::Zero(), w1) == Weight::Zero()); in TestSemiring()
104 CHECK(Power(w1, 3) == Times(w1, Times(w1, w1))); in TestSemiring()
[all …]
/external/webrtc/webrtc/video/
Dpayload_router_unittest.cc48 .Times(0); in TEST_F()
55 .Times(1); in TEST_F()
62 .Times(0); in TEST_F()
69 .Times(1); in TEST_F()
77 .Times(0); in TEST_F()
100 .Times(1); in TEST_F()
102 .Times(0); in TEST_F()
113 .Times(1); in TEST_F()
115 .Times(0); in TEST_F()
122 .Times(0); in TEST_F()
[all …]
Dcall_stats_unittest.cc52 EXPECT_CALL(stats_observer, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F()
58 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F()
72 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F()
77 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); in TEST_F()
83 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F()
88 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); in TEST_F()
111 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F()
112 EXPECT_CALL(stats_observer_2, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F()
120 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F()
121 EXPECT_CALL(stats_observer_2, OnRttUpdate(kRtt, kRtt)).Times(0); in TEST_F()
[all …]
Dvie_remb_unittest.cc59 .Times(1); in TEST_F()
64 .Times(1); in TEST_F()
84 .Times(1); in TEST_F()
91 .Times(1); in TEST_F()
110 .Times(1); in TEST_F()
118 .Times(1); in TEST_F()
141 .Times(1); in TEST_F()
146 .Times(0); in TEST_F()
151 .Times(0); in TEST_F()
175 .Times(1); in TEST_F()
[all …]
Dencoder_state_feedback_unittest.cc73 .Times(1); in TEST_F()
79 .Times(1); in TEST_F()
85 .Times(1); in TEST_F()
105 .Times(1); in TEST_F()
107 .Times(1); in TEST_F()
116 .Times(1); in TEST_F()
118 .Times(1); in TEST_F()
127 .Times(1); in TEST_F()
129 .Times(1); in TEST_F()
137 .Times(1); in TEST_F()
Doveruse_frame_detector_unittest.cc119 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F()
125 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F()
128 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(testing::AtLeast(1)); in TEST_F()
135 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(0); in TEST_F()
137 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(0); in TEST_F()
142 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(2); in TEST_F()
145 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(testing::AtLeast(1)); in TEST_F()
164 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(0); in TEST_F()
165 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(64); in TEST_F()
172 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F()
[all …]
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc198 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(0); in TEST_F()
199 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); in TEST_F()
207 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); in TEST_F()
208 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(3).WillRepeatedly(Return(true)); in TEST_F()
219 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); in TEST_F()
220 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); in TEST_F()
237 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); in TEST_F()
248 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); in TEST_F()
266 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2); in TEST_F()
268 .Times(2) in TEST_F()
[all …]
/external/webrtc/talk/app/webrtc/
Drtpsenderreceiver_unittest.cc160 .Times(1); in DestroyAudioRtpSender()
165 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, NULL)).Times(1); in DestroyVideoRtpSender()
166 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in DestroyVideoRtpSender()
344 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F()
359 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F()
376 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, nullptr)).Times(1); in TEST_F()
377 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in TEST_F()
394 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, nullptr)).Times(1); in TEST_F()
395 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in TEST_F()
408 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F()
[all …]
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc92 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
97 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
102 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(8); in TEST_F()
107 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
131 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
136 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
141 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
165 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(2); in TEST_F()
188 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(2); in TEST_F()
219 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_unittest.cc95 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(179))).Times(1); in TEST_F()
96 EXPECT_CALL(checker_, LevelChanged(_, Gt(179))).Times(AtLeast(1)); in TEST_F()
104 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(77))).Times(1); in TEST_F()
105 EXPECT_CALL(checker_, LevelChanged(_, Lt(77))).Times(AtLeast(1)); in TEST_F()
113 .Times(AtLeast(2)) in TEST_F()
120 .Times(AtLeast(2)) in TEST_F()
129 EXPECT_CALL(checker_, LevelChanged(_, _)).Times(0); in TEST_F()
135 .Times(AtLeast(2)) in TEST_F()
143 .Times(AtLeast(2)) in TEST_F()
152 .Times(AtLeast(0)); in TEST_F()
Dagc_manager_direct_unittest.cc225 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
232 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
237 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
242 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
249 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
257 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
262 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
277 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
290 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F()
377 EXPECT_CALL(*agc_, Reset()).Times(1); in TEST_F()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_signal_handler_unittest.cc36 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber()); in SetUp()
37 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber()); in SetUp()
74 .Times(1); in TEST_F()
86 EXPECT_CALL(sink, Handler(10, 20, 30.5)).Times(1); in TEST_F()
97 EXPECT_CALL(sink, Handler(std::string{"foo"}, std::string{"bar"})).Times(1); in TEST_F()
107 EXPECT_CALL(sink, Handler()).Times(1); in TEST_F()
118 EXPECT_CALL(sink, Handler()).Times(0); in TEST_F()
129 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F()
140 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F()
Dasync_event_sequencer_unittest.cc40 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F()
49 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F()
58 EXPECT_CALL(*this, HandleCompletion(false)).Times(1); in TEST_F()
69 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F()
80 EXPECT_CALL(*this, HandleCompletion(false)).Times(1); in TEST_F()
90 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_coding_robustness_unittest.cc86 .Times(1); in TEST_F()
93 .Times(1) in TEST_F()
135 EXPECT_CALL(request_callback_, ResendPackets(_, _)).Times(0); in TEST_F()
136 EXPECT_CALL(frame_type_callback_, RequestKeyFrame()).Times(1); in TEST_F()
155 EXPECT_CALL(decoder_, InitDecode(_, _)).Times(1); in TEST_F()
156 EXPECT_CALL(decoder_, Release()).Times(1); in TEST_F()
160 .Times(0); in TEST_F()
162 EXPECT_CALL(decoder_, Copy()).Times(0); in TEST_F()
163 EXPECT_CALL(decoderCopy_, Copy()).Times(0); in TEST_F()
170 .Times(1) in TEST_F()
[all …]
/external/libweave/src/notification/
Dxmpp_iq_stanza_handler_unittest.cc86 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
90 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
94 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
98 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
102 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
113 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); in TEST_F()
125 EXPECT_CALL(mock_xmpp_channel_, SendMessage(_)).Times(2); in TEST_F()
143 EXPECT_CALL(mock_xmpp_channel_, SendMessage(_)).Times(2); in TEST_F()
164 EXPECT_CALL(mock_xmpp_channel_, SendMessage(_)).Times(1); in TEST_F()
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc82 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST()
87 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST()
105 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST()
109 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST()
130 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST()
135 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST()
169 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in ProcessCallAfterAFewMs()
176 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in ProcessCallAfterAFewMs()
230 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST()
235 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST()
[all …]
/external/openfst/src/include/fst/
Dreweight.h85 arc.weight = Divide(Times(arc.weight, nextweight), weight, in Reweight()
88 arc.weight = Divide(Times(weight, arc.weight), nextweight, in Reweight()
96 fst->SetFinal(state, Times(weight, fst->Final(state))); in Reweight()
103 fst->SetFinal(state, Times(Weight::Zero(), fst->Final(state))); in Reweight()
116 arc.weight = Times(startweight, arc.weight); in Reweight()
118 arc.weight = Times( in Reweight()
124 fst->SetFinal(state, Times(startweight, fst->Final(state))); in Reweight()
126 fst->SetFinal(state, Times(Divide(Weight::One(), startweight, in Reweight()
Dprune.h75 Weight wx = Times(x < idistance_.size() ? idistance_[x] : Weight::Zero(), in operator()
77 Weight wy = Times(y < idistance_.size() ? idistance_[y] : Weight::Zero(), in operator()
136 Weight limit = Times((*fdistance)[fst->Start()], opts.weight_threshold); in Prune()
151 if (less(limit, Times(idistance[s], fst->Final(s)))) in Prune()
158 Weight weight = Times(Times(idistance[s], arc.weight), in Prune()
167 if (less(Times(idistance[s], arc.weight), idistance[arc.nextstate])) in Prune()
168 idistance[arc.nextstate] = Times(idistance[s], arc.weight); in Prune()
257 Weight limit = Times(s < fdistance->size() ? (*fdistance)[s] : Weight::Zero(), in Prune()
277 if (!less(limit, Times(idistance[s], ifst.Final(s)))) in Prune()
284 Weight weight = Times(Times(idistance[s], arc.weight), in Prune()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl_unittest.cc41 EXPECT_CALL(mock, InitializeLocked()).Times(1); in TEST()
49 .Times(0); in TEST()
56 .Times(1); in TEST()
62 .Times(2); in TEST()
72 .Times(0); in TEST()
/external/v8/test/cctest/
Dtest-diy-fp.cc56 DiyFp product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
66 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
73 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
79 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
89 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor_unittest.cc56 EXPECT_CALL(encoder_mock_, InitEncode(_, _, _)).Times(1); in ExpectInit()
58 .Times(AtLeast(1)); in ExpectInit()
59 EXPECT_CALL(decoder_mock_, InitDecode(_, _)).Times(1); in ExpectInit()
61 .Times(AtLeast(1)); in ExpectInit()
77 EXPECT_CALL(encoder_mock_, Encode(_, _, _)).Times(1); in TEST_F()
/external/google-breakpad/src/testing/test/
Dgmock-spec-builders_test.cc126 .Times(AnyNumber()); in TEST()
309 .Times(0); in TEST()
312 .Times(0); in TEST()
332 .Times(1) in TEST()
367 .Times(1) in TEST()
368 .Times(2); in TEST()
382 .Times(1); in TEST()
416 .Times(AnyNumber()); in TEST()
468 .Times(AnyNumber()) in TEST()
573 .Times(0); in TEST()
[all …]
/external/google-breakpad/src/common/linux/
Dgoogle_crashdump_uploader_test.cc63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); in TEST_F()
87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
90 SendRequest("http://foo.com",_,_,_,_)).Times(1).WillOnce(Return(true)); in TEST_F()
109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
110 EXPECT_CALL(m, SendRequest(_,_,_,_,_)).Times(0); in TEST_F()

12345678