Home
last modified time | relevance | path

Searched refs:RTC_DCHECK (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/external/webrtc/modules/audio_device/android/
Daaudio_wrapper.cc92 RTC_DCHECK(user_data); in ErrorCallback()
96 RTC_DCHECK(aaudio_wrapper->observer()); in ErrorCallback()
104 RTC_DCHECK(user_data); in DataCallback()
105 RTC_DCHECK(audio_data); in DataCallback()
107 RTC_DCHECK(aaudio_wrapper->observer()); in DataCallback()
117 RTC_DCHECK(builder_); in ScopedStreamBuilder()
138 RTC_DCHECK(observer_); in AAudioWrapper()
148 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AAudioWrapper()
149 RTC_DCHECK(!stream_); in ~AAudioWrapper()
154 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
[all …]
Dopensles_player.cc70 RTC_DCHECK(thread_checker_.IsCurrent()); in ~OpenSLESPlayer()
75 RTC_DCHECK(!engine_); in ~OpenSLESPlayer()
76 RTC_DCHECK(!output_mix_.Get()); in ~OpenSLESPlayer()
77 RTC_DCHECK(!player_); in ~OpenSLESPlayer()
78 RTC_DCHECK(!simple_buffer_queue_); in ~OpenSLESPlayer()
79 RTC_DCHECK(!volume_); in ~OpenSLESPlayer()
84 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
93 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
100 RTC_DCHECK(thread_checker_.IsCurrent()); in InitPlayout()
101 RTC_DCHECK(!initialized_); in InitPlayout()
[all …]
Dopensles_recorder.cc70 RTC_DCHECK(thread_checker_.IsCurrent()); in ~OpenSLESRecorder()
74 RTC_DCHECK(!engine_); in ~OpenSLESRecorder()
75 RTC_DCHECK(!recorder_); in ~OpenSLESRecorder()
76 RTC_DCHECK(!simple_buffer_queue_); in ~OpenSLESRecorder()
81 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
90 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
97 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
98 RTC_DCHECK(!initialized_); in InitRecording()
99 RTC_DCHECK(!recording_); in InitRecording()
112 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
[all …]
Daudio_manager.cc87 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioManager()
94 RTC_DCHECK(thread_checker_.IsCurrent()); in SetActiveAudioLayer()
95 RTC_DCHECK(!initialized_); in SetActiveAudioLayer()
112 RTC_DCHECK(thread_checker_.IsCurrent()); in GetOpenSLEngine()
153 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
154 RTC_DCHECK(!initialized_); in Init()
166 RTC_DCHECK(thread_checker_.IsCurrent()); in Close()
175 RTC_DCHECK(thread_checker_.IsCurrent()); in IsCommunicationModeEnabled()
180 RTC_DCHECK(thread_checker_.IsCurrent()); in IsAcousticEchoCancelerSupported()
185 RTC_DCHECK(thread_checker_.IsCurrent()); in IsAutomaticGainControlSupported()
[all …]
Daudio_track_jni.cc107 RTC_DCHECK(audio_parameters_.is_valid()); in AudioTrackJni()
129 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioTrackJni()
135 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
141 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
148 RTC_DCHECK(thread_checker_.IsCurrent()); in InitPlayout()
149 RTC_DCHECK(!initialized_); in InitPlayout()
150 RTC_DCHECK(!playing_); in InitPlayout()
162 RTC_DCHECK(thread_checker_.IsCurrent()); in StartPlayout()
163 RTC_DCHECK(!playing_); in StartPlayout()
179 RTC_DCHECK(thread_checker_.IsCurrent()); in StopPlayout()
[all …]
Daaudio_recorder.cc38 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AAudioRecorder()
45 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
54 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
61 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
62 RTC_DCHECK(!initialized_); in InitRecording()
63 RTC_DCHECK(!recording_); in InitRecording()
73 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
74 RTC_DCHECK(initialized_); in StartRecording()
75 RTC_DCHECK(!recording_); in StartRecording()
90 RTC_DCHECK(thread_checker_.IsCurrent()); in StopRecording()
[all …]
Daudio_record_jni.cc97 RTC_DCHECK(audio_parameters_.is_valid()); in AudioRecordJni()
119 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioRecordJni()
125 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
131 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
138 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
139 RTC_DCHECK(!initialized_); in InitRecording()
140 RTC_DCHECK(!recording_); in InitRecording()
161 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
162 RTC_DCHECK(!recording_); in StartRecording()
179 RTC_DCHECK(thread_checker_.IsCurrent()); in StopRecording()
[all …]
/external/webrtc/sdk/android/src/jni/audio_device/
Daaudio_wrapper.cc93 RTC_DCHECK(user_data); in ErrorCallback()
97 RTC_DCHECK(aaudio_wrapper->observer()); in ErrorCallback()
105 RTC_DCHECK(user_data); in DataCallback()
106 RTC_DCHECK(audio_data); in DataCallback()
108 RTC_DCHECK(aaudio_wrapper->observer()); in DataCallback()
118 RTC_DCHECK(builder_); in ScopedStreamBuilder()
141 RTC_DCHECK(observer_); in AAudioWrapper()
148 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AAudioWrapper()
149 RTC_DCHECK(!stream_); in ~AAudioWrapper()
154 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
[all …]
Dopensles_player.cc72 RTC_DCHECK(thread_checker_.IsCurrent()); in ~OpenSLESPlayer()
77 RTC_DCHECK(!engine_); in ~OpenSLESPlayer()
78 RTC_DCHECK(!output_mix_.Get()); in ~OpenSLESPlayer()
79 RTC_DCHECK(!player_); in ~OpenSLESPlayer()
80 RTC_DCHECK(!simple_buffer_queue_); in ~OpenSLESPlayer()
81 RTC_DCHECK(!volume_); in ~OpenSLESPlayer()
86 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
95 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
102 RTC_DCHECK(thread_checker_.IsCurrent()); in InitPlayout()
103 RTC_DCHECK(!initialized_); in InitPlayout()
[all …]
Dopensles_recorder.cc72 RTC_DCHECK(thread_checker_.IsCurrent()); in ~OpenSLESRecorder()
76 RTC_DCHECK(!engine_); in ~OpenSLESRecorder()
77 RTC_DCHECK(!recorder_); in ~OpenSLESRecorder()
78 RTC_DCHECK(!simple_buffer_queue_); in ~OpenSLESRecorder()
83 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
92 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
99 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
100 RTC_DCHECK(!initialized_); in InitRecording()
101 RTC_DCHECK(!recording_); in InitRecording()
118 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
[all …]
Daudio_record_jni.cc72 RTC_DCHECK(audio_parameters_.is_valid()); in AudioRecordJni()
83 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioRecordJni()
90 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
96 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
104 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
109 RTC_DCHECK(!recording_); in InitRecording()
136 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
157 RTC_DCHECK(thread_checker_.IsCurrent()); in StopRecording()
192 RTC_DCHECK(thread_checker_.IsCurrent()); in AttachAudioBuffer()
203 RTC_DCHECK(thread_checker_.IsCurrent()); in IsAcousticEchoCancelerSupported()
[all …]
Daudio_track_jni.cc48 RTC_DCHECK(audio_parameters_.is_valid()); in AudioTrackJni()
59 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioTrackJni()
66 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
72 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
80 RTC_DCHECK(thread_checker_.IsCurrent()); in InitPlayout()
85 RTC_DCHECK(!playing_); in InitPlayout()
130 RTC_DCHECK(thread_checker_.IsCurrent()); in StartPlayout()
150 RTC_DCHECK(thread_checker_.IsCurrent()); in StopPlayout()
177 RTC_DCHECK(thread_checker_.IsCurrent()); in SetSpeakerVolume()
185 RTC_DCHECK(thread_checker_.IsCurrent()); in MaxSpeakerVolume()
[all …]
Daaudio_recorder.cc40 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AAudioRecorder()
47 RTC_DCHECK(thread_checker_.IsCurrent()); in Init()
56 RTC_DCHECK(thread_checker_.IsCurrent()); in Terminate()
63 RTC_DCHECK(thread_checker_.IsCurrent()); in InitRecording()
64 RTC_DCHECK(!initialized_); in InitRecording()
65 RTC_DCHECK(!recording_); in InitRecording()
79 RTC_DCHECK(thread_checker_.IsCurrent()); in StartRecording()
80 RTC_DCHECK(initialized_); in StartRecording()
81 RTC_DCHECK(!recording_); in StartRecording()
96 RTC_DCHECK(thread_checker_.IsCurrent()); in StopRecording()
[all …]
/external/webrtc/pc/
Dremote_audio_source.cc36 RTC_DCHECK(source); in AudioDataProxy()
55 RTC_DCHECK(main_thread_); in RemoteAudioSource()
56 RTC_DCHECK(worker_thread_); in RemoteAudioSource()
60 RTC_DCHECK(main_thread_->IsCurrent()); in ~RemoteAudioSource()
61 RTC_DCHECK(audio_observers_.empty()); in ~RemoteAudioSource()
62 RTC_DCHECK(sinks_.empty()); in ~RemoteAudioSource()
68 RTC_DCHECK(media_channel); in Start()
84 RTC_DCHECK(media_channel); in Stop()
93 RTC_DCHECK(main_thread_->IsCurrent()); in state()
98 RTC_DCHECK(main_thread_->IsCurrent()); in remote()
[all …]
Djsep_transport.cc109 RTC_DCHECK(ice_transport_); in JsepTransport()
110 RTC_DCHECK(rtp_dtls_transport_); in JsepTransport()
117 RTC_DCHECK(!sdes_transport); in JsepTransport()
118 RTC_DCHECK(!dtls_srtp_transport); in JsepTransport()
120 RTC_DCHECK(!unencrypted_rtp_transport); in JsepTransport()
121 RTC_DCHECK(!dtls_srtp_transport); in JsepTransport()
123 RTC_DCHECK(dtls_srtp_transport_); in JsepTransport()
124 RTC_DCHECK(!unencrypted_rtp_transport); in JsepTransport()
125 RTC_DCHECK(!sdes_transport); in JsepTransport()
181 RTC_DCHECK(!unencrypted_rtp_transport_); in SetLocalJsepTransportDescription()
[all …]
Dchannel_manager.cc37 RTC_DCHECK(data_engine_); in ChannelManager()
38 RTC_DCHECK(worker_thread_); in ChannelManager()
39 RTC_DCHECK(network_thread_); in ChannelManager()
122 RTC_DCHECK(!initialized_); in Init()
126 RTC_DCHECK(network_thread_); in Init()
127 RTC_DCHECK(worker_thread_); in Init()
137 RTC_DCHECK(initialized_); in Init()
173 RTC_DCHECK(initialized_); in Terminate()
205 RTC_DCHECK(initialized_); in CreateVoiceChannel()
206 RTC_DCHECK(call); in CreateVoiceChannel()
[all …]
/external/webrtc/rtc_base/
Dcopy_on_write_buffer.cc18 RTC_DCHECK(IsConsistent()); in CopyOnWriteBuffer()
28 RTC_DCHECK(IsConsistent()); in CopyOnWriteBuffer()
38 RTC_DCHECK(IsConsistent()); in CopyOnWriteBuffer()
47 RTC_DCHECK(IsConsistent()); in CopyOnWriteBuffer()
54 RTC_DCHECK(IsConsistent()); in operator ==()
55 RTC_DCHECK(buf.IsConsistent()); in operator ==()
61 RTC_DCHECK(IsConsistent()); in SetSize()
68 RTC_DCHECK(IsConsistent()); in SetSize()
80 RTC_DCHECK(IsConsistent()); in SetSize()
84 RTC_DCHECK(IsConsistent()); in EnsureCapacity()
[all …]
Dplatform_thread.cc40 RTC_DCHECK(func); in PlatformThread()
41 RTC_DCHECK(!name_.empty()); in PlatformThread()
43 RTC_DCHECK(name_.length() < 64); in PlatformThread()
48 RTC_DCHECK(thread_checker_.IsCurrent()); in ~PlatformThread()
50 RTC_DCHECK(!thread_); in ~PlatformThread()
51 RTC_DCHECK(!thread_id_); in ~PlatformThread()
73 RTC_DCHECK(thread_checker_.IsCurrent()); in Start()
74 RTC_DCHECK(!thread_) << "Thread already started?"; in Start()
82 RTC_DCHECK(thread_id_); in Start()
92 RTC_DCHECK(thread_checker_.IsCurrent()); in IsRunning()
[all …]
/external/webrtc/rtc_base/deprecated/
Dsignal_thread.cc35 RTC_DCHECK(refcount_ == 0); in ~DEPRECATED_SignalThread()
41 RTC_DCHECK(!destroy_called_); in SetName()
42 RTC_DCHECK(main_->IsCurrent()); in SetName()
43 RTC_DCHECK(kInit == state_); in SetName()
49 RTC_DCHECK(!destroy_called_); in Start()
50 RTC_DCHECK(main_->IsCurrent()); in Start()
65 RTC_DCHECK(!destroy_called_); in Destroy()
89 RTC_DCHECK(!destroy_called_); in Release()
90 RTC_DCHECK(main_->IsCurrent()); in Release()
103 RTC_DCHECK(!destroy_called_); in ContinueWork()
[all …]
Drecursive_critical_section.cc103 RTC_DCHECK(!IsThreadRefEqual(owning_thread_, self)); in Enter()
106 RTC_DCHECK(owning_thread_ == 0); in Enter()
107 RTC_DCHECK(!recursion_); in Enter()
119 RTC_DCHECK(!thread_); in Enter()
122 RTC_DCHECK(CurrentThreadIsOwner()); in Enter()
141 RTC_DCHECK(!recursion_); in TryEnter()
152 RTC_DCHECK(!thread_); in TryEnter()
155 RTC_DCHECK(CurrentThreadIsOwner()); in TryEnter()
166 RTC_DCHECK(CurrentThreadIsOwner()); in Leave()
172 RTC_DCHECK(recursion_count_ >= 0); in Leave()
[all …]
/external/webrtc/audio/
Daudio_state.cc33 RTC_DCHECK(config_.audio_mixer); in AudioState()
34 RTC_DCHECK(config_.audio_device_module); in AudioState()
38 RTC_DCHECK(thread_checker_.IsCurrent()); in ~AudioState()
39 RTC_DCHECK(receiving_streams_.empty()); in ~AudioState()
40 RTC_DCHECK(sending_streams_.empty()); in ~AudioState()
52 RTC_DCHECK(thread_checker_.IsCurrent()); in typing_noise_detected()
57 RTC_DCHECK(thread_checker_.IsCurrent()); in AddReceivingStream()
80 RTC_DCHECK(thread_checker_.IsCurrent()); in RemoveReceivingStream()
94 RTC_DCHECK(thread_checker_.IsCurrent()); in AddSendingStream()
114 RTC_DCHECK(thread_checker_.IsCurrent()); in RemoveSendingStream()
[all …]
/external/webrtc/media/engine/
Dwebrtc_voice_engine.cc77 RTC_DCHECK(sink); in ProxySink()
257 RTC_DCHECK(decoder_factory); in WebRtcVoiceEngine()
258 RTC_DCHECK(encoder_factory); in WebRtcVoiceEngine()
263 RTC_DCHECK(worker_thread_checker_.IsCurrent()); in ~WebRtcVoiceEngine()
277 RTC_DCHECK(worker_thread_checker_.IsCurrent()); in Init()
341 RTC_DCHECK(error); in Init()
349 RTC_DCHECK(worker_thread_checker_.IsCurrent()); in GetAudioState()
358 RTC_DCHECK(worker_thread_checker_.IsCurrent()); in CreateMediaChannel()
364 RTC_DCHECK(worker_thread_checker_.IsCurrent()); in ApplyOptions()
590 RTC_DCHECK(signal_thread_checker_.IsCurrent()); in send_codecs()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_generic_frame_descriptor.cc29 RTC_DCHECK(FirstPacketInSubFrame()); in TemporalLayer()
40 RTC_DCHECK(FirstPacketInSubFrame()); in SpatialLayer()
51 RTC_DCHECK(FirstPacketInSubFrame()); in SpatialLayersBitmask()
57 RTC_DCHECK(FirstPacketInSubFrame()); in SetSpatialLayersBitmask()
62 RTC_DCHECK(FirstPacketInSubFrame()); in SetResolution()
72 RTC_DCHECK(FirstPacketInSubFrame()); in FrameId()
77 RTC_DCHECK(FirstPacketInSubFrame()); in SetFrameId()
83 RTC_DCHECK(FirstPacketInSubFrame()); in FrameDependenciesDiffs()
88 RTC_DCHECK(FirstPacketInSubFrame()); in AddFrameDependencyDiff()
/external/webrtc/video/adaptation/
Dvideo_stream_encoder_resource.cc26 RTC_DCHECK(!listener_) in ~VideoStreamEncoderResource()
33 RTC_DCHECK(!encoder_queue_); in RegisterEncoderTaskQueue()
34 RTC_DCHECK(encoder_queue); in RegisterEncoderTaskQueue()
41 RTC_DCHECK(!resource_adaptation_queue_); in RegisterAdaptationTaskQueue()
42 RTC_DCHECK(resource_adaptation_queue); in RegisterAdaptationTaskQueue()
48 RTC_DCHECK(resource_adaptation_queue_); in UnregisterAdaptationTaskQueue()
58 RTC_DCHECK(!listener_ || !listener) << "A listener is already set"; in SetResourceListener()
80 RTC_DCHECK(resource_adaptation_queue_); in resource_adaptation_queue()
/external/webrtc/examples/peerconnection/client/
Dpeer_connection_client.cc36 RTC_DCHECK(thread != NULL); in CreateClientSocket()
51 RTC_DCHECK(control_socket_.get() != NULL); in InitSocketSignals()
52 RTC_DCHECK(hanging_get_.get() != NULL); in InitSocketSignals()
79 RTC_DCHECK(!callback_); in RegisterObserver()
86 RTC_DCHECK(!server.empty()); in Connect()
87 RTC_DCHECK(!client_name.empty()); in Connect()
152 RTC_DCHECK(is_connected()); in SendToPeer()
153 RTC_DCHECK(control_socket_->GetState() == rtc::Socket::CS_CLOSED); in SendToPeer()
219 RTC_DCHECK(control_socket_->GetState() == rtc::Socket::CS_CLOSED); in ConnectControlSocket()
229 RTC_DCHECK(!onconnect_data_.empty()); in OnConnect()
[all …]

12345678910>>...29