Home
last modified time | relevance | path

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

/foundation/communication/netmanager_base/services/netstatsmanager/include/
H A Dnet_stats_history.h31 int32_t GetHistory(std::vector<NetStatsInfo> &recv, uint64_t start = 0, uint64_t end = LONG_MAX);
32 int32_t GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, uint64_t start = 0, uint64_t end = LONG_MAX);
33 int32_t GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint64_t start = 0,
35 int32_t GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint32_t uid, uint64_t start = 0,
39 int32_t GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, const std::string &ident, uint64_t start = 0,
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_history_test.cpp55 int32_t ret = history->GetHistory(infos); in HWTEST_F()
65 int32_t ret = history->GetHistory(infos, currentTime - TIME_CYCLE, currentTime + TIME_CYCLE); in HWTEST_F()
74 int32_t ret = history->GetHistory(infos, 1152, 0, LONG_MAX); in HWTEST_F()
84 int32_t ret = history->GetHistory(infos, 1152, currentTime - TIME_CYCLE, currentTime + TIME_CYCLE); in HWTEST_F()
93 int32_t ret = history->GetHistory(infos, "wlan0"); in HWTEST_F()
103 int32_t ret = history->GetHistory(infos, "wlan0", currentTime - TIME_CYCLE, currentTime + TIME_CYCLE); in HWTEST_F()
112 int32_t ret = history->GetHistory(infos, "wlan0", 1152, 0, LONG_MAX); in HWTEST_F()
122 int32_t ret = history->GetHistory(infos, "wlan0", 1152, currentTime - TIME_CYCLE, currentTime + TIME_CYCLE); in HWTEST_F()
143 int32_t ret = history->GetHistory(infos, uid, ident, 0, LONG_MAX); in HWTEST_F()
H A Dnet_stats_cached_test.cpp92 int32_t ret = history->GetHistory(allInfo, uid, start, end); in HWTEST_F()
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_history.cpp23 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, uint64_t start, uint64_t end) in GetHistory() function in OHOS::NetManagerStandard::NetStatsHistory
33 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, uint64_t start, uint64_t end) in GetHistory() function in OHOS::NetManagerStandard::NetStatsHistory
43 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint64_t start, in GetHistory() function in OHOS::NetManagerStandard::NetStatsHistory
54 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint32_t uid, in GetHistory() function in OHOS::NetManagerStandard::NetStatsHistory
76 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, const std::string &ident, in GetHistory() function in OHOS::NetManagerStandard::NetStatsHistory
H A Dnet_stats_service.cpp304 int32_t ret = history->GetHistory(allInfo, iface, start, end); in GetIfaceStatsDetail()
339 int32_t ret = history->GetHistory(allInfo, iface, uid, start, end); in GetUidStatsDetail()
504 int32_t ret = history->GetHistory(allInfo, uid, ident, start, end); in GetTrafficStatsByUidNetwork()
/foundation/multimodalinput/input/service/event_resample/include/
H A Devent_resample.h214 const History* GetHistory(size_t idx) const in GetHistory() function
225 if (!GetHistory(0)->HasPointerId(id) || !GetHistory(1)->HasPointerId(id)) { in RecentCoordinatesAreIdentical()
228 float currentX = GetHistory(0)->GetPointerById(id).coordX; in RecentCoordinatesAreIdentical()
229 float currentY = GetHistory(0)->GetPointerById(id).coordY; in RecentCoordinatesAreIdentical()
230 float previousX = GetHistory(1)->GetPointerById(id).coordX; in RecentCoordinatesAreIdentical()
231 float previousY = GetHistory(1)->GetPointerById(id).coordY; in RecentCoordinatesAreIdentical()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsdirtyregionmanager_fuzzer/
H A Drsdirtyregionmanager_fuzzer.cpp121 rsDirtyRegionManager.GetHistory(age); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_dirty_region_manager.cpp385 // GetHistory(historySize_) is equal to dirtyHistory_[historyHead_] (latest his rect) in MergeHistory()
389 auto subRect = GetHistory((i - 1)); in MergeHistory()
413 RectI RSDirtyRegionManager::GetHistory(unsigned int i) const in GetHistory() function in OHOS::Rosen::RSDirtyRegionManager
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_dirty_region_manager.h185 RectI GetHistory(unsigned int i) const;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_dirty_region_manager_test.cpp656 * @tc.name: GetHistory
657 * @tc.desc: test results of GetHistory
661 HWTEST_F(RSDirtyRegionManagerTest, GetHistory, TestSize.Level1) in HWTEST_F()
665 fun.GetHistory(i); in HWTEST_F()
669 fun.GetHistory(i); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_types.cpp91 history = eventInfo->GetHistory(); in JsGetHistoricalPoints()
/foundation/multimodalinput/input/service/event_resample/src/
H A Devent_resample.cpp364 const History* current = touchState.GetHistory(0); in ResampleTouchState()
388 other = touchState.GetHistory(1); in ResampleTouchState()
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dtouch_event.h382 const std::list<TouchLocationInfo>& GetHistory() const;
H A Dtouch_event.cpp695 const std::list<TouchLocationInfo>& TouchEventInfo::GetHistory() const in GetHistory() function in OHOS::Ace::TouchEventInfo
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1090 nativeXComponentImpl_->SetHistoricalPoint(SetHistoryPoint(info.GetHistory())); in HandleTouchEvent()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp6655 eventInfo.GetHistoryPointerEvent().size() == eventInfo.GetHistory().size()) { in SetOnTouch()
6656 auto historyLoacationIterator = std::begin(eventInfo.GetHistory()); in SetOnTouch()
6658 for (size_t i = 0; i < eventInfo.GetHistory().size() && i < MAX_HISTORY_EVENT_COUNT; i++) { in SetOnTouch()

Completed in 27 milliseconds