Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_bluetooth_test.cpp1357 …double actualPartPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_B… variable
1358 double devPrecentPart = abs(expectedPartPower - actualPartPower) / expectedPartPower;
1360 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
1391 …double actualPartPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_B… variable
1393 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
1394 EXPECT_EQ(expectedPower, actualPartPower);
1468 …double actualPartPower = bluetoothEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_BLUETOOTH_BR_ON)… variable
1470 double devPrecentPart = abs(expectedPartPower - actualPartPower) / expectedPartPower;
1472 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
1528 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
[all …]
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_bluetooth_test.cpp1205 …double actualPartPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); variable
1206 double devPrecentPart = abs(expectedPartPower - actualPartPower) / expectedPartPower;
1208 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
1238 …double actualPartPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); variable
1240 GTEST_LOG_(INFO) << __func__ << ": actual part consumption = " << actualPartPower << " mAh";
1241 EXPECT_EQ(expectedPower, actualPartPower);