Home
last modified time | relevance | path

Searched refs:actualPercent (Results 1 – 18 of 18) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_powermgr_test.cpp136 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 …]
Dstats_camera_test.cpp131 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 …]
Dstats_audio_test.cpp134 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);
Dstats_alarm_test.cpp133 double actualPercent = statsClient.GetAppStatsPercent(uid); variable
134 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent;
135 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
Dstats_wifi_test.cpp133 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 …]
Dstats_bluetooth_test.cpp170 …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 …]
Dstats_location_test.cpp139 double actualPercent = statsClient.GetAppStatsPercent(uid); variable
140 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent;
141 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
Dstats_phone_test.cpp136 … 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);
Dstats_display_test.cpp196 … 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/
Dstats_service_powermgr_test.cpp167 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 …]
Dstats_service_camera_test.cpp162 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 …]
Dstats_service_wifi_test.cpp159 …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 …]
Dstats_service_audio_test.cpp166 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);
Dstats_service_alarm_test.cpp157 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable
158 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent;
159 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
Dstats_service_bluetooth_test.cpp207 …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 …]
Dstats_service_phone_test.cpp164 …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);
Dstats_service_location_test.cpp166 double actualPercent = g_statsServiceProxy->GetAppStatsPercent(uid); variable
167 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent;
168 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);
Dstats_service_display_test.cpp238 …double actualPercent = g_statsServiceProxy->GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE… variable
239 GTEST_LOG_(INFO) << __func__ << ": actual percent = " << actualPercent;
240 EXPECT_TRUE(actualPercent >= zeroPercent && actualPercent <= fullPercent);