Home
last modified time | relevance | path

Searched refs:g_thermalInterface (Results 1 - 2 of 2) sorted by relevance

/test/xts/hats/powermgr/thermal/hdi_thermal_additional/common/
H A DHDIThermalTest.cpp73 sptr<IThermalInterface> g_thermalInterface = nullptr; member
86 void HdfThermalHdiTestAdditional::SetUpTestCase() { g_thermalInterface = IThermalInterface::Get(true); } in SetUpTestCase()
108 ret |= g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
120 int32_t ret = g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
131 int32_t ret = g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
142 int32_t ret = g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
153 int32_t ret = g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
167 ret |= g_thermalInterface->SetGpuFreq(gpuFreq); in HWTEST_F()
179 int32_t ret = g_thermalInterface->SetGpuFreq(gpuFreq); in HWTEST_F()
190 int32_t ret = g_thermalInterface in HWTEST_F()
[all...]
/test/xts/hats/powermgr/thermal/hdi_thermal/common/
H A Dhdi_thermal_test.cpp69 sptr<IThermalInterface> g_thermalInterface = nullptr; member
92 g_thermalInterface = IThermalInterface::Get(true); in SetUpTestCase()
144 ASSERT_NE(nullptr, g_thermalInterface); in HWTEST_F()
156 int32_t ret = g_thermalInterface->SetCpuFreq(cpuFreq); in HWTEST_F()
189 int32_t ret = g_thermalInterface->SetGpuFreq(gpuFreq); in HWTEST_F()
222 int32_t ret = g_thermalInterface->SetBatteryCurrent(batteryCurrent); in HWTEST_F()
255 int32_t ret = g_thermalInterface->GetThermalZoneInfo(event); in HWTEST_F()
272 int32_t ret = g_thermalInterface->Register(g_callback); in HWTEST_F()
285 int32_t ret = g_thermalInterface->Unregister(); in HWTEST_F()
298 int32_t ret = g_thermalInterface in HWTEST_F()
[all...]

Completed in 2 milliseconds