Home
last modified time | relevance | path

Searched refs:fun (Results 1 - 25 of 46) sorted by relevance

12

/base/request/request/services/src/cxx/
H A Druncount_observer.cpp18 void RegisterRunCountCallback(RunCountCallback fun) in RegisterRunCountCallback() argument
20 RunCountStateObserver::GetInstance().RegisterRunCountChanged(fun); in RegisterRunCountCallback()
H A Dapplication_state_observer.cpp131 void RegisterAPPStateCallback(APPStateCallback fun) in RegisterAPPStateCallback() argument
133 ApplicationStateObserver::GetInstance().RegisterAppStateChanged(fun); in RegisterAPPStateCallback()
137 void RegisterProcessStateCallback(APPStateCallback fun) in RegisterProcessStateCallback() argument
139 ApplicationStateObserver::GetInstance().RegisterProcessStateChanged(fun); in RegisterProcessStateCallback()
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/dcm/src/
H A Dhks_client_service_dcm.cpp38 AttestFunction fun = HksOpenDcmFunction(); in DcmGenerateCertChain() local
39 HKS_IF_NULL_LOGE_RETURN(fun, HKS_ERROR_UNKNOWN_ERROR, "HksOpenDcmFunction failed"); in DcmGenerateCertChain()
52 ret = fun(&request, [](DcmAnonymousResponse *response) { in DcmGenerateCertChain()
/base/telephony/core_service/services/network_search/src/
H A Dnetwork_utils.cpp282 [](ITelRilManager *rilManager, int32_t slotId, int32_t fun, int32_t rst,
284 return rilManager->SetRadioState(slotId, fun, rst, response);
374 auto fun = GetFunctionOfEvent<RilFunc_Event>(mapFunctions_, radioEvent); in SendBase() local
376 slotId, radioEvent, 0, nullptr, fun); in SendBase()
382 auto fun = GetFunctionOfEvent<RilFunc_Int_Event>(mapFunctionsInt_, radioEvent); in SendBase() local
384 slotId, radioEvent, param, nullptr, fun); in SendBase()
390 auto fun = GetFunctionOfEvent<RilFunc_Int_Int_Event>(mapFunctionsIntInt_, radioEvent); in SendBase() local
392 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
399 auto fun = GetFunctionOfEvent<RilFunc_Int_String_Event>(mapFunctionsIntString_, radioEvent); in SendBase() local
401 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
408 auto fun = GetFunctionOfEvent<RilFunc_Event>(mapFunctions_, radioEvent); SendCallback() local
417 auto fun = GetFunctionOfEvent<RilFunc_Event>(mapFunctions_, radioEvent); SendCallback() local
426 auto fun = GetFunctionOfEvent<RilFunc_Int_Event>(mapFunctionsInt_, radioEvent); SendCallbackEx() local
435 auto fun = GetFunctionOfEvent<RilFunc_Int_Int_Event>(mapFunctionsIntInt_, radioEvent); SendCallback() local
445 auto fun = GetFunctionOfEvent<RilFunc_Int_String_Event>(mapFunctionsIntString_, radioEvent); SendCallback() local
455 auto fun = GetFunctionOfEvent<RilFunc_Event>(mapFunctions_, radioEvent); SendCallbackNetworkExt() local
[all...]
/base/request/request/services/include/
H A Dapplication_state_observer.h64 void RegisterAPPStateCallback(APPStateCallback fun);
65 void RegisterProcessStateCallback(APPStateCallback fun);
H A Druncount_observer.h40 void RegisterRunCountCallback(RunCountCallback fun);
/base/msdp/device_status/utils/common/include/
H A Dmsg_handler.h33 V fun; member
66 callbacks_[msg.id] = msg.fun; in RegisterEvent()
/base/msdp/device_status/services/interaction/drag/src/
H A Devent_hub.cpp82 auto fun = [] (IContext* context) -> int32_t { in OnReceiveEvent() local
89 int32_t ret = context_->GetDelegateTasks().PostAsyncTask([this, &fun] { in OnReceiveEvent()
90 return fun(this->context_); in OnReceiveEvent()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A 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()
/base/msdp/device_status/utils/ipc/src/
H A Dstream_client.cpp103 bool StreamClient::StartClient(MsgClientFunCallback fun) in StartClient() argument
111 recvFun_ = fun; in StartClient()
/base/msdp/device_status/intention/scheduler/task_scheduler/include/
H A Dtask_scheduler.h45 Task(int32_t id, DTaskCallback fun, Promise *promise = nullptr) in Task() argument
46 : id_(id), fun_(fun), promise_(promise) {} in Task()
/base/msdp/device_status/services/delegate_task/include/
H A Ddelegate_tasks.h45 Task(int32_t taskid, DTaskCallback fun, Promise *promise = nullptr) in Task() argument
46 : id_(taskid), fun_(fun), promise_(promise) {} in Task()
/base/telephony/call_manager/services/call_voice_assistant/src/
H A Dcall_voice_assistant_manager.cpp401 auto fun = [&str](std::string key, std::string value, bool start = false, bool end = false) { in GetSendString() local
406 fun("dialOrCome", nowInfo->dialOrCome, true); in GetSendString()
407 fun("callStatus", std::to_string(nowInfo->call_status)); in GetSendString()
408 fun("callId", std::to_string(nowInfo->callId)); in GetSendString()
409 fun("phoneNumber", nowInfo->phoneNumber); in GetSendString()
410 fun("isContact", nowInfo->isContact); in GetSendString()
411 fun("contactName", nowInfo->incomingName); in GetSendString()
412 fun("sim", std::to_string(nowInfo->accountId)); in GetSendString()
413 fun("stopBroadcasting", std::to_string(nowInfo->stopBroadcasting)); in GetSendString()
414 fun("locatio in GetSendString()
[all...]
/base/msdp/device_status/utils/ipc/include/
H A Dstream_client.h51 bool StartClient(MsgClientFunCallback fun);
/base/security/device_auth/frameworks/deviceauth_lite/inc/json/
H A Dcommonutil.h32 int32_t memory_copy_error(const char *fun, unsigned int line);
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dcommonutil_test.h35 int32_t memory_copy_error(const char *fun, unsigned int line);
/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_modem_defs.h68 void (*SetRadioState)(const ReqDataInfo *requestInfo, int32_t fun, int32_t rst);
/base/web/webview/ohos_nweb/include/
H A Dnweb_c_api.h54 NWEB_EXPORT void WebDownloader_SetDownloadBeforeStart(WebDownloadDelegateCallback *callback, OnDownloadBeforeStart fun);
56 NWEB_EXPORT void WebDownloader_SetDownloadDidUpdate(WebDownloadDelegateCallback *callback, OnDownloadDidUpdate fun);
/base/msdp/device_status/interfaces/innerkits/include/
H A Di_client.h40 virtual void RegisterDisconnectedFunction(ConnectCallback fun) = 0;
H A Dclient.h38 void RegisterDisconnectedFunction(ConnectCallback fun) override;
/base/telephony/sms_mms/test/fuzztest/gsmsmssender_fuzzer/
H A Dgsmsmssender_fuzzer.cpp140 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in SendSmsTest() local
142 auto sender = std::make_shared<GsmSmsSender>(slotId, fun); in SendSmsTest()
188 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in SendSmsTest2() local
190 auto sender = std::make_shared<GsmSmsSender>(slotId, fun); in SendSmsTest2()
/base/telephony/sms_mms/test/unittest/
H A Dsms_mms_test.cpp37 std::function<void(void)> fun = nullptr;
38 FunStruct(const std::string &name, const std::function<void(void)> &function) : funName(name), fun(function) {} in FunStruct()
236 if ((*testFunArray)[caseNumber].fun != nullptr) {
237 (*testFunArray)[caseNumber].fun();
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_test.cpp221 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in HWTEST_F() local
222 auto cdmaSmsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun); in HWTEST_F()
427 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in HWTEST_F() local
429 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun); in HWTEST_F()
482 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in HWTEST_F() local
483 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun); in HWTEST_F()
516 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in HWTEST_F() local
517 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun); in HWTEST_F()
544 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in HWTEST_F() local
545 auto cdmaSmsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun); in HWTEST_F()
600 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
655 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
1628 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
1646 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
1680 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
1708 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
1737 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; HWTEST_F() local
[all...]
/base/msdp/device_status/frameworks/native/src/
H A Dclient.cpp217 void Client::RegisterDisconnectedFunction(ConnectCallback fun) in RegisterDisconnectedFunction() argument
219 funDisconnected_ = fun; in RegisterDisconnectedFunction()
/base/msdp/device_status/services/native/include/
H A Dstream_server.h70 void SetRecvFun(MsgServerFunCallback fun);

Completed in 11 milliseconds

12