Home
last modified time | relevance | path

Searched refs:fun (Results 1 – 25 of 45) sorted by relevance

12

/base/request/request/services/service/rust/src/c_wrapper/include/
Dc_event_handler.h25 using fun = int32_t (*)(); variable
28 void RequestPostTask(fun f);
Dapplication_state_observer.h61 void RegisterAPPStateCallback(APPStateCallback fun);
Dnetwork_adapter.h90 void RegisterNetworkCallback(NetworkCallback fun);
/base/msdp/device_status/test/fuzztest/preparecoordination_fuzzer/
Dpreparecoordination_fuzzer.cpp51 auto fun = [](std::string listener, CoordinationMessage coordinationMessages) { in PrepareCoordinationFuzzTest() local
55 InteractionManager::GetInstance()->PrepareCoordination(fun); in PrepareCoordinationFuzzTest()
57 InteractionManager::GetInstance()->UnprepareCoordination(fun); in PrepareCoordinationFuzzTest()
/base/msdp/device_status/test/fuzztest/deactivatecoordination_fuzzer/
Ddeactivatecoordination_fuzzer.cpp32 auto fun = [](std::string listener, CoordinationMessage coordinationMessages) { in DeactivateCoordinationFuzzTest() local
37 InteractionManager::GetInstance()->DeactivateCoordination(isUnchained, fun); in DeactivateCoordinationFuzzTest()
/base/msdp/device_status/test/fuzztest/getcoordinationstate_fuzzer/
Dgetcoordinationstate_fuzzer.cpp37 auto fun = [](bool state) { in GetCoordinationStateFuzzTest() local
40 InteractionManager::GetInstance()->GetCoordinationState(deviceId, fun); in GetCoordinationStateFuzzTest()
/base/telephony/core_service/services/network_search/src/
Dnetwork_utils.cpp319 auto fun = GetFunctionOfEvent<RilFunc_Event>(radioEvent); in SendBase() local
321 slotId, radioEvent, 0, nullptr, fun); in SendBase()
327 auto fun = GetFunctionOfEvent<RilFunc_Int_Event>(radioEvent); in SendBase() local
329 slotId, radioEvent, param, nullptr, fun); in SendBase()
335 auto fun = GetFunctionOfEvent<RilFunc_Int_Int_Event>(radioEvent); in SendBase() local
337 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
344 auto fun = GetFunctionOfEvent<RilFunc_Int_String_Event>(radioEvent); in SendBase() local
346 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
353 auto fun = GetFunctionOfEvent<RilFunc_Event>(radioEvent); in SendCallback() local
355 slotId, radioEvent, 0, callback, fun); in SendCallback()
[all …]
/base/msdp/device_status/test/fuzztest/activatecoordination_fuzzer/
Dactivatecoordination_fuzzer.cpp37 auto fun = [](const std::string &listener, CoordinationMessage cooperateMessages) { in ActivateCoordinationFuzzTest() local
40 InteractionManager::GetInstance()->ActivateCoordination(remoteNetworkId, startDeviceId, fun); in ActivateCoordinationFuzzTest()
/base/msdp/device_status/interfaces/innerkits/include/
Di_client.h38 virtual void RegisterConnectedFunction(ConnectCallback fun) = 0;
39 virtual void RegisterDisconnectedFunction(ConnectCallback fun) = 0;
Dclient.h36 void RegisterConnectedFunction(ConnectCallback fun) override;
37 void RegisterDisconnectedFunction(ConnectCallback fun) override;
/base/msdp/device_status/utils/common/include/
Dmsg_handler.h32 V fun; member
65 callbacks_[msg.id] = msg.fun; in RegisterEvent()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Dcommonutil.c121 int32_t memory_copy_error(const char *fun, unsigned int line) in memory_copy_error() argument
123 (void)fun; in memory_copy_error()
125 LOGE("memory copy error in fun:%s line:%u", fun, line); in memory_copy_error()
Dcommonutil.h32 int32_t memory_copy_error(const char *fun, unsigned int line);
/base/msdp/device_status/utils/ipc/src/
Dstream_client.cpp99 bool StreamClient::StartClient(MsgClientFunCallback fun) in StartClient() argument
107 recvFun_ = fun; in StartClient()
/base/msdp/device_status/services/delegate_task/include/
Ddelegate_tasks.h43 Task(int32_t id, DTaskCallback fun, Promise *promise = nullptr)
44 : id_(id), fun_(fun), promise_(promise) {} in id_()
/base/request/request/services/service/rust/src/c_wrapper/source/
Dapplication_state_observer.cpp118 void RegisterAPPStateCallback(APPStateCallback fun) in RegisterAPPStateCallback() argument
120 ApplicationStateObserver::GetInstance().RegisterAppStateChanged(fun); in RegisterAPPStateCallback()
Dc_event_handler.cpp38 void RequestPostTask(fun f) in RequestPostTask()
Dnetwork_adapter.cpp219 void RegisterNetworkCallback(NetworkCallback fun) in RegisterNetworkCallback() argument
221 NetworkAdapter::GetInstance().RegOnNetworkChange(fun); in RegisterNetworkCallback()
/base/msdp/device_status/frameworks/native/src/
Dclient.cpp207 void Client::RegisterConnectedFunction(ConnectCallback fun) in RegisterConnectedFunction() argument
209 funConnected_ = fun; in RegisterConnectedFunction()
212 void Client::RegisterDisconnectedFunction(ConnectCallback fun) in RegisterDisconnectedFunction() argument
214 funDisconnected_ = fun; in RegisterDisconnectedFunction()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_vendor_modem_defs.h68 void (*SetRadioState)(const ReqDataInfo *requestInfo, int32_t fun, int32_t rst);
/base/msdp/device_status/utils/ipc/include/
Dstream_client.h50 bool StartClient(MsgClientFunCallback fun);
/base/telephony/sms_mms/test/unittest/
Dsms_mms_test.cpp37 std::function<void(void)> fun = nullptr;
38 …nst std::string &name, const std::function<void(void)> &function) : funName(name), fun(function) {}
236 if ((*testFunArray)[caseNumber].fun != nullptr) { in main()
237 (*testFunArray)[caseNumber].fun(); in main()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_subscriber_stub.cpp70 auto fun = it->second; in OnRemoteRequest() local
71 if (fun == nullptr) { in OnRemoteRequest()
76 fun(data, reply); in OnRemoteRequest()
/base/msdp/device_status/frameworks/native/interaction/test/unittest/src/
Dinteraction_manager_test.cpp428 auto fun = [&promiseFlag](std::string listener, CoordinationMessage coordinationMessages) { in __anonfde8c68b0402() variable
432 int32_t ret = InteractionManager::GetInstance()->PrepareCoordination(fun);
452 auto fun = [&promiseFlag](std::string listener, CoordinationMessage coordinationMessages) { in __anonfde8c68b0502() variable
456 int32_t ret = InteractionManager::GetInstance()->UnprepareCoordination(fun);
476 auto fun = [](std::string listener, CoordinationMessage coordinationMessages) { in __anonfde8c68b0602() variable
480 …ret = InteractionManager::GetInstance()->ActivateCoordination(remoteNetworkId, startDeviceId, fun);
497 auto fun = [](std::string listener, CoordinationMessage coordinationMessages) { in __anonfde8c68b0702() variable
501 int32_t ret = InteractionManager::GetInstance()->DeactivateCoordination(false, fun);
506 ret = InteractionManager::GetInstance()->DeactivateCoordination(true, fun);
521 auto fun = [](bool state) { in __anonfde8c68b0802() variable
[all …]
/base/msdp/device_status/services/native/include/
Dstream_server.h65 void SetRecvFun(MsgServerFunCallback fun);

12