Home
last modified time | relevance | path

Searched refs:recording_ (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer.cc67 bool recording_ = false; member in tensorflow::profiler::__anon9a94ae3b0111::HostTracer
82 if (recording_) { in Start()
90 recording_ = TraceMeRecorder::Start(host_trace_level_); in Start()
91 if (!recording_) { in Start()
98 if (!recording_) { in Stop()
102 recording_ = false; in Stop()
107 if (recording_) { in CollectData()
150 if (recording_) { in CollectData()
Dpython_tracer.cc53 bool recording_ = false; member in tensorflow::profiler::__anona4156b1f0111::PythonTracer
65 if (recording_) { in Start()
69 recording_ = true; in Start()
75 if (!recording_) { in Stop()
80 recording_ = false; in Stop()
/external/webrtc/sdk/android/src/jni/audio_device/
Daaudio_recorder.cc65 RTC_DCHECK(!recording_); in InitRecording()
81 RTC_DCHECK(!recording_); in StartRecording()
90 recording_ = true; in StartRecording()
97 if (!initialized_ || !recording_) { in StopRecording()
105 recording_ = false; in StopRecording()
110 return recording_; in Recording()
221 if (!initialized_ || !recording_) { in HandleStreamDisconnected()
Daudio_record_jni.cc69 recording_(false), in AudioRecordJni()
109 RTC_DCHECK(!recording_); in InitRecording()
137 if (recording_) { in StartRecording()
151 recording_ = true; in StartRecording()
158 if (!initialized_ || !recording_) { in StopRecording()
181 recording_ = false; in StopRecording()
187 return recording_; in Recording()
Dopensles_recorder.cc52 recording_(false), in OpenSLESRecorder()
101 RTC_DCHECK(!recording_); in InitRecording()
120 RTC_DCHECK(!recording_); in StartRecording()
133 recording_ = false; in StartRecording()
148 recording_ = (GetRecordState() == SL_RECORDSTATE_RECORDING); in StartRecording()
149 RTC_DCHECK(recording_); in StartRecording()
156 if (!initialized_ || !recording_) { in StopRecording()
170 recording_ = false; in StopRecording()
175 return recording_; in Recording()
Daaudio_recorder.h112 bool recording_ = false; variable
Dopensles_recorder.h150 bool recording_; variable
Daudio_record_jni.h127 bool recording_; variable
/external/webrtc/modules/audio_device/android/
Daaudio_recorder.cc63 RTC_DCHECK(!recording_); in InitRecording()
75 RTC_DCHECK(!recording_); in StartRecording()
84 recording_ = true; in StartRecording()
91 if (!initialized_ || !recording_) { in StopRecording()
99 recording_ = false; in StopRecording()
209 if (!initialized_ || !recording_) { in HandleStreamDisconnected()
Dopensles_recorder.cc51 recording_(false), in OpenSLESRecorder()
99 RTC_DCHECK(!recording_); in InitRecording()
114 RTC_DCHECK(!recording_); in StartRecording()
127 recording_ = false; in StartRecording()
142 recording_ = (GetRecordState() == SL_RECORDSTATE_RECORDING); in StartRecording()
143 RTC_DCHECK(recording_); in StartRecording()
150 if (!initialized_ || !recording_) { in StopRecording()
164 recording_ = false; in StopRecording()
Daudio_record_jni.cc94 recording_(false), in AudioRecordJni()
140 RTC_DCHECK(!recording_); in InitRecording()
162 RTC_DCHECK(!recording_); in StartRecording()
173 recording_ = true; in StartRecording()
180 if (!initialized_ || !recording_) { in StopRecording()
192 recording_ = false; in StopRecording()
Daaudio_recorder.h58 bool Recording() const { return recording_; } in Recording()
110 bool recording_ = false; variable
Dopensles_recorder.h74 bool Recording() const { return recording_; } in Recording()
153 bool recording_; variable
Daudio_record_jni.h80 bool Recording() const { return recording_; } in Recording()
159 bool recording_; variable
/external/webrtc/modules/audio_device/
Daudio_device_buffer.cc54 recording_(false), in AudioDeviceBuffer()
75 RTC_DCHECK(!recording_); in ~AudioDeviceBuffer()
83 if (playing_ || recording_) { in RegisterAudioCallback()
104 if (!recording_) { in StartPlayout()
115 if (recording_) { in StartRecording()
128 recording_ = true; in StartRecording()
143 if (!recording_) { in StopPlayout()
151 if (!recording_) { in StopRecording()
155 recording_ = false; in StopRecording()
Daudio_device_buffer.h172 bool recording_ RTC_GUARDED_BY(main_thread_checker_);
/external/webrtc/pc/test/
Dfake_audio_capture_module.cc43 recording_(false), in FakeAudioCaptureModule()
216 recording_ = true; in StartRecording()
227 recording_ = false; in StopRecording()
236 return recording_; in Recording()
439 return recording_ || playing_; in ShouldStartProcessing()
485 if (recording_) { in ProcessFrameP()
Dfake_audio_capture_module.h194 bool recording_ RTC_GUARDED_BY(
/external/webrtc/sdk/objc/native/src/audio/
Daudio_device_ios.mm106 recording_(0),
215 RTC_DCHECK(!recording_);
235 if (!recording_ && audio_unit_->GetState() == VoiceProcessingAudioUnit::kInitialized) {
254 if (!recording_) {
283 RTC_DCHECK(!recording_);
295 rtc::AtomicOps::ReleaseStore(&recording_, 1);
302 if (!audio_is_initialized_ || !recording_) {
309 rtc::AtomicOps::ReleaseStore(&recording_, 0);
314 return recording_;
376 if (!rtc::AtomicOps::AcquireLoad(&recording_)) return result;
[all …]
Daudio_device_ios.h262 volatile int recording_; variable