Home
last modified time | relevance | path

Searched refs:GetTotalDataBytes (Results 1 - 16 of 16) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
H A Dstats_service_test_proxy.h40 uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE);
/base/powermgr/battery_statistics/interfaces/inner_api/include/
H A Dibattery_stats.h37 virtual uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType,
H A Dbattery_stats_client.h45 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 Dstats_client_test_mock_parcel.cpp55 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 Dstats_client_test_mock_object.cpp53 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, sptrStatsProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F()
H A Dstats_client_test_mock_peer.cpp50 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, statsClient.GetTotalDataBytes(statsType)); in HWTEST_F()
/base/powermgr/battery_statistics/services/zidl/include/
H A Dbattery_stats_proxy.h47 virtual uint64_t GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid) override;
/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_client.cpp158 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 Dstats_service_test_mock_parcel.cpp71 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, g_statsServiceProxy->GetTotalDataBytes(statsType, StatsUtils::INVALID_VALUE)); in HWTEST_F()
/base/powermgr/battery_statistics/services/native/include/
H A Dbattery_stats_service.h52 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 Dstats_service_test_proxy.cpp96 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 Dbattery_stats_service.cpp291 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 Dbattery_stats_stub.cpp149 uint64_t ret = GetTotalDataBytes(statsType, uid); in GetTotalDataBytesStub()
H A Dbattery_stats_proxy.cpp94 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 Dstats_wifi_test.cpp441 * @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 Dstats_service_wifi_test.cpp486 * @tc.desc: test GetTotalDataBytes function (Wifi scan)
504 long data = g_statsServiceProxy->GetTotalDataBytes(StatsUtils::STATS_TYPE_WIFI_SCAN); in HWTEST_F()

Completed in 11 milliseconds