/foundation/communication/ipc/ipc/native/c/manager/src/ |
D | ipc_skeleton.c | 99 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in AddDeathRecipient() argument 109 return ProcessAddDeathRecipient(target.handle, deathFunc, args, cbId); in AddDeathRecipient() 112 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId) in RemoveDeathRecipient() argument 122 return ProcessRemoveDeathRecipient(target.handle, cbId); in RemoveDeathRecipient()
|
D | ipc_process_skeleton.c | 275 int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId) in ProcessAddDeathRecipient() argument 281 if (deathFunc == NULL || cbId == NULL) { in ProcessAddDeathRecipient() 306 *cbId = SetDeathHandlerPair(node, i, deathFunc, args); in ProcessAddDeathRecipient() 330 int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId) in ProcessRemoveDeathRecipient() argument 336 if (cbId >= MAX_DEATH_CALLBACK_NUM) { in ProcessRemoveDeathRecipient() 356 if (node->handler[cbId].usedFlag) { in ProcessRemoveDeathRecipient() 357 node->handler[cbId].usedFlag = false; in ProcessRemoveDeathRecipient() 358 node->handler[cbId].func = NULL; in ProcessRemoveDeathRecipient()
|
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/src/ipc/lite/ |
D | ipc_server_stub.cpp | 76 UnregisterDeathCallback(sid, svcId.cbId); in DeathCb() 117 uint32_t cbId = 0; in RegisterDeviceManagerListener() local 118 RegisterDeathCallback(NULL, sid, DeathCb, pkgName, &cbId); in RegisterDeviceManagerListener() 119 svcId.cbId = cbId; in RegisterDeviceManagerListener() 147 ret = UnregisterDeathCallback(sid, svcId.cbId); in UnRegisterDeviceManagerListener()
|
/foundation/communication/ipc/interfaces/innerkits/c/ipc/include/ |
D | ipc_skeleton.h | 73 int32_t AddDeathRecipient(SvcIdentity target, OnRemoteDead deathFunc, void *args, uint32_t *cbId); 75 int32_t RemoveDeathRecipient(SvcIdentity target, uint32_t cbId);
|
/foundation/communication/dsoftbus/core/frame/small/init/src/ |
D | softbus_server_stub.c | 114 UnregisterDeathCallback(sid, svcId.cbId); in ClientDeathCb() 156 uint32_t cbId = 0; in ServerRegisterService() local 157 RegisterDeathCallback(NULL, sid, ClientDeathCb, pkgName, &cbId); in ServerRegisterService() 158 svcId.cbId = cbId; in ServerRegisterService()
|
/foundation/graphic/wms/services/ims/ |
D | input_event_client_proxy.cpp | 64 uint32_t cbId = 0; in AddListener() local 65 …if (RegisterDeathCallback(NULL, svc, DeathCallback, const_cast<void*>(origin), &cbId) != LITEIPC_O… in AddListener() 69 struct ClientInfo clientInfo = { svc, cbId, alwaysInvoke }; in AddListener()
|
/foundation/communication/ipc/ipc/native/c/manager/include/ |
D | ipc_process_skeleton.h | 66 int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *args, uint32_t *cbId… 67 int32_t ProcessRemoveDeathRecipient(int32_t handle, uint32_t cbId);
|
/foundation/communication/ipc_lite/interfaces/kits/ |
D | liteipc_adapter.h | 94 …allback(const IpcContext* context, SvcIdentity sid, IpcMsgHandler func, void* arg, uint32_t* cbId); 95 int32_t UnregisterDeathCallback(SvcIdentity sid, uint32_t cbId);
|
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/ipc/lite/ |
D | ipc_server_listenermgr.h | 34 uint32_t cbId; member
|
/foundation/communication/dsoftbus/core/common/include/ |
D | softbus_ipc_def.h | 36 unsigned int cbId; member
|
/foundation/appexecfwk/appexecfwk_lite/services/bundlemgr_lite/tools/src/ |
D | command_parser.cpp | 176 uint32_t cbId = INITIAL_CBID; in RunAsInstallCommand() local 196 … if (RegisterDeathCallback(nullptr, sid, BmToolDeathNotify, nullptr, &cbId) != LITEIPC_OK) { in RunAsInstallCommand() 218 uint32_t cbId = INITIAL_CBID; in RunAsUninstallCommand() local 230 … if (RegisterDeathCallback(nullptr, sid, BmToolDeathNotify, nullptr, &cbId) != LITEIPC_OK) { in RunAsUninstallCommand()
|
/foundation/communication/ipc_lite/frameworks/liteipc/src/ |
D | liteipc_adapter.c | 918 …Callback(const IpcContext* context, SvcIdentity sid, IpcMsgHandler func, void* arg, uint32_t* cbId) in RegisterDeathCallback() argument 924 if ((func == NULL) || (cbId == NULL)) { in RegisterDeathCallback() 953 *cbId = SetDeathHandlerPair(node, i, func, arg); in RegisterDeathCallback() 968 *cbId = SetDeathHandlerPair(node, 0, func, arg); in RegisterDeathCallback() 976 int32_t UnregisterDeathCallback(SvcIdentity sid, uint32_t cbId) in UnregisterDeathCallback() argument 980 if (cbId >= MAX_DEATHCB_PER_SVC) { in UnregisterDeathCallback() 981 LOG(ERROR, "Wrong cbId:%u.", cbId); in UnregisterDeathCallback() 991 if ((node->isCallbackRuning == false) && (node->hdlerPairs[cbId].usedFlag == true)) { in UnregisterDeathCallback() 992 node->hdlerPairs[cbId].usedFlag = false; in UnregisterDeathCallback()
|
/foundation/communication/ipc/services/dbinder/c/include/ |
D | dbinder_types.h | 84 uint32_t cbId; member
|
/foundation/communication/ipc_lite/frameworks/liteipc_linux/src/ |
D | liteipc_adapter.c | 1100 …Callback(const IpcContext* context, SvcIdentity sid, IpcMsgHandler func, void* arg, uint32_t* cbId) in RegisterDeathCallback() argument 1105 if ((func == NULL) || (cbId == NULL)) { in RegisterDeathCallback() 1134 *cbId = SetDeathHandlerPair(node, i, func, arg); in RegisterDeathCallback() 1149 *cbId = SetDeathHandlerPair(node, 0, func, arg); in RegisterDeathCallback() 1158 int32_t UnregisterDeathCallback(SvcIdentity sid, uint32_t cbId) in UnregisterDeathCallback() argument 1162 if (cbId >= MAX_DEATHCB_PER_SVC) { in UnregisterDeathCallback() 1163 LOG(ERROR, "Wrong cbId:%d.", cbId); in UnregisterDeathCallback() 1173 if ((node->isCallbackRuning == false) && (node->hdlerPairs[cbId].usedFlag == true)) { in UnregisterDeathCallback() 1174 node->hdlerPairs[cbId].usedFlag = false; in UnregisterDeathCallback()
|
/foundation/graphic/wms/services/wms/ |
D | lite_wms.cpp | 218 uint32_t cbId = -1; in ClientRegister() local 224 if (RegisterDeathCallback(NULL, arg->sid, DeathCallback, arg, &cbId) != LITEIPC_OK) { in ClientRegister()
|
/foundation/communication/ipc/services/dbinder/c/src/ |
D | dbinder_service.c | 466 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()
|