Home
last modified time | relevance | path

Searched refs:g_session (Results 1 – 8 of 8) sorted by relevance

/drivers/peripheral/user_auth/hdi_service/idm/src/
Didm_session.c47 } *g_session; variable
51 if (g_session == NULL) { in IsSessionExist()
86 g_session = Malloc(sizeof(struct SessionInfo)); in OpenEditSession()
87 if (g_session == NULL) { in OpenEditSession()
91 if (memset_s(g_session, sizeof(struct SessionInfo), 0, sizeof(struct SessionInfo)) != EOK) { in OpenEditSession()
93 Free(g_session); in OpenEditSession()
94 g_session = NULL; in OpenEditSession()
97 g_session->userId = userId; in OpenEditSession()
98 ResultCode ret = GenerateChallenge(g_session->challenge, CHALLENGE_LEN); in OpenEditSession()
101 Free(g_session); in OpenEditSession()
[all …]
/drivers/peripheral/user_auth/test/unittest/idm_test/
Didm_session_test.cpp34 } *g_session;
62 g_session = nullptr;
65 g_session = &session;
67 EXPECT_LE(g_session->validAuthTokenTime, GetSystemTime());
68 g_session = nullptr;
73 g_session = nullptr;
79 g_session = nullptr;
87 g_session = nullptr;
100 g_session = &session;
102 g_session = nullptr;
[all …]
Duser_idm_funcs_test.cpp38 } *g_session;
101 g_session = &session;
113 g_session = nullptr;
133 g_session = &session;
154 g_session = nullptr;
159 g_session = nullptr;
171 g_session = &session;
181 g_session = nullptr;
195 g_session = &session;
197 g_session = nullptr;
[all …]
Denroll_specification_check_test.cpp37 } *g_session;
71 g_session = nullptr;
93 g_session = &session;
127 g_session = nullptr;
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_io.c24 struct UsbSession *g_session = NULL; variable
513 ret = UsbRawInit(&g_session); in CheckRawSdkIfInit001()
518 g_acm->session = g_session; in CheckRawSdkIfInit001()
532 g_session = NULL; in CheckRawSdkIfExit001()
533 g_acm->session = g_session; in CheckRawSdkIfExit001()
565 int32_t ret = UsbRawInit(&g_session); in CheckRawSdkIfInit003()
570 g_acm->session = g_session; in CheckRawSdkIfInit003()
576 g_session = NULL; in CheckRawSdkIfInit003()
577 g_acm->session = g_session; in CheckRawSdkIfInit003()
603 int32_t ret = UsbRawInit(&g_session); in CheckRawSdkIfInit005()
[all …]
Dusb_test.c23 static struct UsbSession *g_session = NULL; variable
157 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit001()
162 g_acm->session = g_session; in CheckHostSdkIfInit001()
174 g_session = g_acm->session; in CheckHostSdkIfExit001()
201 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit003()
206 g_acm->session = g_session; in CheckHostSdkIfInit003()
213 g_session = g_acm->session; in CheckHostSdkIfInit003()
237 int32_t ret = UsbInitHostSdk(&g_session); in CheckHostSdkIfInit005()
242 g_acm->session = g_session; in CheckHostSdkIfInit005()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test.cpp43 static struct UsbSession *g_session = nullptr; variable
378 ret = UsbRawInit(&g_session);
380 g_acm->session = g_session;
409 g_acm->session = g_session;
438 ret = UsbRawInit(&g_session);
440 g_acm->session = g_session;
475 ret = UsbRawInit(&g_session);
477 g_acm->session = g_session;
643 g_devHandle = UsbRawOpenDevice(g_session, g_acm->busNum, g_acm->devAddr);
Dusb_host_sdk_if_test.cpp44 static struct UsbSession *g_session = nullptr; variable
206 ret = UsbInitHostSdk(&g_session);
208 g_acm->session = g_session;
265 ret = UsbInitHostSdk(&g_session);
267 g_acm->session = g_session;
335 ret = UsbInitHostSdk(&g_session);
337 g_acm->session = g_session;