/external/webrtc/webrtc/modules/desktop_capture/ |
D | screen_capturer_unittest.cc | 40 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()
|
D | window_capturer_win.cc | 96 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 …]
|
D | window_capturer_null.cc | 36 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()
|
D | mouse_cursor_monitor_win.cc | 41 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()
|
D | cropping_window_capturer.cc | 21 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()
|
D | mouse_cursor_monitor_x11.cc | 79 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()
|
D | screen_capturer_mac_unittest.cc | 44 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()
|
D | desktop_and_cursor_composer_unittest.cc | 77 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
|
D | window_capturer_mac.mm | 61 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/ |
D | singleton_unittest.cc | 58 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/ |
D | cancelable_callback.h | 66 : 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/ |
D | paced_sender_unittest.cc | 111 &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/ |
D | vm-state.h | 36 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/ |
D | fakewebrtcvideocapturemodule.h | 45 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/ |
D | peer_connection_client.cc | 49 : 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/ |
D | waitable_event_watcher_posix.cc | 66 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/ |
D | asyncinvoker-inl.h | 65 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/ |
D | file_path_watcher_fsevents.cc | 90 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/ |
D | video_encoder_unittest.cc | 100 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()
|
D | vie_channel.h | 327 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 …]
|
D | video_encoder.cc | 57 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()
|
D | video_decoder.cc | 55 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/ |
D | fake_encoder.cc | 23 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/ |
D | screen_capturer_win_gdi.cc | 40 : 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/ |
D | scroll_bounce.js | 22 this.callback_ = opt_callback; 54 if (this.callback_) 55 this.callback_();
|