Home
last modified time | relevance | path

Searched refs:RTC_CHECK (Results 1 – 25 of 91) sorted by relevance

1234

/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc47 RTC_CHECK(g_jvm) << "JNI_OnLoad failed to run?"; in GetJVM()
55 RTC_CHECK(((env != NULL) && (status == JNI_OK)) || in GetEnv()
72 RTC_CHECK(GetEnv() == prev_jni_ptr) in ThreadDestructor()
75 RTC_CHECK(status == JNI_OK) << "Failed to detach thread: " << status; in ThreadDestructor()
76 RTC_CHECK(!GetEnv()) << "Detaching was a successful no-op???"; in ThreadDestructor()
80 RTC_CHECK(!pthread_key_create(&g_jni_ptr, &ThreadDestructor)) in CreateJNIPtrKey()
85 RTC_CHECK(!g_jvm) << "InitGlobalJniVariables!"; in InitGlobalJniVariables()
87 RTC_CHECK(g_jvm) << "InitGlobalJniVariables handed NULL?"; in InitGlobalJniVariables()
89 RTC_CHECK(!pthread_once(&g_jni_ptr_once, &CreateJNIPtrKey)) << "pthread_once"; in InitGlobalJniVariables()
121 RTC_CHECK(!pthread_getspecific(g_jni_ptr)) in AttachCurrentThreadIfNeeded()
[all …]
Dclassreferenceholder.cc54 RTC_CHECK(g_class_reference_holder == nullptr); in LoadGlobalClassReferenceHolder()
118 RTC_CHECK(classes_.empty()) << "Must call FreeReferences() before dtor!"; in ~ClassReferenceHolder()
131 RTC_CHECK(it != classes_.end()) << "Unexpected GetClass() call for: " << name; in GetClass()
138 RTC_CHECK(localRef) << name; in LoadClass()
141 RTC_CHECK(globalRef) << name; in LoadClass()
143 RTC_CHECK(inserted) << "Duplicate class name: " << name; in LoadClass()
Djni_onload.cc44 RTC_CHECK(rtc::InitializeSSL()) << "Failed to InitializeSSL()"; in JNI_OnLoad()
52 RTC_CHECK(rtc::CleanupSSL()) << "Failed to CleanupSSL()"; in JNI_OnUnLoad()
Dandroidmediaencoder_jni.cc277 RTC_CHECK(codec_thread_->Start()) << "Failed to start MediaCodecVideoEncoder"; in MediaCodecVideoEncoder()
338 RTC_CHECK(codec_settings->codecType == codecType_) in InitEncode()
429 RTC_CHECK(!msg->message_id) << "Unexpected message!"; in OnMessage()
430 RTC_CHECK(!msg->pdata) << "Unexpected message!"; in OnMessage()
459 RTC_CHECK(!use_surface || egl_context_ != nullptr) << "EGL context not set."; in InitEncodeOnCodecThread()
538 RTC_CHECK(input_buffers_.empty()) in InitEncodeOnCodecThread()
547 RTC_CHECK(yuv_buffer_capacity >= yuv_size_) << "Insufficient capacity"; in InitEncodeOnCodecThread()
579 RTC_CHECK(frame_types->size() == 1) << "Unexpected stream count"; in EncodeOnCodecThread()
706 RTC_CHECK(!use_surface_); in EncodeByteBufferOnCodecThread()
715 RTC_CHECK(yuv_buffer) << "Indirect buffer??"; in EncodeByteBufferOnCodecThread()
[all …]
Dandroidnetworkmonitor_jni.cc63 RTC_CHECK(thread_checker_.CalledOnValidThread()); in Start()
71 RTC_CHECK(thread_checker_.CalledOnValidThread()); in Stop()
Dpeerconnection_jni.cc214 RTC_CHECK(candidate->ToString(&sdp)) << "got so far: " << sdp; in OnIceCandidate()
303 RTC_CHECK(added); in OnAddStream()
326 RTC_CHECK(added); in OnAddStream()
339 RTC_CHECK(it != remote_streams_.end()) << "unexpected stream: " << std::hex in OnRemoveStream()
364 RTC_CHECK(bumped_count == 2) << "Unexpected refcount OnDataChannel"; in OnDataChannel()
378 RTC_CHECK(!constraints_.get()) << "constraints already set!"; in SetConstraints()
477 RTC_CHECK(desc->ToString(&sdp)) << "got so far: " << sdp; in JavaSdpFromNativeSdp()
1158 RTC_CHECK(worker_thread->Start() && signaling_thread->Start()) in JOW()
1178 RTC_CHECK(factory) << "Failed to create the peer connection factory; " in JOW()
1406 RTC_CHECK(false) << "Unexpected IceTransportsType enum_name " << enum_name; in JavaIceTransportsTypeToNativeType()
[all …]
/external/webrtc/webrtc/test/
Drtp_file_writer.cc31 RTC_CHECK(file_ != NULL); in RtpDumpWriter()
45 RTC_CHECK(WriteUint16(len)); in WritePacket()
46 RTC_CHECK(WriteUint16(plen)); in WritePacket()
47 RTC_CHECK(WriteUint32(offset)); in WritePacket()
56 RTC_CHECK(WriteUint32(0)); in Init()
57 RTC_CHECK(WriteUint32(0)); in Init()
58 RTC_CHECK(WriteUint32(0)); in Init()
59 RTC_CHECK(WriteUint16(0)); in Init()
60 RTC_CHECK(WriteUint16(0)); in Init()
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc86 RTC_CHECK(captured_frame == &captured_frame_); in CreateAliasedFrame()
87 RTC_CHECK(buffer_->native_handle() == nullptr); in CreateAliasedFrame()
149 RTC_CHECK(!json_value["width"].isNull() && in AndroidVideoCapturer()
165 RTC_CHECK(!running_); in ~AndroidVideoCapturer()
170 RTC_CHECK(thread_checker_.CalledOnValidThread()); in Start()
171 RTC_CHECK(!running_); in Start()
188 RTC_CHECK(thread_checker_.CalledOnValidThread()); in Stop()
189 RTC_CHECK(running_); in Stop()
199 RTC_CHECK(thread_checker_.CalledOnValidThread()); in IsRunning()
204 RTC_CHECK(thread_checker_.CalledOnValidThread()); in GetPreferredFourccs()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc28 RTC_CHECK(((env != NULL) && (status == JNI_OK)) || in GetEnv()
53 RTC_CHECK(m) << name << ", " << signature; in GetMethodID()
62 RTC_CHECK(m) << name << ", " << signature; in GetStaticMethodID()
69 RTC_CHECK(c) << name; in FindClass()
76 RTC_CHECK(ret); in NewGlobalRef()
108 RTC_CHECK(attached_) << "AttachCurrentThread failed: " << res; in AttachThreadScoped()
116 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~AttachThreadScoped()
117 RTC_CHECK(!GetEnv(jvm_)); in ~AttachThreadScoped()
Djvm_android.cc44 RTC_CHECK(localRef) << c.name; in LoadClasses()
47 RTC_CHECK(globalRef) << c.name; in LoadClasses()
64 RTC_CHECK(false) << "Unable to find class in lookup table"; in LookUpClass()
73 RTC_CHECK(jvm); in AttachCurrentThreadIfNeeded()
89 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; in ~AttachCurrentThreadIfNeeded()
210 RTC_CHECK(!g_jvm); in Initialize()
231 RTC_CHECK(jni()) << "AttachCurrentThread() must be called on this thread."; in JVM()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc77 RTC_CHECK(dump_file_) << "Could not open dump file for reading."; in AecDumpFileProcessor()
94 RTC_CHECK(event_msg.has_init()); in ProcessChunk()
98 RTC_CHECK(event_msg.has_stream()); in ProcessChunk()
102 RTC_CHECK(event_msg.has_reverse_stream()); in ProcessChunk()
111 RTC_CHECK(msg.has_sample_rate()); in HandleMessage()
112 RTC_CHECK(msg.has_num_input_channels()); in HandleMessage()
113 RTC_CHECK(msg.has_num_reverse_channels()); in HandleMessage()
134 RTC_CHECK(!msg.has_input_data()); in HandleMessage()
160 RTC_CHECK(!msg.has_data()); in HandleMessage()
/external/webrtc/webrtc/voice_engine/
Dvoe_network_impl.cc51 RTC_CHECK(_shared->statistics().Initialized()); in DeRegisterExternalTransport()
71 RTC_CHECK(_shared->statistics().Initialized()); in ReceivedRTPPacket()
72 RTC_CHECK(data); in ReceivedRTPPacket()
95 RTC_CHECK(_shared->statistics().Initialized()); in ReceivedRTCPPacket()
96 RTC_CHECK(data); in ReceivedRTCPPacket()
/external/webrtc/webrtc/common_audio/
Dwav_file.cc51 RTC_CHECK(file_handle_) << "Could not open wav file for reading."; in WavReader()
56 RTC_CHECK(ReadWavHeader(&readable, &num_channels_, &sample_rate_, &format, in WavReader()
76 RTC_CHECK(read == num_samples || feof(file_handle_)); in ReadSamples()
107 RTC_CHECK(file_handle_) << "Could not open wav file for writing."; in WavWriter()
108 RTC_CHECK(CheckWavParameters(num_channels_, sample_rate_, kWavFormat, in WavWriter()
129 RTC_CHECK(num_samples_ >= written); // detect size_t overflow in WriteSamples()
Dwindow_generator.cc42 RTC_CHECK(window != nullptr); in Hanning()
52 RTC_CHECK(window != nullptr); in KaiserBesselDerived()
Dlapped_transform.cc86 RTC_CHECK(num_in_channels_ > 0 && num_out_channels_ > 0); in LappedTransform()
89 RTC_CHECK(block_processor_); in LappedTransform()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_bitstream_parser.cc161 RTC_CHECK(seq_scaling_list_present_flags == 0) in ParseSpsNalu()
208 RTC_CHECK(sps_parsed_); in ParsePpsNalu()
227 RTC_CHECK(entropy_coding_mode_flag == 0) in ParsePpsNalu()
317 RTC_CHECK(sps_parsed_); in ParseNonParameterSetNalu()
318 RTC_CHECK(pps_parsed_); in ParseNonParameterSetNalu()
467 RTC_CHECK(!((pps_.weighted_pred_flag && in ParseNonParameterSetNalu()
531 RTC_CHECK(ParseSpsNalu(slice, length)) in ParseSlice()
535 RTC_CHECK(ParsePpsNalu(slice, length)) in ParseSlice()
539 RTC_CHECK(ParseNonParameterSetNalu(slice, length, nalu_type)) in ParseSlice()
549 RTC_CHECK(!slice_markers.empty()); in ParseBitstream()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtpcat.cc31 RTC_CHECK(output.get() != NULL) << "Cannot open output file."; in main()
37 RTC_CHECK(input.get() != NULL) << "Cannot open input file " << argv[i]; in main()
42 RTC_CHECK(output->WritePacket(&packet)); in main()
/external/webrtc/webrtc/base/
Devent.cc34 RTC_CHECK(event_handle_); in Event()
59 RTC_CHECK(pthread_mutex_init(&event_mutex_, NULL) == 0);
60 RTC_CHECK(pthread_cond_init(&event_cond_, NULL) == 0);
Dbitbuffer.cc183 RTC_CHECK(Seek(original_byte_offset, original_bit_offset)); in ReadExponentialGolomb()
205 RTC_CHECK(out_byte_offset != NULL); in GetCurrentOffset()
206 RTC_CHECK(out_bit_offset != NULL); in GetCurrentOffset()
/external/webrtc/talk/app/webrtc/test/
Dandroidtestinitializer.cc55 RTC_CHECK(::base::android::IsVMInitialized()); in EnsureInitializedOnce()
62 RTC_CHECK(rtc::InitializeSSL()) << "Failed to InitializeSSL()"; in EnsureInitializedOnce()
/external/webrtc/webrtc/call/
Dcall.cc233 RTC_CHECK(audio_send_ssrcs_.empty()); in ~Call()
234 RTC_CHECK(video_send_ssrcs_.empty()); in ~Call()
235 RTC_CHECK(video_send_streams_.empty()); in ~Call()
236 RTC_CHECK(audio_receive_ssrcs_.empty()); in ~Call()
237 RTC_CHECK(video_receive_ssrcs_.empty()); in ~Call()
238 RTC_CHECK(video_receive_streams_.empty()); in ~Call()
423 RTC_CHECK(send_stream_impl != nullptr); in DestroyVideoSendStream()
488 RTC_CHECK(receive_stream_impl != nullptr); in DestroyVideoReceiveStream()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_template.h47 RTC_CHECK(audio_manager); in AudioDeviceTemplate()
459 RTC_CHECK(BuiltInAECIsAvailable()) << "HW AEC is not available"; in EnableBuiltInAEC()
470 RTC_CHECK(BuiltInAGCIsAvailable()) << "HW AGC is not available"; in EnableBuiltInAGC()
481 RTC_CHECK(BuiltInNSIsAvailable()) << "HW NS is not available"; in EnableBuiltInNS()
Daudio_manager.cc79 RTC_CHECK(j_environment_); in AudioManager()
224 RTC_CHECK(playout_parameters_.is_valid()); in GetPlayoutAudioParameters()
230 RTC_CHECK(record_parameters_.is_valid()); in GetRecordAudioParameters()
Dopensles_player.cc185 RTC_CHECK(audio_device_buffer_); in AttachAudioBuffer()
219 RTC_CHECK(false) << "Unsupported sample rate: " << sample_rate; in CreatePCMConfiguration()
229 RTC_CHECK(false) << "Unsupported number of channels: " in CreatePCMConfiguration()
238 RTC_CHECK(audio_device_buffer_); in AllocateDataBuffers()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc93 RTC_CHECK(RecreateEncoderInstance(config)); in AudioEncoderOpus()
164 RTC_CHECK(RecreateEncoderInstance(config_)); in Reset()
195 RTC_CHECK(RecreateEncoderInstance(conf)); in SetMaxPlaybackRate()

1234