Searched refs:ResourceUsageState (Results 1 – 19 of 19) sorted by relevance
/external/webrtc/call/adaptation/ |
D | resource_adaptation_processor_unittest.cc | 156 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 166 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 170 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 184 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 195 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 211 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 225 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 229 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 237 resource_->SetUsageState(ResourceUsageState::kUnderuse); in TEST_F() 245 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() [all …]
|
D | broadcast_resource_listener_unittest.cc | 42 source_resource->SetUsageState(ResourceUsageState::kOveruse); in TEST() 81 ResourceUsageState usage_state) { in TEST() 83 EXPECT_EQ(ResourceUsageState::kOveruse, usage_state); in TEST() 88 ResourceUsageState usage_state) { in TEST() 90 EXPECT_EQ(ResourceUsageState::kOveruse, usage_state); in TEST() 92 source_resource->SetUsageState(ResourceUsageState::kOveruse); in TEST() 98 ResourceUsageState usage_state) { in TEST() 100 EXPECT_EQ(ResourceUsageState::kUnderuse, usage_state); in TEST() 105 ResourceUsageState usage_state) { in TEST() 107 EXPECT_EQ(ResourceUsageState::kUnderuse, usage_state); in TEST() [all …]
|
D | resource_unittest.cc | 40 ResourceUsageState usage_state) { in TEST_F() 41 EXPECT_EQ(ResourceUsageState::kOveruse, usage_state); in TEST_F() 43 fake_resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F() 52 fake_resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
|
D | broadcast_resource_listener.cc | 31 void OnResourceUsageStateMeasured(ResourceUsageState usage_state) { in OnResourceUsageStateMeasured() 112 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
|
D | resource_adaptation_processor.h | 77 ResourceUsageState usage_state) override; 100 ResourceUsageState usage_state) override;
|
D | resource_adaptation_processor.cc | 48 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured() 203 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured() 217 case ResourceUsageState::kOveruse: in OnResourceUsageStateMeasured() 220 case ResourceUsageState::kUnderuse: in OnResourceUsageStateMeasured()
|
D | broadcast_resource_listener.h | 58 ResourceUsageState usage_state) override;
|
/external/webrtc/api/adaptation/ |
D | resource.cc | 15 const char* ResourceUsageStateToString(ResourceUsageState usage_state) { in ResourceUsageStateToString() 17 case ResourceUsageState::kOveruse: in ResourceUsageStateToString() 19 case ResourceUsageState::kUnderuse: in ResourceUsageStateToString()
|
D | resource.h | 24 enum class ResourceUsageState { enum 32 ResourceUsageState usage_state); 40 ResourceUsageState usage_state) = 0;
|
/external/webrtc/call/ |
D | call_unittest.cc | 390 ResourceUsageState usage_state) { in TEST() 392 EXPECT_EQ(ResourceUsageState::kOveruse, usage_state); in TEST() 400 ResourceUsageState usage_state) { in TEST() 402 EXPECT_EQ(ResourceUsageState::kOveruse, usage_state); in TEST() 406 fake_resource->SetUsageState(ResourceUsageState::kOveruse); in TEST() 452 ResourceUsageState usage_state) { in TEST() 454 EXPECT_EQ(ResourceUsageState::kUnderuse, usage_state); in TEST() 462 ResourceUsageState usage_state) { in TEST() 464 EXPECT_EQ(ResourceUsageState::kUnderuse, usage_state); in TEST() 468 fake_resource->SetUsageState(ResourceUsageState::kUnderuse); in TEST()
|
/external/webrtc/video/adaptation/ |
D | quality_scaler_resource.cc | 108 ResourceUsageState::kUnderuse); in OnEncodeCompleted() 143 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kOveruse); in OnReportQpUsageHigh() 159 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kUnderuse); in OnReportQpUsageLow()
|
D | encode_usage_resource.cc | 97 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kUnderuse); in AdaptUp() 108 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kOveruse); in AdaptDown()
|
D | video_stream_encoder_resource.h | 51 void OnResourceUsageStateMeasured(ResourceUsageState usage_state);
|
D | video_stream_encoder_resource.cc | 67 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
|
/external/webrtc/call/adaptation/test/ |
D | mock_resource_listener.h | 25 ResourceUsageState usage_state),
|
D | fake_resource.h | 31 void SetUsageState(ResourceUsageState usage_state);
|
D | fake_resource.cc | 30 void FakeResource::SetUsageState(ResourceUsageState usage_state) { in SetUsageState()
|
/external/webrtc/pc/ |
D | peer_connection_adaptation_integrationtest.cc | 69 fake_resource->SetUsageState(ResourceUsageState::kOveruse); in TriggerOveruseAndGetSinkWants()
|
/external/webrtc/video/ |
D | video_stream_encoder_unittest.cc | 384 fake_cpu_resource_->SetUsageState(ResourceUsageState::kOveruse); in TriggerCpuOveruse() 392 fake_cpu_resource_->SetUsageState(ResourceUsageState::kUnderuse); in TriggerCpuUnderuse() 402 fake_quality_resource_->SetUsageState(ResourceUsageState::kOveruse); in TriggerQualityLow() 410 fake_quality_resource_->SetUsageState(ResourceUsageState::kUnderuse); in TriggerQualityHigh()
|