Home
last modified time | relevance | path

Searched refs:flow (Results 1 – 25 of 139) sorted by relevance

123456

/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Ddata_flow_statistics_test.cpp66 std::unique_ptr<DataFlowStatistics> flow = std::make_unique<DataFlowStatistics>(); variable
67 int64_t ret = flow->GetCellularRxBytes();
79 int64_t ret = flow->GetCellularTxBytes();
91 int64_t ret = flow->GetAllRxBytes();
103 int64_t ret = flow->GetAllTxBytes();
110 int64_t ret = flow->GetUidTxBytes(TEST_UID);
112 ret = flow->GetUidRxBytes(TEST_UID);
125 int64_t ret = flow->GetIfaceRxBytes(iface);
138 int64_t ret = flow->GetIfaceTxBytes(iface);
151 int64_t ret = flow->GetIfaceRxPackets(iface);
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/freeze_util_test/
H A Dfreeze_util_test.cpp54 FreezeUtil::LifecycleFlow flow; variable
55 EXPECT_EQ(FreezeUtil::GetInstance().GetLifecycleEvent(flow), "");
56 flow.state = FreezeUtil::TimeoutState::FOREGROUND;
57 FreezeUtil::GetInstance().AddLifecycleEvent(flow, "firstEntry");
58 EXPECT_EQ(FreezeUtil::GetInstance().GetLifecycleEvent(flow),
61 FreezeUtil::GetInstance().AddLifecycleEvent(flow, "secondEntry");
74 FreezeUtil::LifecycleFlow flow; variable
75 flow.state = FreezeUtil::TimeoutState::LOAD;
77 EXPECT_EQ(FreezeUtil::GetInstance().GetLifecycleEvent(flow),
79 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow);
[all …]
/ohos5.0/foundation/ability/ability_runtime/utils/global/freeze/src/
H A Dfreeze_util.cpp28 void FreezeUtil::AddLifecycleEvent(const LifecycleFlow &flow, const std::string &entry) in AddLifecycleEvent() argument
32 auto iter = lifecycleFlow_.find(flow); in AddLifecycleEvent()
36 lifecycleFlow_.emplace(flow, newEntry); in AddLifecycleEvent()
43 auto iter = lifecycleFlow_.find(flow); in AppendLifecycleEvent()
52 std::string FreezeUtil::GetLifecycleEvent(const LifecycleFlow &flow) in GetLifecycleEvent() argument
55 auto search = lifecycleFlow_.find(flow); in GetLifecycleEvent()
62 void FreezeUtil::DeleteLifecycleEvent(const LifecycleFlow &flow) in DeleteLifecycleEvent() argument
65 DeleteLifecycleEventInner(flow); in DeleteLifecycleEvent()
81 void FreezeUtil::DeleteLifecycleEventInner(const LifecycleFlow &flow) in DeleteLifecycleEventInner() argument
83 if (lifecycleFlow_.count(flow)) { in DeleteLifecycleEventInner()
[all …]
/ohos5.0/foundation/ability/ability_runtime/utils/global/freeze/include/
H A Dfreeze_util.h49 void AddLifecycleEvent(const LifecycleFlow &flow, const std::string &entry);
50 bool AppendLifecycleEvent(const LifecycleFlow &flow, const std::string &entry);
51 std::string GetLifecycleEvent(const LifecycleFlow &flow);
52 void DeleteLifecycleEvent(const LifecycleFlow &flow);
60 void DeleteLifecycleEventInner(const LifecycleFlow &flow);
64 size_t operator() (const LifecycleFlow &flow) const in operator()
66 …return reinterpret_cast<size_t>(flow.token.GetRefPtr()) + std::hash<int>()(static_cast<int>(flow.s… in operator()
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/freezeutil_fuzzer/
H A Dfreezeutil_fuzzer.cpp53 FreezeUtil::LifecycleFlow flow; in DoSomethingInterestingWithMyAPI() local
61 FreezeUtil::GetInstance().AddLifecycleEvent(flow, JsonStr); in DoSomethingInterestingWithMyAPI()
62 FreezeUtil::GetInstance().GetLifecycleEvent(flow); in DoSomethingInterestingWithMyAPI()
63 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in DoSomethingInterestingWithMyAPI()
65 FreezeUtil::GetInstance().DeleteLifecycleEventInner(flow); in DoSomethingInterestingWithMyAPI()
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hitracemeter.md70 // Service flow...
72 // Service flow...
74 // Service flow...
81 // Service flow...
83 // Service flow...
85 // Service flow...
111 // Service flow...
H A Djs-apis-bytrace.md70 // Service flow...
72 // Service flow...
74 // Service flow...
81 // Service flow...
83 // Service flow...
85 // Service flow...
110 // Service flow
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.cpp158 auto flow = weak.Upgrade(); in CreateScrollable() local
159 if (!flow) { in CreateScrollable()
172 auto flow = weak.Upgrade(); in CreateScrollable() local
173 if (flow) { in CreateScrollable()
767 if (!flow) { in InitScrollBarProxy()
782 auto flow = weakFlow.Upgrade(); in SetScrollBarCallback() local
783 if (!flow) { in SetScrollBarCallback()
787 flow->MarkNeedLayout(true); in SetScrollBarCallback()
790 auto flow = weakFlow.Upgrade(); in SetScrollBarCallback() local
791 if (!flow) { in SetScrollBarCallback()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dui_ability_impl.cpp222 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::FOREGROUND }; in AbilityTransactionCallback() local
226 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AbilityTransactionCallback()
230 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AbilityTransactionCallback()
440 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::FOREGROUND }; in AfterForeground() local
442 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AfterForeground()
459 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AfterForeground()
465 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AfterForeground()
475 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::BACKGROUND }; in AfterBackground() local
477 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AfterBackground()
483 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AfterBackground()
[all …]
H A Dui_ability_thread.cpp172 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::LOAD }; in AttachInner() local
174 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AttachInner()
178 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AttachInner()
182 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AttachInner()
257 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::FOREGROUND }; in AddLifecycleEvent() local
259 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AddLifecycleEvent()
262 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::BACKGROUND }; in AddLifecycleEvent() local
264 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AddLifecycleEvent()
H A Dnew_ability_impl.cpp85 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::FOREGROUND }; in AbilityTransactionCallback() local
86 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AbilityTransactionCallback()
H A Dability_impl.cpp624 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::FOREGROUND }; in AfterForeground() local
626 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AfterForeground()
646 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AfterForeground()
660 FreezeUtil::LifecycleFlow flow = { token_, FreezeUtil::TimeoutState::BACKGROUND }; in AfterBackground() local
662 FreezeUtil::GetInstance().AddLifecycleEvent(flow, entry); in AfterBackground()
669 FreezeUtil::GetInstance().DeleteLifecycleEvent(flow); in AfterBackground()
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/
H A DBUILD.gn22 cfi = true # Enable/disable control flow integrity detection
85 cfi = true # Enable/disable control flow integrity detection
126 cfi = true # Enable/disable control flow integrity detection
179 cfi = true # Enable/disable control flow integrity detection
197 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/docs/en/application-dev/dfx/
H A Dhilog.md34 | -Q | | &lt;control-type&gt; | Specifies whether to enable the default quota for flow control.|
35 | | | pidon | Enables process flow control.|
36 | | | pidoff | Disables process flow control.|
37 | | | domainon | Enables domain flow control.|
38 | | | domainoff | Disables domain flow control.|
130 ### Enable/Disable process flow control.
141 Set flow control by process to enabled successfully
144 Set flow control by process to disabled successfully
147 ### Enable/Disable domain flow control.
157 Set flow control by domain to enabled successfully
[all …]
/ohos5.0/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/
H A DBUILD.gn22 cfi = true # Enable/disable control flow integrity detection
74 cfi = true # Enable/disable control flow integrity detection
115 cfi = true # Enable/disable control flow integrity detection
133 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-waterflow.md50 Describes the water flow item sections.
170 Describes the configuration of the water flow item section.
647 // Calculate the width and height of a water flow item.
653 // Set the width and height array of the water flow item.
747 // Calculate the width and height of a water flow item.
753 // Set the width and height array of the water flow item.
879 // Initialize the water flow section information.
1055 // Calculate the width and height of a water flow item.
1061 // Set the width and height array of the water flow item.
1146 // Calculate the width and height of a water flow item.
[all …]
H A Dts-universal-attributes-restoreId.md32flow item on the current device is migrated to the remote device. After the migration, the corresp…
/ohos5.0/foundation/ability/ability_runtime/test/unittest/dfr_test/appfreeze_manager_test/
H A Dappfreeze_manager_test.cpp154 FreezeUtil::LifecycleFlow flow; variable
155 flow.state = AbilityRuntime::FreezeUtil::TimeoutState::FOREGROUND;
156 ret = appfreezeManager->LifecycleTimeoutHandle(info3, flow);
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/
H A DBUILD.gn21 cfi = true # Enable/disable control flow integrity detection
79 cfi = true # Enable/disable control flow integrity detection
131 cfi = true # Enable/disable control flow integrity detection
189 cfi = true # Enable/disable control flow integrity detection
245 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/
H A DBUILD.gn118 cfi = true # Enable/disable control flow integrity detection
153 cfi = true # Enable/disable control flow integrity detection
188 cfi = true # Enable/disable control flow integrity detection
224 cfi = true # Enable/disable control flow integrity detection
259 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/
H A DBUILD.gn80 cfi = true # Enable/disable control flow integrity detection
106 cfi = true # Enable/disable control flow integrity detection
134 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/base/update/updateservice/services/firmware/
H A Dfirmware.gni36 "$firmware_root_path/upgrade/flow/include",
65 "$firmware_root_path/upgrade/flow/src/firmware_flow_manager.cpp",
66 "$firmware_root_path/upgrade/flow/src/firmware_manager.cpp",
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/
H A DBUILD.gn228 cfi = true # Enable/disable control flow integrity detection
277 cfi = true # Enable/disable control flow integrity detection
348 cfi = true # Enable/disable control flow integrity detection
409 cfi = true # Enable/disable control flow integrity detection
460 cfi = true # Enable/disable control flow integrity detection
651 cfi = true # Enable/disable control flow integrity detection
674 cfi = true # Enable/disable control flow integrity detection
697 cfi = true # Enable/disable control flow integrity detection
721 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/
H A DBUILD.gn20 cfi = true # Enable/disable control flow integrity detection
64 cfi = true # Enable/disable control flow integrity detection
/ohos5.0/drivers/peripheral/wlan/hdi_service/
H A DBUILD.gn19 cfi = true # Enable/disable control flow integrity detection
74 cfi = true # Enable/disable control flow integrity detection

123456