/test/xts/dcts/communication/softbus_standard/dsoftbusTest/ |
D | dsoftbusTest.cpp | 81 static int OnFileSessionOpened(int sessionId, int result) in OnFileSessionOpened() argument 83 LOG("[cb][file]open session sid[%d],rst[%d]", sessionId, result); in OnFileSessionOpened() 87 static void OnFileSessionClosed(int sessionId) in OnFileSessionClosed() argument 89 LOG("[cb][file]close session sid[%d]", sessionId); in OnFileSessionClosed() 92 static void OnFileBytesReceived(int sessionId, const void* data, unsigned int dataLen) in OnFileBytesReceived() argument 94 LOG("[cb][file]ByteRec sid:%d, data len:%d", sessionId, dataLen); in OnFileBytesReceived() 96 LOG("[cb][file]ByteRec invalid data=null sid[%d]", sessionId); in OnFileBytesReceived() 100 static void OnFileMessageReceived(int sessionId, const void* data, unsigned int dataLen) in OnFileMessageReceived() argument 102 LOG("[cb][file]MessageRec sid:%d, data len:%d", sessionId, dataLen); in OnFileMessageReceived() 104 LOG("[cb][file]MessageRec invalid data=null sid[%d]", sessionId); in OnFileMessageReceived() [all …]
|
/test/xts/dcts/communication/softbus_standard/common/ |
D | net_trans_common.c | 206 static int OnReceiveFileStarted(int sessionId, const char* files, int fileCnt) in OnReceiveFileStarted() argument 208 LOG("[recv file]start,sid:%d, fileCnt:%d", sessionId, fileCnt); in OnReceiveFileStarted() 212 static int OnReceiveFileProcess(int sessionId, const char* firstFile, uint64_t bytesUpload, uint64_… in OnReceiveFileProcess() argument 217 static void OnReceiveFileFinished(int sessionId, const char* files, int fileCnt) in OnReceiveFileFinished() argument 219 LOG("[recv file]finish,sid:%d, fileCnt:%d", sessionId, fileCnt); in OnReceiveFileFinished() 222 static void OnRecvFileTransError(int sessionId) in OnRecvFileTransError() argument 224 LOG("[recv file]trans error,sid:%d", sessionId); in OnRecvFileTransError() 227 static int OnSendFileProcess(int sessionId, uint64_t bytesUpload, uint64_t bytesTotal) in OnSendFileProcess() argument 232 static int OnSendFileFinished(int sessionId, const char* firstFile) in OnSendFileFinished() argument 235 LOG("[send file]finish,sid:%d, firstFile:%s\n", sessionId, firstFile); in OnSendFileFinished() [all …]
|
D | net_trans_common.h | 217 int OpenSessionBatch4Data(char groupId[][GROUP_ID_LEN], int* sessionId, int count); 218 int OpenSessionBatch4Ctl(char groupId[][GROUP_ID_LEN], int* sessionId, int count); 221 int CloseSessionBatch4Data(int* sessionId, int count); 222 int CloseSessionBatch4Ctl(int* sessionId, int count); 226 void SetCurrentSessionId4Data(int sessionId); 227 void SetCurrentSessionId4Ctl(int sessionId); 228 void SetCurrentSessionId4Proxy(int sessionId);
|
/test/xts/dcts/communication/softbus_standard/transmission/sessionmgt/ |
D | trans_session_func_test.cpp | 23 static int FileSessionOpened(int sessionId, int result) in FileSessionOpened() argument 25 LOG("[cb][file]open session sid[%d],rst[%d]", sessionId, result); in FileSessionOpened() 34 static void FileSessionClosed(int sessionId) in FileSessionClosed() argument 36 LOG("[cb][file]close session sid[%d]", sessionId); in FileSessionClosed() 39 static void FileBytesReceived(int sessionId, const void* data, unsigned int dataLen) in FileBytesReceived() argument 41 LOG("[cb][file]ByteRec sid:%d, data len:%d", sessionId, dataLen); in FileBytesReceived() 43 LOG("[cb][file]ByteRec invalid data=null sid[%d]", sessionId); in FileBytesReceived() 50 static void FileMessageReceived(int sessionId, const void* data, unsigned int dataLen) in FileMessageReceived() argument 52 LOG("[cb][file]MessageRec sid:%d, data len:%d", sessionId, dataLen); in FileMessageReceived() 54 LOG("[cb][file]MessageRec invalid data=null sid[%d]", sessionId); in FileMessageReceived() [all …]
|
/test/xts/dcts/communication/softbus_standard/transmission/reliability/ |
D | trans_reliability_test.cpp | 72 int sessionId = 0; variable 74 ret = SendBytes(sessionId, data.c_str(), data.length()); 91 int sessionId = GetCurrentSessionId4Data(); variable 96 ret = SendBytes(sessionId, data.c_str(), data.length()); 170 int sessionId = 0; variable 172 ret = SendMessage(sessionId, data.c_str(), data.length()); 355 int sessionId; variable 357 …sessionId = OpenSession(SESSION_NAME_DATA, SESSION_NAME_DATA, GetNetworkId(), DEF_GROUP_ID, GetSes… 358 EXPECT_TRUE(sessionId < SESSION_ID_MIN) << "call OpenSession success,sid:" << sessionId; 359 SetCurrentSessionId4Data(sessionId); [all …]
|
/test/xts/acts/communication_lite/dsoftbus_hal/src/ |
D | session_test.c | 74 static int OnSendFileProcess(int sessionId, uint64_t bytesUpload, uint64_t bytesTotal) in OnSendFileProcess() argument 77 sessionId, bytesUpload, bytesTotal); in OnSendFileProcess() 81 static int OnSendFileFinished(int sessionId, const char *firstFile) in OnSendFileFinished() argument 83 LOG2_INFO("OnSendFileFinished sessionId = %d, first file = %s\n", sessionId, firstFile); in OnSendFileFinished() 88 static void OnFileTransError(int sessionId) in OnFileTransError() argument 90 LOG2_INFO("OnFileTransError sessionId = %d\n", sessionId); in OnFileTransError() 103 static int OnReceiveFileStarted(int sessionId, const char *files, int fileCnt) in OnReceiveFileStarted() argument 105 …LOG2_INFO("File receive start sessionId = %d, first file = %s, fileCnt = %d\n", sessionId, files, … in OnReceiveFileStarted() 109 static void OnReceiveFileFinished(int sessionId, const char *files, int fileCnt) in OnReceiveFileFinished() argument 111 …LOG2_INFO("File receive finished sessionId = %d, first file = %s, fileCnt = %d\n", sessionId, file… in OnReceiveFileFinished() [all …]
|
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/ |
D | trans_stream_test.cpp | 88 int sessionId = OpenSession(SESSION_NAME_STREAM, SESSION_NAME_STREAM, GetNetworkId(), variable 90 …EXPECT_TRUE(sessionId >= SESSION_ID_MIN) << "call OpenSession[Stream] fail, sessionId=" << session… 91 if (sessionId >= SESSION_ID_MIN) { 97 ret = SendStream(sessionId, &streamData, &extStreamData, &frame); 100 CloseSession(sessionId); 136 int sessionId = OpenSession(SESSION_NAME_STREAM, SESSION_NAME_STREAM, GetNetworkId(), variable 138 …EXPECT_TRUE(sessionId >= SESSION_ID_MIN) << "call OpenSession[Stream] fail, sessionId=" << session… 139 if (sessionId >= SESSION_ID_MIN) { 145 ret = SendStream(sessionId, &streamData, &extStreamData, &frame); 148 CloseSession(sessionId);
|
/test/xts/acts/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/ |
D | AVSessionManagerCallback.test.js | 62 } else if (value.sessionId.length === 64){ 64 console.info(`TestLog: AVSession :${session.sessionId}created successfully`); 74 console.info(`TestLog: AVSession :${session.sessionId}destroyed successfully`); 96 console.info(`TestLog: AVSession ${data.sessionId} created successfully`); 117 console.info(`TestLog: AVSession ${data.sessionId} created successfully`); 138 } else if (value.sessionId.length === 64){ 140 console.info(`TestLog: AVSession :${session.sessionId}created successfully`); 150 console.info(`TestLog: AVSession :${session.sessionId}destroyed successfully`);
|
D | AVSessionManager.test.js | 63 if (currentAVSession.sessionId.length === 64) { 128 if (currentAVSession.sessionId.length === 64) { 157 … console.info(`CreateAVSession : SUCCESS : sessionId = ${currentAVSession.sessionId}`); 165 … console.info(`getAVCastController : SUCCESS : sessionid : ${aVCastController.sessionId}`); 224 … console.info(`CreateAVSession : SUCCESS : sessionId = ${currentAVSession.sessionId}`); 259 … console.info(`CreateAVSession : SUCCESS : sessionId = ${currentAVSession.sessionId}`); 292 … console.info(`CreateAVSession : SUCCESS : sessionId = ${currentAVSession.sessionId}`); 299 … console.info(`getAVCastController : SUCCESS : sessionid : ${aVCastController.sessionId}`); 333 … console.info(`CreateAVSession : SUCCESS : sessionId = ${currentAVSession.sessionId}`); 340 … console.info(`getAVCastController : SUCCESS : sessionid : ${aVCastController.sessionId}`);
|
/test/xts/acts/distributeddatamgr/dataObjecttest/dataObjectjstest/hap/src/main/js/test/ |
D | ObjectStoreJsunit.test.js | 24 function changeCallback(sessionId, changeData) { argument 25 console.info("changeCallback start" + sessionId + " " + changeData); 32 console.info(TAG + "changeCallback end" + sessionId + " " + changeData); 35 function changeCallback2(sessionId, changeData) { argument 36 console.info("changeCallback2 satrt" + sessionId + " " + changeData); 42 console.info(TAG + "changeCallback2 end" + sessionId + " " + changeData); 45 function statusCallback1(sessionId, networkId, status) { argument 46 console.info(TAG + "statusCallback1" + sessionId); 47 this.response += "\nstatus changed " + sessionId + " " + status + " " + networkId; 50 function statusCallback2(sessionId, networkId, status) { argument [all …]
|
D | ObjectStoreJsunitV9.test.js | 24 function changeCallback(sessionId, changeData) { argument 26 console.info(TAG + "sessionId:" + " " + sessionId); 35 function statusCallback1(sessionId, networkId, status) { argument 36 console.info(TAG + "statusCallback1" + " " + sessionId); 37 this.response += "\nstatus changed " + sessionId + " " + status + " " + networkId; 40 function statusCallback2(sessionId, networkId, status) { argument 41 console.info(TAG + "statusCallback2" + " " + sessionId); 42 this.response += "\nstatus changed " + sessionId + " " + status + " " + networkId; 261 g_object.on("change", function (sessionId, changeData) { argument 306 g_object.on(123, function (sessionId, changeData) { argument [all …]
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/aie_client/ |
D | AieClientDestroyFunctionTest.cpp | 61 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientDestroy() 136 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId)
|
D | AieClientSetOptionFunctionTest.cpp | 70 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSetOption() 162 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSetOptionWithoutPrepare()
|
D | AieClientInitFunctionTest.cpp | 68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientInit()
|
D | AieClientSyncProcessShareMemoryFunctionTest.cpp | 68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSyncProcess()
|
D | AieClientSyncProcessFunctionTest.cpp | 68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientSyncProcess()
|
D | AieClientAsyncProcessFunctionTest.cpp | 73 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientAsyncProcess()
|
D | AieClientReleaseFunctionTest.cpp | 62 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientRelease()
|
D | AieClientPrepareFunctionTest.cpp | 68 … EXPECT_EQ(true, clientInfo.sessionId > 0) << "sessionId(" << std::to_string(clientInfo.sessionId) in TestAieClientPrepare()
|
/test/xts/dcts/distributeddatamgr/jstest/distributed_data_object/client/hap/src/main/js/test/ |
D | DataObjectJsunit.test.js | 185 g_object.on("change", function (sessionId, changeData) { argument 186 console.info(logTag + "change start " + sessionId); 250 g_object.on("change", function (sessionId, changeData) { argument 251 console.info(logTag + "change start " + sessionId); 314 g_object.on("change", function (sessionId, changeData) { argument 315 console.info(logTag + "change start " + sessionId); 379 g_object.on("change", function (sessionId, changeData) { argument 380 console.info(logTag + "change start " + sessionId); 447 g_object.on("change", function (sessionId, changeData) { argument 448 console.info(logTag + "change start " + sessionId); [all …]
|
/test/xts/dcts/communication/softbus_standard/transmission/sendmsg/ |
D | trans_func_test.cpp | 120 int sessionId = GetCurrentSessionId4Data(); variable 121 ret = SendBytes(sessionId, emptyStr.c_str(), size); 280 int sessionId = GetCurrentSessionId4Proxy(); variable 281 ret = SendMessage(sessionId, emptystr.c_str(), size); 408 int sessionId = GetCurrentSessionId4Data(); variable 409 ret = SendBytes(sessionId, emptyStr.c_str(), size); 589 int sessionId = GetCurrentSessionId4Proxy(); variable 590 ret = SendMessage(sessionId, emptystr.c_str(), size);
|
/test/xts/dcts/communication/softbus_standard/transmission/sendfile/ |
D | trans_file_func_test.cpp | 24 static int FileSessionOpened(int sessionId, int result) in FileSessionOpened() argument 26 LOG("[cb][file]open session sid[%d],rst[%d]", sessionId, result); in FileSessionOpened() 35 static void FileSessionClosed(int sessionId) in FileSessionClosed() argument 37 LOG("[cb][file]close session sid[%d]", sessionId); in FileSessionClosed() 40 static void FileBytesReceived(int sessionId, const void* data, unsigned int dataLen) in FileBytesReceived() argument 42 LOG("[cb][file]ByteRec sid:%d, data len:%d", sessionId, dataLen); in FileBytesReceived() 44 LOG("[cb][file]ByteRec invalid data=null sid[%d]", sessionId); in FileBytesReceived() 51 static void FileMessageReceived(int sessionId, const void* data, unsigned int dataLen) in FileMessageReceived() argument 53 LOG("[cb][file]MessageRec sid:%d, data len:%d", sessionId, dataLen); in FileMessageReceived() 55 LOG("[cb][file]MessageRec invalid data=null sid[%d]", sessionId); in FileMessageReceived()
|
/test/xts/dcts/multimedia/avsession/src/main/js/test/ |
D | AVSessionManagerJsUnit.test.js | 36 let sessionId = ""; 135 sessionId = session.sessionId; 136 sessionToken = { sessionId, pid, uid }; property 682 await avSession.createController(session.sessionId).then((data) => { 734 await avSession.createController(session.sessionId).then((data) => { 801 await avSession.createController(session.sessionId).then((data) => { 869 await avSession.createController(session.sessionId).then((data) => { 878 if (controller.sessionId === data.sessionId) { 992 await avSession.createController(session.sessionId).then((data) => { 1043 await avSession.createController(session.sessionId).then((data) => { [all …]
|
/test/xts/dcts/testtools/disjsTest/server/ |
D | testApi.js | 272 async setSessionId(sessionId){ argument 280 g_object.setSessionId(sessionId).then(() => { 281 console.info(logTag + "remote join session success. sessionId=" + sessionId);
|
/test/xts/dcts/testtools/disjsTest/client/ |
D | remoteHelper.js | 186 async setSessionId(sessionId){ argument 189 ["string"],[String(sessionId)]," ");
|