Home
last modified time | relevance | path

Searched refs:kStopped (Results 1 – 25 of 44) sorted by relevance

12

/external/openscreen/osp/impl/
Dservice_publisher_impl.cc17 case State::kStopped: in IsTransitionValid()
25 return to == State::kStopped; in IsTransitionValid()
55 if (state_ != State::kStopped) in Start()
62 if (state_ != State::kStopped) in StartAndSuspend()
69 if (state_ == State::kStopped || state_ == State::kStopping) in Stop()
104 case State::kStopped: in MaybeNotifyObserver()
Dservice_listener_impl.cc18 case ServiceListener::State::kStopped: in IsTransitionValid()
30 return to == ServiceListener::State::kStopped; in IsTransitionValid()
107 if (state_ != State::kStopped) in Start()
115 if (state_ != State::kStopped) in StartAndSuspend()
123 if (state_ == State::kStopped || state_ == State::kStopping) in Stop()
188 case State::kStopped: in MaybeNotifyObservers()
Dservice_publisher_impl_unittest.cc63 ASSERT_EQ(State::kStopped, service_publisher_->state()); in TEST_F()
78 mock_delegate_.SetState(State::kStopped); in TEST_F()
79 EXPECT_EQ(State::kStopped, service_publisher_->state()); in TEST_F()
92 mock_delegate_.SetState(State::kStopped); in TEST_F()
93 EXPECT_EQ(State::kStopped, service_publisher_->state()); in TEST_F()
157 mock_delegate.SetState(State::kStopped); in TEST_F()
Dservice_listener_impl_unittest.cc76 ASSERT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
91 mock_delegate_.SetState(State::kStopped); in TEST_F()
92 EXPECT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
105 mock_delegate_.SetState(State::kStopped); in TEST_F()
106 EXPECT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
209 mock_delegate_.SetState(State::kStopped); in TEST_F()
210 EXPECT_EQ(State::kStopped, service_listener_->state()); in TEST_F()
278 mock_delegate_.SetState(State::kStopped); in TEST_F()
Dmdns_responder_service.cc145 if (!publisher_ || publisher_->state() == ServicePublisher::State::kStopped || in StopListenerInternal()
148 if (!publisher_ || publisher_->state() == ServicePublisher::State::kStopped) in StopListenerInternal()
151 ServiceListenerImpl::Delegate::SetState(ServiceListener::State::kStopped); in StopListenerInternal()
185 if (!listener_ || listener_->state() == ServiceListener::State::kStopped || in StopPublisherInternal()
188 if (!listener_ || listener_->state() == ServiceListener::State::kStopped) in StopPublisherInternal()
191 ServicePublisherImpl::Delegate::SetState(ServicePublisher::State::kStopped); in StopPublisherInternal()
/external/skia/modules/audioplayer/
DSkAudioPlayer.h29 kStopped, enumerator
42 void stop() { this->setState(State::kStopped); } in stop()
46 bool isStopped() const { return this->state() == State::kStopped; } in isStopped()
60 State fState = State::kStopped;
DSkAudioPlayer_sfml.cpp41 case State::kStopped: fMusic.stop(); break; in onSetState()
/external/openscreen/discovery/mdns/
Dmdns_receiver.h55 kStopped, enumerator
61 State state_ = State::kStopped;
/external/openscreen/osp/public/
Dprotocol_connection_server.h27 kStopped = 0, enumerator
89 State state_ = State::kStopped;
Dprotocol_connection_client.h30 enum class State { kStopped = 0, kStarting, kRunning, kStopping }; enumerator
109 State state_ = State::kStopped;
Dservice_listener.cc24 ServiceListener::ServiceListener() : state_(State::kStopped) {} in ServiceListener()
Dprotocol_connection_server.cc21 case ProtocolConnectionServer::State::kStopped: in operator <<()
Dservice_publisher.cc28 : state_(State::kStopped), observer_(observer) {} in ServicePublisher()
Dprotocol_connection_client.cc47 case ProtocolConnectionClient::State::kStopped: in operator <<()
Dservice_publisher.h40 kStopped = 0, enumerator
/external/openscreen/osp/impl/quic/
Dquic_server.cc34 if (state_ != State::kStopped) in Start()
48 state_ = State::kStopped; in Stop()
84 if (state_ != State::kStopped) { in Cleanup()
Dquic_client.cc42 if (state_ == State::kStopped) in Stop()
45 state_ = State::kStopped; in Stop()
67 if (state_ != State::kStopped) { in Cleanup()
/external/webrtc/pc/
Drtp_transceiver_unittest.cc142 modified_extensions[0].direction = RtpTransceiverDirection::kStopped; in TEST_F()
161 modified_extensions[2].direction = RtpTransceiverDirection::kStopped; in TEST_F()
167 modified_extensions[3].direction = RtpTransceiverDirection::kStopped; in TEST_F()
Dpeer_connection_header_extension_unittest.cc40 RtpTransceiverDirection::kStopped), in PeerConnectionHeaderExtensionTest()
156 modified_extensions[3].direction = RtpTransceiverDirection::kStopped; in TEST_P()
Drtp_media_utils.cc80 case RtpTransceiverDirection::kStopped: in RtpTransceiverDirectionToString()
/external/perfetto/src/trace_processor/types/
Dtask_state.cc100 state_ |= Atom::kStopped; in TaskState()
155 if (state_ & Atom::kStopped) { in ToString()
Dtask_state.h46 kStopped = 4, enumerator
/external/webrtc/api/
Drtp_transceiver_direction.h22 kStopped, enumerator
/external/webrtc/media/base/
Dmedia_engine_unittest.cc45 RtpTransceiverDirection::kStopped), in TEST()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCRtpTransceiver.mm159 return webrtc::RtpTransceiverDirection::kStopped;
174 case webrtc::RtpTransceiverDirection::kStopped:

12