Home
last modified time | relevance | path

Searched refs:cbId (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dipc_skeleton.c94 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in AddDeathRecipient() argument
104 return ProcessAddDeathRecipient(target.handle, deathFunc, args, cbId); in AddDeathRecipient()
107 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId) in RemoveDeathRecipient() argument
117 return ProcessRemoveDeathRecipient(target.handle, cbId); in RemoveDeathRecipient()
H A Dipc_process_skeleton.c277 int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in ProcessAddDeathRecipient() argument
283 if (deathFunc == NULL || cbId == NULL) { in ProcessAddDeathRecipient()
308 *cbId = SetDeathHandlerPair(node, i, deathFunc, args); in ProcessAddDeathRecipient()
332 int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId) in ProcessRemoveDeathRecipient() argument
338 if (cbId >= MAX_DEATH_CALLBACK_NUM) { in ProcessRemoveDeathRecipient()
358 if (node->handler[cbId].usedFlag) { in ProcessRemoveDeathRecipient()
359 node->handler[cbId].usedFlag = false; in ProcessRemoveDeathRecipient()
360 node->handler[cbId].func = NULL; in ProcessRemoveDeathRecipient()
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/
H A Dipc_server_stub.cpp102 uint32_t cbId = 0; in RegisterDeviceManagerListener() local
103 AddDeathRecipient(svc, DeathCb, pkgName, &cbId); in RegisterDeviceManagerListener()
104 svcId.cbId = cbId; in RegisterDeviceManagerListener()
/foundation/communication/ipc/interfaces/innerkits/c/ipc/include/
H A Dipc_skeleton.h71 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId);
73 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId);
/foundation/window/window_manager_lite/services/ims/
H A Dinput_event_client_proxy.cpp63 uint32_t cbId = 0; in AddListener() local
64 if (AddDeathRecipient(svc, DeathCallback, nullptr, &cbId) != 0) { in AddListener()
68 struct ClientInfo clientInfo = { svc, cbId, alwaysInvoke }; in AddListener()
/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dsoftbus_server_stub.c164 uint32_t cbId = 0; in ServerRegisterService() local
165 AddDeathRecipient(svc, ClientDeathCb, argStrcut, &cbId); in ServerRegisterService()
166 svcId.cbId = cbId; in ServerRegisterService()
/foundation/communication/ipc/ipc/native/c/manager/include/
H A Dipc_process_skeleton.h64 int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId);
65 int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId);
/foundation/communication/ipc/ipc/test/ipc/client/
H A Dipc_test_client.c40 uint32_t cbId = 0; in AddDeathCallback() local
43 int32_t ret = AddDeathRecipient(svcIdentity, ServerDeadCallback, NULL, &cbId); in AddDeathCallback()
48 RPC_LOG_INFO("[ipc_test_client] add death callback success, cbId = [%u]", cbId); in AddDeathCallback()
/foundation/distributedhardware/device_manager/services/service/include/ipc/lite/
H A Dipc_server_listenermgr.h33 uint32_t cbId; member
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_server_ipc_interface_code.h38 unsigned int cbId; member
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/tools/src/
H A Dcommand_parser.cpp176 uint32_t cbId = INITIAL_CBID; in RunAsInstallCommand() local
196 if (AddDeathRecipient(sid, BmToolDeathNotify, nullptr, &cbId) != ERR_NONE) { in RunAsInstallCommand()
218 uint32_t cbId = INITIAL_CBID; in RunAsUninstallCommand() local
230 if (AddDeathRecipient(sid, BmToolDeathNotify, nullptr, &cbId) != ERR_NONE) { in RunAsUninstallCommand()
/foundation/communication/ipc/services/dbinder/c/include/
H A Ddbinder_types.h84 uint32_t cbId; member
/foundation/window/window_manager_lite/services/wms/
H A Dlite_wms.cpp242 uint32_t cbId = -1; in ClientRegister() local
243 if (AddDeathRecipient(arg->sid, DeathCallback, arg, &cbId) != 0) { in ClientRegister()
/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c466 RPC_LOG_INFO("DbinderSaDeathRecipient cbiId %d", proxyObject->cbId); in DbinderSaDeathRecipient()
492 (void *)proxyObject, &proxyObject->cbId); in FindOrNewProxy()
502 RemoveDeathRecipient(*proxyObject->proxy, proxyObject->cbId); in FindOrNewProxy()

Completed in 9 milliseconds