Home
last modified time | relevance | path

Searched refs:once (Results 1 - 25 of 40) sorted by relevance

12

/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_timer.cpp39 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
85 ErrCode WifiTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
92 uint32_t ret = timer_->Register(callback, interval, once); in Register()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_timer.cpp65 uint32_t CameraTimer::Register(const TimerCallback& callback, uint32_t interval, bool once) in Register() argument
72 uint32_t timerId = timer_->Register(callback, interval, once); in Register()
/foundation/communication/wifi/wifi/utils/inc/
H A Dwifi_timer.h39 const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval = DEFAULT_TIMEROUT, bool once = true);
57 const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval = DEFAULT_TIMEROUT, bool once = true);
/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_singleton.h68 static std::once_flag once; in GetInstance() local
69 std::call_once(once, []() mutable { in GetInstance()
/foundation/multimedia/camera_framework/test/fuzztest/cameratimer_fuzzer/
H A Dcamera_timer_fuzzer.cpp80 bool once = data.ReadBool(); in Test() local
82 uint32_t timerId = fuzz->Register(callback, interval, once); in Test()
/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_thread.h88 bool once = true);
105 bool once = true);
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Ddrag_adapter_impl.h18 #pragma once
H A Dnode_content_modifier.h18 #pragma once
H A Dview_model.h18 #pragma once
H A Dnode_text_area_modifier.h18 #pragma once
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dgraphics_manager_common.cpp265 static bool once = false; in AttachContext() local
266 if (once) { in AttachContext()
276 once = true; in AttachContext()
/foundation/arkui/ace_engine/interfaces/native/event/
H A Dui_input_event_impl.h17 #pragma once
/foundation/multimedia/player_framework/services/services/factory/
H A Dengine_factory_repo.cpp43 static std::once_flag once; in Instance() local
44 std::call_once(once, [&] { inst = new EngineFactoryRepo(); }); in Instance()
/foundation/resourceschedule/ffrt/src/core/
H A Dtask_io.cpp59 static pthread_once_t once = PTHREAD_ONCE_INIT; member
75 pthread_once(&ffrt::once, ffrt::InitIOTaskExecutor); in ffrt_submit_coroutine()
/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Devent_listener.cpp24 EventListener::EventListener(napi_env env, std::string type, napi_value callback, bool once, bool asyncCallback) in EventListener() argument
28 once_(once), in EventListener()
/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_listener.cpp30 EventListener::EventListener(long tid, napi_env env, std::string type, napi_value callback, bool once, in EventListener() argument
34 once_(once), in EventListener()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dcamera_timer.h34 uint32_t Register(const TimerCallback& callback, uint32_t interval, bool once);
/foundation/filemanagement/app_file_service/tests/mock/timer/
H A Dtimer_mock.cpp38 uint32_t Timer::Register(const TimerCallback &callback, uint32_t interval, bool once) in Register() argument
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_ffi.h33 FFI_EXPORT void CJ_OnHeadersReceive(int64_t id, bool once, void (*callback)(CArrString));
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_ffi.cpp104 void CJ_OnHeadersReceive(int64_t id, bool once, void (*callback)(CArrString)) in CJ_OnHeadersReceive() argument
111 if (once) { in CJ_OnHeadersReceive()
/foundation/communication/netstack/utils/napi_utils/include/
H A Devent_listener.h33 EventListener(long tid, napi_env env, std::string type, napi_value callback, bool once, bool asyncCallback);
/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Devent_listener.h34 EventListener(napi_env env, std::string type, napi_value callback, bool once, bool asyncCallback);
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_thread.cpp262 EnumErrCode DhcpTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
308 EnumErrCode DhcpTimer::Register(const TimerCallback &callback, uint32_t &outTimerId, uint32_t interval, bool once) in Register() argument
315 uint32_t ret = timer_->Register(callback, interval, once); in Register()
/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/src/
H A Dvpn_module_ext.cpp84 auto once = std::make_shared<std::once_flag>(); in CreateObserveDataSharePromise() local
88 auto onChange = [env, deferWrapper, bundleName, once, callbackId]() { in CreateObserveDataSharePromise()
89 if (!once) { in CreateObserveDataSharePromise()
92 std::call_once(*once, [env, deferWrapper, bundleName, callbackId]() { in CreateObserveDataSharePromise()
/foundation/multimedia/media_foundation/test/unittest/
H A DTestHiPlayer.cpp106 .expects(once()) in HWTEST_F()
118 .expects(once()) in HWTEST_F()

Completed in 8 milliseconds

12