Home
last modified time | relevance | path

Searched refs:callback_ (Results 1 – 25 of 112) sorted by relevance

12345

/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_unittest.cc40 MockScreenCapturerCallback callback_; member in webrtc::ScreenCapturerTest
71 capturer_->Start(&callback_); in TEST_F()
77 EXPECT_CALL(callback_, OnCaptureCompleted(_)) in TEST_F()
80 EXPECT_CALL(callback_, CreateSharedMemory(_)) in TEST_F()
84 capturer_->Start(&callback_); in TEST_F()
109 EXPECT_CALL(callback_, OnCaptureCompleted(_)) in TEST_F()
112 EXPECT_CALL(callback_, CreateSharedMemory(_)) in TEST_F()
116 capturer_->Start(&callback_); in TEST_F()
132 EXPECT_CALL(callback_, OnCaptureCompleted(_)).WillOnce(SaveArg<0>(&frame)); in TEST_F()
134 capturer_->Start(&callback_); in TEST_F()
Dwindow_capturer_win.cc96 Callback* callback_; member in webrtc::__anonc62fb7c00111::WindowCapturerWin
110 : callback_(NULL), in WindowCapturerWin()
146 assert(!callback_); in Start()
149 callback_ = callback; in Start()
155 callback_->OnCaptureCompleted(NULL); in Capture()
161 callback_->OnCaptureCompleted(NULL); in Capture()
173 callback_->OnCaptureCompleted(frame); in Capture()
181 callback_->OnCaptureCompleted(NULL); in Capture()
188 callback_->OnCaptureCompleted(NULL); in Capture()
196 callback_->OnCaptureCompleted(NULL); in Capture()
[all …]
Dwindow_capturer_null.cc36 Callback* callback_; member in webrtc::__anonf35561ed0111::WindowCapturerNull
42 : callback_(NULL) { in WindowCapturerNull()
64 assert(!callback_); in Start()
67 callback_ = callback; in Start()
72 callback_->OnCaptureCompleted(NULL); in Capture()
Dmouse_cursor_monitor_win.cc41 Callback* callback_; member in webrtc::MouseCursorMonitorWin
52 callback_(NULL), in MouseCursorMonitorWin()
61 callback_(NULL), in MouseCursorMonitorWin()
74 assert(!callback_); in Init()
77 callback_ = callback; in Init()
84 assert(callback_); in Capture()
99 callback_->OnMouseCursor(cursor.release()); in Capture()
130 callback_->OnMouseCursorPosition(inside ? INSIDE : OUTSIDE, position); in Capture()
Dcropping_window_capturer.cc21 callback_(NULL), in CroppingWindowCapturer()
30 callback_ = callback; in Start()
73 return callback_->CreateSharedMemory(size); in CreateSharedMemory()
87 callback_->OnCaptureCompleted(NULL); in OnCaptureCompleted()
94 callback_->OnCaptureCompleted(NULL); in OnCaptureCompleted()
100 callback_->OnCaptureCompleted(window_frame.release()); in OnCaptureCompleted()
Dmouse_cursor_monitor_x11.cc79 Callback* callback_; member in webrtc::MouseCursorMonitorX11
94 callback_(NULL), in MouseCursorMonitorX11()
110 assert(!callback_); in Init()
113 callback_ = callback; in Init()
131 assert(callback_); in Capture()
138 callback_->OnMouseCursor(cursor_shape_.release()); in Capture()
164 callback_->OnMouseCursorPosition(state, in Capture()
Dscreen_capturer_mac_unittest.cc44 MockScreenCapturerCallback callback_; member in webrtc::ScreenCapturerMacTest
78 EXPECT_CALL(callback_, OnCaptureCompleted(_)) in TEST_F()
83 EXPECT_CALL(callback_, CreateSharedMemory(_)) in TEST_F()
88 capturer_->Start(&callback_); in TEST_F()
Ddesktop_and_cursor_composer_unittest.cc77 void Start(Callback* callback) override { callback_ = callback; } in Start()
80 callback_->OnCaptureCompleted(next_frame_.release()); in Capture()
88 Callback* callback_; member in webrtc::__anon07ebca250111::FakeScreenCapturer
108 void Init(Callback* callback, Mode mode) override { callback_ = callback; } in Init()
125 callback_->OnMouseCursor(new MouseCursor(image.release(), hotspot_)); in Capture()
128 callback_->OnMouseCursorPosition(state_, position_); in Capture()
132 Callback* callback_; member in webrtc::__anon07ebca250111::FakeMouseMonitor
Dwindow_capturer_mac.mm61 Callback* callback_;
74 : callback_(NULL),
170 assert(!callback_);
173 callback_ = callback;
178 callback_->OnCaptureCompleted(NULL);
196 callback_->OnCaptureCompleted(NULL);
204 callback_->OnCaptureCompleted(NULL);
228 callback_->OnCaptureCompleted(frame);
/external/libchrome/base/memory/
Dsingleton_unittest.cc58 if (instance->callback_) in Delete()
59 (instance->callback_)(); in Delete()
66 CallbackSingleton() : callback_(NULL) { } in CallbackSingleton()
67 CallbackFunc callback_; member in base::__anon064bac4e0111::CallbackSingleton
108 if (instance->callback_) in Delete()
109 (instance->callback_)(); in Delete()
130 CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonNoLeak()
134 CallbackSingletonWithLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonLeak()
138 return &CallbackSingletonWithLeakTrait::GetInstance()->callback_; in GetLeakySingleton()
147 CallbackSingletonWithStaticTrait::GetInstance()->callback_ = CallOnQuit; in SingletonStatic()
[all …]
/external/libchrome/base/
Dcancelable_callback.h66 : callback_(callback), weak_factory_(this) { in CancelableCallback()
77 callback_.Reset(); in Cancel()
82 return callback_.is_null(); in IsCancelled()
96 callback_ = callback; in Reset()
106 callback_.Run(args...); in Forward()
120 base::Callback<void(A...)> callback_; variable
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc111 &callback_, in PacedSenderTest()
129 EXPECT_CALL(callback_, in SendAndExpectPacket()
136 MockPacedSenderCallback callback_; member in webrtc::test::PacedSenderTest
168 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
174 callback_, in TEST_F()
217 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
221 EXPECT_CALL(callback_, TimeToSendPacket(ssrc, _, _, false)) in TEST_F()
280 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
287 EXPECT_CALL(callback_, in TEST_F()
372 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F()
[all …]
/external/v8/src/
Dvm-state.h36 Address callback() { return callback_; } in callback()
38 if (callback_ == nullptr) return nullptr; in callback_entrypoint_address()
40 return FUNCTION_ENTRYPOINT_ADDRESS(callback_); in callback_entrypoint_address()
42 return &callback_; in callback_entrypoint_address()
50 Address callback_; variable
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvideocapturemodule.h45 callback_(NULL), in FakeWebRtcVideoCaptureModule()
53 callback_ = &callback; in RegisterCaptureDataCallback()
55 void DeRegisterCaptureDataCallback() override { callback_ = NULL; } in DeRegisterCaptureDataCallback()
117 if (callback_) { in SendFrame()
118 callback_->OnIncomingCapturedFrame(id_, sample); in SendFrame()
133 webrtc::VideoCaptureDataCallback* callback_; variable
/external/webrtc/webrtc/examples/peerconnection/client/
Dpeer_connection_client.cc49 : callback_(NULL), in PeerConnectionClient()
89 ASSERT(!callback_); in RegisterObserver()
90 callback_ = callback; in RegisterObserver()
101 callback_->OnServerConnectionFailure(); in Connect()
106 callback_->OnServerConnectionFailure(); in Connect()
130 callback_->OnServerConnectionFailure(); in OnResolveResult()
153 callback_->OnServerConnectionFailure(); in DoConnect()
259 callback_->OnPeerDisconnected(peer_id); in OnMessageFromPeer()
261 callback_->OnMessageFromPeer(peer_id, message); in OnMessageFromPeer()
358 callback_->OnPeerConnected(id, name); in OnRead()
[all …]
/external/libchrome/base/synchronization/
Dwaitable_event_watcher_posix.cc66 callback_(callback), in AsyncWaiter()
72 message_loop_->task_runner()->PostTask(FROM_HERE, callback_); in Fire()
89 base::Closure callback_; member in base::AsyncWaiter
147 callback_ = callback; in StartWatching()
149 base::Bind(&AsyncCallbackHelper, cancel_flag_, callback_, event); in StartWatching()
177 callback_.Reset(); in StopWatching()
/external/webrtc/webrtc/base/
Dasyncinvoker-inl.h65 callback_ = callback; in SetCallback()
70 Callback0<void> callback_;
89 callback_(callback), in NotifyingAsyncClosure()
94 SetCallback(Callback0<void>(Bind(callback_, callback_host_, result))); in Execute()
101 void (HostT::*callback_)(ReturnT);
/external/libchrome/base/files/
Dfile_path_watcher_fsevents.cc90 DCHECK(callback_.is_null()); in Watch()
98 callback_ = callback; in Watch()
109 callback_.Reset(); in Cancel()
162 DCHECK(callback_.is_null()) in ~FilePathWatcherFSEvents()
181 if (is_cancelled() || callback_.is_null()) { in DispatchEvents()
187 callback_.Run(target, false); in DispatchEvents()
263 if (!callback_.is_null()) { in ReportError()
264 callback_.Run(target, true); in ReportError()
/external/webrtc/webrtc/video/
Dvideo_encoder_unittest.cc100 FakeEncodedImageCallback callback_; member in webrtc::VideoEncoderSoftwareFallbackWrapperTest
123 fallback_wrapper_.RegisterEncodeCompleteCallback(&callback_); in UtilizeFallbackEncoder()
124 EXPECT_EQ(&callback_, fake_encoder_.encode_complete_callback_); in UtilizeFallbackEncoder()
136 int callback_count = callback_.callback_count_; in UtilizeFallbackEncoder()
140 EXPECT_EQ(callback_count + 1, callback_.callback_count_); in UtilizeFallbackEncoder()
144 fallback_wrapper_.RegisterEncodeCompleteCallback(&callback_); in FallbackFromEncodeRequest()
155 int callback_count = callback_.callback_count_; in FallbackFromEncodeRequest()
160 EXPECT_EQ(callback_count + 1, callback_.callback_count_); in FallbackFromEncodeRequest()
Dvie_channel.h327 callback_(NULL) {} in RegisterableCallback()
331 callback_ = callback; in Set()
339 T* callback_ GUARDED_BY(critsect_);
351 if (callback_) in Notify()
352 callback_->Notify(total_stats, retransmit_stats, ssrc); in Notify()
362 if (callback_) in FrameCountUpdated()
363 callback_->FrameCountUpdated(frame_counts, ssrc); in FrameCountUpdated()
375 if (callback_) in SendSideDelayUpdated()
376 callback_->SendSideDelayUpdated(avg_delay_ms, max_delay_ms, ssrc); in SendSideDelayUpdated()
387 if (callback_) in RtcpPacketTypesCounterUpdated()
[all …]
Dvideo_encoder.cc57 callback_(nullptr) {} in VideoEncoderSoftwareFallbackWrapper()
72 if (callback_) in InitFallbackEncoder()
73 fallback_encoder_->RegisterEncodeCompleteCallback(callback_); in InitFallbackEncoder()
108 if (callback_) in InitEncode()
109 encoder_->RegisterEncodeCompleteCallback(callback_); in InitEncode()
122 callback_ = callback; in RegisterEncodeCompleteCallback()
Dvideo_decoder.cc55 callback_(nullptr) { in VideoDecoderSoftwareFallbackWrapper()
77 if (callback_ != nullptr) in InitFallbackDecoder()
78 fallback_decoder_->RegisterDecodeCompleteCallback(callback_); in InitFallbackDecoder()
118 callback_ = callback; in RegisterDecodeCompleteCallback()
/external/webrtc/webrtc/test/
Dfake_encoder.cc23 callback_(NULL), in FakeEncoder()
110 assert(callback_ != NULL); in Encode()
111 if (callback_->Encoded(encoded, &specifics, NULL) != 0) in Encode()
120 callback_ = callback; in RegisterEncodeCompleteCallback()
141 : FakeEncoder(clock), callback_(NULL), idr_counter_(0) { in FakeH264Encoder()
147 callback_ = callback; in RegisterEncodeCompleteCallback()
193 return callback_->Encoded(encoded_image, NULL, &fragmentation); in Encoded()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc40 : callback_(NULL), in ScreenCapturerWinGdi()
91 callback_->OnCaptureCompleted(NULL); in Capture()
132 callback_->OnCaptureCompleted(frame); in Capture()
147 assert(!callback_); in Start()
150 callback_ = callback; in Start()
242 SharedMemory* shared_memory = callback_->CreateSharedMemory(buffer_size); in CaptureImage()
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Dscroll_bounce.js22 this.callback_ = opt_callback;
54 if (this.callback_)
55 this.callback_();

12345