Home
last modified time | relevance | path

Searched refs:manifest (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/
H A Dapp_module.cpp26 const char * const AppModule::FILE_MANIFEST = "manifest.json";
52 cJSON *manifest = ReadManifest(); in GetInfo() local
53 if (manifest == nullptr) { in GetInfo()
54 HILOG_ERROR(HILOG_MODULE_ACE, "Fail to get the content of manifest."); in GetInfo()
58 cJSON *appName = cJSON_GetObjectItem(manifest, KEY_APP_NAME); in GetInfo()
59 cJSON *versionName = cJSON_GetObjectItem(manifest, KEY_VERSION_NAME); in GetInfo()
60 cJSON *versionCode = cJSON_GetObjectItem(manifest, KEY_VERSION_CODE); in GetInfo()
72 cJSON_Delete(manifest); in GetInfo()
73 manifest = nullptr; in GetInfo()
87 HILOG_ERROR(HILOG_MODULE_ACE, "Fail to get app information because the manifest in ReadManifest()
114 cJSON *manifest = cJSON_Parse(manifestContent); ReadManifest() local
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp78 std::string manifest = std::string("assets/js/default/manifest.json"); in GetFrontendTypeFromManifest() local
80 manifest = "assets/js/" + srcPath + "/manifest.json"; in GetFrontendTypeFromManifest()
82 std::string jsonStr = isHap ? GetStringFromHap(packagePath, manifest) : GetStringFromFile(packagePath, manifest); in GetFrontendTypeFromManifest()

Completed in 3 milliseconds