Home
last modified time | relevance | path

Searched refs:callbackType (Results 1 – 8 of 8) sorted by relevance

/base/update/updateservice/services/utils/src/
Ddupdate_net_manager.cpp45 NetChangeCallbackType callbackType, const std::set<NetType> &netTypes, NetObserverCallback cb) in RegisterCallback() argument
47 ENGINE_LOGI("RegisterCallback callbackType = %{public}d", callbackType); in RegisterCallback()
60 netChangeCallbackMap_[callbackType] = {netTypes, cb}; in RegisterCallback()
64 void NetManager::UnregisterCallback(NetChangeCallbackType callbackType) in UnregisterCallback() argument
68 if (iter->first == callbackType) { in UnregisterCallback()
Ddupdate_net_manager_empty.cpp39 NetChangeCallbackType callbackType, const std::set<NetType> &netTypes, NetObserverCallback cb) in RegisterCallback() argument
45 void NetManager::UnregisterCallback(NetChangeCallbackType callbackType) in UnregisterCallback() argument
/base/update/updateservice/services/utils/include/
Ddupdate_net_manager.h44 … NetChangeCallbackType callbackType, const std::set<NetType> &netTypes, NetObserverCallback cb);
45 void UnregisterCallback(NetChangeCallbackType callbackType);
/base/telephony/core_service/frameworks/native/src/
Di_network_search_callback_stub.cpp25 auto callbackType = requestId; in OnNetworkSearchCallback() local
26 …ONY_LOGI("INetworkSearchCallbackStub::OnNetworkSearchCallback requestId:%{public}d", callbackType); in OnNetworkSearchCallback()
27 switch (callbackType) { in OnNetworkSearchCallback()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_napi_utils.cpp275 if (asyncCallbackInfo->callbackType == SYSTEM_VIBRATE_CALLBACK) { in EmitAsyncCallbackWork()
284 … CHKCV((g_convertFuncList.find(asyncCallbackInfo->callbackType) != g_convertFuncList.end()), in EmitAsyncCallbackWork()
286 … bool state = g_convertFuncList[asyncCallbackInfo->callbackType](env, asyncCallbackInfo, result, in EmitAsyncCallbackWork()
326 if (asyncCallbackInfo->callbackType == SYSTEM_VIBRATE_CALLBACK) { in EmitPromiseWork()
331 … CHKCV((g_convertFuncList.find(asyncCallbackInfo->callbackType) != g_convertFuncList.end()), in EmitPromiseWork()
333 … bool ret = g_convertFuncList[asyncCallbackInfo->callbackType](env, asyncCallbackInfo, result, in EmitPromiseWork()
Dvibrator_js.cpp150 asyncCallbackInfo->callbackType = SYSTEM_VIBRATE_CALLBACK; in VibrateMode()
375 asyncCallbackInfo->callbackType = IS_SUPPORT_EFFECT_CALLBACK; in IsSupportEffect()
/base/sensors/miscdevice/interfaces/plugin/vibrator/include/
Dvibrator_napi_utils.h55 CallbackType callbackType = COMMON_CALLBACK; variable
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp2721 char callbackType[INFO_MAXIMUM_LIMIT + 1]; in ObserverOn() local
2722 …if (napi_get_value_string_utf8(env, argv[ARRAY_INDEX_FIRST], callbackType, INFO_MAXIMUM_LIMIT, &st… in ObserverOn()
2727 std::string tmpStr = callbackType; in ObserverOn()
2784 char callbackType[INFO_MAXIMUM_LIMIT + 1]; in ObserverOff() local
2785 …if (napi_get_value_string_utf8(env, argv[ARRAY_INDEX_FIRST], callbackType, INFO_MAXIMUM_LIMIT, &st… in ObserverOff()
2790 std::string tmpStr = callbackType; in ObserverOff()