Searched refs:callbackType (Results 1 – 8 of 8) sorted by relevance
/base/update/updateservice/services/utils/src/ |
D | dupdate_net_manager.cpp | 45 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()
|
D | dupdate_net_manager_empty.cpp | 39 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/ |
D | dupdate_net_manager.h | 44 … NetChangeCallbackType callbackType, const std::set<NetType> &netTypes, NetObserverCallback cb); 45 void UnregisterCallback(NetChangeCallbackType callbackType);
|
/base/telephony/core_service/frameworks/native/src/ |
D | i_network_search_callback_stub.cpp | 25 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/ |
D | vibrator_napi_utils.cpp | 275 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()
|
D | vibrator_js.cpp | 150 asyncCallbackInfo->callbackType = SYSTEM_VIBRATE_CALLBACK; in VibrateMode() 375 asyncCallbackInfo->callbackType = IS_SUPPORT_EFFECT_CALLBACK; in IsSupportEffect()
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/include/ |
D | vibrator_napi_utils.h | 55 CallbackType callbackType = COMMON_CALLBACK; variable
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | napi_radio.cpp | 2721 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()
|