Home
last modified time | relevance | path

Searched refs:g_batterySrvClient (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/
Dbattery_fuzzer_test.cpp36 auto& g_batterySrvClient = BatterySrvClient::GetInstance(); variable
42 g_batterySrvClient.GetCapacity(); in TestGetCapacity()
47 g_batterySrvClient.GetVoltage(); in TestGetVoltage()
52 g_batterySrvClient.GetChargingStatus(); in TestGetChargingStatus()
57 g_batterySrvClient.GetHealthStatus(); in TestGetHealthStatus()
62 g_batterySrvClient.GetPluggedType(); in TestGetPluggedType()
67 g_batterySrvClient.GetPresent(); in TestGetPresent()
72 g_batterySrvClient.GetTechnology(); in TestGetTechnology()
77 g_batterySrvClient.GetBatteryTemperature(); in TestGetTemperature()
82 g_batterySrvClient.GetNowCurrent(); in TestGetNowCurrent()
[all …]
/base/powermgr/battery_manager/test/benchmarktest/
Dbattery_benchmark_test.cpp35 auto& g_batterySrvClient = BatterySrvClient::GetInstance(); variable
47 int32_t capactiy = g_batterySrvClient.GetCapacity(); in BENCHMARK_F()
65 auto chargeState = g_batterySrvClient.GetChargingStatus(); in BENCHMARK_F()
83 auto healthStatus = g_batterySrvClient.GetHealthStatus(); in BENCHMARK_F()
101 auto pluggedType = g_batterySrvClient.GetPluggedType(); in BENCHMARK_F()
120 ASSERT_TRUE(g_batterySrvClient.GetVoltage() >= 0); in BENCHMARK_F()
136 bool present = g_batterySrvClient.GetPresent(); in BENCHMARK_F()
153 auto technology = g_batterySrvClient.GetTechnology(); in BENCHMARK_F()
170 auto temperature = g_batterySrvClient.GetBatteryTemperature(); in BENCHMARK_F()
188 auto currnow = g_batterySrvClient.GetNowCurrent(); in BENCHMARK_F()
[all …]