Home
last modified time | relevance | path

Searched refs:allowList (Results 1 - 6 of 6) sorted by relevance

/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/
H A Ddynamic_loader_ohos.cpp56 const char* allowList[] = { in InitSharedLibsSonames() local
103 size_t allowListLength = sizeof(allowList) / sizeof(char*); in InitSharedLibsSonames()
106 sharedLibsSonamesLength += strlen(allowList[i]) + 1; in InitSharedLibsSonames()
111 if (sprintf_s(g_sharedLibsSonames + cursor, sharedLibsSonamesLength - cursor, "%s:", allowList[i]) == -1) { in InitSharedLibsSonames()
116 cursor += strlen(allowList[i]) + 1; in InitSharedLibsSonames()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dallow_record.cpp29 nlohmann::json allowList; in ParseToJson() local
35 allowList.push_back(info); in ParseToJson()
37 value["allowTimeList"] = allowList; in ParseToJson()
/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp95 cJSON *allowList = nullptr; in UpdateAllowAppList() local
104 allowList = cJSON_GetObjectItem(inJson, ALLOW_APP_LIST_KEY.c_str()); in UpdateAllowAppList()
105 if (allowList == nullptr || !cJSON_IsArray(allowList)) { in UpdateAllowAppList()
111 for (int32_t i = 0; i < cJSON_GetArraySize(allowList); i++) { in UpdateAllowAppList()
112 cJSON *iAllowAppJson = cJSON_GetArrayItem(allowList, i); in UpdateAllowAppList()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddsched_sync_e2e.cpp140 cJSON *allowList = nullptr; in UpdateWhiteList() local
149 allowList = cJSON_GetObjectItem(inJson, ALLOW_APP_LIST_KEY.c_str()); in UpdateWhiteList()
150 if (allowList == nullptr || !cJSON_IsArray(allowList)) { in UpdateWhiteList()
156 for (int32_t i = 0; i < cJSON_GetArraySize(allowList); i++) { in UpdateWhiteList()
157 cJSON *iAllowAppJson = cJSON_GetArrayItem(allowList, i); in UpdateWhiteList()
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_module_checker.cpp36 const std::vector<std::string> allowList = { in CheckApiAllowList() local
58 for (const auto& item : allowList) { in CheckApiAllowList()
/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp369 const char* allowList[] = { in CreateSharedLibsSonames() local
421 size_t allowListLength = sizeof(allowList) / sizeof(char*); in CreateSharedLibsSonames()
424 sharedLibsSonamesLength += strlen(allowList[i]) + 1; in CreateSharedLibsSonames()
429 if (sprintf_s(sharedLibsSonames_ + cursor, sharedLibsSonamesLength - cursor, "%s:", allowList[i]) == -1) { in CreateSharedLibsSonames()
434 cursor += strlen(allowList[i]) + 1; in CreateSharedLibsSonames()

Completed in 5 milliseconds