Home
last modified time | relevance | path

Searched refs:MOCK_METHOD1 (Results 1 – 25 of 115) sorted by relevance

12345

/external/webrtc/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h40 MOCK_METHOD1(RegisterDefaultModule,
48 MOCK_METHOD1(RegisterSyncModule,
54 MOCK_METHOD1(SetRemoteSSRC, void(const uint32_t ssrc));
62 MOCK_METHOD1(RegisterSendTransport,
64 MOCK_METHOD1(SetMaxTransferUnit,
73 MOCK_METHOD1(RegisterSendPayload,
75 MOCK_METHOD1(RegisterSendPayload,
77 MOCK_METHOD1(DeRegisterSendPayload,
81 MOCK_METHOD1(DeregisterSendRtpHeaderExtension,
85 MOCK_METHOD1(SetStartTimestamp, void(const uint32_t timestamp));
[all …]
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h21 MOCK_METHOD1(Enable,
25 MOCK_METHOD1(enable_drift_compensation,
29 MOCK_METHOD1(set_stream_drift_samples,
33 MOCK_METHOD1(set_suppression_level,
39 MOCK_METHOD1(enable_metrics,
43 MOCK_METHOD1(GetMetrics,
45 MOCK_METHOD1(enable_delay_logging,
59 MOCK_METHOD1(Enable,
63 MOCK_METHOD1(set_routing_mode,
67 MOCK_METHOD1(enable_comfort_noise,
[all …]
/external/webrtc/webrtc/test/
Dmock_voice_engine.h43 MOCK_METHOD1(ChannelProxyFactory, voe::ChannelProxy*(int channel_id));
55 MOCK_METHOD1(SetAgcConfig, int(AgcConfig config));
56 MOCK_METHOD1(GetAgcConfig, int(AgcConfig& config));
59 MOCK_METHOD1(EnableDriftCompensation, int(bool enable));
61 MOCK_METHOD1(SetDelayOffsetMs, void(int offset));
65 MOCK_METHOD1(EnableHighPassFilter, int(bool enable));
75 MOCK_METHOD1(DeRegisterRxVadObserver, int(int channel));
76 MOCK_METHOD1(VoiceActivityIndicator, int(int channel));
77 MOCK_METHOD1(SetEcMetricsStatus, int(bool enable));
78 MOCK_METHOD1(GetEcMetricsStatus, int(bool& enabled));
[all …]
Dmock_voe_channel_proxy.h23 MOCK_METHOD1(SetRTCPStatus, void(bool enable));
24 MOCK_METHOD1(SetLocalSSRC, void(uint32_t ssrc));
25 MOCK_METHOD1(SetRTCP_CNAME, void(const std::string& c_name));
28 MOCK_METHOD1(EnableSendTransportSequenceNumber, void(int id));
41 MOCK_METHOD1(SetSendTelephoneEventPayloadType, bool(int payload_type));
/external/libbrillo/brillo/
Dprocess_mock.h22 MOCK_METHOD1(AddArg, void(const std::string& arg));
23 MOCK_METHOD1(RedirectInput, void(const std::string& input_file));
24 MOCK_METHOD1(RedirectOutput, void(const std::string& output_file));
27 MOCK_METHOD1(SetUid, void(uid_t));
28 MOCK_METHOD1(SetGid, void(gid_t));
29 MOCK_METHOD1(SetCapabilities, void(uint64_t capmask));
30 MOCK_METHOD1(ApplySyscallFilter, void(const std::string& path));
32 MOCK_METHOD1(SetInheritParentSignalMask, void(bool));
33 MOCK_METHOD1(SetPreExecCallback, void(const PreExecCallback&));
34 MOCK_METHOD1(SetSearchPath, void(bool));
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h24 MOCK_METHOD1(Mark, void(std::string desc));
39 MOCK_METHOD1(SetFec, bool(bool enable));
40 MOCK_METHOD1(SetDtx, bool(bool enable));
41 MOCK_METHOD1(SetApplication, bool(Application application));
42 MOCK_METHOD1(SetMaxPlaybackRate, void(int frequency_hz));
43 MOCK_METHOD1(SetProjectedPacketLossRate, void(double fraction));
44 MOCK_METHOD1(SetTargetBitrate, void(int target_bps));
45 MOCK_METHOD1(SetMaxBitrate, void(int max_bps));
46 MOCK_METHOD1(SetMaxPayloadSize, void(int max_payload_size_bytes));
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_delay_manager.h31 MOCK_METHOD1(CalculateTargetLevel,
33 MOCK_METHOD1(SetPacketAudioLength,
41 MOCK_METHOD1(UpdateCounters,
49 MOCK_METHOD1(LastDecoderType,
51 MOCK_METHOD1(set_extra_delay_ms,
55 MOCK_METHOD1(set_streaming_mode,
59 MOCK_METHOD1(set_last_pack_cng_or_dtmf,
Dmock_audio_vector.h26 MOCK_METHOD1(PushFront,
30 MOCK_METHOD1(PushBack,
34 MOCK_METHOD1(PopFront,
36 MOCK_METHOD1(PopBack,
38 MOCK_METHOD1(Extend,
Dmock_packet_buffer.h30 MOCK_METHOD1(InsertPacket,
43 MOCK_METHOD1(GetNextPacket,
49 MOCK_METHOD1(DiscardAllOldPackets,
53 MOCK_METHOD1(IncrementWaitingTimes,
Dmock_decoder_database.h39 MOCK_METHOD1(Remove,
45 MOCK_METHOD1(GetDecoder,
59 MOCK_METHOD1(SetActiveCngDecoder,
/external/perfetto/src/profiling/memory/
Dheapprofd_producer_unittest.cc38 MOCK_METHOD1(UnregisterDataSource, void(const std::string&));
39 MOCK_METHOD1(NotifyFlushComplete, void(FlushRequestID));
40 MOCK_METHOD1(NotifyDataSourceStarted, void(DataSourceInstanceID));
41 MOCK_METHOD1(NotifyDataSourceStopped, void(DataSourceInstanceID));
45 MOCK_METHOD1(CreateTraceWriter, std::unique_ptr<TraceWriter>(BufferID));
47 MOCK_METHOD1(ActivateTriggers, void(const std::vector<std::string>&));
49 MOCK_METHOD1(RegisterDataSource, void(const DataSourceDescriptor&));
52 MOCK_METHOD1(UnregisterTraceWriter, void(uint32_t));
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_mock_objects.h24 MOCK_METHOD1(Start, void(Callback* callback));
25 MOCK_METHOD1(Capture, void(const DesktopRegion& region));
26 MOCK_METHOD1(GetScreenList, bool(ScreenList* screens));
27 MOCK_METHOD1(SelectScreen, bool(ScreenId id));
38 MOCK_METHOD1(CreateSharedMemory, SharedMemory*(size_t));
39 MOCK_METHOD1(OnCaptureCompleted, void(DesktopFrame*));
/external/webrtc/webrtc/modules/video_coding/codecs/interface/mock/
Dmock_video_codec_interface.h44 MOCK_METHOD1(RegisterEncodeCompleteCallback,
50 MOCK_METHOD1(SetPeriodicKeyFrames, int32_t(bool enable));
55 MOCK_METHOD1(Decoded, int32_t(const VideoFrame& decodedImage));
58 MOCK_METHOD1(ReceivedDecodedReferenceFrame,
60 MOCK_METHOD1(ReceivedDecodedFrame, int32_t(const uint64_t pictureId));
73 MOCK_METHOD1(RegisterDecodeCompleteCallback,
/external/webrtc/webrtc/modules/video_coding/include/mock/
Dmock_video_codec_interface.h42 MOCK_METHOD1(RegisterEncodeCompleteCallback,
48 MOCK_METHOD1(SetPeriodicKeyFrames, int32_t(bool enable));
53 MOCK_METHOD1(Decoded, int32_t(VideoFrame& decodedImage)); // NOLINT
57 MOCK_METHOD1(ReceivedDecodedReferenceFrame,
59 MOCK_METHOD1(ReceivedDecodedFrame, int32_t(const uint64_t pictureId));
72 MOCK_METHOD1(RegisterDecodeCompleteCallback,
/external/webrtc/webrtc/modules/utility/include/mock/
Dmock_process_thread.h24 MOCK_METHOD1(WakeUp, void(Module* module));
25 MOCK_METHOD1(PostTask, void(ProcessTask* task));
26 MOCK_METHOD1(RegisterModule, void(Module* module));
27 MOCK_METHOD1(DeRegisterModule, void(Module* module));
/external/webrtc/webrtc/call/mock/
Dmock_congestion_controller.h26 MOCK_METHOD1(AddEncoder, void(ViEEncoder* encoder));
27 MOCK_METHOD1(RemoveEncoder, void(ViEEncoder* encoder));
34 MOCK_METHOD1(SignalNetworkState, void(NetworkState state));
46 MOCK_METHOD1(OnSentPacket, void(const rtc::SentPacket& sent_packet));
/external/google-breakpad/src/testing/test/
Dgmock-generated-function-mockers_test.cc120 MOCK_METHOD1(VoidReturning, void(int n)); // NOLINT
125 MOCK_METHOD1(Unary, bool(int)); // NOLINT
130 MOCK_METHOD1(TakesNonConstReference, bool(int&)); // NOLINT
131 MOCK_METHOD1(TakesConstReference, string(const int&));
133 MOCK_METHOD1(TakesConst, bool(const int)); // NOLINT
136 MOCK_METHOD1(OverloadedOnArgumentNumber, int(int)); // NOLINT
138 MOCK_METHOD1(OverloadedOnArgumentType, int(int)); // NOLINT
139 MOCK_METHOD1(OverloadedOnArgumentType, char(char)); // NOLINT
144 MOCK_METHOD1(TypeWithHole, int(int (*)())); // NOLINT
145 MOCK_METHOD1(TypeWithComma, int(const std::map<int, string>&)); // NOLINT
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-function-mockers_test.cc129 MOCK_METHOD1(VoidReturning, void(int n)); // NOLINT
134 MOCK_METHOD1(Unary, bool(int)); // NOLINT
139 MOCK_METHOD1(TakesNonConstReference, bool(int&)); // NOLINT
140 MOCK_METHOD1(TakesConstReference, std::string(const int&));
141 MOCK_METHOD1(TakesConst, bool(const int)); // NOLINT
149 MOCK_METHOD1(OverloadedOnArgumentNumber, int(int)); // NOLINT
151 MOCK_METHOD1(OverloadedOnArgumentType, int(int)); // NOLINT
152 MOCK_METHOD1(OverloadedOnArgumentType, char(char)); // NOLINT
157 MOCK_METHOD1(TypeWithHole, int(int (*)())); // NOLINT
158 MOCK_METHOD1(TypeWithComma,
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/
Dmock_agc.h26 MOCK_METHOD1(GetRmsErrorDb, bool(int* error));
28 MOCK_METHOD1(set_target_level_dbfs, int(int level));
30 MOCK_METHOD1(EnableStandaloneVad, void(bool enable));
/external/webrtc/webrtc/modules/remote_bitrate_estimator/include/mock/
Dmock_remote_bitrate_estimator.h23 MOCK_METHOD1(IncomingPacketFeedbackVector,
26 MOCK_METHOD1(RemoveStream, void(unsigned int));
37 MOCK_METHOD1(SetMinBitrate, void(int));
/external/libbrillo/brillo/http/
Dmock_transport.h34 MOCK_METHOD1(CancelRequest, bool(RequestID));
35 MOCK_METHOD1(SetDefaultTimeout, void(base::TimeDelta));
36 MOCK_METHOD1(SetLocalIpAddress, void(const std::string&));
Dmock_curl_api.h24 MOCK_METHOD1(EasyCleanup, void(CURL*));
30 MOCK_METHOD1(EasyPerform, CURLcode(CURL*));
37 MOCK_METHOD1(MultiCleanup, CURLMcode(CURLM*));
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_unittest.cc32 MOCK_METHOD1(Bind, bool(const SocketAddress&));
37 MOCK_METHOD1(SetTOS, int32_t(int32_t));
55 MOCK_METHOD1(AddSocket, bool(UdpSocketWrapper*));
56 MOCK_METHOD1(RemoveSocket, bool(UdpSocketWrapper*));
/external/libbrillo/brillo/minijail/
Dmock_minijail.h23 MOCK_METHOD1(Destroy, void(struct minijail*));
31 MOCK_METHOD1(ResetSignalMask, void(struct minijail* jail));
32 MOCK_METHOD1(Enter, void(struct minijail* jail));
/external/libchrome/dbus/
Dmock_bus.h29 MOCK_METHOD1(GetExportedObject, ExportedObject*(
42 MOCK_METHOD1(ReleaseOwnership, bool(const std::string& service_name));
65 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path));

12345