Home
last modified time | relevance | path

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

12345678910>>...17

/foundation/communication/bluetooth/services/bluetooth/stack/src/smp/
Dsmp_cmd.c25 int SMP_SendPairingRequest(uint16_t handle, const SMP_PairParam *pairReqParam, SMP_SendDataCb cb) in SMP_SendPairingRequest()
56 int SMP_SendPairingResponse(uint16_t handle, const SMP_PairParam *pairRspParam, SMP_SendDataCb cb) in SMP_SendPairingResponse()
87 int SMP_SendPairingConfirm(uint16_t handle, const uint8_t *confirm, SMP_SendDataCb cb) in SMP_SendPairingConfirm()
111 int SMP_SendPairingRandom(uint16_t handle, const uint8_t *random, SMP_SendDataCb cb) in SMP_SendPairingRandom()
135 int SMP_SendPairingFailed(uint16_t handle, uint8_t reason, SMP_SendDataCb cb) in SMP_SendPairingFailed()
159 int SMP_SendPairingPublicKey(uint16_t handle, const uint8_t *publicKey, SMP_SendDataCb cb) in SMP_SendPairingPublicKey()
183 int SMP_SendPairingDHKeyCheck(uint16_t handle, const uint8_t *dhKeyCheck, SMP_SendDataCb cb) in SMP_SendPairingDHKeyCheck()
207 int SMP_SendEncryptionInformation(uint16_t handle, const uint8_t *ltk, SMP_SendDataCb cb) in SMP_SendEncryptionInformation()
231 …MP_SendMasterIdentification(uint16_t handle, uint16_t ediv, const uint8_t *rand, SMP_SendDataCb cb) in SMP_SendMasterIdentification()
260 int SMP_SendIdentityInformation(uint16_t handle, const uint8_t *irk, SMP_SendDataCb cb) in SMP_SendIdentityInformation()
[all …]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
Drs_render_service_client_test.cpp55 RenderModeChangeCallback cb = [](bool flag) {}; in __anonfa01eb290102() variable
104 std::shared_ptr<TestSurfaceCaptureCallback> cb = std::make_shared<TestSurfaceCaptureCallback>(); variable
133 BufferAvailableCallback cb = [](){}; in __anonfa01eb290202() variable
146 BufferAvailableCallback cb = [](){}; in __anonfa01eb290302() variable
171 BufferAvailableCallback cb = [](){}; in __anonfa01eb290402() variable
/foundation/multimedia/audio_framework/services/audio_policy/client/src/
Daudio_client_tracker_callback_stub.cpp90 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in PausedStreamImpl() local
101 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in SetLowPowerVolumeImpl() local
113 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in ResumeStreamImpl() local
124 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in GetLowPowerVolumeImpl() local
135 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in GetSingleStreamVolumeImpl() local
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
Dtrans_tcp_direct_message_test.cpp204 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
233 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
259 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
298 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
408 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
433 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
458 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
478 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
504 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
532 const IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
/foundation/ai/engine/services/client/client_executor/source/
Dasync_handler.cpp28 int AsyncHandler::RegisterCb(int sessionId, IClientCb *cb) in RegisterCb()
48 int AsyncHandler::RegisterDeadCb(int sessionId, IServiceDeadCb *cb) in RegisterDeadCb()
65 IClientCb *cb = nullptr; in OnResult() local
85 void AsyncHandler::FindCb(int sessionId, IClientCb *&cb) in FindCb()
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
Dmdns_manager.cpp31 …Manager::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService()
58 int32_t MDnsManager::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService()
78 …nsManager::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService()
97 int32_t MDnsManager::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService()
117 …t MDnsManager::ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) in ResolveService()
179 auto cb = iter->first; in ReceiveDiscover() local
207 auto cb = iter->first; in ReceiveInstanceResolve() local
Dmdns_service.cpp113 …Service::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService()
128 int32_t MDnsService::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService()
142 …nsService::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService()
156 int32_t MDnsService::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService()
170 …t MDnsService::ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) in ResolveService()
/foundation/communication/bluetooth/frameworks/js/napi/include/
Dnapi_bluetooth_event.h29 …explicit AsyncEventData(const std::shared_ptr<BluetoothCallbackInfo> &cb, std::function<napi_value… in AsyncEventData()
59 static void CheckAndNotify(const std::shared_ptr<BluetoothCallbackInfo> &cb, const T& obj) in CheckAndNotify()
/foundation/multimodalinput/input/frameworks/napi/input_device_cooperate/src/
Djs_util.cpp38 napi_value JsUtil::GetEnableInfo(const std::unique_ptr<CallbackInfo> &cb) in GetEnableInfo()
45 napi_value JsUtil::GetStartInfo(const std::unique_ptr<CallbackInfo> &cb) in GetStartInfo()
52 napi_value JsUtil::GetStopInfo(const std::unique_ptr<CallbackInfo> &cb) in GetStopInfo()
59 napi_value JsUtil::GetStateInfo(const std::unique_ptr<CallbackInfo> &cb) in GetStateInfo()
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/
Dmdns_client.cpp59 …sClient::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService()
82 int32_t MDnsClient::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService()
101 …DnsClient::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService()
124 int32_t MDnsClient::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService()
143 …_t MDnsClient::ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) in ResolveService()
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/proxy/
Dmdns_service_proxy.cpp28 …ceProxy::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService()
69 int32_t MDnsServiceProxy::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService()
101 …viceProxy::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService()
137 int32_t MDnsServiceProxy::StopDiscoverService(const sptr<IDiscoveryCallback> &cb) in StopDiscoverService()
169 …sServiceProxy::ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) in ResolveService()
/foundation/communication/dsoftbus/sdk/bus_center/manager/src/
Dclient_bus_center_manager.c37 OnJoinLNNResult cb; member
43 OnJoinMetaNodeResult cb; member
49 OnLeaveLNNResult cb; member
55 OnLeaveMetaNodeResult cb; member
61 ITimeSyncCb cb; member
66 INodeStateCb cb; member
114 static JoinLNNCbListItem *FindJoinLNNCbItem(ConnectionAddr *addr, OnJoinLNNResult cb) in FindJoinLNNCbItem()
127 static JoinMetaNodeCbListItem *FindJoinMetaNodeCbItem(ConnectionAddr *addr, OnJoinMetaNodeResult cb) in FindJoinMetaNodeCbItem()
140 static int32_t AddJoinLNNCbItem(ConnectionAddr *target, OnJoinLNNResult cb) in AddJoinLNNCbItem()
156 static int32_t AddJoinMetaNodeCbItem(ConnectionAddr *target, OnJoinMetaNodeResult cb) in AddJoinMetaNodeCbItem()
[all …]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
Dtrans_udp_nego_test.cpp266 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
338 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
352 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
382 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
406 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
434 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
462 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
484 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
507 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
548 IServerChannelCallBack *cb = TransServerGetChannelCb(); variable
[all …]
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Davplayer_callback.cpp250 NapiCallback::Base *cb = reinterpret_cast<NapiCallback::Base *>(work->data); in CompleteCallback() local
302 NapiCallback::Error *cb = new(std::nothrow) NapiCallback::Error(); in OnErrorCb() local
389 NapiCallback::StateChange *cb = new(std::nothrow) NapiCallback::StateChange(); in OnStateChangeCb() local
417 NapiCallback::Double *cb = new(std::nothrow) NapiCallback::Double(); in OnVolumeChangeCb() local
434 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); in OnSeekDoneCb() local
452 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); in OnSpeedDoneCb() local
470 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); in OnBitRateDoneCb() local
493 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); in OnPositionUpdateCb() local
516 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); in OnDurationUpdateCb() local
553 NapiCallback::IntVec *cb = new(std::nothrow) NapiCallback::IntVec(); in OnBufferingUpdateCb() local
[all …]
/foundation/multimodalinput/input/service/input_device_cooperate/src/
Ddistributed_input_adapter.cpp60 sptr<IStartStopDInputsCallback> cb = new (std::nothrow) StartDInputCallbackDHIds(); in StartRemoteInput() local
70 sptr<IStartDInputCallback> cb = new (std::nothrow) StartDInputCallback(); in StartRemoteInput() local
80 sptr<IStartStopDInputsCallback> cb = new (std::nothrow) StartDInputCallbackSink(); in StartRemoteInput() local
90 sptr<IStartStopDInputsCallback> cb = new (std::nothrow) StopDInputCallbackDHIds(); in StopRemoteInput() local
100 sptr<IStopDInputCallback> cb = new (std::nothrow) StopDInputCallback(); in StopRemoteInput() local
110 sptr<IStartStopDInputsCallback> cb = new (std::nothrow) StopDInputCallbackSink(); in StopRemoteInput() local
120 sptr<IPrepareDInputCallback> cb = new (std::nothrow) PrepareStartDInputCallbackSink(); in PrepareRemoteInput() local
130 sptr<IUnprepareDInputCallback> cb = new (std::nothrow) UnPrepareStopDInputCallbackSink(); in UnPrepareRemoteInput() local
139 sptr<IPrepareDInputCallback> cb = new (std::nothrow) PrepareStartDInputCallback(); in PrepareRemoteInput() local
148 sptr<IUnprepareDInputCallback> cb = new (std::nothrow) UnPrepareStopDInputCallback(); in UnPrepareRemoteInput() local
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/file/
Dtrans_sdk_file_test.cpp112 IClientSessionCallBack *cb = GetClientSessionCb(); in SetUpTestCase() local
316 IClientSessionCallBack *cb = GetClientSessionCb(); variable
335 IClientSessionCallBack *cb = GetClientSessionCb(); variable
378 IClientSessionCallBack *cb = GetClientSessionCb(); variable
414 IClientSessionCallBack *cb = GetClientSessionCb(); variable
444 IClientSessionCallBack *cb = GetClientSessionCb(); variable
493 IClientSessionCallBack *cb = GetClientSessionCb(); variable
539 IClientSessionCallBack *cb = GetClientSessionCb(); variable
583 IClientSessionCallBack *cb = GetClientSessionCb(); variable
/foundation/ai/engine/test/function/init/
Dinit_function_test.cpp129 ServiceDeadCb cb = ServiceDeadCb(); variable
177 ServiceDeadCb cb = ServiceDeadCb(); variable
225 ServiceDeadCb cb = ServiceDeadCb(); variable
271 ServiceDeadCb cb = ServiceDeadCb(); variable
316 ServiceDeadCb cb = ServiceDeadCb(); variable
361 ServiceDeadCb cb = ServiceDeadCb(); variable
/foundation/ai/engine/test/function/prepare/
Dprepare_function_test.cpp110 ServiceDeadCb cb = ServiceDeadCb(); variable
167 ServiceDeadCb cb = ServiceDeadCb(); variable
229 ServiceDeadCb cb = ServiceDeadCb(); variable
290 ServiceDeadCb cb = ServiceDeadCb(); variable
352 ServiceDeadCb cb = ServiceDeadCb(); variable
414 ServiceDeadCb cb = ServiceDeadCb(); variable
475 ServiceDeadCb cb = ServiceDeadCb(); variable
/foundation/communication/dsoftbus/sdk/discovery/service/src/
Dclient_disc_service.c96 int PublishService(const char *packageName, const PublishInfo *info, const IPublishCallback *cb) in PublishService()
134 int StartDiscovery(const char *packageName, const SubscribeInfo *info, const IDiscoveryCallback *cb) in StartDiscovery()
/foundation/multimedia/player_framework/services/services/player/ipc/
Dplayer_listener_stub.cpp78 std::shared_ptr<PlayerCallback> cb = callback_.lock(); in OnError() local
88 std::shared_ptr<PlayerCallback> cb = callback_.lock(); in OnInfo() local
96 std::shared_ptr<PlayerCallback> cb = callback_.lock(); in OnError() local
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
Dstorage_statistics_n_exporter.cpp75 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetTotalSizeOfVolume() local
119 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetFreeSizeOfVolume() local
165 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetBundleStats() local
201 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetCurrentBundleStats() local
234 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetSystemSize() local
293 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetUserStorageStats() local
296 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetUserStorageStats() local
329 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetTotalSize() local
362 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetFreeSize() local
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
Dclient_bus_center.c198 int32_t JoinLNN(const char *pkgName, ConnectionAddr *target, OnJoinLNNResult cb) in JoinLNN()
211 …aNode(const char *pkgName, ConnectionAddr *target, CustomData *customData, OnJoinMetaNodeResult cb) in JoinMetaNode()
232 int32_t LeaveLNN(const char *pkgName, const char *networkId, OnLeaveLNNResult cb) in LeaveLNN()
241 int32_t LeaveMetaNode(const char *pkgName, const char *networkId, OnLeaveMetaNodeResult cb) in LeaveMetaNode()
273 TimeSyncPeriod period, ITimeSyncCb *cb) in StartTimeSync()
299 int32_t PublishLNN(const char *pkgName, const PublishInfo *info, const IPublishCb *cb) in PublishLNN()
328 int32_t RefreshLNN(const char *pkgName, const SubscribeInfo *info, const IRefreshCallback *cb) in RefreshLNN()
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/
Dvsync_controller.cpp50 VsyncError VSyncController::SetCallback(Callback *cb) in SetCallback()
76 Callback *cb = nullptr; in OnVSyncEvent() local
/foundation/communication/bluetooth/services/bluetooth/stack/src/l2cap/
Dl2cap_le_if.c30 void (*cb)(uint16_t lpsm, int result); member
74 void (*cb)(uint16_t lpsm, int result); member
115 void (*cb)(const BtAddr *addr, uint16_t lcid, int result); member
164 void (*cb)(uint16_t lcid, int result); member
209 void (*cb)(uint16_t lcid, int result); member
248 void (*cb)(uint16_t lcid, int result); member
288 void (*cb)(uint16_t lcid, int result); member
342 void (*cb)(uint16_t cid, int result); member
384 void (*cb)(uint16_t cid, int result); member
423 void (*cb)(const BtAddr *addr, int result); member
[all …]
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
Djs_event_target.cpp208 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallIdsAsyncWork() local
246 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallIdsPromiseWork() local
329 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallDevAsyncWork() local
359 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallDevPromiseWork() local
436 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallKeystrokeAbilityPromise() local
484 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallKeystrokeAbilityAsync() local
616 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallKeyboardTypeAsync() local
661 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallKeyboardTypePromise() local
701 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallDevListAsyncWork() local
752 std::unique_ptr<JsUtil::CallbackInfo> cb = GetCallbackInfo(work); in CallDevListPromiseWork() local
[all …]

12345678910>>...17