Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager_unittest.cc66 : manager_(new InitialDelayManager(kInitDelayMs, kLatePacketThreshold)), in InitialDelayManagerTest()
70 ASSERT_TRUE(manager_.get() != NULL); in SetUp()
81 rtc::scoped_ptr<InitialDelayManager> manager_; member in webrtc::acm2::InitialDelayManagerTest
87 EXPECT_TRUE(manager_->buffering()); in TEST_F()
88 EXPECT_FALSE(manager_->PacketBuffered()); in TEST_F()
89 manager_->DisableBuffering(); in TEST_F()
90 EXPECT_FALSE(manager_->buffering()); in TEST_F()
94 manager_->LatePackets(0x6789ABCD, &sync_stream); // Arbitrary but large in TEST_F()
100 manager_->UpdateLastReceivedPacket(rtp_info_, rtp_receive_timestamp_, in TEST_F()
106 manager_->UpdateLastReceivedPacket(rtp_info_, rtp_receive_timestamp_, in TEST_F()
[all …]
/external/webrtc/webrtc/p2p/base/
Dstunrequest_unittest.cc24 : manager_(rtc::Thread::Current()), in StunRequestTest()
27 manager_.SignalSendPacket.connect(this, &StunRequestTest::OnSendPacket); in StunRequestTest()
67 StunRequestManager manager_; member in StunRequestTest
103 manager_.Send(new StunRequestThunker(req, this)); in TEST_F()
105 EXPECT_TRUE(manager_.CheckResponse(res)); in TEST_F()
118 manager_.Send(new StunRequestThunker(req, this)); in TEST_F()
120 EXPECT_TRUE(manager_.CheckResponse(res)); in TEST_F()
133 manager_.Send(new StunRequestThunker(req, this)); in TEST_F()
135 EXPECT_FALSE(manager_.CheckResponse(res)); in TEST_F()
150 manager_.Send(new StunRequestThunker(req, this)); in TEST_F()
[all …]
Dstunrequest.cc142 : count_(0), timeout_(false), manager_(0), in StunRequest()
149 : count_(0), timeout_(false), manager_(0), in StunRequest()
156 ASSERT(manager_ != NULL); in ~StunRequest()
157 if (manager_) { in ~StunRequest()
158 manager_->Remove(this); in ~StunRequest()
159 manager_->thread_->Clear(this); in ~StunRequest()
190 ASSERT(!manager_); in set_manager()
191 manager_ = manager; in set_manager()
195 ASSERT(manager_ != NULL); in OnMessage()
208 manager_->SignalSendPacket(buf.Data(), buf.Length(), this); in OnMessage()
[all …]
Dstunrequest.h84 StunRequestManager* manager() { return manager_; } in manager()
126 StunRequestManager* manager_; variable
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_output_test.cc69 VoETestManager manager_; member in voetest::OutputTest
77 EXPECT_TRUE(manager_.Init()); in OutputTest()
78 manager_.GetInterfaces(); in OutputTest()
80 VoEBase* base = manager_.BasePtr(); in OutputTest()
81 VoECodec* codec = manager_.CodecPtr(); in OutputTest()
82 VoENetwork* network = manager_.NetworkPtr(); in OutputTest()
98 EXPECT_EQ(0, manager_.VolumeControlPtr()->SetSpeakerVolume(255)); in OutputTest()
100 manager_.ExternalMediaPtr()->RegisterExternalMediaProcessing( in OutputTest()
105 EXPECT_EQ(0, manager_.NetworkPtr()->DeRegisterExternalTransport(channel_)); in ~OutputTest()
106 EXPECT_EQ(0, manager_.ReleaseInterfaces()); in ~OutputTest()
[all …]
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc64 manager_.reset(); in TearDown()
69 return manager_->CreateTaskQueue<TestTaskQueue>(spec); in CreateTaskQueue()
77 std::unique_ptr<SequenceManagerForTest> manager_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::SequenceManagerTestBase
90 void DeleteSequenceManagerTask() { manager_.reset(); } in DeleteSequenceManagerTask()
101 manager_ = in SetUp()
128 if (!manager_->HasImmediateWork()) { in RunUntilManagerIsIdle()
131 manager_->GetRealTimeDomain()->DelayTillNextTask(&lazy_now); in RunUntilManagerIsIdle()
172 manager_ = SequenceManagerForTest::Create( in SetUpWithMessageLoop()
179 manager_ = std::make_unique<SequenceManagerForTest>( in SetUpWithMessagePump()
183 manager_->CreateTaskQueue<TestTaskQueue>(TaskQueue::Spec("default")); in SetUpWithMessagePump()
[all …]
Dsequence_manager_perftest.cc71 manager_->UnregisterTimeDomain(time_domain_.get()); in TearDown()
72 manager_.reset(); in TearDown()
78 manager_ = SequenceManagerForTest::Create(message_loop_.get(), in Initialize()
81 manager_->AddTaskTimeObserver(&test_task_time_observer_); in Initialize()
84 manager_->RegisterTimeDomain(time_domain_.get()); in Initialize()
87 queues_.push_back(manager_->CreateTaskQueue<TestTaskQueue>( in Initialize()
199 std::unique_ptr<SequenceManager> manager_; member in base::sequence_manager::SequenceManagerPerfTest
/external/google-benchmark/src/
Dbenchmark.cc139 manager_(manager) { in State()
183 MutexLock l(manager_->GetBenchmarkMutex()); in SkipWithError()
184 if (manager_->results.has_error_ == false) { in SkipWithError()
185 manager_->results.error_message_ = msg; in SkipWithError()
186 manager_->results.has_error_ = true; in SkipWithError()
198 MutexLock l(manager_->GetBenchmarkMutex()); in SetLabel()
199 manager_->results.report_label_ = label; in SetLabel()
206 manager_->StartStopBarrier(); in StartKeepRunning()
218 manager_->StartStopBarrier(); in FinishKeepRunning()
/external/libcxx/utils/google-benchmark/src/
Dbenchmark.cc139 manager_(manager) { in State()
183 MutexLock l(manager_->GetBenchmarkMutex()); in SkipWithError()
184 if (manager_->results.has_error_ == false) { in SkipWithError()
185 manager_->results.error_message_ = msg; in SkipWithError()
186 manager_->results.has_error_ = true; in SkipWithError()
198 MutexLock l(manager_->GetBenchmarkMutex()); in SetLabel()
199 manager_->results.report_label_ = label; in SetLabel()
206 manager_->StartStopBarrier(); in StartKeepRunning()
218 manager_->StartStopBarrier(); in FinishKeepRunning()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h53 manager_(new PassManager()),
189 manager_->AddPass<PassT>(std::forward<Args>(args)...); in AddPass()
194 manager_ = MakeUnique<PassManager>(); in RenewPassManger()
195 manager_->SetMessageConsumer(consumer_); in RenewPassManger()
203 assert(manager_->NumPasses()); in RunAndCheck()
209 manager_->Run(context()); in RunAndCheck()
240 std::unique_ptr<PassManager> manager_; // The pass manager. variable
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_fixture.h53 manager_(new PassManager()),
189 manager_->AddPass<PassT>(std::forward<Args>(args)...); in AddPass()
194 manager_ = MakeUnique<PassManager>(); in RenewPassManger()
195 manager_->SetMessageConsumer(consumer_); in RenewPassManger()
203 assert(manager_->NumPasses()); in RunAndCheck()
209 manager_->Run(context()); in RunAndCheck()
240 std::unique_ptr<PassManager> manager_; // The pass manager. variable
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc53 : agc_(new MockAgc), manager_(agc_, &gctrl_, &volume_, kInitialVolume) { in AgcManagerDirectTest()
55 manager_.Initialize(); in AgcManagerDirectTest()
84 manager_.Process(nullptr, kSamplesPerChannel, kSampleRateHz); in CallProcess()
90 manager_.AnalyzePreProcess(nullptr, kNumChannels, kSamplesPerChannel); in CallPreProc()
97 AgcManagerDirect manager_; member in webrtc::AgcManagerDirectTest
339 manager_.SetCaptureMuted(true); in TEST_F()
340 manager_.Process(nullptr, kSamplesPerChannel, kSampleRateHz); in TEST_F()
346 manager_.SetCaptureMuted(true); in TEST_F()
347 manager_.SetCaptureMuted(false); in TEST_F()
358 manager_.SetCaptureMuted(true); in TEST_F()
[all …]
/external/webrtc/webrtc/base/
Dfirewallsocketserver.cc108 : server_(server), manager_(manager), in FirewallSocketServer()
112 if (manager_) in FirewallSocketServer()
113 manager_->AddServer(this); in FirewallSocketServer()
117 if (manager_) in ~FirewallSocketServer()
118 manager_->RemoveServer(this); in ~FirewallSocketServer()
Dfirewallsocketserver.h76 FirewallManager * manager_; variable
/external/webrtc/talk/media/devices/
Dmacdevicemanager.cc54 DeviceManagerInterface* manager_; member in cricket::MacDeviceWatcher
175 manager_(manager), in MacDeviceWatcher()
184 impl_ = CreateDeviceWatcherCallback(manager_); in Start()
Dwin32devicemanager.cc82 Win32DeviceManager* manager_; member in cricket::Win32DeviceWatcher
345 manager_(manager), in Win32DeviceWatcher()
405 manager_->SignalDevicesChange(); in OnMessage()
Dmacdevicemanagermm.mm47 cricket::DeviceManagerInterface* manager_; field
57 manager_ = manager;
79 manager_->SignalDevicesChange();
Dlinuxdevicemanager.cc69 DeviceManagerInterface* manager_; member in cricket::LinuxDeviceWatcher
296 manager_(dm), in LinuxDeviceWatcher()
396 manager_->SignalDevicesChange(); in OnEvent()
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h680 internal::ThreadManager* manager_; variable
/external/google-benchmark/include/benchmark/
Dbenchmark.h680 internal::ThreadManager* manager_; variable