/base/update/sys_installer/services/module_update/src/ |
D | module_update.cpp | 85 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()
|
D | module_file_repository.cpp | 81 …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/ |
D | ipc_client_utils.cpp | 26 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/ |
D | module_ipc_helper.cpp | 39 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()
|
D | module_file.cpp | 131 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/ |
D | module_file_repository.h | 33 …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/ |
D | dslm_service.cpp | 34 DslmService::DslmService(int32_t saId, bool runOnCreate) : SystemAbility(saId, runOnCreate) in DslmService() argument
|
D | dslm_service.h | 40 explicit DslmService(int32_t saId, bool runOnCreate);
|
/base/location/services/location_locator/locator/source/ |
D | subability_common.cpp | 122 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/ |
D | ipc_client_utils.h | 26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
|
/base/update/sys_installer/services/module_update/util/include/ |
D | module_ipc_helper.h | 30 int32_t saId; member 42 int32_t saId; member
|
D | module_file.h | 56 const int32_t saId, in ModuleFile() argument 62 saId_(saId), in ModuleFile()
|
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/ |
D | mock_ipc_client_utils.h | 26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
|
D | mock_ipc_client_utils.cpp | 22 sptr<IRemoteObject> IpcClientUtils::GetRemoteObject(int32_t saId) in GetRemoteObject() argument
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/ |
D | hks_sa.h | 51 HksService(int saId, bool runOnCreate);
|
D | hks_sa.cpp | 120 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/ |
D | sec_comp_service.h | 38 SecCompService(int32_t saId, bool runOnCreate);
|
D | sec_comp_service.cpp | 40 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/ |
D | dump_utils.cpp | 189 int saId = StrToId(saIdStr); in ConvertSaIdToSaName() local 190 auto iter = saNameMap_.find(saId); in ConvertSaIdToSaName()
|
/base/update/sys_installer/tools/module_update_tool/ |
D | main.cpp | 85 … 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/ |
D | module_update_service.cpp | 271 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/ |
D | dlp_permission_service.h | 46 DlpPermissionService(int saId, bool runOnCreate);
|
D | dlp_permission_service.cpp | 59 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 | 模块升级编译打包和使用指南.md | 259 {saName:wms saId:4606 version:101} 276 {saName:wms saId:4606 version:101}
|