Home
last modified time | relevance | path

Searched refs:installRecord (Results 1 - 6 of 6) sorted by relevance

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_installer.cpp176 InstallRecord installRecord = { in Install() local
203 uint8_t errorCode = ProcessBundleInstall(path, randStr, installRecord, bundleStyle, installerCallback, isUpdate); in Install()
211 if (!RenameJsonFile(installRecord.bundleName, randStr)) { in Install()
212 BundleInfo *bundleInfo = GtManagerService::GetInstance().QueryBundleInfo(installRecord.bundleName); in Install()
217 if (bundleStyle == THIRD_SYSTEM_APP_FLAG && !CheckIsThirdSystemBundle(installRecord.bundleName)) { in Install()
218 RecordThirdSystemBundle(installRecord.bundleName, THIRD_SYSTEM_BUNDLE_JSON); in Install()
228 uint8_t GtBundleInstaller::ProcessBundleInstall(const char *path, const char *randStr, InstallRecord &installRecord, in ProcessBundleInstall() argument
261 installRecord.codePath = bundleInfo->codePath; in ProcessBundleInstall()
262 installRecord.bundleName = bundleInfo->bundleName; in ProcessBundleInstall()
264 installRecord in ProcessBundleInstall()
[all...]
H A Dbundle_installer.cpp133 InstallRecord installRecord = { in Install() local
138 uint8_t errorCode = ProcessBundleInstall(realPath, randStr, installRecord, hapType); in Install()
140 ManagerService::GetInstance().RecycleUid(installRecord.bundleName); in Install()
145 if (!BackUpUidAndGidInfo(installRecord, uidTmpJsonPath.c_str())) { in Install()
147 BundleInfo *bundleInfo = ManagerService::GetInstance().QueryBundleInfo(installRecord.bundleName); in Install()
152 if (!RenameJsonFile(UID_GID_MAP, randStr) || !RenameJsonFile(installRecord.bundleName, randStr)) { in Install()
154 BundleInfo *bundleInfo = ManagerService::GetInstance().QueryBundleInfo(installRecord.bundleName); in Install()
160 if (hapType == THIRD_SYSTEM_APP_FLAG && !CheckIsThirdSystemBundle(installRecord.bundleName)) { in Install()
161 RecordThirdSystemBundle(installRecord.bundleName, THIRD_SYSTEM_BUNDLE_JSON); in Install()
169 InstallRecord &installRecord, uint8_ in ProcessBundleInstall()
168 ProcessBundleInstall(const std::string &path, const char *randStr, InstallRecord &installRecord, uint8_t hapType) ProcessBundleInstall() argument
[all...]
H A Dbundle_util.cpp591 cJSON *BundleUtil::ConvertInstallRecordToJson(const InstallRecord &installRecord) in ConvertInstallRecordToJson() argument
598 if ((cJSON_AddStringToObject(root, JSON_SUB_KEY_PACKAGE, installRecord.bundleName) == nullptr) || in ConvertInstallRecordToJson()
599 (cJSON_AddStringToObject(root, JSON_SUB_KEY_APPID, installRecord.appId) == nullptr) || in ConvertInstallRecordToJson()
602 (cJSON_AddStringToObject(root, JSON_SUB_KEY_JSENGINE_VERSION, installRecord.jsEngineVersion) == nullptr) || in ConvertInstallRecordToJson()
603 (cJSON_AddNumberToObject(root, JSON_SUB_KEY_TRANSFORM_RESULT, installRecord.transformResult) == nullptr) || in ConvertInstallRecordToJson()
606 (cJSON_AddNumberToObject(root, JSON_SUB_KEY_VERSIONCODE, installRecord.versionCode) == nullptr) || in ConvertInstallRecordToJson()
608 (cJSON_AddNumberToObject(root, JSON_SUB_KEY_UID, installRecord.uid) == nullptr) || in ConvertInstallRecordToJson()
609 (cJSON_AddNumberToObject(root, JSON_SUB_KEY_GID, installRecord.gid) == nullptr) || in ConvertInstallRecordToJson()
611 (cJSON_AddStringToObject(root, JSON_SUB_KEY_CODEPATH, installRecord.codePath) == nullptr)) { in ConvertInstallRecordToJson()
676 bool BundleUtil::AddUidAndGidInfo(const InstallRecord &installRecord, cJSO argument
699 ConvertUidAndGidToJson(const InstallRecord &installRecord) ConvertUidAndGidToJson() argument
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_util.h48 static cJSON *ConvertInstallRecordToJson(const InstallRecord &installRecord);
57 static cJSON *ConvertUidAndGidToJson(const InstallRecord &installRecord);
73 static bool AddUidAndGidInfo(const InstallRecord &installRecord, cJSON *size, cJSON *uids);
H A Dgt_bundle_installer.h45 uint8_t ProcessBundleInstall(const char *path, const char *randStr, InstallRecord &installRecord,
H A Dbundle_installer.h40 uint8_t ProcessBundleInstall(const std::string &path, const char *randStr, InstallRecord &installRecord,

Completed in 4 milliseconds