Searched refs:appUidCount (Results 1 – 9 of 9) sorted by relevance
/base/security/certificate_manager/test/fuzz_test/cmgetauthorizedapplist_fuzzer/ |
D | cmgetauthorizedapplist_fuzzer.cpp | 42 if (!GetUintFromBuffer(myData, &remainSize, &offset, &(appUidList.appUidCount))) { in DoSomethingInterestingWithMyAPI() 46 if (appUidList.appUidCount > remainSize / sizeof(uint32_t)) { in DoSomethingInterestingWithMyAPI()
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_get_auth_list_test.cpp | 82 EXPECT_EQ(appUidList.appUidCount, expectCount); in TearDown() 120 EXPECT_EQ(appUidList.appUidCount, count); in CheckGetAuthedList() 124 for (uint32_t j = 0; j < appUidList.appUidCount; ++j) { in CheckGetAuthedList() 345 EXPECT_EQ(appUidList.appUidCount, expectCount); 361 EXPECT_EQ(appUidList.appUidCount, APP_UID_COUNT_ONE); 402 EXPECT_EQ(appUidList.appUidCount, APP_UID_COUNT_ONE);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_auth_mgr.c | 403 if (tempAppUidList.appUidCount != 0) { in CmAuthGetAuthorizedAppList() 404 if (appUidList->appUidCount < tempAppUidList.appUidCount) { in CmAuthGetAuthorizedAppList() 406 appUidList->appUidCount, tempAppUidList.appUidCount); in CmAuthGetAuthorizedAppList() 410 if (memcpy_s(appUidList->appUid, appUidList->appUidCount * sizeof(uint32_t), in CmAuthGetAuthorizedAppList() 411 tempAppUidList.appUid, tempAppUidList.appUidCount * sizeof(uint32_t)) != EOK) { in CmAuthGetAuthorizedAppList() 416 appUidList->appUidCount = tempAppUidList.appUidCount; in CmAuthGetAuthorizedAppList() 558 for (uint32_t i = 0; i < appUidList->appUidCount; ++i) { in DeleteAuthInfo()
|
D | cert_manager_auth_list_mgr.c | 304 appUidList->appUidCount = 0; in FormatAppUidList() 323 appUidList->appUidCount = count; in FormatAppUidList() 375 appUidList->appUidCount = 0; in CmGetAuthList()
|
/base/security/certificate_manager/test/unittest/multi_thread_test/src/ |
D | cm_get_auth_list_multi_thread_test.cpp | 87 EXPECT_EQ(appUidList.appUidCount, expectCount); in TearDown() 124 EXPECT_EQ(appUidList.appUidCount, g_checkListItemCount); in TestGetAuthedList() 128 for (uint32_t j = 0; j < appUidList.appUidCount; ++j) { in TestGetAuthedList() 330 EXPECT_EQ(appUidList.appUidCount, expectCount); 346 EXPECT_EQ(appUidList.appUidCount, APP_UID_COUNT_ONE);
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 629 if (appUidList->appUidCount < count) { in FormatAppUidList() 630 CM_LOG_E("input app list count[%u] too small", appUidList->appUidCount); in FormatAppUidList() 642 appUidList->appUidCount = count; in FormatAppUidList() 672 if (appUidList->appUidCount > MAX_OUT_BLOB_SIZE) { /* ensure not out of bounds */ in CmClientGetAuthorizedAppList() 673 CM_LOG_E("invalid app uid list count[%u]", appUidList->appUidCount); in CmClientGetAuthorizedAppList() 677 uint32_t outLen = sizeof(uint32_t) + appUidList->appUidCount * sizeof(uint32_t); in CmClientGetAuthorizedAppList()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 327 uint32_t appUidCount; member
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_grant.cpp | 286 context->uidList->appUidCount = OUT_AUTH_LIST_SIZE; in GetUidListExecute() 299 for (uint32_t i = 0; i < appUidList->appUidCount; ++i) { in ConvertResultAuthList()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service.c | 656 (void)memcpy_s(outData->data, sizeof(uint32_t), &appUidList.appUidCount, sizeof(uint32_t)); in GetAuthedList() 657 outData->size = sizeof(uint32_t) + sizeof(uint32_t) * appUidList.appUidCount; in GetAuthedList()
|