Home
last modified time | relevance | path

Searched refs:INVALID_SESSION_ID (Results 1 – 25 of 37) sorted by relevance

12

/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/monitor_permission_test/
Dcheckpermission_test.cpp36 static int32_t g_sessionId = INVALID_SESSION_ID;
99 ret = SendBytes(INVALID_SESSION_ID, data, len);
117 ret = SendMessage(INVALID_SESSION_ID, data, len);
136 ret = SendStream(INVALID_SESSION_ID, &streamData, &ext, &param);
157 ret = SendFile(INVALID_SESSION_ID, sfileList, nullptr, FILE_NUM);
/foundation/ai/ai_engine/services/client/client_executor/source/
Dclient_factory.cpp47 if (clientInfo.sessionId != INVALID_SESSION_ID) { in ClientInit()
77 if (clientInfo.sessionId == INVALID_SESSION_ID) { in ClientPrepare()
111 if (clientInfo.sessionId == INVALID_SESSION_ID) { in ClientAsyncProcess()
130 if (clientInfo.sessionId == INVALID_SESSION_ID) { in ClientDestroy()
155 clientInfo.sessionId = INVALID_SESSION_ID; in ClientDestroy()
179 if (clientInfo.sessionId == INVALID_SESSION_ID) { in ClientSyncProcess()
194 if (clientInfo.sessionId == INVALID_SESSION_ID) { in ClientRelease()
239 return INVALID_SESSION_ID; in GenerateSessionId()
356 sessionId_ = INVALID_SESSION_ID; in ResetClient()
/foundation/ability/dmsfwk_lite/source/
Ddmslite_session.c36 #define INVALID_SESSION_ID (-1) macro
40 static int32_t g_curSessionId = INVALID_SESSION_ID;
131 g_curSessionId = INVALID_SESSION_ID; in HandleSessionClosed()
216 g_curSessionId = INVALID_SESSION_ID; in SendDmsMessage()
227 g_curSessionId = INVALID_SESSION_ID; in CloseDMSSession()
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
Dclient_trans_session_service_test.cpp125 session->sessionId = INVALID_SESSION_ID; in GenerateSession()
161 EXPECT_EQ(ret, INVALID_SESSION_ID);
163 EXPECT_EQ(ret, INVALID_SESSION_ID);
165 EXPECT_EQ(ret, INVALID_SESSION_ID);
167 EXPECT_EQ(ret, INVALID_SESSION_ID);
169 EXPECT_EQ(ret, INVALID_SESSION_ID);
/foundation/ai/ai_engine/services/common/utils/constants/
Dconstants.h28 const int INVALID_SESSION_ID = -1; variable
/foundation/ai/ai_engine/test/function/destroy/
Ddestroy_function_test.cpp115 ASSERT_EQ(clientInfo.clientId, INVALID_SESSION_ID);
182 ASSERT_EQ(clientInfo.clientId, INVALID_SESSION_ID);
249 ASSERT_EQ(clientInfo.clientId, INVALID_SESSION_ID);
297 ASSERT_EQ(clientInfo.clientId, INVALID_SESSION_ID);
360 ASSERT_EQ(clientInfo.clientId, INVALID_SESSION_ID);
/foundation/window/window_manager/window_scene/interfaces/include/
Dws_common.h34 constexpr int32_t INVALID_SESSION_ID = 0; variable
142 int32_t persistentId_ = INVALID_SESSION_ID;
143 int32_t callerPersistentId_ = INVALID_SESSION_ID;
/foundation/window/window_manager/window_scene/common/include/
Dwindow_session_property.h156 …int32_t parentId_ = INVALID_SESSION_ID; // parentId of sceneSession, which is low 32 bite of paren…
158 int32_t persistentId_ = INVALID_SESSION_ID;
159 int32_t parentPersistentId_ = INVALID_SESSION_ID;
160 uint32_t accessTokenId_ = INVALID_SESSION_ID;
/foundation/ai/ai_engine/services/client/algorithm_sdk/cv/image_classification/include/
Dic_sdk_impl.h47 .sessionId = INVALID_SESSION_ID,
/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/include/
Dkws_sdk_impl.h55 .sessionId = INVALID_SESSION_ID,
/foundation/communication/dsoftbus/sdk/transmission/session/src/
Dclient_trans_session_service.c88 return INVALID_SESSION_ID; in OpenSessionWithExistSession()
94 return INVALID_SESSION_ID; in OpenSessionWithExistSession()
224 int32_t sessionId = INVALID_SESSION_ID; in OpenSession()
251 return INVALID_SESSION_ID; in OpenSession()
374 return INVALID_SESSION_ID; in OpenAuthSession()
449 return INVALID_SESSION_ID; in OpenSessionSync()
462 int32_t sessionId = INVALID_SESSION_ID; in OpenSessionSync()
Dclient_trans_session_callback.c111 int32_t sessionId = INVALID_SESSION_ID; in TransOnSessionOpened()
136 int32_t sessionId = INVALID_SESSION_ID; in TransOnSessionOpenFailed()
153 int32_t sessionId = INVALID_SESSION_ID; in TransOnSessionClosed()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/
Daudio_capturer_private.h26 constexpr uint32_t INVALID_SESSION_ID = static_cast<uint32_t>(-1); variable
93 uint32_t sessionID_ = INVALID_SESSION_ID;
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
Dsoftbus_adapter_standard.cpp38 constexpr int32_t INVALID_SESSION_ID = -1; variable
453 if (recOperate != KEEP && sessionId != INVALID_SESSION_ID) { in SendData()
478 if (it.second == INVALID_SESSION_ID) { in DoSend()
524 return INVALID_SESSION_ID; in GetSessionId()
572 if (sessionId == INVALID_SESSION_ID) { in IsSameStartedOnPeer()
710 if (sessionId == INVALID_SESSION_ID) { in OnMessageReceived()
735 if (sessionId == INVALID_SESSION_ID) { in OnBytesReceived()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/
Dav_trans_constants.h29 const int32_t INVALID_SESSION_ID = -1; variable
/foundation/communication/dsoftbus/core/common/include/
Dsoftbus_def.h42 #define INVALID_SESSION_ID (-1) macro
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
Dtrans_session_test.cpp282 int32_t sessionId = INVALID_SESSION_ID;
337 int32_t sessionId = INVALID_SESSION_ID;
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/
Daudio_renderer_private.h26 constexpr uint32_t INVALID_SESSION_ID = static_cast<uint32_t>(-1); variable
134 uint32_t sessionID_ = INVALID_SESSION_ID;
/foundation/window/window_manager/window_scene/intention_event/src/
Dintention_event_manager.cpp149 if (focusedSessionId == INVALID_SESSION_ID) { in OnInputEvent()
/foundation/ai/ai_engine/test/function/async_process/
Dasync_process_function_test.cpp86 .sessionId = INVALID_SESSION_ID, in PreBuildInfo()
/foundation/window/window_manager/window_scene/session/host/src/
Dsession.cpp39 std::atomic<int32_t> g_persistentId = INVALID_SESSION_ID;
53 return INVALID_SESSION_ID; in GetParentPersistentId()
1191 if (sessionInfo.persistentId_ != INVALID_SESSION_ID) { in GeneratePersistentId()
1197 if (g_persistentId == INVALID_SESSION_ID) { in GeneratePersistentId()
/foundation/window/window_manager/window_scene/session_manager/include/
Dscene_session_manager.h273 int32_t focusedSessionId_ = INVALID_SESSION_ID;
274 int32_t brightnessSessionId_ = INVALID_SESSION_ID;
/foundation/ai/ai_engine/test/function/share_memory/
Dshare_memory_test.cpp113 .sessionId = INVALID_SESSION_ID, in SetUp()
/foundation/window/window_manager/window_scene/session/host/include/
Dscene_session.h176 int32_t brokerPersistentId_ = INVALID_SESSION_ID;
/foundation/ai/ai_engine/test/function/set_get_option/
Doption_function_test.cpp89 .sessionId = INVALID_SESSION_ID, in GetClientInfo()

12