/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-custom-component-mixed-scenarios.md | 166 myId: this.myId 476 this.myId = myId || 0; 508 Text(`info id:${this.info.myId}`) // 显示 info:myId 569 this.myId = myId || 0; 599 Text(`info id:${this.info.myId}`) // 显示info:myId 661 this.myId = myId || 0; 691 Text(`info id:${this.info.myId}`) // 显示info:myId 753 this.myId = myId || 0; 783 Text(`info id:${this.info.myId}`) // 显示 info:myId 857 this.myId = myId || 0; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_control.c | 43 msgHead.myId = info->myId; in TransProxySendInnerMessage() 124 msgHead.myId = info->myId; in TransProxyHandshake() 126 …TRANS_LOGI(TRANS_CTRL, "handshake myChannelId=%{public}d, cipher=0x%{public}02x", msgHead.myId, ms… in TransProxyHandshake() 148 .channelId = info->myId, in TransProxyHandshake() 170 msgHead.myId = chan->myId; in TransProxyAckHandshake() 176 retCode, chan->myId, chan->peerId); in TransProxyAckHandshake() 180 chan->myId, chan->peerId); in TransProxyAckHandshake() 212 msgHead.myId = info->myId; in TransProxyKeepalive() 248 msgHead.myId = info->myId; in TransProxyAckKeepalive() 286 …CTRL, "send reset msg myChannelId=%{public}d, peerChannelId=%{public}d", info->myId, info->peerId); in TransProxyResetPeer() [all …]
|
H A D | softbus_proxychannel_manager.c | 95 if ((a->myId == b->myId) && in ChanIsEqual() 106 if ((a->myId == b->myId) && in ResetChanIsEqual() 112 if ((a->myId == b->myId) && in ResetChanIsEqual() 126 if ((item->myId == myId) && (strcmp(item->identity, identity) == 0)) { in TransProxyGetAppInfoType() 497 if ((item->myId == myId) && (item->peerId == peerId)) { in TransProxyGetRecvMsgChanInfo() 661 if (item->myId == myId) { in TransProxyGetAppInfo() 684 if (item->myId == myId) { in TransProxyGetReqIdAndStatus() 837 .myId = msg->msgHead.myId, in TransProxyProcessHandshakeAckMsg() 1313 info->myId = msg->msgHead.myId; in TransProxyProcessResetMsg() 1366 info->myId = msg->msgHead.myId; in TransProxyProcessKeepAlive() [all …]
|
H A D | softbus_proxychannel_message.c | 54 msg->msgHead.myId = (int16_t)SoftBusBEtoLEs(*(uint16_t *)ptr); in TransProxyParseMessageHead() 74 *(uint16_t *)(buf + offset) = SoftBusLEtoBEs((uint16_t)msgHead->myId); in TransProxyPackMessageHead() 276 ret = TransProxyGetAuthId(msg->msgHead.myId, auth); in TransProxyParseMessage() 280 msg->connId, msg->msgHead.myId, msg->msgHead.type); in TransProxyParseMessage() 318 TRANS_LOGE(TRANS_CTRL, "malloc proxy buf fail, myChannelId=%{public}d", msg->myId); in PackPlaintextMessage() 336 TRANS_LOGE(TRANS_CTRL, "invalid authId, myChannelId=%{public}d", msg->myId); in PackEncryptedMessage() 343 TRANS_LOGE(TRANS_CTRL, "malloc enc buf fail, myChannelId=%{public}d", msg->myId); in PackEncryptedMessage() 351 TRANS_LOGE(TRANS_CTRL, "pack msg encrypt fail, myChannelId=%{public}d", msg->myId); in PackEncryptedMessage() 372 TRANS_LOGE(TRANS_CTRL, "pack proxy msg fail, myChannelId=%{public}d", msg->myId); in TransProxyPackMessage() 657 …int32_t ret = TransProxyGetAppInfoType(chanInfo->myId, chanInfo->identity, &chanInfo->appInfo.appT… in TransProxyUnpackHandshakeAckMsg()
|
H A D | softbus_proxychannel_session.c | 176 msgHead.myId = info->myId; in TransProxyTransNormalMsg()
|
H A D | softbus_proxychannel_transceiver.c | 850 msg->msgHead.myId, msg->msgHead.peerId); in TransProxySendBadKeyMessage()
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-custom-component-mixed-scenarios.md | 166 myId: this.myId 472 myId: number; 476 this.myId = myId || 0; 565 myId: number; 569 this.myId = myId || 0; 657 myId: number; 661 this.myId = myId || 0; 749 myId: number; 753 this.myId = myId || 0; 857 this.myId = myId || 0; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_channel_test.cpp | 208 info.myId = 0; 234 info.myId = 0; 268 info.myId = 0; 295 info.myId = 0; 318 info.myId = 0; 349 info.myId = 0; 373 info.myId = 0; 395 info.myId = 0; 445 info.myId = 0; 477 info.myId = 0; [all …]
|
H A D | softbus_proxychannel_manager_test.cpp | 167 chan->myId = channelId; in BuildProxyChannelInfo() 628 msg.msgHead.myId = channelId; 991 info->myId = 1; 1014 info1.myId = 0; 1018 info2.myId = 0; 1038 info1.myId = 0; 1042 info2.myId = 0; 1051 info1.myId = 2; 1066 testInfo.myId = 0; 1078 info->myId = 0; [all …]
|
H A D | trans_proxy_manager_test.cpp | 192 chan->myId = channelId; in TestTransProxyAddAuthChannel() 220 chan->myId = channelId; in TestTransProxyAddNormalChannel() 330 chan->myId = 10; 349 chanNormal->myId = 11; 664 msg.msgHead.myId = 11; 701 msg.msgHead.myId = 10; 723 msg.msgHead.myId = -1; 753 msg.msgHead.myId = channelId; 797 msg.msgHead.myId = -1; 803 msg.msgHead.myId = 10; [all …]
|
H A D | trans_proxy_message_test.cpp | 99 chan->myId = channelId; in TestMessageAddProxyChannel() 190 outChannel.myId = chan.channelId;
|
H A D | softbus_proxy_session_test.cpp | 124 chan->myId = channelId; in TestAddProxyChannel()
|
H A D | softbus_proxychannel_message_test.cpp | 172 chan->myId = channelId; in TestMessageAddProxyChannel() 265 outChannel.myId = chan.channelId;
|
H A D | trans_proxy_session_test.cpp | 141 chan->myId = channelId; in TestAddProxyChannel()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_datahead_transform.c | 50 msg->myId = (int16_t)SoftBusLEtoBEs((uint16_t)msg->myId); in PackProxyMessageHead() 61 msg->myId = (int16_t)SoftBusLtoHs((uint16_t)msg->myId); in UnpackProxyMessageHead()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_message.h | 71 int16_t myId; member 123 int16_t myId; member
|
H A D | softbus_proxychannel_manager.h | 72 int32_t TransProxyGetAppInfoType(int16_t myId, const char *identity, AppType *appType);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/transproxyonmessagereceived_fuzzer/ |
H A D | transproxyonmessagereceived_fuzzer.cpp | 48 proxyMessageHead->myId = *(reinterpret_cast<const int16_t *>(data)); in InitProxyMessageHead()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/softbusproxychannelmanager_fuzzer/ |
H A D | softbusproxychannelmanager_fuzzer.cpp | 296 int16_t myId = *(reinterpret_cast<const int16_t *>(data)); in TransProxyGetAppInfoTypeTest() local 299 (void)TransProxyGetAppInfoType(myId, identity, &appType); in TransProxyGetAppInfoTypeTest()
|