Home
last modified time | relevance | path

Searched refs:ResourceUsageState (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/call/adaptation/
Dresource_adaptation_processor_unittest.cc156 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 …]
Dbroadcast_resource_listener_unittest.cc42 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 …]
Dresource_unittest.cc40 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()
Dbroadcast_resource_listener.cc31 void OnResourceUsageStateMeasured(ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
112 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
Dresource_adaptation_processor.h77 ResourceUsageState usage_state) override;
100 ResourceUsageState usage_state) override;
Dresource_adaptation_processor.cc48 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
203 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
217 case ResourceUsageState::kOveruse: in OnResourceUsageStateMeasured()
220 case ResourceUsageState::kUnderuse: in OnResourceUsageStateMeasured()
Dbroadcast_resource_listener.h58 ResourceUsageState usage_state) override;
/external/webrtc/api/adaptation/
Dresource.cc15 const char* ResourceUsageStateToString(ResourceUsageState usage_state) { in ResourceUsageStateToString()
17 case ResourceUsageState::kOveruse: in ResourceUsageStateToString()
19 case ResourceUsageState::kUnderuse: in ResourceUsageStateToString()
Dresource.h24 enum class ResourceUsageState { enum
32 ResourceUsageState usage_state);
40 ResourceUsageState usage_state) = 0;
/external/webrtc/call/
Dcall_unittest.cc390 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/
Dquality_scaler_resource.cc108 ResourceUsageState::kUnderuse); in OnEncodeCompleted()
143 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kOveruse); in OnReportQpUsageHigh()
159 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kUnderuse); in OnReportQpUsageLow()
Dencode_usage_resource.cc97 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kUnderuse); in AdaptUp()
108 this_ref->OnResourceUsageStateMeasured(ResourceUsageState::kOveruse); in AdaptDown()
Dvideo_stream_encoder_resource.h51 void OnResourceUsageStateMeasured(ResourceUsageState usage_state);
Dvideo_stream_encoder_resource.cc67 ResourceUsageState usage_state) { in OnResourceUsageStateMeasured()
/external/webrtc/call/adaptation/test/
Dmock_resource_listener.h25 ResourceUsageState usage_state),
Dfake_resource.h31 void SetUsageState(ResourceUsageState usage_state);
Dfake_resource.cc30 void FakeResource::SetUsageState(ResourceUsageState usage_state) { in SetUsageState()
/external/webrtc/pc/
Dpeer_connection_adaptation_integrationtest.cc69 fake_resource->SetUsageState(ResourceUsageState::kOveruse); in TriggerOveruseAndGetSinkWants()
/external/webrtc/video/
Dvideo_stream_encoder_unittest.cc384 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()