Home
last modified time | relevance | path

Searched refs:saId (Results 1 – 24 of 24) sorted by relevance

/base/update/sys_installer/services/module_update/src/
Dmodule_update.cpp85 std::unique_ptr<ModuleFile> GetLatestUpdateModulePackage(const int32_t saId) in GetLatestUpdateModulePackage() argument
88 std::unique_ptr<ModuleFile> activeModuleFile = instance.GetModuleFile(UPDATE_ACTIVE_DIR, saId); in GetLatestUpdateModulePackage()
89 std::unique_ptr<ModuleFile> updateModuleFile = instance.GetModuleFile(UPDATE_INSTALL_DIR, saId); in GetLatestUpdateModulePackage()
114 ret += std::to_string(saStatus.saId) + " "; in GetSuccessSaIdString()
167 saIdSet_.insert(saInfo.saId); in ParseSaProfiles()
174 for (int32_t saId : saIdSet_) { in PrepareModuleFileList() local
176 …std::unique_ptr<ModuleFile> systemModuleFile = instance.GetModuleFile(MODULE_PREINSTALL_DIR, saId); in PrepareModuleFileList()
178 LOG(ERROR) << "Failed to get preinstalled sa " << saId; in PrepareModuleFileList()
181 std::unique_ptr<ModuleFile> latestModuleFile = GetLatestUpdateModulePackage(saId); in PrepareModuleFileList()
199 saStatus.saId = moduleFile.GetSaId(); in ActivateModules()
Dmodule_file_repository.cpp81 …eFile> ModuleFileRepository::GetModuleFile(const std::string &pathPrefix, const int32_t saId) const in GetModuleFile()
89 auto fileIter = fileMap.find(saId); in GetModuleFile()
91 LOG(INFO) << saId << " not found in " << pathPrefix; in GetModuleFile()
107 string ModuleFileRepository::GetPublicKey(const int32_t saId) const in GetPublicKey()
109 std::unique_ptr<ModuleFile> preInstalledModule = GetModuleFile(MODULE_PREINSTALL_DIR, saId); in GetPublicKey()
/base/useriam/user_auth_framework/frameworks/native/client/src/
Dipc_client_utils.cpp26 sptr<IRemoteObject> IpcClientUtils::GetRemoteObject(int32_t saId) in GetRemoteObject() argument
35 obj = sam->CheckSystemAbility(saId); in GetRemoteObject()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_ipc_helper.cpp39 info.saId = reply.ReadInt32(); in ReadSaInfo()
46 data.WriteInt32(info.saId); in WriteSaInfo()
64 status.saId = reply.ReadInt32(); in ReadSaStatus()
71 data.WriteInt32(status.saId); in WriteSaStatus()
Dmodule_file.cpp131 bool ParseModuleInfo(const string &moduleInfo, string &saName, int32_t &saId, ModuleVersion &versio… in ParseModuleInfo() argument
147 saId = static_cast<int32_t>(optionalSaId.value()); in ParseModuleInfo()
164 LOG(INFO) << "ParseModuleInfo success. name: " << saName << " saId: " << saId << " version: " << in ParseModuleInfo()
189 int32_t saId = 0; in Open() local
191 if (!ParseModuleInfo(moduleInfo, saName, saId, versionInfo)) { in Open()
217 return std::make_unique<ModuleFile>(path, saName, saId, versionInfo, modulePubkey, imageStat); in Open()
/base/update/sys_installer/services/module_update/include/
Dmodule_file_repository.h33 …std::unique_ptr<ModuleFile> GetModuleFile(const std::string &pathPrefix, const int32_t saId) const;
35 std::string GetPublicKey(const int32_t saId) const;
/base/security/device_security_level/services/sa/standard/
Ddslm_service.cpp34 DslmService::DslmService(int32_t saId, bool runOnCreate) : SystemAbility(saId, runOnCreate) in DslmService() argument
Ddslm_service.h40 explicit DslmService(int32_t saId, bool runOnCreate);
/base/location/services/location_locator/locator/source/
Dsubability_common.cpp122 int saId = CommonUtils::AbilityConvertToId(name_); in Enable() local
124 if (sam->CheckSystemAbility(saId) == nullptr) { in Enable()
125 …sam->AddSystemAbility(saId, ability, ISystemAbilityManager::SAExtraProp(true, 1, capability_, u"")… in Enable()
129 if (sam->CheckSystemAbility(saId) != nullptr) { in Enable()
130 sam->RemoveSystemAbility(saId); in Enable()
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Dipc_client_utils.h26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
/base/update/sys_installer/services/module_update/util/include/
Dmodule_ipc_helper.h30 int32_t saId; member
42 int32_t saId; member
Dmodule_file.h56 const int32_t saId, in ModuleFile() argument
62 saId_(saId), in ModuleFile()
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
Dmock_ipc_client_utils.h26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
Dmock_ipc_client_utils.cpp22 sptr<IRemoteObject> IpcClientUtils::GetRemoteObject(int32_t saId) in GetRemoteObject() argument
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/
Dhks_sa.h51 HksService(int saId, bool runOnCreate);
Dhks_sa.cpp120 HksService::HksService(int saId, bool runOnCreate = true) in HksService() argument
121 : SystemAbility(saId, runOnCreate), registerToService_(false), runningState_(STATE_NOT_START) in HksService()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
Dsec_comp_service.h38 SecCompService(int32_t saId, bool runOnCreate);
Dsec_comp_service.cpp40 SecCompService::SecCompService(int32_t saId, bool runOnCreate) in SecCompService() argument
41 : SystemAbility(saId, runOnCreate), state_(ServiceRunningState::STATE_NOT_START) in SecCompService()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp189 int saId = StrToId(saIdStr); in ConvertSaIdToSaName() local
190 auto iter = saNameMap_.find(saId); in ConvertSaIdToSaName()
/base/update/sys_installer/tools/module_update_tool/
Dmain.cpp85 … printf(" {saName:%s saId:%d version:%s}\n", (*saIt).saName.c_str(), (*saIt).saId, verStr.c_str()); in PrintUpgradeInfo()
/base/update/sys_installer/frameworks/ipc_server/src/
Dmodule_update_service.cpp271 saInfo.saId = moduleFile->GetSaId(); in CollectModulePackageInfo()
301 if (saIdHmpMap_.find(status.saId) == saIdHmpMap_.end()) { in ProcessSaStatus()
304 std::string hmpName = saIdHmpMap_.at(status.saId); in ProcessSaStatus()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_service.h46 DlpPermissionService(int saId, bool runOnCreate);
Ddlp_permission_service.cpp59 DlpPermissionService::DlpPermissionService(int saId, bool runOnCreate) in DlpPermissionService() argument
60 : SystemAbility(saId, runOnCreate), state_(ServiceRunningState::STATE_NOT_START) in DlpPermissionService()
/base/update/sys_installer/services/module_update/
D模块升级编译打包和使用指南.md259 {saName:wms saId:4606 version:101}
276 {saName:wms saId:4606 version:101}