Home
last modified time | relevance | path

Searched refs:serviceHandler_ (Results 1 – 12 of 12) sorted by relevance

/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_event_handler.cpp22 std::shared_ptr<OHOS::AppExecFwk::EventHandler> serviceHandler_ = nullptr; variable
28 if (serviceHandler_ != nullptr) { in RequestInitServiceHandler()
34 serviceHandler_ = std::make_shared<OHOS::AppExecFwk::EventHandler>(runner); in RequestInitServiceHandler()
41 if (serviceHandler_ == nullptr) { in RequestPostTask()
46 serviceHandler_->PostTask(callback, INIT_INTERVAL); in RequestPostTask()
/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp38 serviceHandler_ = std::make_shared<AppExecFwk::EventHandler>(runner); in TextListener()
74 serviceHandler_->PostTask( in SendKeyboardStatus()
/base/print/print_fwk/services/src/
Dprint_service_ability.cpp91 std::shared_ptr<AppExecFwk::EventHandler> PrintServiceAbility::serviceHandler_; member in OHOS::Print::PrintServiceAbility
151 serviceHandler_->PostTask(callback, INIT_INTERVAL); in OnStart()
162 if (serviceHandler_ != nullptr) { in InitServiceHandler()
167 serviceHandler_ = std::make_shared<AppExecFwk::EventHandler>(runner); in InitServiceHandler()
191 serviceHandler_ = nullptr; in OnStop()
363 serviceHandler_->PostTask(callback, ASYNC_CMD_DELAY); in ConnectPrinter()
400 serviceHandler_->PostTask(callback, ASYNC_CMD_DELAY); in DisconnectPrinter()
509 serviceHandler_->PostTask(callback, ASYNC_CMD_DELAY); in StopDiscoverPrinter()
669 serviceHandler_->PostTask(callback, ASYNC_CMD_DELAY); in StartPrintJob()
715 serviceHandler_->PostTask(callback, ASYNC_CMD_DELAY); in CancelPrintJob()
[all …]
/base/inputmethod/imf/test/common/include/
Dtext_listener.h64 std::shared_ptr<AppExecFwk::EventHandler> serviceHandler_; variable
/base/time/time_service/services/
Dtime_system_ability.cpp71 std::shared_ptr<AppExecFwk::EventHandler> TimeSystemAbility::serviceHandler_ = nullptr; member in OHOS::MiscServices::TimeSystemAbility
143 serviceHandler_->PostTask(callback, "time_service_init_retry", INIT_INTERVAL); in OnStart()
166 serviceHandler_->PostTask(callback, "time_service_subscriber_retry", INIT_INTERVAL); in RegisterSubscriber()
190 serviceHandler_ = nullptr; in OnStop()
199 if (serviceHandler_ != nullptr) { in InitServiceHandler()
204 serviceHandler_ = std::make_shared<AppExecFwk::EventHandler>(runner); in InitServiceHandler()
Dtime_system_ability.h102 static std::shared_ptr<AppExecFwk::EventHandler> serviceHandler_; variable
/base/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp51 std::shared_ptr<AppExecFwk::EventHandler> InputMethodSystemAbility::serviceHandler_; member in OHOS::MiscServices::InputMethodSystemAbility
87 serviceHandler_->PostTask(callback, INIT_INTERVAL); in OnStart()
158 serviceHandler_ = nullptr; in OnStop()
165 if (serviceHandler_ != nullptr) { in InitServiceHandler()
170 serviceHandler_ = std::make_shared<AppExecFwk::EventHandler>(runner); in InitServiceHandler()
199 serviceHandler_->PostTask(callback, INIT_INTERVAL); in StartUserIdListener()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp120 std::shared_ptr<AppExecFwk::EventHandler> WallpaperService::serviceHandler_; member in OHOS::WallpaperMgrService::WallpaperService
170 serviceHandler_->PostTask(callback, INIT_INTERVAL); in OnStart()
194 serviceHandler_->PostTask(callback, DELAY_TIME); in RegisterSubscriber()
201 if (serviceHandler_ != nullptr) { in InitServiceHandler()
206 serviceHandler_ = std::make_shared<AppExecFwk::EventHandler>(runner); in InitServiceHandler()
217 serviceHandler_ = nullptr; in OnStop()
297 serviceHandler_->PostTask(callback, QUERY_USER_ID_INTERVAL); in InitQueryUserId()
305 if (!ret && times > 0 && serviceHandler_ != nullptr) { in StartExtensionAbility()
308 serviceHandler_->PostTask(callback, CONNECT_EXTENSION_INTERVAL); in StartExtensionAbility()
/base/inputmethod/imf/services/include/
Dinput_method_system_ability.h112 static std::shared_ptr<AppExecFwk::EventHandler> serviceHandler_; variable
/base/print/print_fwk/services/include/
Dprint_service_ability.h112 static std::shared_ptr<AppExecFwk::EventHandler> serviceHandler_; variable
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_private_member_test.cpp85 EXPECT_TRUE(InputMethodSystemAbility::serviceHandler_ == nullptr);
/base/theme/wallpaper_mgr/services/include/
Dwallpaper_service.h152 static std::shared_ptr<AppExecFwk::EventHandler> serviceHandler_; variable