/external/chromium_org/net/quic/ |
D | quic_stream_factory_test.cc | 103 factory_(&host_resolver_, in QuicStreamFactoryTest() 123 factory_.set_require_confirmation(false); in QuicStreamFactoryTest() 131 &factory_, host_port_pair, false, net_log_); in CreateIfSessionExists() 156 QuicStreamRequest request(&factory_); in GetSourcePortForNewSessionInner() 171 &factory_, destination, is_https_); in GetSourcePortForNewSessionInner() 187 factory_.OnSessionClosed(session); in GetSourcePortForNewSessionInner() 210 QuicStreamFactory factory_; member in net::test::QuicStreamFactoryTest 233 QuicStreamRequest request(&factory_); in TEST_P() 252 QuicStreamRequest request2(&factory_); in TEST_P() 281 QuicStreamRequest request(&factory_); in TEST_P() [all …]
|
/external/chromium_org/content/renderer/media/ |
D | audio_device_factory.cc | 16 AudioDeviceFactory* AudioDeviceFactory::factory_ = NULL; member in content::AudioDeviceFactory 21 if (factory_) { in NewOutputDevice() 23 factory_->CreateOutputDevice(render_view_id); in NewOutputDevice() 37 if (factory_) { in NewInputDevice() 39 factory_->CreateInputDevice(render_view_id); in NewInputDevice() 50 DCHECK(!factory_) << "Can't register two factories at once."; in AudioDeviceFactory() 51 factory_ = this; in AudioDeviceFactory() 55 factory_ = NULL; in ~AudioDeviceFactory()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_view_host_factory.cc | 13 RenderViewHostFactory* RenderViewHostFactory::factory_ = NULL; member in content::RenderViewHostFactory 24 if (factory_) { in Create() 25 return factory_->CreateRenderViewHost(instance, delegate, widget_delegate, in Create() 35 DCHECK(!factory_) << "Can't register two factories at once."; in RegisterFactory() 36 factory_ = factory; in RegisterFactory() 41 DCHECK(factory_) << "No factory to unregister."; in UnregisterFactory() 42 factory_ = NULL; in UnregisterFactory()
|
/external/protobuf/gtest/test/ |
D | gtest-death-test_test.cc | 856 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest 859 factory_ = new MockDeathTestFactory; in SetUpTestCase() 860 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase() 866 delete factory_; in TearDownTestCase() 867 factory_ = NULL; in TearDownTestCase() 883 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest 889 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F() 892 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F() 893 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F() 894 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F() [all …]
|
/external/chromium_org/content/browser/frame_host/ |
D | render_frame_host_factory.cc | 14 RenderFrameHostFactory* RenderFrameHostFactory::factory_ = NULL; member in content::RenderFrameHostFactory 24 if (factory_) { in Create() 25 return factory_->CreateRenderFrameHost(render_view_host, in Create() 39 DCHECK(!factory_) << "Can't register two factories at once."; in RegisterFactory() 40 factory_ = factory; in RegisterFactory() 45 DCHECK(factory_) << "No factory to unregister."; in UnregisterFactory() 46 factory_ = NULL; in UnregisterFactory()
|
/external/chromium_org/testing/gtest/test/ |
D | gtest-death-test_test.cc | 1015 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest 1018 factory_ = new MockDeathTestFactory; in SetUpTestCase() 1019 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase() 1025 delete factory_; in TearDownTestCase() 1026 factory_ = NULL; in TearDownTestCase() 1042 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest 1048 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F() 1051 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F() 1052 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F() 1053 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F() [all …]
|
/external/gtest/test/ |
D | gtest-death-test_test.cc | 954 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest 957 factory_ = new MockDeathTestFactory; in SetUpTestCase() 958 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase() 964 delete factory_; in TearDownTestCase() 965 factory_ = NULL; in TearDownTestCase() 981 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest 987 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F() 990 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F() 991 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F() 992 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F() [all …]
|
/external/chromium_org/cc/surfaces/ |
D | surfaces_pixeltest.cc | 32 SurfacesPixelTest() : allocator_(1u), factory_(&manager_, &client_) {} in SurfacesPixelTest() 38 SurfaceFactory factory_; member in cc::__anonc11563f30111::SurfacesPixelTest 89 factory_.Create(root_surface_id, device_viewport_size_); in TEST_F() 90 factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure()); in TEST_F() 95 factory_.Destroy(root_surface_id); in TEST_F() 111 factory_.Create(child_surface_id, child_size); in TEST_F() 112 factory_.Create(root_surface_id, device_viewport_size_); in TEST_F() 144 factory_.SubmitFrame(root_surface_id, root_frame.Pass(), base::Closure()); in TEST_F() 171 factory_.SubmitFrame(child_surface_id, child_frame.Pass(), base::Closure()); in TEST_F() 185 factory_.Destroy(root_surface_id); in TEST_F() [all …]
|
D | surface_aggregator_unittest.cc | 52 : factory_(&manager_, &empty_client_), aggregator_(&manager_, NULL) {} in SurfaceAggregatorTest() 57 SurfaceFactory factory_; member in cc::__anon342b05600111::SurfaceAggregatorTest 63 factory_.Create(one_id, SurfaceSize()); in TEST_F() 66 factory_.Destroy(one_id); in TEST_F() 76 factory_.Create(root_surface_id_, SurfaceSize()); in SetUp() 80 factory_.Destroy(root_surface_id_); in TearDown() 121 factory_.SubmitFrame(surface_id, frame.Pass(), base::Closure()); in SubmitFrame() 131 factory_.SubmitFrame(surface_id, child_frame.Pass(), base::Closure()); in QueuePassAsFrame() 172 factory_.Create(embedded_surface_id, SurfaceSize()); in TEST_F() 196 factory_.Destroy(embedded_surface_id); in TEST_F() [all …]
|
/external/chromium_org/ui/ozone/platform/dri/ |
D | dri_surface_factory_unittest.cc | 67 scoped_ptr<ui::DriSurfaceFactory> factory_; member in DriSurfaceFactoryTest 81 factory_.reset(new ui::DriSurfaceFactory( in SetUp() 97 factory_.reset(); in TearDown() 103 EXPECT_EQ(ui::DriSurfaceFactory::FAILED, factory_->InitializeHardware()); in TEST_F() 108 factory_->InitializeHardware()); in TEST_F() 113 factory_->InitializeHardware()); in TEST_F() 115 EXPECT_TRUE(factory_->CreateCanvasForWidget( in TEST_F() 121 factory_->InitializeHardware()); in TEST_F() 123 scoped_ptr<ui::SurfaceOzoneCanvas> surf = factory_->CreateCanvasForWidget( in TEST_F() 135 factory_->SetHardwareCursor(ui::DriSurfaceFactory::kDefaultWidgetHandle, in TEST_F()
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
D | fakeportallocator.h | 55 factory_(factory), in FakePortAllocatorSession() 66 factory_, in StartGettingPorts() 102 rtc::PacketSocketFactory* factory_; variable 113 : worker_thread_(worker_thread), factory_(factory) { in FakePortAllocator() 114 if (factory_ == NULL) { in FakePortAllocator() 117 factory_ = owned_factory_.get(); in FakePortAllocator() 127 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal() 132 rtc::PacketSocketFactory* factory_; variable
|
/external/chromium_org/media/audio/ |
D | test_audio_input_controller_factory.cc | 19 factory_(factory), in TestAudioInputController() 26 factory_->OnTestAudioInputControllerDestroyed(this); in ~TestAudioInputController() 30 if (factory_->delegate_) in Record() 31 factory_->delegate_->TestAudioControllerOpened(this); in Record() 36 if (factory_->delegate_) in Close() 37 factory_->delegate_->TestAudioControllerClosed(this); in Close()
|
/external/chromium_org/components/precache/core/ |
D | precache_fetcher_unittest.cc | 80 factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, in PrecacheFetcherTest() 87 net::FakeURLFetcherFactory factory_; member in precache::__anon9fa0b9a70111::PrecacheFetcherTest 129 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F() 131 factory_.SetFakeResponse(GURL(kManifestFetchFailureURL), "", in TEST_F() 134 factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, in TEST_F() 136 factory_.SetFakeResponse(GURL(kGoodManifestURL), in TEST_F() 139 factory_.SetFakeResponse(GURL(kResourceFetchFailureURL), in TEST_F() 142 factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, in TEST_F() 144 factory_.SetFakeResponse(GURL(kForcedStartingURLManifestURL), in TEST_F() 174 factory_.SetFakeResponse(GURL(kConfigURL), "", in TEST_F() [all …]
|
/external/chromium_org/tools/clang/plugins/tests/ |
D | weak_ptr_factory.cpp | 9 base::WeakPtrFactory<OnlyMember> factory_; member in should_succeed::OnlyMember 15 base::WeakPtrFactory<FactoryLast> factory_; member in should_succeed::FactoryLast 27 base::WeakPtrFactory<FirstFactoryRefersToOtherType> factory_; member in should_succeed::FirstFactoryRefersToOtherType 35 base::WeakPtrFactory<FactoryFirst> factory_; member in should_fail::FactoryFirst 41 base::WeakPtrFactory<FactoryMiddle> factory_; member in should_fail::FactoryMiddle
|
/external/chromium_org/chrome/service/cloud_print/ |
D | printer_job_handler_unittest.cc | 468 net::FakeURLFetcherFactory factory_; member in cloud_print::PrinterJobHandlerTest 506 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in MakeJobFetchReturnNoJobs() 509 factory_.SetFakeResponse(JobListURI(kJobFetchReasonFailure), in MakeJobFetchReturnNoJobs() 512 factory_.SetFakeResponse(JobListURI(kJobFetchReasonRetry), in MakeJobFetchReturnNoJobs() 529 : factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, in PrinterJobHandlerTest() 562 factory_.SetFakeResponse(TicketURI(job_num), in SetUpJobSuccessTest() 565 factory_.SetFakeResponse(DownloadURI(job_num), in SetUpJobSuccessTest() 569 factory_.SetFakeResponse(DoneURI(job_num), in SetUpJobSuccessTest() 573 factory_.SetFakeResponse(InProgressURI(job_num), in SetUpJobSuccessTest() 680 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in TEST_F() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideocapturer_unittest.cc | 47 : factory_(new FakeWebRtcVcmFactory), in WebRtcVideoCapturerTest() 48 capturer_(new cricket::WebRtcVideoCapturer(factory_)), in WebRtcVideoCapturerTest() 50 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest() 57 factory_->device_info.AddCapability(kTestDeviceId, vga); in WebRtcVideoCapturerTest() 61 FakeWebRtcVcmFactory* factory_; // owned by capturer_ member in WebRtcVideoCapturerTest 90 EXPECT_TRUE(capturer_->Init(factory_->Create(0, in TEST_F() 103 EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); in TEST_F() 115 EXPECT_TRUE(capturer_->Init(factory_->Create(0, in TEST_F() 129 EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); in TEST_F()
|
/external/chromium_org/net/http/ |
D | http_stream_factory_impl_request.cc | 24 factory_(factory), in Request() 33 DCHECK(factory_); in Request() 48 factory_->request_map_.erase(*it); in ~Request() 60 factory_->spdy_session_request_map_[spdy_session_key]; in SetSpdySessionKey() 68 factory_->request_map_[job] = this; in AttachJob() 94 DCHECK(!factory_->for_websockets_); in OnStreamReady() 107 DCHECK(factory_->for_websockets_); in OnWebSocketHandshakeStreamReady() 127 factory_->request_map_.erase(job); in OnStreamFailed() 137 factory_->request_map_.erase(job); in OnStreamFailed() 241 factory_->spdy_session_request_map_; in RemoveRequestFromSpdySessionRequestMap() [all …]
|
/external/chromium_org/content/test/ |
D | weburl_loader_mock.cc | 15 : factory_(factory), in WebURLLoaderMock() 72 if (factory_->IsMockedURL(request.url())) { in loadSynchronously() 73 factory_->LoadSynchronously(request, &response, &error, &data); in loadSynchronously() 85 if (factory_->IsMockedURL(request.url())) { in loadAsynchronously() 87 factory_->LoadAsynchronouly(request, this); in loadAsynchronously() 103 factory_->CancelLoad(this); in cancel()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | safe_browsing_resource_throttle_factory.cc | 16 SafeBrowsingResourceThrottleFactory::factory_ = NULL; member in SafeBrowsingResourceThrottleFactory 21 factory_ = factory; in RegisterFactory() 30 if (factory_) in Create() 31 return factory_->CreateResourceThrottle( in Create()
|
/external/protobuf/src/google/protobuf/ |
D | dynamic_message_unittest.cc | 59 DynamicMessageFactory factory_; member in google::protobuf::DynamicMessageTest 67 DynamicMessageTest(): factory_(&pool_) {} in DynamicMessageTest() 86 prototype_ = factory_.GetPrototype(descriptor_); in SetUp() 91 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp() 96 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp() 108 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | dynamic_message_unittest.cc | 59 DynamicMessageFactory factory_; member in google::protobuf::DynamicMessageTest 67 DynamicMessageTest(): factory_(&pool_) {} in DynamicMessageTest() 90 prototype_ = factory_.GetPrototype(descriptor_); in SetUp() 95 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp() 100 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp() 112 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
|
/external/chromium_org/content/browser/compositor/ |
D | surface_display_output_surface.cc | 23 factory_(surface_manager, this), in SurfaceDisplayOutputSurface() 32 factory_.Destroy(surface_id_); in ~SurfaceDisplayOutputSurface() 47 factory_.Destroy(surface_id_); in SwapBuffers() 50 factory_.Create(surface_id_, frame_size); in SwapBuffers() 57 factory_.SubmitFrame( in SwapBuffers()
|
/external/chromium_org/ppapi/examples/url_loader/ |
D | stream_to_file.cc | 35 factory_.Initialize(this); in MyInstance() 65 pp::CompletionCallbackFactory<MyInstance> factory_; member in MyInstance 95 factory_.NewCallback(&MyInstance::OnOpenComplete)); in StartRequest() 105 factory_.NewCallback(&MyInstance::OnStreamComplete)); in OnOpenComplete() 114 factory_.NewCallback(&MyInstance::OnOpenFileComplete)); in OnStreamComplete() 126 factory_.NewCallback(&MyInstance::OnReadComplete)); in OnOpenFileComplete()
|
/external/chromium_org/third_party/webrtc/base/ |
D | referencecountedsingletonfactory.h | 90 factory_(factory) { in rcsf_ptr() 119 factory_->ReleaseInstance(); in release() 132 return factory_; in factory() 145 instance_ = factory_->GetInstance(); in Acquire() 150 ReferenceCountedSingletonFactory<Interface>* factory_; variable
|
/external/chromium_org/ppapi/examples/video_effects/ |
D | video_effects.cc | 63 pp::CompletionCallbackFactory<VEDemoInstance> factory_; member in __anond9c12f080111::VEDemoInstance 73 factory_.Initialize(this); in VEDemoInstance() 97 factory_.NewCallback(&VEDemoInstance::DestinationOpenDone, in HandleMessage() 117 factory_.NewCallback(&VEDemoInstance::SourceOpenDone)); in DestinationOpenDone() 129 message_loop_.PostWork(factory_.NewCallback(&VEDemoInstance::KickoffEffect)); in SourceOpenDone() 158 message_loop_.PostWork(factory_.NewCallback(&VEDemoInstance::KickoffEffect)); in GetFrameDone() 164 factory_.NewCallbackWithOutput<pp::VideoFrame_Private>( in KickoffEffect()
|