Home
last modified time | relevance | path

Searched refs:bundleJsonPath (Results 1 - 5 of 5) sorted by relevance

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_util.cpp331 char *bundleJsonPath = Strscat(bundleJsonPathComp, sizeof(bundleJsonPathComp) / sizeof(char *)); in DeleteJsonFile() local
332 if (bundleJsonPath == nullptr) { in DeleteJsonFile()
335 if (IsFile(bundleJsonPath)) { in DeleteJsonFile()
337 BundleDaemonClient::GetInstance().RemoveFile(bundleJsonPath); in DeleteJsonFile()
339 (void)unlink(bundleJsonPath); in DeleteJsonFile()
342 AdapterFree(bundleJsonPath); in DeleteJsonFile()
452 char bundleJsonPath[PATH_LENGTH] = { 0 }; in CheckBundleJsonIsValid() local
453 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in CheckBundleJsonIsValid()
460 cJSON *object = GetJsonStream(bundleJsonPath); in CheckBundleJsonIsValid()
543 char bundleJsonPath[PATH_LENGT in GetValueFromBundleJson() local
570 char bundleJsonPath[PATH_LENGTH] = { 0 }; GetValueFromBundleJson() local
[all...]
H A Dgt_bundle_manager_service.cpp928 char *bundleJsonPath = BundleUtil::Strscat(bundleJsonPathComp, sizeof(bundleJsonPathComp) / sizeof(char *)); in TransformJsToBcWhenRestart() local
929 if (bundleJsonPath == nullptr) { in TransformJsToBcWhenRestart()
933 cJSON *installRecordJson = BundleUtil::GetJsonStream(bundleJsonPath); in TransformJsToBcWhenRestart()
935 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
942 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
950 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
959 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
967 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
975 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
983 AdapterFree(bundleJsonPath); in TransformJsToBcWhenRestart()
993 TransformJsToBc(const char *codePath, const char *bundleJsonPath, cJSON *installRecordObj) TransformJsToBc() argument
[all...]
H A Dgt_bundle_installer.cpp602 char bundleJsonPath[PATH_LENGTH] = { 0 }; in Uninstall() local
603 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in Uninstall()
626 if (unlink(bundleJsonPath) < 0) { in Uninstall()
H A Dbundle_installer.cpp466 std::string bundleJsonPath = std::string(JSON_PATH) + bundleName + JSON_SUFFIX; in Uninstall() local
467 if (BundleDaemonClient::GetInstance().RemoveFile(bundleJsonPath.c_str()) != EC_SUCCESS) { in Uninstall()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_manager_service.h102 void TransformJsToBc(const char *codePath, const char *bundleJsonPath, cJSON *installRecordObj);

Completed in 6 milliseconds