Home
last modified time | relevance | path

Searched refs:maskId (Results 1 – 4 of 4) sorted by relevance

/base/security/device_security_level/baselib/msglib/src/common/
Dmessenger_utils.h44 uint16_t maskId = 0; in MaskDeviceIdentity() local
45 HexStringToByte(deviceId, MASK_LEN, (uint8_t *)&maskId, sizeof(maskId)); in MaskDeviceIdentity()
46 return ((maskId & MASK_HIGH) >> SHIFT_LENGTH) | ((maskId & MASK_LOW) << SHIFT_LENGTH); in MaskDeviceIdentity()
Dmessenger_device_session_manager.c67 uint32_t maskId; member
151 …atic bool GetDeviceIdentityFromSessionId(int sessionId, DeviceIdentify *identity, uint32_t *maskId) in GetDeviceIdentityFromSessionId() argument
153 if (identity == NULL || maskId == NULL) { in GetDeviceIdentityFromSessionId()
168 *maskId = MaskDeviceIdentity((const char *)identity->identity, DEVICE_ID_MAX_LEN); in GetDeviceIdentityFromSessionId()
187 uint32_t maskId; in MessengerOnSessionOpened() local
188 bool ret = GetDeviceIdentityFromSessionId(sessionId, &identity, &maskId); in MessengerOnSessionOpened()
200 sessionInfo->maskId = maskId; in MessengerOnSessionOpened()
244 SECURITY_LOG_INFO("device=%{public}x", info->maskId); in MessengerOnSessionClosed()
260 uint32_t maskId; in MessengerOnBytesReceived() local
261 bool ret = GetDeviceIdentityFromSessionId(sessionId, &identity, &maskId); in MessengerOnBytesReceived()
[all …]
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_status_manager.cpp143 uint32_t maskId = MaskDeviceIdentity((const char *)&devId->identity[0], DEVICE_ID_MAX_LEN); in ProcessDeviceStatusReceiver() local
144 …_INFO("OnlineStateChange device %{public}x*** change to %{public}s, devType is %{public}d", maskId, in ProcessDeviceStatusReceiver()
329 uint32_t maskId = MaskDeviceIdentity((const char *)&devId->identity[0], DEVICE_ID_MAX_LEN); in MessengerGetSelfDeviceIdentify() local
330 …_LOG_DEBUG("MessengerGetSelfDeviceIdentify device %{public}x***, deviceType is %{public}d", maskId, in MessengerGetSelfDeviceIdentify()
/base/security/device_security_level/baselib/msglib/src/lite/
Dmessenger_device_status_manager.c141 uint32_t maskId = MaskDeviceIdentity(udid, UDID_BUF_LEN); in MessengerOnNodeStateChange() local
143 maskId, (state == EVENT_NODE_STATE_ONLINE) ? "online" : "offline", info->deviceTypeId); in MessengerOnNodeStateChange()
330 uint32_t maskId = MaskDeviceIdentity((const char *)&devId->identity[0], UDID_BUF_LEN); in MessengerGetSelfDeviceIdentify() local
331 …_LOG_DEBUG("MessengerGetSelfDeviceIdentify device %{public}x***, deviceType is %{public}d", maskId, in MessengerGetSelfDeviceIdentify()