Searched refs:FakeResource (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/call/adaptation/test/ |
D | fake_resource.cc | 21 rtc::scoped_refptr<FakeResource> FakeResource::Create(std::string name) { in Create() 22 return new rtc::RefCountedObject<FakeResource>(name); in Create() 25 FakeResource::FakeResource(std::string name) in FakeResource() function in webrtc::FakeResource 28 FakeResource::~FakeResource() {} in ~FakeResource() 30 void FakeResource::SetUsageState(ResourceUsageState usage_state) { in SetUsageState() 36 std::string FakeResource::Name() const { in Name() 40 void FakeResource::SetResourceListener(ResourceListener* listener) { in SetResourceListener()
|
D | fake_resource.h | 24 class FakeResource : public Resource { 26 static rtc::scoped_refptr<FakeResource> Create(std::string name); 28 explicit FakeResource(std::string name); 29 ~FakeResource() override;
|
/external/webrtc/call/adaptation/ |
D | broadcast_resource_listener_unittest.cc | 24 rtc::scoped_refptr<FakeResource> source_resource = in TEST() 25 FakeResource::Create("SourceResource"); in TEST() 49 rtc::scoped_refptr<FakeResource> source_resource = in TEST() 50 FakeResource::Create("FooBarResource"); in TEST() 63 rtc::scoped_refptr<FakeResource> source_resource = in TEST() 64 FakeResource::Create("SourceResource"); in TEST()
|
D | resource_unittest.cc | 28 ResourceTest() : fake_resource_(FakeResource::Create("FakeResource")) {} in ResourceTest() 31 rtc::scoped_refptr<FakeResource> fake_resource_;
|
D | resource_adaptation_processor_unittest.cc | 90 resource_(FakeResource::Create("FakeResource")), in ResourceAdaptationProcessorTest() 91 other_resource_(FakeResource::Create("OtherFakeResource")), in ResourceAdaptationProcessorTest() 143 rtc::scoped_refptr<FakeResource> resource_; 144 rtc::scoped_refptr<FakeResource> other_resource_;
|
D | video_stream_adapter_unittest.cc | 190 resource_(FakeResource::Create("FakeResource")), in VideoStreamAdapterTest()
|
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcCleanupRuleTest.java | 311 Resource resource1 = mock(FakeResource.class, in multiResource_timeoutCalculation() 312 delegatesTo(new FakeResource(1 /* cleanupNanos */, 10 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation() 314 Resource resource2 = mock(FakeResource.class, in multiResource_timeoutCalculation() 315 delegatesTo(new FakeResource(100 /* cleanupNanos */, 1000 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation() 348 Resource resource1 = mock(FakeResource.class, in multiResource_timeoutCalculation_customTimeout() 349 delegatesTo(new FakeResource(1 /* cleanupNanos */, 10 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation_customTimeout() 351 Resource resource2 = mock(FakeResource.class, in multiResource_timeoutCalculation_customTimeout() 352 delegatesTo(new FakeResource(100 /* cleanupNanos */, 1000 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation_customTimeout() 423 public static class FakeResource implements Resource { class in GrpcCleanupRuleTest 427 private FakeResource(long cleanupNanos, long awaitReleaseNanos) { in FakeResource() method in GrpcCleanupRuleTest.FakeResource
|
/external/webrtc/pc/ |
D | peer_connection_adaptation_integrationtest.cc | 67 rtc::scoped_refptr<FakeResource> fake_resource, in TriggerOveruseAndGetSinkWants() 122 auto fake_resource = FakeResource::Create("FakeResource"); in TEST_F() 137 auto fake_resource = FakeResource::Create("FakeResource"); in TEST_F()
|
/external/webrtc/call/ |
D | call_unittest.cc | 373 auto fake_resource = FakeResource::Create("FakeResource"); in TEST() 414 auto fake_resource = FakeResource::Create("FakeResource"); in TEST()
|
/external/webrtc/video/ |
D | video_stream_encoder_unittest.cc | 323 fake_cpu_resource_(FakeResource::Create("FakeResource[CPU]")), in VideoStreamEncoderUnderTest() 324 fake_quality_resource_(FakeResource::Create("FakeResource[QP]")), in VideoStreamEncoderUnderTest() 433 rtc::scoped_refptr<FakeResource> fake_cpu_resource_; 434 rtc::scoped_refptr<FakeResource> fake_quality_resource_;
|