/external/webrtc/webrtc/modules/pacing/ |
H A D | packet_router_unittest.cc | 47 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(true)); 48 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); 49 EXPECT_CALL(rtp_1, TimeToSendPacket(kSsrc1, sequence_number, timestamp, 53 EXPECT_CALL(rtp_2, TimeToSendPacket(_, _, _, _)).Times(0); 62 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); 63 EXPECT_CALL(rtp_2, SendingMedia()).Times(1).WillOnce(Return(true)); 64 EXPECT_CALL(rtp_2, SSRC()).Times(1).WillOnce(Return(kSsrc2)); 65 EXPECT_CALL(rtp_1, TimeToSendPacket(_, _, _, _)).Times(0); 66 EXPECT_CALL(rtp_2, TimeToSendPacket(kSsrc2, sequence_number, timestamp, 74 EXPECT_CALL(rtp_ [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
H A D | codec_manager_unittest.cc | 26 EXPECT_CALL(*enc, SampleRateHz()).WillRepeatedly(Return(8000)); 27 EXPECT_CALL(*enc, NumChannels()).WillRepeatedly(Return(1)); 28 EXPECT_CALL(*enc, Max10MsFramesInAPacket()).WillRepeatedly(Return(1)); 29 EXPECT_CALL(*enc, Die()); 40 EXPECT_CALL(*enc0, SetFec(false)).WillOnce(Return(true)); 41 EXPECT_CALL(*enc0, Mark("A")); 42 EXPECT_CALL(*enc0, SetFec(true)).WillOnce(Return(true)); 43 EXPECT_CALL(*enc1, SetFec(true)).WillOnce(Return(true)); 44 EXPECT_CALL(*enc1, SetFec(false)).WillOnce(Return(true)); 45 EXPECT_CALL(*enc [all...] |
/external/bsdiff/ |
H A D | extents_file_unittest.cc | 52 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(true)); 68 EXPECT_CALL(*mock_file_, Close()).WillOnce(Return(false)); 95 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); 96 EXPECT_CALL(*mock_file_, Read(_, _, _)).WillOnce(Return(false)); 116 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); 117 EXPECT_CALL(*mock_file_, Read(buf, 5, _)).WillOnce(SucceedIO()); 118 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); 119 EXPECT_CALL(*mock_file_, Read(buf + 5, 7, _)).WillOnce(SucceedIO()); 120 EXPECT_CALL(*mock_file_, Seek(27)).WillOnce(Return(true)); 121 EXPECT_CALL(*mock_file [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/ |
H A D | agc_manager_direct_unittest.cc | 59 EXPECT_CALL(*agc_, Reset()); 60 EXPECT_CALL(*agc_, GetRmsErrorDb(_)).WillOnce(Return(false)); 71 EXPECT_CALL(*agc_, Reset()); 75 EXPECT_CALL(gctrl_, set_mode(GainControl::kFixedDigital)); 76 EXPECT_CALL(gctrl_, set_target_level_dbfs(2)); 77 EXPECT_CALL(gctrl_, set_compression_gain_db(7)); 78 EXPECT_CALL(gctrl_, enable_limiter(true)); 83 EXPECT_CALL(*agc_, Process(_, _, _)).WillOnce(Return(0)); 110 EXPECT_CALL(*agc_, GetRmsErrorDb(_)) 115 EXPECT_CALL(*agc [all...] |
/external/libbrillo/brillo/http/ |
H A D | http_transport_curl_unittest.cc | 35 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_)); 36 EXPECT_CALL(*curl_api_, EasySetOptStr(handle_, CURLOPT_CAPATH, _)) 38 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1)) 40 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYHOST, 2)) 42 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) 58 EXPECT_CALL(*curl_api_, 61 EXPECT_CALL(*curl_api_, 64 EXPECT_CALL(*curl_api_, 67 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_HTTPGET, 1)) 77 EXPECT_CALL(*curl_api [all...] |
/external/gmock/test/ |
H A D | gmock_output_test_.cc | 71 EXPECT_CALL(foo_, Bar2(0, _)); 80 EXPECT_CALL(foo_, Bar3(0, _)); 87 EXPECT_CALL(foo_, Bar2(_, _)) 91 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. 95 EXPECT_CALL(foo_, Bar2(0, _)); 102 EXPECT_CALL(foo_, Bar3(0, _)); 109 EXPECT_CALL(foo_, Bar2(0, _)); 116 EXPECT_CALL(foo_, Bar3(0, _)); 131 EXPECT_CALL(foo_, Bar2(_, _)) 133 EXPECT_CALL(foo [all...] |
H A D | gmock-generated-function-mockers_test.cc | 181 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100))); 187 EXPECT_CALL(mock_foo_, Nullary()) 197 EXPECT_CALL(mock_foo_, Unary(Eq(2))) 207 EXPECT_CALL(mock_foo_, Binary(2, _)) 215 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), 225 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a))) 234 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a))) 243 EXPECT_CALL(mock_foo_, TakesConst(Lt(10))) 252 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber()) 254 EXPECT_CALL(mock_foo [all...] |
/external/google-breakpad/src/testing/test/ |
H A D | gmock_output_test_.cc | 70 EXPECT_CALL(foo_, Bar2(0, _)); 79 EXPECT_CALL(foo_, Bar3(0, _)); 86 EXPECT_CALL(foo_, Bar2(_, _)) 90 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. 94 EXPECT_CALL(foo_, Bar2(0, _)); 101 EXPECT_CALL(foo_, Bar3(0, _)); 108 EXPECT_CALL(foo_, Bar2(0, _)); 115 EXPECT_CALL(foo_, Bar3(0, _)); 130 EXPECT_CALL(foo_, Bar2(_, _)) 132 EXPECT_CALL(foo [all...] |
H A D | gmock-spec-builders_test.cc | 125 EXPECT_CALL(incomplete, ByRefFunc(_)) 171 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro 210 EXPECT_CALL(cc, Method()); 217 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); 283 // Tests that EXPECT_CALL evaluates its arguments exactly once as 289 EXPECT_CALL(*pa++, DoA(_)); 298 EXPECT_CALL(a, DoA(n++)); 303 // Tests that the syntax of EXPECT_CALL() is enforced at run time. 308 EXPECT_CALL(a, DoA(5)) 310 EXPECT_CALL( [all...] |
H A D | gmock-generated-function-mockers_test.cc | 169 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100))); 175 EXPECT_CALL(mock_foo_, Nullary()) 185 EXPECT_CALL(mock_foo_, Unary(Eq(2))) 195 EXPECT_CALL(mock_foo_, Binary(2, _)) 203 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), 213 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a))) 222 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a))) 231 EXPECT_CALL(mock_foo_, TakesConst(Lt(10))) 240 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber()) 242 EXPECT_CALL(mock_foo [all...] |
/external/libweave/src/privet/ |
H A D | mock_delegates.h | 61 EXPECT_CALL(*this, GetHttpEnpoint()) 63 EXPECT_CALL(*this, GetHttpsEnpoint()) 98 EXPECT_CALL(*this, CreateAccessToken(_, _, _, _, _, _, _)) 104 EXPECT_CALL(*this, ClaimRootClientAuthToken(_)) 107 EXPECT_CALL(*this, ConfirmClientAuthToken("DerivedClientAuthToken", _)) 110 EXPECT_CALL(*this, ParseAccessToken(_, _, _)) 118 EXPECT_CALL(*this, GetPairingTypes()) 123 EXPECT_CALL(*this, GetCryptoTypes()) 127 EXPECT_CALL(*this, GetAuthTypes()) 132 EXPECT_CALL(*thi [all...] |
/external/libbrillo/brillo/streams/ |
H A D | memory_containers_unittest.cc | 69 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 70 EXPECT_CALL(container_, GetReadOnlyBuffer(10, _)) 72 EXPECT_CALL(container_, 85 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 86 EXPECT_CALL(container_, GetReadOnlyBuffer(80, _)) 88 EXPECT_CALL(container_, 97 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 110 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); 111 EXPECT_CALL(container_, GetReadOnlyBuffer(0, _)) 127 EXPECT_CALL(container [all...] |
H A D | input_stream_set_unittest.cc | 69 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 70 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); 74 EXPECT_CALL(*itf1_, ReadNonBlocking(_, _, _, _, _)) 76 EXPECT_CALL(*itf2_, ReadNonBlocking(_, _, _, _, _)).Times(0); 83 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 84 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); 87 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(false)); 90 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); 91 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(false)); 96 EXPECT_CALL(*itf1 [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | comfort_noise_unittest.cc | 26 EXPECT_CALL(db, Die()); // Called when |db| goes out of scope.
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
H A D | serverpairingsessiontest.cc | 71 EXPECT_CALL(listener_, OnSessionCreated()); 72 EXPECT_CALL(wire_, GetNextMessage()); 92 EXPECT_CALL(wire_, GetNextMessage()); 100 EXPECT_CALL(wire_, SendPairingRequestAckMessage(_)); 101 EXPECT_CALL(wire_, GetNextMessage()); 110 EXPECT_CALL(wire_, SendOptionsMessage(_)); 111 EXPECT_CALL(wire_, GetNextMessage()); 125 EXPECT_CALL(wire_, SendConfigurationAckMessage(_)); 127 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(5, 0x5))); 128 EXPECT_CALL(listener [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/test/ |
H A D | videoprocessor_unittest.cc | 56 EXPECT_CALL(encoder_mock_, InitEncode(_, _, _)).Times(1); 57 EXPECT_CALL(encoder_mock_, RegisterEncodeCompleteCallback(_)) 59 EXPECT_CALL(decoder_mock_, InitDecode(_, _)).Times(1); 60 EXPECT_CALL(decoder_mock_, RegisterDecodeCompleteCallback(_)) 62 EXPECT_CALL(frame_reader_mock_, NumberOfFrames()).WillOnce(Return(1)); 63 EXPECT_CALL(frame_reader_mock_, FrameLength()).WillOnce(Return(152064)); 77 EXPECT_CALL(encoder_mock_, Encode(_, _, _)).Times(1); 78 EXPECT_CALL(frame_reader_mock_, ReadFrame(_)).WillOnce(Return(true));
|
/external/webrtc/talk/app/webrtc/ |
H A D | rtpsenderreceiver_unittest.cc | 140 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, true, _, _)); 149 EXPECT_CALL(video_provider_, 152 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, true, _)); 159 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)) 165 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, NULL)).Times(1); 166 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); 174 EXPECT_CALL(audio_provider_, SetAudioPlayout(kAudioSsrc, true)); 181 EXPECT_CALL(video_provider_, 189 EXPECT_CALL(audio_provider_, SetAudioPlayout(kAudioSsrc, false)); 194 EXPECT_CALL(video_provider [all...] |
/external/google-breakpad/src/common/dwarf/ |
H A D | dwarf2diehandler_unittest.cc | 108 EXPECT_CALL(mock_root_handler, 129 EXPECT_CALL(mock_root_handler, 134 EXPECT_CALL(mock_root_handler, 157 EXPECT_CALL(mock_root_handler, 161 EXPECT_CALL(mock_root_handler, 165 EXPECT_CALL(mock_root_handler, EndAttributes()) 167 EXPECT_CALL(mock_root_handler, Finish()) 197 EXPECT_CALL(mock_root_handler, 203 EXPECT_CALL(mock_root_handler, 208 EXPECT_CALL(mock_root_handle [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
H A D | process_thread_impl_unittest.cc | 78 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 79 EXPECT_CALL(module, Process()) 82 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); 87 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); 98 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 99 EXPECT_CALL(module, Process()) 105 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); 109 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); 121 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); 122 EXPECT_CALL(modul [all...] |
/external/webrtc/webrtc/video/ |
H A D | payload_router_unittest.cc | 46 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 53 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 60 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 67 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 75 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 98 EXPECT_CALL(rtp_1, SendOutgoingData(frame_type_1, payload_type_1, 0, 0, _, 1, 101 EXPECT_CALL(rtp_2, SendOutgoingData(_, _, _, _, _, _, _, _)) 111 EXPECT_CALL(rtp_2, SendOutgoingData(frame_type_2, payload_type_2, 0, 0, _, 1, 114 EXPECT_CALL(rtp_1, SendOutgoingData(_, _, _, _, _, _, _, _)) 121 EXPECT_CALL(rtp_ [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
H A D | audio_encoder_cng_unittest.cc | 43 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1)); 51 EXPECT_CALL(*mock_vad_, Die()).Times(1); 56 EXPECT_CALL(mock_encoder_, Die()).Times(1); 64 EXPECT_CALL(mock_encoder_, SampleRateHz()) 69 EXPECT_CALL(mock_encoder_, Max10MsFramesInAPacket()).WillOnce(Return(1u)); 70 EXPECT_CALL(mock_encoder_, MaxEncodedBytes()) 92 EXPECT_CALL(mock_encoder_, EncodeInternal(_, _, _, _)) 96 EXPECT_CALL(mock_encoder_, EncodeInternal(_, _, _, _)) 104 EXPECT_CALL(mock_encoder_, Num10MsFramesInNextPacket()) 107 EXPECT_CALL(*mock_vad [all...] |
/external/libweave/src/notification/ |
H A D | xmpp_iq_stanza_handler_unittest.cc | 86 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 90 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 94 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 98 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 102 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 113 EXPECT_CALL(mock_xmpp_channel_, SendMessage(expected_msg)).Times(1); 125 EXPECT_CALL(mock_xmpp_channel_, SendMessage(_)).Times(2); 131 EXPECT_CALL(receiver_, OnResponse(1, "foo")); 135 EXPECT_CALL(receiver_, OnResponse(2, "bar")); 143 EXPECT_CALL(mock_xmpp_channel [all...] |
/external/v8/test/unittests/libplatform/ |
H A D | default-platform-unittest.cc | 47 EXPECT_CALL(*task, Run()); 48 EXPECT_CALL(*task, Die()); 71 EXPECT_CALL(*task1, Run()); 72 EXPECT_CALL(*task1, Die()); 78 EXPECT_CALL(*task2, Run()); 79 EXPECT_CALL(*task2, Die()); 100 EXPECT_CALL(*task1, Run()); 101 EXPECT_CALL(*task1, Die()); 106 EXPECT_CALL(*task2, Run()); 107 EXPECT_CALL(*task [all...] |
/external/webrtc/webrtc/modules/audio_processing/ |
H A D | audio_processing_impl_unittest.cc | 41 EXPECT_CALL(mock, InitializeLocked()).Times(1); 48 EXPECT_CALL(mock, InitializeLocked()) 55 EXPECT_CALL(mock, InitializeLocked()) 61 EXPECT_CALL(mock, InitializeLocked()) 71 EXPECT_CALL(mock, InitializeLocked())
|
/external/google-breakpad/src/common/ |
H A D | stabs_reader_unittest.cc | 293 EXPECT_CALL(mock_handler, 297 EXPECT_CALL(mock_handler, StartFunction(StrEq("fun1"), 0xa049f4b1U)) 299 EXPECT_CALL(mock_handler, 302 EXPECT_CALL(mock_handler, 305 EXPECT_CALL(mock_handler, EndFunction(0xbf27cf93U)) 307 EXPECT_CALL(mock_handler, StartFunction(StrEq("fun2"), 0xbf27cf93U)) 309 EXPECT_CALL(mock_handler, 312 EXPECT_CALL(mock_handler, 315 EXPECT_CALL(mock_handler, EndFunction(0xd04b7448U)) 317 EXPECT_CALL(mock_handle [all...] |