Home
last modified time | relevance | path

Searched defs:cb (Results 1 – 25 of 130) sorted by relevance

123456

/base/powermgr/power_manager/services/native/src/hibernate/
Dhibernate_controller.cpp26 void HibernateController::RegisterSyncHibernateCallback(const sptr<ISyncHibernateCallback>& cb) in RegisterSyncHibernateCallback()
32 void HibernateController::UnregisterSyncHibernateCallback(const sptr<ISyncHibernateCallback>& cb) in UnregisterSyncHibernateCallback()
40 for (const auto &cb : callbacks_) { in PreHibernate() local
49 for (const auto &cb : callbacks_) { in PostHibernate() local
/base/usb/usb_manager/test/native/mock/src/
Dusb_bulkcallback_mock_test.cpp163 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
186 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
209 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
236 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
262 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
296 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
330 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
366 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
402 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
436 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
[all …]
/base/security/device_security_level/oem_property/common/
Ddslm_credential.c30 static ProcessDslmCredFunctions cb = {NULL, NULL, NULL, 0, {0}}; in GetFunctionCb() local
39 ProcessDslmCredFunctions *cb = GetFunctionCb(); in InitDslmCredentialFunctions() local
47 ProcessDslmCredFunctions *cb = GetFunctionCb(); in DefaultRequestDslmCred() local
59 ProcessDslmCredFunctions *cb = GetFunctionCb(); in DefaultVerifyDslmCred() local
70 ProcessDslmCredFunctions *cb = GetFunctionCb(); in DefaultInitDslmCred() local
84 ProcessDslmCredFunctions *cb = GetFunctionCb(); in GetSupportedCredTypes() local
/base/update/updater/services/ui/control/
Devent_listener.h39 explicit CallBackDecorator(Callback cb) : cb_(cb) {} in CallBackDecorator()
50 LabelOnTouchListener(Callback cb, bool isConsumed) in LabelOnTouchListener()
62 BtnOnEventListener(Callback cb, bool isConsumed) in BtnOnEventListener()
77 BtnOnDragListener(Callback cb, bool isConsumed) in BtnOnDragListener()
Dcallback_manager.cpp52 bool CallbackManager::RegisterFunc(const std::string &name, Callback cb) in RegisterFunc()
87 for (auto &cb : callbackCfgs_) { in Init() local
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_bulkcallback_test.cpp119 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
167 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
215 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
265 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
315 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
365 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
413 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
467 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
521 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
577 sptr<UsbCallbackTest> cb = new UsbCallbackTest(); variable
[all …]
/base/update/updateservice/services/firmware/upgrade/install/src/
Dfirmware_install.cpp32 …all::StartInstall(const std::vector<FirmwareComponent> &componentList, FirmwareInstallCallback &cb) in StartInstall()
65 void FirmwareInstall::CallbackFailedResult(FirmwareInstallCallback &cb, const std::string &errorMsg… in CallbackFailedResult()
71 void FirmwareInstall::CallbackResult(FirmwareInstallCallback &cb, const bool result) in CallbackResult()
/base/request/request/frameworks/cj/ffi/src/
Dcj_listener_list.cpp21 void ListenerList::AddListenerInner(ProgressOnCallBackType &cb, CFunc cbId) in AddListenerInner()
32 void ListenerList::RemoveListenerInner(CFunc cb) in RemoveListenerInner()
71 bool ListenerList::IsListenerAdded(void *cb) in IsListenerAdded()
/base/msdp/device_status/services/interaction/drag/include/
Ddrag_manager.h103 InterceptorConsumer(std::function<void (std::shared_ptr<MMI::PointerEvent>)> cb) in InterceptorConsumer()
117std::function<void (std::shared_ptr<MMI::PointerEvent>)> cb) : pointerEventCallback_(cb) {} in MonitorConsumer()
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
Djs_event_cooperate_target.cpp50 void JsEventCooperateTarget::EmitJsEnable(sptr<JsUtilCooperate::CallbackInfo> cb, in EmitJsEnable()
79 void JsEventCooperateTarget::EmitJsStart(sptr<JsUtilCooperate::CallbackInfo> cb, in EmitJsStart()
107 void JsEventCooperateTarget::EmitJsStop(sptr<JsUtilCooperate::CallbackInfo> cb, in EmitJsStop()
135 void JsEventCooperateTarget::EmitJsGetState(sptr<JsUtilCooperate::CallbackInfo> cb, bool state) in EmitJsGetState()
281 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallEnablePromiseWork() local
324 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallEnableAsyncWork() local
359 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallStartPromiseWork() local
402 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallStartAsyncWork() local
437 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallStopPromiseWork() local
481 … sptr<JsUtilCooperate::CallbackInfo> cb(static_cast<JsUtilCooperate::CallbackInfo *>(work->data)); in CallStopAsyncWork() local
[all …]
Djs_util_cooperate.cpp34 napi_value JsUtilCooperate::GetEnableInfo(sptr<CallbackInfo> cb) in GetEnableInfo()
41 napi_value JsUtilCooperate::GetStartInfo(sptr<CallbackInfo> cb) in GetStartInfo()
48 napi_value JsUtilCooperate::GetStopInfo(sptr<CallbackInfo> cb) in GetStopInfo()
55 napi_value JsUtilCooperate::GetStateInfo(sptr<CallbackInfo> cb) in GetStateInfo()
Djs_cooperate_manager.cpp32 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo(); in Enable() local
55 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo(); in Start() local
72 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo(); in Stop() local
90 sptr<JsUtilCooperate::CallbackInfo> cb = new (std::nothrow) JsUtilCooperate::CallbackInfo(); in GetState() local
/base/request/request/frameworks/js/napi/src/
Dlistener_list.cpp20 napi_status ListenerList::AddListenerInner(napi_value cb) in AddListenerInner()
39 napi_status ListenerList::RemoveListenerInner(napi_value cb) in RemoveListenerInner()
88 bool ListenerList::IsListenerAdded(napi_value cb) in IsListenerAdded()
Djs_response_listener.cpp24 napi_status JSResponseListener::AddListener(napi_value cb) in AddListener()
36 napi_status JSResponseListener::RemoveListener(napi_value cb) in RemoveListener()
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
Djs_util.cpp34 napi_value JsUtil::GetPrepareInfo(sptr<CallbackInfo> cb) in GetPrepareInfo()
41 napi_value JsUtil::GetActivateInfo(sptr<CallbackInfo> cb) in GetActivateInfo()
48 napi_value JsUtil::GetDeactivateInfo(sptr<CallbackInfo> cb) in GetDeactivateInfo()
55 napi_value JsUtil::GetCrossingSwitchStateInfo(sptr<CallbackInfo> cb) in GetCrossingSwitchStateInfo()
Djs_event_target.cpp48 void JsEventTarget::EmitJsPrepare(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId, in EmitJsPrepare()
77 void JsEventTarget::EmitJsActivate(sptr<JsUtil::CallbackInfo> cb, const std::string &remoteNetworkI… in EmitJsActivate()
105 void JsEventTarget::EmitJsDeactivate(sptr<JsUtil::CallbackInfo> cb, const std::string &networkId, in EmitJsDeactivate()
133 void JsEventTarget::EmitJsGetCrossingSwitchState(sptr<JsUtil::CallbackInfo> cb, bool state) in EmitJsGetCrossingSwitchState()
444 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallPreparePromiseWork() local
487 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallPrepareAsyncWork() local
522 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallActivatePromiseWork() local
565 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallActivateAsyncWork() local
600 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallDeactivatePromiseWork() local
644 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallDeactivateAsyncWork() local
[all …]
Djs_coordination_manager.cpp32 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in Prepare() local
49 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in Unprepare() local
67 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in Activate() local
86 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in Deactivate() local
104 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetCrossingSwitchState() local
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
Dprint_extension_callback_stub.cpp87 void PrintExtensionCallbackStub::SetExtCallback(PrintExtCallback cb) in SetExtCallback()
92 void PrintExtensionCallbackStub::SetPrintJobCallback(PrintJobCallback cb) in SetPrintJobCallback()
97 void PrintExtensionCallbackStub::SetPrinterCallback(PrinterCallback cb) in SetPrinterCallback()
102 void PrintExtensionCallbackStub::SetCapabilityCallback(PrinterCapabilityCallback cb) in SetCapabilityCallback()
/base/usb/usb_manager/services/native/include/
Dusbd_bulkcallback_impl.h27 explicit UsbdBulkCallbackImpl(const OHOS::sptr<OHOS::IRemoteObject> &cb) : remote_(cb) {} in UsbdBulkCallbackImpl()
/base/security/device_auth/services/legacy/group_manager/inc/
Dbase_group_manager_task.h29 const DeviceAuthCallback *cb; member
37 const DeviceAuthCallback *cb; member
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_client_test.cpp59 ThermalEventCallback cb = MockEventCb; variable
75 StatusCallback cb = MockStatusCb; variable
/base/security/code_signature/test/unittest/
Dlocal_code_sign_test.cpp154 LocalCodeSignLoadCallback cb; variable
166 LocalCodeSignLoadCallback cb; variable
178 LocalCodeSignLoadCallback cb; variable
/base/web/webview/test/unittest/ohos_adapter/date_time_adapter_impl_test/
Ddate_time_adapter_impl_test.cpp85 …std::shared_ptr<TimezoneEventCallbackAdapter> cb = std::make_shared<MockTimezoneEventCallbackAdapt… variable
109 …std::shared_ptr<TimezoneEventCallbackAdapter> cb = std::make_shared<MockTimezoneEventCallbackAdapt… variable
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiodevicechange_fuzzer/
Daudiodevicechange_fuzzer.cpp32 std::shared_ptr<AudioManagerDeviceChangeCallbackAdapter> cb; in AudioDeviceChangeFuzzTest() local
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiointerrupt_fuzzer/
Daudiointerrupt_fuzzer.cpp32 std::shared_ptr<AudioManagerCallbackAdapter> cb = nullptr; in AudioInterruptFuzzTest() local

123456