Searched refs:localDevID (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/ipc/services/dbinder/dbinder_service/src/ |
H A D | dbinder_service.cpp | 367 bool DBinderService::CheckDeviceIDsInvalid(const std::string &deviceID, const std::string &localDevID) in CheckDeviceIDsInvalid() argument 369 if (IsDeviceIdIllegal(deviceID) || IsDeviceIdIllegal(localDevID)) { in CheckDeviceIDsInvalid() 371 deviceID.length(), localDevID.length()); in CheckDeviceIDsInvalid() 378 const std::string &localDevID, const std::string &deviceID) in CopyDeviceIDsToMessage() 380 if (memcpy_s(message->deviceIdInfo.fromDeviceId, DEVICEID_LENGTH, localDevID.data(), localDevID.length()) != 0 || in CopyDeviceIDsToMessage() 386 message->deviceIdInfo.fromDeviceId[localDevID.length()] = '\0'; in CopyDeviceIDsToMessage() 421 const std::string localDevID = GetLocalDeviceID(); in SendEntryToRemote() local 422 if (CheckDeviceIDsInvalid(deviceID, localDevID)) { in SendEntryToRemote() 432 if (!CopyDeviceIDsToMessage(message, localDevID, deviceI in SendEntryToRemote() 377 CopyDeviceIDsToMessage(std::shared_ptr<struct DHandleEntryTxRx> message, const std::string &localDevID, const std::string &deviceID) CopyDeviceIDsToMessage() argument [all...] |
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/ |
H A D | dbinder_service.h | 325 bool CheckDeviceIDsInvalid(const std::string &deviceID, const std::string &localDevID); 327 const std::string &localDevID, const std::string &deviceID);
|
Completed in 2 milliseconds