Home
last modified time | relevance | path

Searched refs:GetAppStatsMah (Results 1 – 25 of 36) sorted by relevance

12

/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_camera_test.cpp73 double powerMahBefore = statsClient.GetAppStatsMah(uid);
75 double powerMahAfter = statsClient.GetAppStatsMah(uid);
103 double actualPower = statsClient.GetAppStatsMah(uid);
160 double powerMahBefore = statsClient.GetAppStatsMah(uid);
162 double powerMahAfter = statsClient.GetAppStatsMah(uid);
196 double actualPower = statsClient.GetAppStatsMah(uid);
260 double powerMahBefore = statsClient.GetAppStatsMah(uid);
262 double powerMahAfter = statsClient.GetAppStatsMah(uid);
296 double actualPower = statsClient.GetAppStatsMah(uid);
365 double actualPower = statsClient.GetAppStatsMah(uid);
[all …]
Dstats_alarm_test.cpp73 double powerMahBefore = statsClient.GetAppStatsMah(uid);
75 double powerMahAfter = statsClient.GetAppStatsMah(uid);
104 double actualPower = statsClient.GetAppStatsMah(uid);
161 double actualPower = statsClient.GetAppStatsMah(uid);
Dstats_location_test.cpp76 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);
Dstats_audio_test.cpp73 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);
Dstats_bluetooth_test.cpp707 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);
979 double actualPowerOne = statsClient.GetAppStatsMah(uidOne);
986 double actualPowerTwo = statsClient.GetAppStatsMah(uidTwo);
1013 double powerMahBefore = statsClient.GetAppStatsMah(uid);
[all …]
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_location_test.cpp97 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 …]
Dstats_service_camera_test.cpp96 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid);
98 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid);
130 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
197 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid);
199 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid);
239 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
315 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid);
317 double powerMahAfter = g_statsServiceProxy->GetAppStatsMah(uid);
357 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
438 double actualPower = g_statsServiceProxy->GetAppStatsMah(uid);
[all …]
Dstats_service_subscriber_test.cpp124 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);
Dstats_service_alarm_test.cpp94 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);
Dstats_service_audio_test.cpp97 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);
Dstats_service_bluetooth_test.cpp804 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);
1108 double actualPowerOne = g_statsServiceProxy->GetAppStatsMah(uidOne);
1115 double actualPowerTwo = g_statsServiceProxy->GetAppStatsMah(uidTwo);
1145 double powerMahBefore = g_statsServiceProxy->GetAppStatsMah(uid);
[all …]
Dstats_service_powermgr_test.cpp134 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);
/base/powermgr/battery_statistics/test/fuzztest/batterystats_fuzzer/
Dbatterystats_fuzzer.cpp62 static void GetAppStatsMah(const uint8_t* data, size_t size) in GetAppStatsMah() function
65 g_batterystatsClient.GetAppStatsMah(uid); in GetAppStatsMah()
129 &GetAppStatsMah,
/base/powermgr/battery_statistics/test/systemtest/src/
Dbatterystats_sys_test.cpp118 double actualPowerMah = statsClient.GetAppStatsMah(uid);
426 double actualPower = statsClient.GetAppStatsMah(uerId);
455 double actualPower = statsClient.GetAppStatsMah(uid);
486 double actualPower = statsClient.GetAppStatsMah(uid);
517 double actualPower = statsClient.GetAppStatsMah(uid);
547 double actualPower = statsClient.GetAppStatsMah(uid);
578 double actualPower = statsClient.GetAppStatsMah(uid);
655 double actualPower = statsClient.GetAppStatsMah(uid);
673 actualPower = statsClient.GetAppStatsMah(uid);
705 double actualPower = statsClient.GetAppStatsMah(uid);
[all …]
/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats_module.cpp57 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()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/
Dstats_client_test_mock_parcel.cpp46 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));
Dstats_client_test_mock_peer.cpp41 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetAppStatsMah(uid));
Dstats_client_test_mock_object.cpp42 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetAppStatsMah(uid));
/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
Dstats_service_test_proxy.h35 double GetAppStatsMah(const int32_t& uid);
/base/powermgr/battery_statistics/frameworks/napi/include/
Dbattery_stats.h35 napi_value GetAppStatsMah(napi_callback_info& info, uint32_t maxArgc, uint32_t index);
/base/powermgr/battery_statistics/interfaces/inner_api/include/
Dibattery_stats.h31 virtual double GetAppStatsMah(const int32_t& uid) = 0;
Dbattery_stats_client.h40 double GetAppStatsMah(const int32_t& uid);
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_client.cpp87 double BatteryStatsClient::GetAppStatsMah(const int32_t& uid) in GetAppStatsMah() function in OHOS::PowerMgr::BatteryStatsClient
95 appStatsMah = proxy_->GetAppStatsMah(uid); in GetAppStatsMah()
/base/powermgr/battery_statistics/services/zidl/include/
Dbattery_stats_proxy.h42 virtual double GetAppStatsMah(const int32_t& uid) override;
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/
Dstats_service_test_mock_parcel.cpp62 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, g_statsServiceProxy->GetAppStatsMah(uid));

12