Searched refs:bundleJsonPath (Results 1 – 5 of 5) sorted by relevance
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() local460 cJSON *object = GetJsonStream(bundleJsonPath); in CheckBundleJsonIsValid()543 char bundleJsonPath[PATH_LENGTH] = { 0 }; in GetValueFromBundleJson() local548 cJSON *object = GetJsonStream(bundleJsonPath); in GetValueFromBundleJson()570 char bundleJsonPath[PATH_LENGTH] = { 0 }; in GetValueFromBundleJson() local[all …]
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()988 TransformJsToBc(codePath, bundleJsonPath, installRecordJson); in TransformJsToBcWhenRestart()[all …]
602 char bundleJsonPath[PATH_LENGTH] = { 0 }; in Uninstall() local603 if (sprintf_s(bundleJsonPath, PATH_LENGTH, "%s%s%s", JSON_PATH, bundleName, JSON_SUFFIX) < 0) { in Uninstall()626 if (unlink(bundleJsonPath) < 0) { in Uninstall()
466 std::string bundleJsonPath = std::string(JSON_PATH) + bundleName + JSON_SUFFIX; in Uninstall() local467 if (BundleDaemonClient::GetInstance().RemoveFile(bundleJsonPath.c_str()) != EC_SUCCESS) { in Uninstall()
102 void TransformJsToBc(const char *codePath, const char *bundleJsonPath, cJSON *installRecordObj);