/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | capturemanager.cc | 172 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StartVideoCapture() local 173 if (capture_state) { in StartVideoCapture() 174 const int ref_count = capture_state->IncCaptureStartRef(); in StartVideoCapture() 180 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture() 186 capture_state = GetCaptureState(video_capturer); in StartVideoCapture() 187 ASSERT(capture_state != NULL); in StartVideoCapture() 188 capture_state->AddCaptureResolution(desired_format); in StartVideoCapture() 189 if (!StartWithBestCaptureFormat(capture_state, video_capturer)) { in StartVideoCapture() 190 UnregisterVideoCapturer(capture_state); in StartVideoCapture() 198 VideoCapturerState* capture_state = GetCaptureState(video_capturer); in StopVideoCapture() local [all …]
|
D | capturemanager_unittest.cc | 72 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in CaptureManagerTest 75 cricket::CaptureState capture_state) { in OnCapturerStateChange() argument 76 capture_state_ = capture_state; in OnCapturerStateChange() 107 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 123 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 145 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 197 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 213 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
|
D | videocapturer_unittest.cc | 99 cricket::CaptureState capture_state) { in OnStateChange() argument 100 capture_state_ = capture_state; in OnStateChange() 103 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function in VideoCapturerTest 126 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 129 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F() 143 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 150 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 166 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 175 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F() 178 EXPECT_EQ(cricket::CS_RUNNING, capture_state()); in TEST_F() [all …]
|
D | fakescreencapturerfactory.h | 60 cricket::CaptureState capture_state() { return capture_state_; } in capture_state() function
|
D | videocapturer.cc | 178 if (capture_state() == CS_PAUSED) { in Pause() 181 bool is_running = capture_state() == CS_STARTING || in Pause() 182 capture_state() == CS_RUNNING; in Pause() 196 if (capture_state() != CS_PAUSED) { in Pause()
|
D | capturemanager.h | 101 void UnregisterVideoCapturer(VideoCapturerState* capture_state);
|
D | videocapturer.h | 214 CaptureState capture_state() const { in capture_state() function
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | remotevideocapturer.cc | 41 if (capture_state() == cricket::CS_RUNNING) { in Start() 44 return capture_state(); in Start() 53 if (capture_state() == cricket::CS_STOPPED) { in Stop() 65 return capture_state() == cricket::CS_RUNNING; in IsRunning()
|
D | remotevideocapturer_unittest.cc | 67 CaptureState capture_state() const { in capture_state() function in RemoteVideoCapturerTest 75 CaptureState capture_state) { in OnStateChange() argument 77 capture_state_ = capture_state; in OnStateChange() 93 EXPECT_TRUE_WAIT((cricket::CS_RUNNING == capture_state()), kMaxWaitMs); in TEST_F() 100 EXPECT_TRUE_WAIT((cricket::CS_STOPPED == capture_state()), kMaxWaitMs); in TEST_F()
|
D | videosource.h | 89 cricket::CaptureState capture_state);
|
D | videosource.cc | 456 cricket::CaptureState capture_state) { in OnStateChange() argument 458 SetState(GetReadyState(capture_state)); in OnStateChange()
|
/external/chromium_org/chrome/browser/extensions/api/tab_capture/ |
D | tab_capture_registry.cc | 54 TabCaptureState capture_state() const { in capture_state() function in extensions::TabCaptureRegistry::LiveRequest 198 if (request->capture_state() != tab_capture::TAB_CAPTURE_STATE_STOPPED && in AddRequest() 199 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_ERROR) { in AddRequest() 228 (request->capture_state() != tab_capture::TAB_CAPTURE_STATE_NONE && in VerifyRequest() 229 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_PENDING)) in VerifyRequest() 293 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_PENDING && in OnRequestUpdate() 294 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_NONE && in OnRequestUpdate() 295 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_STOPPED && in OnRequestUpdate() 296 request->capture_state() != tab_capture::TAB_CAPTURE_STATE_ERROR) { in OnRequestUpdate()
|
/external/chromium_org/remoting/host/ |
D | cast_video_capturer_adapter.cc | 118 if (capture_state() == cricket::CS_PAUSED) in Pause() 121 bool running = capture_state() == cricket::CS_STARTING || in Pause() 122 capture_state() == cricket::CS_RUNNING; in Pause() 140 if (capture_state() != cricket::CS_PAUSED || !GetCaptureFormat() || in Pause() 162 DCHECK_NE(capture_state(), cricket::CS_STOPPED); in Stop()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | channel_unittest.cc | 2442 EXPECT_EQ_WAIT(cricket::CS_STOPPED, screen_capturer_factory->capture_state(), in TEST_F()
|