Searched refs:allowList (Results 1 - 6 of 6) sorted by relevance
/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/ |
H A D | dynamic_loader_ohos.cpp | 56 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 D | allow_record.cpp | 29 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 D | distributed_sched_utils.cpp | 95 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 D | dsched_sync_e2e.cpp | 140 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 D | form_module_checker.cpp | 36 const std::vector<std::string> allowList = {
in CheckApiAllowList() local 58 for (const auto& item : allowList) {
in CheckApiAllowList()
|
/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 369 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