/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_powermgr_test.cpp | 136 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 137 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 138 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 182 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 183 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 184 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 267 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 268 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 269 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 313 double actualPercent = statsClient.GetAppStatsPercent(uid); variable [all …]
|
D | stats_camera_test.cpp | 131 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 132 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 133 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 229 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 230 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 231 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 331 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 332 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 333 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 545 double actualPercent = statsClient.GetAppStatsPercent(uid); variable [all …]
|
D | stats_audio_test.cpp | 134 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 135 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 136 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 263 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 264 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 265 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_alarm_test.cpp | 133 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 134 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 135 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_wifi_test.cpp | 133 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); variable 134 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 135 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 375 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); variable 376 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 377 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 610 double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI); variable 611 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 612 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 623 actualPercent = statsClient.GetAppStatsPercent(uid); [all …]
|
D | stats_bluetooth_test.cpp | 170 …double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOT… variable 171 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 172 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 470 …double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOT… variable 471 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 472 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 770 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 771 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 772 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 1072 double actualPercent = statsClient.GetAppStatsPercent(uid); variable [all …]
|
D | stats_location_test.cpp | 139 double actualPercent = statsClient.GetAppStatsPercent(uid); variable 140 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 141 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_phone_test.cpp | 136 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); variable 137 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 138 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 396 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE); variable 397 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 398 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_display_test.cpp | 196 … double actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN); variable 197 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 198 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_powermgr_test.cpp | 167 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 168 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 169 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 219 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 220 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 221 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 316 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 317 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 318 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 368 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable [all …]
|
D | stats_service_camera_test.cpp | 162 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 163 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 164 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 278 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 279 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 280 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 398 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 399 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 400 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 645 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable [all …]
|
D | stats_service_wifi_test.cpp | 159 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 160 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 161 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 420 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 421 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 422 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 659 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 660 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 661 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 674 actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); [all …]
|
D | stats_service_audio_test.cpp | 166 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 167 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 168 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 315 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 316 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 317 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_service_alarm_test.cpp | 157 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 158 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 159 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_service_bluetooth_test.cpp | 207 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 208 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 209 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 540 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 541 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 542 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 873 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 874 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 875 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 1210 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable [all …]
|
D | stats_service_phone_test.cpp | 164 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 165 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 166 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent); 454 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 455 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 456 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_service_location_test.cpp | 166 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable 167 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 168 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|
D | stats_service_display_test.cpp | 238 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable 239 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent; 240 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
|