Searched refs:g_contextList (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
H A D | context_manager_test.cpp | 72 g_contextList = nullptr; 79 g_contextList->insert(g_contextList, static_cast<void *>(&authContext)); 86 g_contextList = nullptr; 108 g_contextList->insert(g_contextList, static_cast<void *>(&context)); 109 g_contextList->insert(g_contextList, nullptr); 173 g_contextList->insert(g_contextList, static_cast<void *>(&context1)); 176 g_contextList->insert(g_contextList, static_cast<void *>(&context2)); 177 g_contextList->insert(g_contextList, nullptr); 268 g_contextList->insert(g_contextList, static_cast<void *>(context)); 269 EXPECT_EQ(g_contextList->getSize(g_contextList), 1); [all …]
|
H A D | identify_funcs_test.cpp | 21 extern LinkedList *g_contextList; 61 g_contextList = CreateLinkedList(DestroyContextNode); 62 EXPECT_NE(g_contextList, nullptr); 65 g_contextList->insert(g_contextList, static_cast<void *>(&context));
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | context_manager.c | 44 if (g_contextList != NULL) { in InitUserAuthContextList() 48 if (g_contextList == NULL) { in InitUserAuthContextList() 57 g_contextList = NULL; in DestoryUserAuthContextList() 136 if (g_contextList == NULL) { in GenerateAuthContext() 163 ret = g_contextList->insert(g_contextList, *context); in GenerateAuthContext() 225 if (g_contextList == NULL) { in GenerateIdentifyContext() 245 ret = g_contextList->insert(g_contextList, context); in GenerateIdentifyContext() 256 if (g_contextList == NULL) { in GetContext() 260 uint32_t num = g_contextList->getSize(g_contextList); in GetContext() 450 if (g_contextList == NULL) { in IsContextDuplicate() [all …]
|