Home
last modified time | relevance | path

Searched refs:powerMahBefore (Results 1 - 17 of 17) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_alarm_test.cpp75 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
78 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
80 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_camera_test.cpp75 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
78 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
80 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
168 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
171 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
173 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
274 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
277 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
279 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
513 double powerMahBefore in HWTEST_F() local
516 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; HWTEST_F() local
[all...]
H A Dstats_audio_test.cpp75 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
78 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
80 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_wifi_test.cpp77 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); in HWTEST_F() local
80 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
82 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
336 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); in HWTEST_F() local
339 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
341 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_bluetooth_test.cpp109 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in HWTEST_F() local
112 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
114 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
426 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in HWTEST_F() local
429 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
431 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
745 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
748 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
750 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
1069 double powerMahBefore in HWTEST_F() local
1072 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; HWTEST_F() local
[all...]
H A Dstats_location_test.cpp78 double powerMahBefore = statsClient.GetAppStatsMah(uid); in HWTEST_F() local
81 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
83 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_phone_test.cpp77 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); in HWTEST_F() local
80 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
82 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
354 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); in HWTEST_F() local
357 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
359 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_display_test.cpp101 double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN); in HWTEST_F() local
104 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
106 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_subscriber_test.cpp129 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
133 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
135 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
212 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
216 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
218 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_camera_test.cpp98 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
101 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
103 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
205 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
208 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
210 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
329 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
332 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
334 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
605 double powerMahBefore in HWTEST_F() local
608 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; HWTEST_F() local
[all...]
H A Dstats_service_alarm_test.cpp96 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
99 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
101 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_wifi_test.cpp97 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); in HWTEST_F() local
100 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
102 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
381 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); in HWTEST_F() local
384 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
386 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_bluetooth_test.cpp140 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in HWTEST_F() local
143 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
145 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
490 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in HWTEST_F() local
493 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
495 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
842 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
845 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
847 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
1201 double powerMahBefore in HWTEST_F() local
1204 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; HWTEST_F() local
[all...]
H A Dstats_service_audio_test.cpp99 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
102 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
104 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_phone_test.cpp99 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); in HWTEST_F() local
102 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
104 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
406 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); in HWTEST_F() local
409 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
411 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_display_test.cpp128 double powerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN); in HWTEST_F() local
131 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
133 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()
H A Dstats_service_location_test.cpp99 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); in HWTEST_F() local
102 GTEST_LOG_(INFO) << __func__ << ": before consumption = " << powerMahBefore << " mAh"; in HWTEST_F() local
104 EXPECT_TRUE(powerMahBefore >= StatsUtils::DEFAULT_VALUE && powerMahAfter == StatsUtils::DEFAULT_VALUE); in HWTEST_F()

Completed in 20 milliseconds