Home
last modified time | relevance | path

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

123

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_service_dcm.cpp38 AttestFunction fun = HksOpenDcmFunction(); in ENABLE_CFI() local
39 HKS_IF_NULL_LOGE_RETURN(fun, HKS_ERROR_UNKNOWN_ERROR, "HksOpenDcmFunction failed"); in ENABLE_CFI()
52 ret = fun(&request, [](DcmAnonymousResponse *response) { in ENABLE_CFI()
/base/request/request/services/src/cxx/
Druncount_observer.cpp18 void RegisterRunCountCallback(RunCountCallback fun) in RegisterRunCountCallback() argument
20 RunCountStateObserver::GetInstance().RegisterRunCountChanged(fun); in RegisterRunCountCallback()
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()
Dc_event_handler.cpp38 void RequestPostTask(fun f) in RequestPostTask()
/base/request/request/services/include/
Dc_event_handler.h25 using fun = int32_t (*)(); variable
28 void RequestPostTask(fun f);
Dapplication_state_observer.h65 void RegisterAPPStateCallback(APPStateCallback fun);
66 void RegisterProcessStateCallback(APPStateCallback fun);
Druncount_observer.h41 void RegisterRunCountCallback(RunCountCallback fun);
/base/telephony/core_service/services/network_search/src/
Dnetwork_utils.cpp320 auto fun = GetFunctionOfEvent<RilFunc_Event>(radioEvent); in SendBase() local
322 slotId, radioEvent, 0, nullptr, fun); in SendBase()
328 auto fun = GetFunctionOfEvent<RilFunc_Int_Event>(radioEvent); in SendBase() local
330 slotId, radioEvent, param, nullptr, fun); in SendBase()
336 auto fun = GetFunctionOfEvent<RilFunc_Int_Int_Event>(radioEvent); in SendBase() local
338 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
345 auto fun = GetFunctionOfEvent<RilFunc_Int_String_Event>(radioEvent); in SendBase() local
347 slotId, radioEvent, firstParam, nullptr, fun); in SendBase()
354 auto fun = GetFunctionOfEvent<RilFunc_Event>(radioEvent); in SendCallback() local
356 slotId, radioEvent, 0, callback, fun); in SendCallback()
[all …]
/base/msdp/device_status/utils/common/include/
Dmsg_handler.h33 V fun; member
66 callbacks_[msg.id] = msg.fun; in RegisterEvent()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_subscriber_local_live_view_stub.cpp63 auto fun = it->second; in OnRemoteRequest() local
64 if (fun == nullptr) { in OnRemoteRequest()
69 fun(data, reply); in OnRemoteRequest()
/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.cpp103 bool StreamClient::StartClient(MsgClientFunCallback fun) in StartClient() argument
111 recvFun_ = fun; in StartClient()
/base/msdp/device_status/intention/scheduler/task_scheduler/include/
Dtask_scheduler.h45 Task(int32_t id, DTaskCallback fun, Promise *promise = nullptr)
46 : id_(id), fun_(fun), promise_(promise) {} in id_()
/base/msdp/device_status/services/delegate_task/include/
Ddelegate_tasks.h45 Task(int32_t taskid, DTaskCallback fun, Promise *promise = nullptr)
46 : id_(taskid), fun_(fun), promise_(promise) {} in id_()
/base/msdp/device_status/services/interaction/drag/src/
Devent_hub.cpp82 auto fun = [] (IContext* context) -> int32_t { in OnReceiveEvent() local
89 int32_t ret = context_->GetDelegateTasks().PostAsyncTask(std::bind(fun, context_)); in OnReceiveEvent()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_vendor_modem_defs.h68 void (*SetRadioState)(const ReqDataInfo *requestInfo, int32_t fun, int32_t rst);
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
Dcommonutil_test.h35 int32_t memory_copy_error(const char *fun, unsigned int line);
/base/telephony/sms_mms/test/fuzztest/gsmsmssender_fuzzer/
Dgsmsmssender_fuzzer.cpp138 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in SendSmsTest() local
140 auto sender = std::make_shared<GsmSmsSender>(slotId, fun); in SendSmsTest()
185 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; in SendSmsTest2() local
187 auto sender = std::make_shared<GsmSmsSender>(slotId, fun); in SendSmsTest2()
/base/msdp/device_status/utils/ipc/include/
Dstream_client.h51 bool StartClient(MsgClientFunCallback fun);
/base/web/webview/ohos_nweb/include/
Dnweb_c_api.h54 …ownloader_SetDownloadBeforeStart(WebDownloadDelegateCallback *callback, OnDownloadBeforeStart fun);
56 …WebDownloader_SetDownloadDidUpdate(WebDownloadDelegateCallback *callback, OnDownloadDidUpdate 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/msdp/device_status/interfaces/innerkits/include/
Di_client.h40 virtual void RegisterDisconnectedFunction(ConnectCallback fun) = 0;
Dclient.h38 void RegisterDisconnectedFunction(ConnectCallback fun) override;
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp216 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; variable
217 auto cdmaSmsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun);
424 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; variable
426 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun);
479 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; variable
480 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun);
513 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; variable
514 std::shared_ptr<SmsSender> smsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun);
541 std::function<void(std::shared_ptr<SmsSendIndexer>)> fun = nullptr; variable
542 auto cdmaSmsSender = std::make_shared<CdmaSmsSender>(INVALID_SLOTID, fun);
[all …]

123