Home
last modified time | relevance | path

Searched refs:localDeviceID (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/ipc/interfaces/innerkits/ipc_napi_common/include/
H A Dnapi_remote_object.h29 std::string localDeviceID; member
40 napi_value localDeviceID; member
/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/include/
H A Dipc_proxy_inner.h26 int32_t InvokerListenThread(ProxyObject *proxyObject, const char *localDeviceID,
/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/small/
H A Dipc_proxy_inner.c115 int32_t InvokerListenThread(ProxyObject *proxyObject, const char *localDeviceID, const char *remoteDeviceID, in InvokerListenThread() argument
118 if (proxyObject == NULL || localDeviceID == NULL || remoteDeviceID == NULL) { in InvokerListenThread()
128 WriteString(&data, localDeviceID); in InvokerListenThread()
/foundation/communication/ipc/ipc/native/src/core/include/
H A Ddbinder_callback_stub.h26 const std::string &localDeviceID, uint64_t stubIndex, uint32_t handle, uint32_t tokenId);
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_remote_object.cpp199 char localDeviceID[DEVICE_ID_LENGTH + 1] = { 0 }; in NAPI_RemoteObject_saveOldCallingInfoInner() local
201 napi_get_value_string_utf8(env, global, localDeviceID, DEVICE_ID_LENGTH + 1, &deviceLength); in NAPI_RemoteObject_saveOldCallingInfoInner()
202 oldCallingInfo.localDeviceID = localDeviceID; in NAPI_RemoteObject_saveOldCallingInfoInner()
686 newCallingInfoParam.localDeviceID = IPCSkeleton::GetLocalDeviceID(); in NAPI_RemoteObject_getCallingInfo()
703 IPCProcessSkeleton::ConvertToSecureString(param->callingInfo.localDeviceID).c_str(), in OnRemoteRequest()
722 napi_get_named_property(env, global, "localDeviceID_", &oldCallingInfo.localDeviceID); in NAPI_RemoteObject_saveOldCallingInfo()
745 napi_create_string_utf8(env, newCallingInfoParam.localDeviceID.c_str(), NAPI_AUTO_LENGTH, &newLocalDeviceID); in NAPI_RemoteObject_setNewCallingInfo()
763 napi_set_named_property(env, global, "localDeviceID_", oldCallingInfo.localDeviceID); in NAPI_RemoteObject_resetOldCallingInfo()
/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/mini/
H A Dipc_proxy_inner.c66 int32_t InvokerListenThread(ProxyObject *proxyObject, const char *localDeviceID, const char *remoteDeviceID, in InvokerListenThread() argument
/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c231 char localDeviceID[DEVICEID_LENGTH + 1]; in SendEntryToRemote() local
232 if (g_trans->GetLocalDeviceID(DBINDER_SESSION_NAME, localDeviceID) != ERR_NONE) { in SendEntryToRemote()
236 uint32_t localDeviceIDLength = (uint32_t)strlen(localDeviceID); in SendEntryToRemote()
257 if (memcpy_s(message.deviceIdInfo.fromDeviceId, DEVICEID_LENGTH, localDeviceID, localDeviceIDLength) != EOK || in SendEntryToRemote()
/foundation/communication/ipc/ipc/native/src/napi/src/
H A Dnapi_ipc_skeleton.cpp108 napi_value localDeviceID = nullptr; in NAPI_IPCSkeleton_getLocalDeviceID() local
109 napi_get_named_property(env, global, "localDeviceID_", &localDeviceID); in NAPI_IPCSkeleton_getLocalDeviceID()
110 return localDeviceID; in NAPI_IPCSkeleton_getLocalDeviceID()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp85 std::string localDeviceID = current->GetLocalDeviceID(); in NewSessionOfBinderProxy() local
86 if (localDeviceID.empty()) { in NewSessionOfBinderProxy()
87 ZLOGE(LOG_LABEL, "get localDeviceID error, handle:%{public}u", handle); in NewSessionOfBinderProxy()
90 return GetSessionForProxy(ipcProxy, session, localDeviceID); in NewSessionOfBinderProxy()
94 std::shared_ptr<DBinderSessionObject> session, const std::string &localDeviceID) in GetSessionForProxy()
105 if (!data.WriteUint32(IRemoteObject::DATABUS_TYPE) || !data.WriteString(localDeviceID) || in GetSessionForProxy()
93 GetSessionForProxy(sptr<IPCObjectProxy> ipcProxy, std::shared_ptr<DBinderSessionObject> session, const std::string &localDeviceID) GetSessionForProxy() argument
/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_databus_invoker.h80 std::shared_ptr<DBinderSessionObject> session, const std::string &localDeviceID);

Completed in 9 milliseconds