/external/libweave/src/ |
D | component_manager_unittest.cc | 96 ComponentManagerImpl manager_{&task_runner_, &clock_}; member in weave::__anon606260270111::ComponentManagerTest 102 EXPECT_TRUE(manager_.GetTraits().empty()); in TEST_F() 103 EXPECT_TRUE(manager_.GetComponents().empty()); in TEST_F() 126 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F() 127 EXPECT_JSON_EQ(kTraits, manager_.GetTraits()); in TEST_F() 128 EXPECT_TRUE(manager_.GetComponents().empty()); in TEST_F() 151 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F() 171 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F() 195 EXPECT_JSON_EQ(kExpected, manager_.GetTraits()); in TEST_F() 218 EXPECT_TRUE(manager_.LoadTraits(*json, nullptr)); in TEST_F() [all …]
|
D | access_black_list_manager_impl_unittest.cc | 52 manager_.reset(new AccessBlackListManagerImpl{&config_store_, 10, &clock_}); in SetUp() 56 std::unique_ptr<AccessBlackListManagerImpl> manager_; member in weave::AccessBlackListManagerImplTest 60 EXPECT_EQ(1u, manager_->GetSize()); in TEST_F() 61 EXPECT_EQ(10u, manager_->GetCapacity()); in TEST_F() 65 manager_->GetEntries()); in TEST_F() 85 manager_->Block({7, 7, 7}, {8, 8, 8}, base::Time::FromTimeT(1419990000), {}); in TEST_F() 89 manager_->Block({}, {}, base::Time::FromTimeT(1400000000), in TEST_F() 102 for (size_t i = manager_->GetSize(); i < manager_->GetCapacity(); ++i) { in TEST_F() 103 manager_->Block( in TEST_F() 106 EXPECT_EQ(i + 1, manager_->GetSize()); in TEST_F() [all …]
|
D | access_api_handler.cc | 55 : device_{device}, manager_{manager} { in AccessApiHandler() 156 manager_->Block(user_id, app_id, expiration, in Block() 179 manager_->Unblock(user_id, app_id, in Unblock() 194 for (const auto& e : manager_->GetEntries()) { in List() 222 state.SetInteger(kStateSize, manager_->GetSize()); in UpdateState() 223 state.SetInteger(kStateCapacity, manager_->GetCapacity()); in UpdateState()
|
D | access_api_handler.h | 39 AccessBlackListManager* manager_{nullptr};
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | initial_delay_manager_unittest.cc | 66 : 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/ |
D | stunrequest_unittest.cc | 24 : 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 …]
|
D | stunrequest.cc | 142 : 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 …]
|
D | stunrequest.h | 84 StunRequestManager* manager() { return manager_; } in manager() 126 StunRequestManager* manager_; variable
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
D | voe_output_test.cc | 69 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/webrtc/webrtc/modules/audio_processing/agc/ |
D | agc_manager_direct_unittest.cc | 53 : 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/ |
D | firewallsocketserver.cc | 108 : 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()
|
D | firewallsocketserver.h | 76 FirewallManager * manager_; variable
|
/external/webrtc/talk/media/devices/ |
D | macdevicemanager.cc | 54 DeviceManagerInterface* manager_; member in cricket::MacDeviceWatcher 175 manager_(manager), in MacDeviceWatcher() 184 impl_ = CreateDeviceWatcherCallback(manager_); in Start()
|
D | win32devicemanager.cc | 82 Win32DeviceManager* manager_; member in cricket::Win32DeviceWatcher 345 manager_(manager), in Win32DeviceWatcher() 405 manager_->SignalDevicesChange(); in OnMessage()
|
D | macdevicemanagermm.mm | 47 cricket::DeviceManagerInterface* manager_; field 57 manager_ = manager; 79 manager_->SignalDevicesChange();
|
D | linuxdevicemanager.cc | 69 DeviceManagerInterface* manager_; member in cricket::LinuxDeviceWatcher 296 manager_(dm), in LinuxDeviceWatcher() 396 manager_->SignalDevicesChange(); in OnEvent()
|