/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
H A D | stats_camera_test.cpp | 73 double powerMahBefore = statsClient.GetAppStatsMah(uid); 75 double powerMahAfter = statsClient.GetAppStatsMah(uid); 103 double actualPower = statsClient.GetAppStatsMah(uid); 162 double powerMahAfter = statsClient.GetAppStatsMah(uid); 196 double actualPower = statsClient.GetAppStatsMah(uid); 296 double actualPower = statsClient.GetAppStatsMah(uid); 365 double actualPower = statsClient.GetAppStatsMah(uid); 425 double actualPower = statsClient.GetAppStatsMah(uid); 457 double actualPower = statsClient.GetAppStatsMah(uid); 516 double actualPower = statsClient.GetAppStatsMah(uid); [all …]
|
H A D | stats_location_test.cpp | 76 double powerMahBefore = statsClient.GetAppStatsMah(uid); 78 double powerMahAfter = statsClient.GetAppStatsMah(uid); 108 double actualPower = statsClient.GetAppStatsMah(uid); 174 double actualPower = statsClient.GetAppStatsMah(uid); 204 double actualPower = statsClient.GetAppStatsMah(uid); 242 double actualPower = statsClient.GetAppStatsMah(uid); 310 double actualPower = statsClient.GetAppStatsMah(uidOne); 317 actualPower = statsClient.GetAppStatsMah(uidTwo); 348 double actualPower = statsClient.GetAppStatsMah(uid); 383 double actualPower = statsClient.GetAppStatsMah(uid);
|
H A D | stats_alarm_test.cpp | 73 double powerMahBefore = statsClient.GetAppStatsMah(uid); 75 double powerMahAfter = statsClient.GetAppStatsMah(uid); 104 double actualPower = statsClient.GetAppStatsMah(uid); 161 double actualPower = statsClient.GetAppStatsMah(uid);
|
H A D | stats_audio_test.cpp | 73 double powerMahBefore = statsClient.GetAppStatsMah(uid); 75 double powerMahAfter = statsClient.GetAppStatsMah(uid); 104 double actualPower = statsClient.GetAppStatsMah(uid); 176 double actualPower = statsClient.GetAppStatsMah(uid); 214 double actualPower = statsClient.GetAppStatsMah(uid); 244 double actualPower = statsClient.GetAppStatsMah(uid);
|
H A D | stats_bluetooth_test.cpp | 707 double powerMahBefore = statsClient.GetAppStatsMah(uid); 709 double powerMahAfter = statsClient.GetAppStatsMah(uid); 739 double actualPower = statsClient.GetAppStatsMah(uid); 805 double actualPower = statsClient.GetAppStatsMah(uid); 843 double actualPower = statsClient.GetAppStatsMah(uid); 873 double actualPower = statsClient.GetAppStatsMah(uid); 911 double actualPower = statsClient.GetAppStatsMah(uid); 1013 double powerMahBefore = statsClient.GetAppStatsMah(uid); 1015 double powerMahAfter = statsClient.GetAppStatsMah(uid); 1043 double actualPower = statsClient.GetAppStatsMah(uid); [all …]
|
H A D | stats_powermgr_test.cpp | 107 double actualPower = statsClient.GetAppStatsMah(uid); 164 double actualPower = statsClient.GetAppStatsMah(uid); 238 double actualPower = statsClient.GetAppStatsMah(uid); 295 double actualPower = statsClient.GetAppStatsMah(uid);
|
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_camera_test.cpp | 96 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 98 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 130 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 199 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 239 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 357 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 438 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 508 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 545 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 612 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); [all …]
|
H A D | stats_service_location_test.cpp | 97 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 99 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 132 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 206 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 239 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 282 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 358 double actualPower = g_statsServiceProxy->GetAppStatsMah(uidOne); 365 actualPower = g_statsServiceProxy->GetAppStatsMah(uidTwo); 399 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 437 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); [all …]
|
H A D | stats_service_subscriber_test.cpp | 124 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 127 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 170 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 203 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 206 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 263 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 300 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
|
H A D | stats_service_audio_test.cpp | 97 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 99 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 132 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 216 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 260 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 294 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 381 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
|
H A D | stats_service_alarm_test.cpp | 94 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 96 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 126 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 186 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 287 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
|
H A D | stats_service_bluetooth_test.cpp | 804 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 806 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 839 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 913 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 956 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 989 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 1032 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 1145 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid); 1147 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid); 1178 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); [all …]
|
H A D | stats_service_powermgr_test.cpp | 134 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 199 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 283 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 348 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid); 497 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
|
/ohos5.0/base/powermgr/battery_statistics/test/systemtest/src/ |
H A D | batterystats_sys_test.cpp | 118 double actualPowerMah = statsClient.GetAppStatsMah(uid); 458 double actualPower = statsClient.GetAppStatsMah(uid); 489 double actualPower = statsClient.GetAppStatsMah(uid); 520 double actualPower = statsClient.GetAppStatsMah(uid); 550 double actualPower = statsClient.GetAppStatsMah(uid); 581 double actualPower = statsClient.GetAppStatsMah(uid); 676 actualPower = statsClient.GetAppStatsMah(uid); 724 actualPower = statsClient.GetAppStatsMah(uid); 737 actualPower = statsClient.GetAppStatsMah(uid); 785 actualPower = statsClient.GetAppStatsMah(uid); [all …]
|
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/src/ |
H A D | battery_stats_module.cpp | 57 static napi_value GetAppStatsMah(napi_env env, napi_callback_info info) in GetAppStatsMah() function 60 return stats.GetAppStatsMah(info, MAX_ARGC, ARGV_IND_0); in GetAppStatsMah() 140 DECLARE_NAPI_FUNCTION("getAppPowerValue", GetAppStatsMah), in BatteryStatsInit()
|
H A D | battery_stats.cpp | 94 napi_value BatteryStats::GetAppStatsMah(napi_callback_info& info, uint32_t maxArgc, uint32_t index) in GetAppStatsMah() function in OHOS::PowerMgr::BatteryStats 97 double appStatsMah = BatteryStatsClient::GetInstance().GetAppStatsMah(uid); in GetAppStatsMah()
|
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/ |
H A D | stats_client_test_mock_parcel.cpp | 46 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetAppStatsMah(uid)); 73 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetAppStatsMah(uid)); 101 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetAppStatsMah(uid));
|
H A D | stats_client_test_mock_peer.cpp | 41 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetAppStatsMah(uid));
|
H A D | stats_client_test_mock_object.cpp | 42 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetAppStatsMah(uid));
|
/ohos5.0/base/powermgr/battery_statistics/frameworks/native/src/ |
H A D | battery_stats_client.cpp | 87 double BatteryStatsClient::GetAppStatsMah(const int32_t& uid) in GetAppStatsMah() function in OHOS::PowerMgr::BatteryStatsClient 95 appStatsMah = proxy_->GetAppStatsMah(uid); in GetAppStatsMah()
|
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/include/ |
H A D | battery_stats.h | 35 napi_value GetAppStatsMah(napi_callback_info& info, uint32_t maxArgc, uint32_t index);
|
/ohos5.0/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/ |
H A D | stats_service_test_proxy.h | 35 double GetAppStatsMah(const int32_t& uid);
|
/ohos5.0/base/powermgr/battery_statistics/interfaces/inner_api/include/ |
H A D | ibattery_stats.h | 31 virtual double GetAppStatsMah(const int32_t& uid) = 0;
|
H A D | battery_stats_client.h | 40 double GetAppStatsMah(const int32_t& uid);
|
/ohos5.0/base/powermgr/battery_statistics/services/zidl/include/ |
H A D | battery_stats_proxy.h | 42 virtual double GetAppStatsMah(const int32_t& uid) override;
|