Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_bluetooth_test.cpp1364 double actualSoftPower = g_statsServiceProxy->GetAppStatsMah(uid); variable
1365 double devPrecentSoft = abs(expectedSoftPower - actualSoftPower) / expectedSoftPower;
1367 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
1396 double actualSoftPower = g_statsServiceProxy->GetAppStatsMah(uid); variable
1398 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
1399 EXPECT_EQ(expectedPower, actualSoftPower);
1478 double devPrecentSoft = abs(expectedSoftPower - actualSoftPower) / expectedSoftPower;
1480 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
1532 double actualSoftPower = g_statsServiceProxy->GetAppStatsMah(uid); variable
1534 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
[all …]
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_bluetooth_test.cpp1212 double actualSoftPower = statsClient.GetAppStatsMah(uid); variable
1213 double devPrecentSoft = abs(expectedSoftPower - actualSoftPower) / expectedSoftPower;
1215 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
1243 double actualSoftPower = statsClient.GetAppStatsMah(uid); variable
1245 GTEST_LOG_(INFO) << __func__ << ": actual soft consumption = " << actualSoftPower << " mAh";
1246 EXPECT_EQ(expectedPower, actualSoftPower);