Home
last modified time | relevance | path

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

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_util.cpp332 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
460 cJSON *object = GetJsonStream(bundleJsonPath); in CheckBundleJsonIsValid()
543 char bundleJsonPath[PATH_LENGTH] = { 0 }; in GetValueFromBundleJson() local
548 cJSON *object = GetJsonStream(bundleJsonPath); in GetValueFromBundleJson()
570 char bundleJsonPath[PATH_LENGTH] = { 0 }; in GetValueFromBundleJson() local
[all …]
H A Dgt_bundle_manager_service.cpp929 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 …]
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()
/ohos5.0/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);