Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp392 auto totalenergy = BatterySrvClient.GetTotalEnergy(); variable
393 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::totalenergy=%{public}d", totalenergy);
394 … GTEST_LOG_(INFO) << "BatteryClient::BatteryClient011 executing, totalenergy=" << totalenergy;
395 ASSERT_EQ(totalenergy, 4654321);
399 auto totalenergy = BatterySrvClient.GetTotalEnergy(); variable
400 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::totalenergy=%{public}d", totalenergy);
401 … GTEST_LOG_(INFO) << "BatteryClient::BatteryClient011 executing, totalenergy=" << totalenergy;
402 ASSERT_TRUE(totalenergy >= 0);
/base/powermgr/battery_manager/test/benchmarktest/
Dbattery_benchmark_test.cpp224 auto totalenergy = g_batterySrvClient.GetTotalEnergy(); in BENCHMARK_F() local
226 ASSERT_TRUE(totalenergy >= 0); in BENCHMARK_F()