/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/ |
H A D | stats_service_test_proxy.h | 40 uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE);
|
/base/powermgr/battery_statistics/interfaces/inner_api/include/ |
H A D | ibattery_stats.h | 37 virtual uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType,
|
H A D | battery_stats_client.h | 45 uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE);
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/ |
H A D | stats_client_test_mock_parcel.cpp | 55 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetTotalDataBytes(statsType)); in HWTEST_F() 85 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F() 116 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F()
|
H A D | stats_client_test_mock_object.cpp | 53 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F()
|
H A D | stats_client_test_mock_peer.cpp | 50 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetTotalDataBytes(statsType)); in HWTEST_F()
|
/base/powermgr/battery_statistics/services/zidl/include/ |
H A D | battery_stats_proxy.h | 47 virtual uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid) override;
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
H A D | battery_stats_client.cpp | 158 uint64_t BatteryStatsClient::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid) in GetTotalDataBytes() function in OHOS::PowerMgr::BatteryStatsClient 160 STATS_HILOGD(COMP_FWK, "Call GetTotalDataBytes"); in GetTotalDataBytes() 163 count = proxy_->GetTotalDataBytes(statsType, uid); in GetTotalDataBytes()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/ |
H A D | stats_service_test_mock_parcel.cpp | 71 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, g_statsServiceProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F()
|
/base/powermgr/battery_statistics/services/native/include/ |
H A D | battery_stats_service.h | 52 uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE)
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
H A D | stats_service_test_proxy.cpp | 96 uint64_t StatsServiceTestProxy::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid) in GetTotalDataBytes() function in OHOS::PowerMgr::StatsServiceTestProxy
|
/base/powermgr/battery_statistics/services/native/src/ |
H A D | battery_stats_service.cpp | 291 uint64_t BatteryStatsService::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid)
in GetTotalDataBytes() function in OHOS::PowerMgr::BatteryStatsService
|
/base/powermgr/battery_statistics/services/zidl/src/ |
H A D | battery_stats_stub.cpp | 149 uint64_t ret = GetTotalDataBytes(statsType, uid);
in GetTotalDataBytesStub()
|
H A D | battery_stats_proxy.cpp | 94 uint64_t BatteryStatsProxy::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid)
in GetTotalDataBytes() function in OHOS::PowerMgr::BatteryStatsProxy
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
H A D | stats_wifi_test.cpp | 441 * @tc.desc: test GetTotalDataBytes function (Wifi scan) 459 long data = statsClient.GetTotalDataBytes(StatsUtils::STATS_TYPE_WIFI_SCAN); in HWTEST_F()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_wifi_test.cpp | 486 * @tc.desc: test GetTotalDataBytes function (Wifi scan) 504 long data = g_statsServiceProxy->GetTotalDataBytes(StatsUtils::STATS_TYPE_WIFI_SCAN); in HWTEST_F()
|