Home
last modified time | relevance | path

Searched refs:bundleName (Results 1 - 25 of 3538) sorted by relevance

12345678910>>...142

/foundation/filemanagement/app_file_service/tests/mock/module_ipc/
H A Dsvc_session_manager_throw_mock.cpp37 void SvcSessionManager::VerifyBundleName(string &bundleName) in VerifyBundleName() argument
39 BackupSvcSessionManager::session->VerifyBundleName(bundleName); in VerifyBundleName()
52 bool SvcSessionManager::OnBundleFileReady(const string &bundleName, const string &fileName) in OnBundleFileReady() argument
54 return BackupSvcSessionManager::session->OnBundleFileReady(bundleName, fileName); in OnBundleFileReady()
57 UniqueFd SvcSessionManager::OnBundleExtManageInfo(const string &bundleName, UniqueFd fd) in OnBundleExtManageInfo() argument
59 return BackupSvcSessionManager::session->OnBundleExtManageInfo(bundleName, move(fd)); in OnBundleExtManageInfo()
62 void SvcSessionManager::RemoveExtInfo(const string &bundleName) in RemoveExtInfo() argument
64 BackupSvcSessionManager::session->RemoveExtInfo(bundleName); in RemoveExtInfo()
67 wptr<SvcBackupConnection> SvcSessionManager::GetExtConnection(const BundleName &bundleName) in GetExtConnection() argument
69 return BackupSvcSessionManager::session->GetExtConnection(bundleName); in GetExtConnection()
72 GetBackupAbilityExt(const string &bundleName) GetBackupAbilityExt() argument
87 SetExtFileNameRequest(const string &bundleName, const string &fileName) SetExtFileNameRequest() argument
92 GetExtFileNameRequest(const std::string &bundleName) GetExtFileNameRequest() argument
97 GetBackupExtNameMap(const string &bundleName) GetBackupExtNameMap() argument
102 GetSchedBundleName(string &bundleName) GetSchedBundleName() argument
107 GetServiceSchedAction(const std::string &bundleName) GetServiceSchedAction() argument
112 SetServiceSchedAction(const string &bundleName, BConstants::ServiceSchedAction action) SetServiceSchedAction() argument
117 GetBackupExtName(const string &bundleName) GetBackupExtName() argument
122 SetBackupExtInfo(const string &bundleName, const string &extInfo) SetBackupExtInfo() argument
127 GetBackupExtInfo(const string &bundleName) GetBackupExtInfo() argument
132 SetBackupExtName(const string &bundleName, const string &backupExtName) SetBackupExtName() argument
137 GetSAExtConnection(const BundleName &bundleName) GetSAExtConnection() argument
147 CreateBackupConnection(BundleName &bundleName) CreateBackupConnection() argument
187 SetBundleRestoreType(const std::string &bundleName, RestoreTypeEnum restoreType) SetBundleRestoreType() argument
192 GetBundleRestoreType(const std::string &bundleName) GetBundleRestoreType() argument
197 SetBundleVersionCode(const std::string &bundleName, int64_t versionCode) SetBundleVersionCode() argument
202 GetBundleVersionCode(const std::string &bundleName) GetBundleVersionCode() argument
207 SetBundleVersionName(const std::string &bundleName, std::string versionName) SetBundleVersionName() argument
212 GetBundleVersionName(const std::string &bundleName) GetBundleVersionName() argument
217 SetBundleDataSize(const std::string &bundleName, int64_t dataSize) SetBundleDataSize() argument
222 StartFwkTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartFwkTimer() argument
227 StopFwkTimer(const std::string &bundleName) StopFwkTimer() argument
232 StartExtTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartExtTimer() argument
237 StopExtTimer(const std::string &bundleName) StopExtTimer() argument
242 UpdateTimer(const std::string &bundleName, uint32_t timeout, const Utils::Timer::TimerCallback &callback) UpdateTimer() argument
293 SetClearDataFlag(const std::string &bundleName, bool isNotClear) SetClearDataFlag() argument
298 GetClearDataFlag(const std::string &bundleName) GetClearDataFlag() argument
308 GetIncrementalManifestFd(const string &bundleName) GetIncrementalManifestFd() argument
313 GetLastIncrementalTime(const string &bundleName) GetLastIncrementalTime() argument
323 SetPublishFlag(const std::string &bundleName) SetPublishFlag() argument
[all...]
H A Dsvc_session_manager_mock.cpp57 void SvcSessionManager::VerifyBundleName(string &bundleName) in VerifyBundleName() argument
59 GTEST_LOG_(INFO) << "VerifyBundleName " << bundleName; in VerifyBundleName()
74 bool SvcSessionManager::OnBundleFileReady(const string &bundleName, const string &fileName) in OnBundleFileReady() argument
86 UniqueFd SvcSessionManager::OnBundleExtManageInfo(const string &bundleName, UniqueFd fd) in OnBundleExtManageInfo() argument
92 void SvcSessionManager::RemoveExtInfo(const string &bundleName) in RemoveExtInfo() argument
97 wptr<SvcBackupConnection> SvcSessionManager::GetExtConnection(const BundleName &bundleName) in GetExtConnection() argument
100 auto it = impl_.backupExtNameMap.find(bundleName); in GetExtConnection()
105 auto callDied = [](const string &&bundleName, bool isSecondCalled = false) {}; in GetExtConnection()
106 auto callConnected = [](const string &&bundleName) {}; in GetExtConnection()
108 bundleName)); in GetExtConnection()
115 GetBackupAbilityExt(const string &bundleName) GetBackupAbilityExt() argument
131 SetExtFileNameRequest(const string &bundleName, const string &fileName) SetExtFileNameRequest() argument
136 GetExtFileNameRequest(const std::string &bundleName) GetExtFileNameRequest() argument
145 GetBackupExtNameMap(const string &bundleName) GetBackupExtNameMap() argument
152 GetSchedBundleName(string &bundleName) GetSchedBundleName() argument
174 GetServiceSchedAction(const std::string &bundleName) GetServiceSchedAction() argument
184 SetServiceSchedAction(const string &bundleName, BConstants::ServiceSchedAction action) SetServiceSchedAction() argument
193 GetBackupExtName(const string &bundleName) GetBackupExtName() argument
199 SetBackupExtInfo(const string &bundleName, const string &extInfo) SetBackupExtInfo() argument
208 GetBackupExtInfo(const string &bundleName) GetBackupExtInfo() argument
217 SetBackupExtName(const string &bundleName, const string &backupExtName) SetBackupExtName() argument
226 GetSAExtConnection(const BundleName &bundleName) GetSAExtConnection() argument
252 CreateBackupConnection(BundleName &bundleName) CreateBackupConnection() argument
294 SetBundleRestoreType(const std::string &bundleName, RestoreTypeEnum restoreType) SetBundleRestoreType() argument
303 GetBundleRestoreType(const std::string &bundleName) GetBundleRestoreType() argument
312 SetBundleVersionCode(const std::string &bundleName, int64_t versionCode) SetBundleVersionCode() argument
321 GetBundleVersionCode(const std::string &bundleName) GetBundleVersionCode() argument
330 SetBundleVersionName(const std::string &bundleName, std::string versionName) SetBundleVersionName() argument
339 GetBundleVersionName(const std::string &bundleName) GetBundleVersionName() argument
348 SetBundleDataSize(const std::string &bundleName, int64_t dataSize) SetBundleDataSize() argument
357 StartFwkTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartFwkTimer() argument
362 StopFwkTimer(const std::string &bundleName) StopFwkTimer() argument
367 StartExtTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartExtTimer() argument
372 StopExtTimer(const std::string &bundleName) StopExtTimer() argument
377 UpdateTimer(const std::string &bundleName, uint32_t timeout, const Utils::Timer::TimerCallback &callback) UpdateTimer() argument
419 SetClearDataFlag(const std::string &bundleName, bool isNotClear) SetClearDataFlag() argument
421 GetClearDataFlag(const std::string &bundleName) GetClearDataFlag() argument
428 GetIncrementalManifestFd(const string &bundleName) GetIncrementalManifestFd() argument
433 GetLastIncrementalTime(const string &bundleName) GetLastIncrementalTime() argument
443 SetPublishFlag(const std::string &bundleName) SetPublishFlag() argument
[all...]
H A Dservice_reverse_proxy_mock.cpp23 void ServiceReverseProxy::BackupOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) {} in BackupOnFileReady() argument
25 void ServiceReverseProxy::BackupOnBundleStarted(int32_t errCode, string bundleName) {} in BackupOnBundleStarted() argument
27 void ServiceReverseProxy::BackupOnResultReport(string result, std::string bundleName) {} in BackupOnResultReport() argument
29 void ServiceReverseProxy::BackupOnBundleFinished(int32_t errCode, string bundleName) {} in BackupOnBundleFinished() argument
33 void ServiceReverseProxy::BackupOnProcessInfo(std::string bundleName, std::string processInfo) {} in BackupOnProcessInfo() argument
35 void ServiceReverseProxy::RestoreOnBundleStarted(int32_t errCode, string bundleName) {} in RestoreOnBundleStarted() argument
37 void ServiceReverseProxy::RestoreOnBundleFinished(int32_t errCode, string bundleName) {} in RestoreOnBundleFinished() argument
41 void ServiceReverseProxy::RestoreOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) {} in RestoreOnFileReady() argument
43 void ServiceReverseProxy::RestoreOnResultReport(string result, string bundleName, ErrCode errCode) {} in RestoreOnResultReport() argument
45 void ServiceReverseProxy::RestoreOnProcessInfo(std::string bundleName, st argument
47 IncrementalBackupOnFileReady(string bundleName, string fileName, int fd, int manifestFd, int32_t errCode) IncrementalBackupOnFileReady() argument
50 IncrementalBackupOnBundleStarted(int32_t errCode, string bundleName) IncrementalBackupOnBundleStarted() argument
52 IncrementalBackupOnResultReport(string result, std::string bundleName) IncrementalBackupOnResultReport() argument
54 IncrementalBackupOnBundleFinished(int32_t errCode, string bundleName) IncrementalBackupOnBundleFinished() argument
58 IncrementalBackupOnProcessInfo(std::string bundleName, std::string processInfo) IncrementalBackupOnProcessInfo() argument
60 IncrementalRestoreOnBundleStarted(int32_t errCode, string bundleName) IncrementalRestoreOnBundleStarted() argument
62 IncrementalRestoreOnBundleFinished(int32_t errCode, string bundleName) IncrementalRestoreOnBundleFinished() argument
66 IncrementalRestoreOnFileReady(string bundleName, string fileName, int fd, int manifestFd, int32_t errCode) IncrementalRestoreOnFileReady() argument
69 IncrementalRestoreOnResultReport(string result, string bundleName, ErrCode errCode) IncrementalRestoreOnResultReport() argument
71 IncrementalRestoreOnProcessInfo(std::string bundleName, std::string processInfo) IncrementalRestoreOnProcessInfo() argument
[all...]
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/src/
H A Dsvc_session_manager_mock.cpp32 void SvcSessionManager::VerifyBundleName(string &bundleName) {} in VerifyBundleName() argument
44 bool SvcSessionManager::OnBundleFileReady(const string &bundleName, const string &fileName) in OnBundleFileReady() argument
46 return BSvcSessionManager::sessionManager->OnBundleFileReady(bundleName, fileName); in OnBundleFileReady()
49 UniqueFd SvcSessionManager::OnBundleExtManageInfo(const string &bundleName, UniqueFd fd) in OnBundleExtManageInfo() argument
51 return BSvcSessionManager::sessionManager->OnBundleExtManageInfo(bundleName, std::move(fd)); in OnBundleExtManageInfo()
56 wptr<SvcBackupConnection> SvcSessionManager::GetExtConnection(const BundleName &bundleName) in GetExtConnection() argument
58 return BSvcSessionManager::sessionManager->GetExtConnection(bundleName); in GetExtConnection()
61 sptr<SvcBackupConnection> SvcSessionManager::GetBackupAbilityExt(const string &bundleName) in GetBackupAbilityExt() argument
70 void SvcSessionManager::SetExtFileNameRequest(const string &bundleName, const string &) {} in SetExtFileNameRequest() argument
72 std::set<std::string> SvcSessionManager::GetExtFileNameRequest(const std::string &bundleName) in GetExtFileNameRequest() argument
82 GetSchedBundleName(string &bundleName) GetSchedBundleName() argument
87 GetServiceSchedAction(const std::string &bundleName) GetServiceSchedAction() argument
94 GetBackupExtName(const string &bundleName) GetBackupExtName() argument
101 GetBackupExtInfo(const string &bundleName) GetBackupExtInfo() argument
108 GetSAExtConnection(const BundleName &bundleName) GetSAExtConnection() argument
115 CreateBackupConnection(BundleName &bundleName) CreateBackupConnection() argument
148 GetBundleRestoreType(const std::string &bundleName) GetBundleRestoreType() argument
155 GetBundleVersionCode(const std::string &bundleName) GetBundleVersionCode() argument
162 GetBundleVersionName(const std::string &bundleName) GetBundleVersionName() argument
169 StartFwkTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartFwkTimer() argument
174 StopFwkTimer(const std::string &bundleName) StopFwkTimer() argument
179 StartExtTimer(const std::string &bundleName, const Utils::Timer::TimerCallback &callback) StartExtTimer() argument
184 StopExtTimer(const std::string &bundleName) StopExtTimer() argument
189 UpdateTimer(const std::string &bundleName, uint32_t timeOut, const Utils::Timer::TimerCallback &callback) UpdateTimer() argument
214 GetIncrementalManifestFd(const string &bundleName) GetIncrementalManifestFd() argument
219 GetLastIncrementalTime(const string &bundleName) GetLastIncrementalTime() argument
226 GetClearDataFlag(const std::string &bundleName) GetClearDataFlag() argument
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloud_file_kit_inner/data_sync/
H A Dtask_state_manager_test.cpp32 MOCK_METHOD2(StartTask, void(string bundleName, TaskType task));
33 MOCK_METHOD2(CompleteTask, void(string bundleName, TaskType task));
34 MOCK_METHOD2(HasTask, bool(string bundleName, TaskType task));
167 string bundleName = "testbundleName"; in HWTEST_F() local
168 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskType::SYNC_TASK)); in HWTEST_F()
169 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskType::DOWNLOAD_TASK)); in HWTEST_F()
170 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskType::UPLOAD_ASSET_TASK)); in HWTEST_F()
171 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskType::DOWNLOAD_ASSET_TASK)); in HWTEST_F()
172 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskType::DOWNLOAD_REMOTE_ASSET_TASK)); in HWTEST_F()
173 EXPECT_CALL(mockTaskStateManager, StartTask(bundleName, TaskTyp in HWTEST_F()
195 string bundleName = "testbundleName"; HWTEST_F() local
223 string bundleName = "testbundleName"; HWTEST_F() local
251 string bundleName = "testbundleName"; HWTEST_F() local
270 string bundleName = "testBundleName"; HWTEST_F() local
287 string bundleName = "testBundleName"; HWTEST_F() local
305 string bundleName = "testBundleName"; HWTEST_F() local
323 string bundleName = "testBundleName"; HWTEST_F() local
355 string bundleName = "testBundleName"; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/
H A Dapp_provision_info_manager.cpp30 bool AppProvisionInfoManager::AddAppProvisionInfo(const std::string &bundleName, in AddAppProvisionInfo() argument
33 APP_LOGD("AppProvisionInfoManager::AddAppProvisionInfo bundleName: %{public}s", bundleName.c_str()); in AddAppProvisionInfo()
34 return AppProvisionInfoManagerDb_->AddAppProvisionInfo(bundleName, appProvisionInfo); in AddAppProvisionInfo()
37 bool AppProvisionInfoManager::DeleteAppProvisionInfo(const std::string &bundleName) in DeleteAppProvisionInfo() argument
39 APP_LOGD("AppProvisionInfoManager::DeleteAppProvisionInfo bundleName: %{public}s", bundleName.c_str()); in DeleteAppProvisionInfo()
40 return AppProvisionInfoManagerDb_->DeleteAppProvisionInfo(bundleName); in DeleteAppProvisionInfo()
43 bool AppProvisionInfoManager::GetAppProvisionInfo(const std::string &bundleName, in GetAppProvisionInfo() argument
46 APP_LOGD("AppProvisionInfoManager::GetAppProvisionInfo bundleName in GetAppProvisionInfo()
56 SetSpecifiedDistributionType( const std::string &bundleName, const std::string &specifiedDistributionType) SetSpecifiedDistributionType() argument
62 GetSpecifiedDistributionType( const std::string &bundleName, std::string &specifiedDistributionType) GetSpecifiedDistributionType() argument
68 SetAdditionalInfo( const std::string &bundleName, const std::string &additionalInfo) SetAdditionalInfo() argument
74 GetAdditionalInfo( const std::string &bundleName, std::string &additionalInfo) GetAdditionalInfo() argument
[all...]
/foundation/resourceschedule/device_standby/services/core/src/
H A Dapp_state_observer.cpp30 if (!this->CheckAlivedApp(processData.bundleName)) { in OnProcessDied()
32 auto bundleName = processData.bundleName; in OnProcessDied() local
33 handler_->PostTask([uid, bundleName]() { in OnProcessDied()
34 StandbyServiceImpl::GetInstance()->RemoveAppAllowRecord(uid, bundleName, false); in OnProcessDied()
37 handler_->PostTask([uid = processData.uid, pid = processData.pid, bundleName = processData.bundleName]() { in OnProcessDied()
38 StandbyServiceImpl::GetInstance()->OnProcessStatusChanged(uid, pid, bundleName, false); in OnProcessDied()
42 bool AppStateObserver::CheckAlivedApp(const std::string &bundleName) in CheckAlivedApp() argument
46 if (!AppMgrHelper::GetInstance()->GetAppRunningStateByBundleName(bundleName, isRunnin in CheckAlivedApp()
67 auto bundleName = appStateData.bundleName; OnApplicationStateChanged() local
85 auto bundleName = appStateData.bundleName; OnForegroundApplicationChanged() local
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/
H A Dsvc_session_manager.h123 * @brief 检验调用者给定的bundleName是否是有效的
125 * @param bundleName 调用者名称
128 void VerifyBundleName(std::string &bundleName);
163 * @param bundleName 客户端信息
169 bool OnBundleFileReady(const std::string &bundleName, const std::string &fileName = "");
174 * @param bundleName 客户端信息
179 UniqueFd OnBundleExtManageInfo(const std::string &bundleName, UniqueFd fd);
184 * @param bundleName 应用名称
186 void RemoveExtInfo(const std::string &bundleName);
191 * @param bundleName
[all...]
H A Dservice_reverse_proxy.h25 void BackupOnBundleStarted(int32_t errCode, std::string bundleName) override;
26 void BackupOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override;
27 void BackupOnResultReport(std::string result, std::string bundleName) override;
28 void BackupOnBundleFinished(int32_t errCode, std::string bundleName) override;
30 void BackupOnProcessInfo(std::string bundleName, std::string processInfo) override;
32 void RestoreOnBundleStarted(int32_t errCode, std::string bundleName) override;
33 void RestoreOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override;
34 void RestoreOnResultReport(std::string result, std::string bundleName,
36 void RestoreOnBundleFinished(int32_t errCode, std::string bundleName) override;
38 void RestoreOnProcessInfo(std::string bundleName, st
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_system_bundle_installer_test.cpp47 bool UninstallSystemBundle(const std::string &bundleName) const;
48 bool UninstallSystemBundle(const std::string &bundleName, bool isKeepData) const;
49 bool UninstallSystemBundle(const std::string &bundleName, const std::string &modulePackage) const;
63 bool BmsSystemBundleInstallerTest::UninstallSystemBundle(const std::string &bundleName) const in UninstallSystemBundle()
66 return installer->UninstallSystemBundle(bundleName); in UninstallSystemBundle()
69 bool BmsSystemBundleInstallerTest::UninstallSystemBundle(const std::string &bundleName, bool isKeepData) const in UninstallSystemBundle() argument
72 return installer->UninstallSystemBundle(bundleName, isKeepData); in UninstallSystemBundle()
76 const std::string &bundleName, const std::string &modulePackage) const in UninstallSystemBundle()
79 return installer->UninstallSystemBundle(bundleName, modulePackage); in UninstallSystemBundle()
103 std::string bundleName in HWTEST_F() local
75 UninstallSystemBundle( const std::string &bundleName, const std::string &modulePackage) const UninstallSystemBundle() argument
115 std::string bundleName = EMPTY_STRING; HWTEST_F() local
127 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
140 std::string bundleName = EMPTY_STRING; HWTEST_F() local
153 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
166 std::string bundleName = EMPTY_STRING; HWTEST_F() local
179 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
192 std::string bundleName = EMPTY_STRING; HWTEST_F() local
205 std::string bundleName = EMPTY_STRING; HWTEST_F() local
218 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
236 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
252 std::string bundleName = EMPTY_STRING; HWTEST_F() local
268 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
285 std::string bundleName = EMPTY_STRING; HWTEST_F() local
302 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
319 std::string bundleName = EMPTY_STRING; HWTEST_F() local
336 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
353 std::string bundleName = EMPTY_STRING; HWTEST_F() local
370 std::string bundleName = EMPTY_STRING; HWTEST_F() local
387 std::string bundleName = BUNDLE_NAME; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_bundle_event_callback.cpp40 bool FormBundleEventCallback::IsEncryptedBundle(std::string &bundleName, int32_t userId) in IsEncryptedBundle() argument
43 if (FormBmsHelper::GetInstance().GetApplicationInfo(bundleName, userId, appInfo) != ERR_OK) { in IsEncryptedBundle()
56 std::string bundleName = want.GetElement().GetBundleName(); in OnReceiveEvent() local
59 if (action.empty() || bundleName.empty()) { in OnReceiveEvent()
60 HILOG_ERROR("empty action/bundleName"); in OnReceiveEvent()
70 HILOG_INFO("bundleName:%{public}s changed", bundleName.c_str()); in OnReceiveEvent()
71 FormEventUtil::HandleBundleFormInfoChanged(bundleName, userId); in OnReceiveEvent()
72 std::function<void()> taskFunc = [bundleName, userId]() { in OnReceiveEvent()
73 FormEventUtil::HandleUpdateFormCloud(bundleName); in OnReceiveEvent()
[all...]
H A Dform_ability_connection_reporter.cpp46 void FormAbilityConnectionReporter::ReportFormAbilityConnection(const std::string &bundleName) in ReportFormAbilityConnection() argument
48 if (bundleName.empty()) { in ReportFormAbilityConnection()
49 HILOG_ERROR("Invalid bundleName"); in ReportFormAbilityConnection()
53 auto iter = formConnectionInfoMap_.find(bundleName); in ReportFormAbilityConnection()
62 int32_t ret = appMgr->GetRunningProcessInformation(bundleName, userId, infos); in ReportFormAbilityConnection()
68 bundleName.c_str(), infos.size()); in ReportFormAbilityConnection()
69 AddFormAbilityConnectProcessInfo(bundleName, infos); in ReportFormAbilityConnection()
70 ReportConnectionInfosToRss(bundleName, true); in ReportFormAbilityConnection()
73 void FormAbilityConnectionReporter::ReportFormAbilityDisconnection(const std::string &bundleName) in ReportFormAbilityDisconnection() argument
75 if (bundleName in ReportFormAbilityDisconnection()
116 AddFormAbilityConnectProcessInfo(const std::string& bundleName, std::vector<AppExecFwk::RunningProcessInfo>& infos) AddFormAbilityConnectProcessInfo() argument
139 ReportConnectionInfosToRss(const std::string &bundleName, bool isConnected) ReportConnectionInfosToRss() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp64 std::string BuildResourcePath(const std::string &bundleName) in BuildResourcePath() argument
68 .append(bundleName).append(ServiceConstants::PATH_SEPARATOR) in BuildResourcePath()
74 const std::string &bundleName, in ConvertToExtendResourceInfo()
80 std::string path = BuildResourcePath(bundleName); in ConvertToExtendResourceInfo()
96 const std::string &bundleName, const std::vector<std::string> &filePaths) in AddExtResource()
98 ErrCode ret = BeforeAddExtResource(bundleName, filePaths); in AddExtResource()
100 ret = ProcessAddExtResource(bundleName, filePaths); in AddExtResource()
106 const std::string &bundleName, const std::vector<std::string> &filePaths) in BeforeAddExtResource()
108 if (bundleName.empty()) { in BeforeAddExtResource()
109 APP_LOGE("fail to AddExtResource due to bundleName i in BeforeAddExtResource()
73 ConvertToExtendResourceInfo( const std::string &bundleName, const InnerBundleInfo &innerBundleInfo, ExtendResourceInfo &extendResourceInfo) ConvertToExtendResourceInfo() argument
95 AddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) AddExtResource() argument
105 BeforeAddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) BeforeAddExtResource() argument
156 ProcessAddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) ProcessAddExtResource() argument
180 InnerSaveExtendResourceInfo( const std::string &bundleName, const std::vector<std::string> &filePaths, const std::vector<ExtendResourceInfo> &extendResourceInfos) InnerSaveExtendResourceInfo() argument
201 ParseExtendResourceFile( const std::string &bundleName, const std::vector<std::string> &filePaths, std::vector<ExtendResourceInfo> &extendResourceInfos) ParseExtendResourceFile() argument
247 CopyToTempDir(const std::string &bundleName, const std::vector<std::string> &oldFilePaths, std::vector<std::string> &newFilePaths) CopyToTempDir() argument
270 GetInnerBundleInfo( const std::string &bundleName, InnerBundleInfo &info) GetInnerBundleInfo() argument
281 UpateExtResourcesDb(const std::string &bundleName, const std::vector<ExtendResourceInfo> &extendResourceInfos) UpateExtResourcesDb() argument
292 RemoveExtResourcesDb(const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResourcesDb() argument
313 RemoveExtResource( const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResource() argument
344 InnerRemoveExtendResources( const std::string &bundleName, const std::vector<std::string> &moduleNames, std::vector<ExtendResourceInfo> &extResourceInfos) InnerRemoveExtendResources() argument
357 CheckModuleExist( const std::string &bundleName, const std::vector<std::string> &moduleNames, std::vector<ExtendResourceInfo> &collectorExtResourceInfos) CheckModuleExist() argument
380 GetExtResource( const std::string &bundleName, std::vector<std::string> &moduleNames) GetExtResource() argument
418 EnableDynamicIcon( const std::string &bundleName, const std::string &moduleName) EnableDynamicIcon() argument
457 SaveCurDynamicIcon( const std::string &bundleName, const std::string &moduleName) SaveCurDynamicIcon() argument
469 SendBroadcast( const std::string &bundleName, bool isEnableDynamicIcon) SendBroadcast() argument
476 ParseBundleResource( const std::string &bundleName, const ExtendResourceInfo &extendResourceInfo) ParseBundleResource() argument
510 GetExtendResourceInfo(const std::string &bundleName, const std::string &moduleName, ExtendResourceInfo &extendResourceInfo) GetExtendResourceInfo() argument
532 DisableDynamicIcon(const std::string &bundleName) DisableDynamicIcon() argument
569 ResetBundleResourceIcon(const std::string &bundleName) ResetBundleResourceIcon() argument
599 GetDynamicIcon( const std::string &bundleName, std::string &moudleName) GetDynamicIcon() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp32 std::string bundleName (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
34 bundleInfo.name = bundleName; in DoSomethingInterestingWithMyAPI()
45 bundleMgrProxy.DumpInfos(flag, bundleName, reinterpret_cast<uintptr_t>(data), result); in DoSomethingInterestingWithMyAPI()
51 bundleMgrProxy.IsApplicationEnabled(bundleName, isEnable); in DoSomethingInterestingWithMyAPI()
52 bundleMgrProxy.SetApplicationEnabled(bundleName, isEnable, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
59 formInfo.bundleName = bundleName; in DoSomethingInterestingWithMyAPI()
63 bundleMgrProxy.GetFormsInfoByApp(bundleName, formInfos); in DoSomethingInterestingWithMyAPI()
65 bundleMgrProxy.GetFormsInfoByModule(bundleName, moduleName, formInfos); in DoSomethingInterestingWithMyAPI()
68 shortcutInfo.bundleName in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_sched/
H A Dsched_scheduler.cpp42 void SchedScheduler::Sched(string bundleName) in Sched() argument
44 if (bundleName == "") { in Sched()
46 HILOGE("Sched bundle %{public}s error, sessionPtr is empty", bundleName.c_str()); in Sched()
49 if (!sessionPtr_->GetSchedBundleName(bundleName)) { in Sched()
53 HILOGE("Sched bundleName %{public}s", bundleName.data()); in Sched()
54 auto callStart = [schedPtr {wptr(this)}, bundleName]() { in Sched()
58 HILOGE("Sched bundle %{public}s error, ptr is empty", bundleName.c_str()); in Sched()
61 ptr->ExecutingQueueTasks(bundleName); in Sched()
73 void SchedScheduler::ExecutingQueueTasks(const string &bundleName) in ExecutingQueueTasks() argument
125 RemoveExtConn(const string &bundleName) RemoveExtConn() argument
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Dservice_reverse.cpp24 void ServiceReverse::BackupOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) in BackupOnFileReady() argument
30 BFileInfo bFileInfo(bundleName, fileName, 0); in BackupOnFileReady()
34 void ServiceReverse::BackupOnBundleStarted(int32_t errCode, string bundleName) in BackupOnBundleStarted() argument
40 callbacksBackup_.onBundleStarted(errCode, bundleName); in BackupOnBundleStarted()
43 void ServiceReverse::BackupOnResultReport(std::string result, std::string bundleName) in BackupOnResultReport() argument
49 callbacksBackup_.onResultReport(bundleName, result); in BackupOnResultReport()
52 void ServiceReverse::BackupOnBundleFinished(int32_t errCode, string bundleName) in BackupOnBundleFinished() argument
58 HILOGI("errCode = %{public}d, bundleName = %{public}s", errCode, bundleName.c_str()); in BackupOnBundleFinished()
59 callbacksBackup_.onBundleFinished(errCode, bundleName); in BackupOnBundleFinished()
72 BackupOnProcessInfo(std::string bundleName, std::string processInfo) BackupOnProcessInfo() argument
82 RestoreOnBundleStarted(int32_t errCode, string bundleName) RestoreOnBundleStarted() argument
91 RestoreOnBundleFinished(int32_t errCode, string bundleName) RestoreOnBundleFinished() argument
111 RestoreOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) RestoreOnFileReady() argument
122 RestoreOnResultReport(string result, std::string bundleName, ErrCode errCode) RestoreOnResultReport() argument
138 RestoreOnProcessInfo(std::string bundleName, std::string processInfo) RestoreOnProcessInfo() argument
[all...]
H A Dservice_incremental_reverse.cpp24 void ServiceReverse::IncrementalBackupOnFileReady(string bundleName, string fileName, int fd, int manifestFd, in IncrementalBackupOnFileReady() argument
31 BFileInfo bFileInfo(bundleName, fileName, 0); in IncrementalBackupOnFileReady()
35 void ServiceReverse::IncrementalBackupOnBundleStarted(int32_t errCode, string bundleName) in IncrementalBackupOnBundleStarted() argument
41 callbacksIncrementalBackup_.onBundleStarted(errCode, bundleName); in IncrementalBackupOnBundleStarted()
44 void ServiceReverse::IncrementalBackupOnResultReport(std::string result, std::string bundleName) in IncrementalBackupOnResultReport() argument
50 callbacksIncrementalBackup_.onResultReport(bundleName, result); in IncrementalBackupOnResultReport()
53 void ServiceReverse::IncrementalBackupOnBundleFinished(int32_t errCode, string bundleName) in IncrementalBackupOnBundleFinished() argument
59 HILOGI("errCode = %{public}d, bundleName = %{public}s", errCode, bundleName.c_str()); in IncrementalBackupOnBundleFinished()
60 callbacksIncrementalBackup_.onBundleFinished(errCode, bundleName); in IncrementalBackupOnBundleFinished()
73 IncrementalBackupOnProcessInfo(std::string bundleName, std::string processInfo) IncrementalBackupOnProcessInfo() argument
83 IncrementalRestoreOnBundleStarted(int32_t errCode, string bundleName) IncrementalRestoreOnBundleStarted() argument
92 IncrementalRestoreOnBundleFinished(int32_t errCode, string bundleName) IncrementalRestoreOnBundleFinished() argument
112 IncrementalRestoreOnFileReady(string bundleName, string fileName, int fd, int manifestFd, int32_t errCode) IncrementalRestoreOnFileReady() argument
123 IncrementalRestoreOnResultReport(std::string result, std::string bundleName, ErrCode errCode) IncrementalRestoreOnResultReport() argument
138 IncrementalRestoreOnProcessInfo(std::string bundleName, std::string processInfo) IncrementalRestoreOnProcessInfo() argument
[all...]
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmulti_instance_manager.cpp68 appInfoMap_[appInfo.bundleName] = appInfo; in SetCurrentUserId()
75 bool MultiInstanceManager::IsMultiInstance(const std::string& bundleName) in IsMultiInstance() argument
78 auto iter = appInfoMap_.find(bundleName); in IsMultiInstance()
82 bundleName, AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO, userId_, appInfo)) { in IsMultiInstance()
83 appInfoMap_[bundleName] = appInfo; in IsMultiInstance()
86 TLOGE(WmsLogTag::WMS_LIFE, "App info not found, bundleName:%{public}s", bundleName.c_str()); in IsMultiInstance()
92 uint32_t MultiInstanceManager::GetMaxInstanceCount(const std::string& bundleName) in GetMaxInstanceCount() argument
95 auto iter = appInfoMap_.find(bundleName); in GetMaxInstanceCount()
99 bundleName, AppExecFw in GetMaxInstanceCount()
112 GetInstanceCount(const std::string& bundleName) GetInstanceCount() argument
123 GetLastInstanceKey(const std::string& bundleName) GetLastInstanceKey() argument
137 CreateNewInstanceKey(const std::string& bundleName, const std::string& instanceKey) CreateNewInstanceKey() argument
155 IsValidInstanceKey(const std::string& bundleName, const std::string& instanceKey) IsValidInstanceKey() argument
172 IsInstanceKeyExist(const std::string& bundleName, const std::string& instanceKey) IsInstanceKeyExist() argument
190 RemoveInstanceKey(const std::string& bundleName, const std::string& instanceKey) RemoveInstanceKey() argument
201 FindMinimumAvailableInstanceId(const std::string& bundleName, uint32_t maxInstanceCount) FindMinimumAvailableInstanceId() argument
219 RefreshAppInfo(const std::string& bundleName) RefreshAppInfo() argument
246 const auto& bundleName = sceneSession->GetSessionInfo().bundleName_; IncreaseInstanceKeyRefCount() local
272 const auto& bundleName = sceneSession->GetSessionInfo().bundleName_; DecreaseInstanceKeyRefCount() local
295 const auto& bundleName = sceneSession->GetSessionInfo().bundleName_; FillInstanceKeyIfNeed() local
342 AddInstanceId(const std::string& bundleName, uint32_t instanceId) AddInstanceId() argument
368 RemoveInstanceId(const std::string& bundleName, uint32_t instanceId) RemoveInstanceId() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dapp_connect_manager.cpp25 bool AppConnectManager::Wait(const std::string &bundleName, in Wait() argument
29 auto result = blockCache_.ComputeIfAbsent(bundleName, [&block](const std::string &key) { in Wait()
33 ZLOGE("is running %{public}s", bundleName.c_str()); in Wait()
36 ZLOGI("start connect %{public}s", bundleName.c_str()); in Wait()
41 ZLOGE("connect failed %{public}s", bundleName.c_str()); in Wait()
42 blockCache_.Erase(bundleName); in Wait()
46 ZLOGI("end wait %{public}s", bundleName.c_str()); in Wait()
47 blockCache_.Erase(bundleName); in Wait()
52 void AppConnectManager::Notify(const std::string &bundleName) in Notify() argument
54 ZLOGI("notify %{public}s", bundleName in Notify()
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dbms_helper.cpp40 char *bundleName = node->value_; in RegisterBundleNames() local
41 if (bundleName != nullptr) { in RegisterBundleNames()
42 char *name = Utils::Strdup(bundleName); in RegisterBundleNames()
49 int32_t BMSHelper::RegisterStartupBundleName(const char *bundleName) in RegisterStartupBundleName() argument
51 if (bundleName == nullptr) { in RegisterStartupBundleName()
55 startupBundleName_ = Utils::Strdup(bundleName); in RegisterStartupBundleName()
73 char *bundleName = node->value_; in RegisterTemporaryBundleNames() local
74 if (bundleName != nullptr) { in RegisterTemporaryBundleNames()
75 char *name = Utils::Strdup(bundleName); in RegisterTemporaryBundleNames()
82 bool BMSHelper::IsTemporaryBundleName(const char *bundleName) in IsTemporaryBundleName() argument
111 IsNativeApp(const char *bundleName) IsNativeApp() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/extend_resource/
H A Dextend_resource_manager_host_impl.h30 const std::string &bundleName, const std::vector<std::string> &filePaths) override;
32 const std::string &bundleName, const std::vector<std::string> &moduleNames) override;
34 const std::string &bundleName, std::vector<std::string> &moduleNames) override;
36 const std::string &bundleName, const std::string &moduleName) override;
37 ErrCode DisableDynamicIcon(const std::string &bundleName) override;
38 ErrCode GetDynamicIcon(const std::string &bundleName, std::string &moudleName) override;
43 const std::string &bundleName, const std::vector<std::string> &filePaths);
46 const std::string &bundleName, const std::vector<std::string> &filePaths);
47 ErrCode CopyToTempDir(const std::string &bundleName,
49 bool GetInnerBundleInfo(const std::string &bundleName, InnerBundleInf
[all...]
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
H A Dcloud_status.cpp23 int32_t CloudStatus::GetCurrentCloudInfo(const std::string &bundleName, const int32_t userId) in GetCurrentCloudInfo() argument
37 ret = instance->GetAppSwitchStatus(bundleName, userId, switchStatus); in GetCurrentCloudInfo()
42 appSwitches_.insert(std::make_pair(bundleName, switchStatus)); in GetCurrentCloudInfo()
47 bool CloudStatus::IsCloudStatusOkay(const std::string &bundleName, const int32_t userId) in IsCloudStatusOkay() argument
52 appSwitches_.erase(bundleName); in IsCloudStatusOkay()
56 auto iter = appSwitches_.find(bundleName); in IsCloudStatusOkay()
58 LOGI("appSwitches unknown, bundleName:%{private}s, userId:%{public}d", bundleName.c_str(), userId); in IsCloudStatusOkay()
59 auto ret = GetCurrentCloudInfo(bundleName, userId); in IsCloudStatusOkay()
65 LOGI("bundleName in IsCloudStatusOkay()
70 ChangeAppSwitch(const std::string &bundleName, const int32_t userId, bool appSwitchStatus) ChangeAppSwitch() argument
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_app_gallery/
H A Dapp_gallery_dispose_proxy.cpp66 DisposeErr AppGalleryDisposeProxy::StartBackup(const std::string &bundleName) in StartBackup() argument
68 HILOGI("StartBackup, app %{public}s", bundleName.c_str()); in StartBackup()
69 return DoDispose(bundleName, DisposeOperation::START_BACKUP); in StartBackup()
72 DisposeErr AppGalleryDisposeProxy::EndBackup(const std::string &bundleName) in EndBackup() argument
74 HILOGI("EndBackup, app %{public}s", bundleName.c_str()); in EndBackup()
75 return DoDispose(bundleName, DisposeOperation::END_BACKUP); in EndBackup()
78 DisposeErr AppGalleryDisposeProxy::StartRestore(const std::string &bundleName) in StartRestore() argument
80 if (SAUtils::IsSABundleName(bundleName)) { in StartRestore()
84 HILOGI("StartRestore, app %{public}s", bundleName.c_str()); in StartRestore()
85 return DoDispose(bundleName, DisposeOperatio in StartRestore()
88 EndRestore(const std::string &bundleName) EndRestore() argument
98 RecordDoDisposeRes(const std::string &bundleName, AppGalleryDisposeProxy::DisposeOperation disposeOperation, int32_t err) RecordDoDisposeRes() argument
124 DoDispose(const std::string &bundleName, DisposeOperation disposeOperation) DoDispose() argument
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/include/
H A Dservice_reverse.h28 void BackupOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override;
29 void BackupOnBundleStarted(int32_t errCode, std::string bundleName) override;
30 void BackupOnResultReport(std::string result, std::string bundleName) override;
31 void BackupOnBundleFinished(int32_t errCode, std::string bundleName) override;
33 void BackupOnProcessInfo(std::string bundleName, std::string processInfo) override;
35 void RestoreOnBundleStarted(int32_t errCode, std::string bundleName) override;
36 void RestoreOnBundleFinished(int32_t errCode, std::string bundleName) override;
38 void RestoreOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override;
39 void RestoreOnResultReport(std::string result, std::string bundleName,
41 void RestoreOnProcessInfo(std::string bundleName, st
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/
H A Dservice_reverse_mock.h39 void BackupOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override {}
40 void BackupOnBundleStarted(int32_t errCode, std::string bundleName) override {}
41 void BackupOnResultReport(std::string result, std::string bundleName) override {};
42 void BackupOnBundleFinished(int32_t errCode, std::string bundleName) override {}
44 void BackupOnProcessInfo(std::string bundleName, std::string processInfo) override {}
46 void RestoreOnBundleStarted(int32_t errCode, std::string bundleName) override {}
47 void RestoreOnBundleFinished(int32_t errCode, std::string bundleName) override {}
49 void RestoreOnFileReady(std::string bundleName, std::string fileName, int fd, int32_t errCode) override {}
50 void RestoreOnResultReport(std::string result, std::string bundleName, ErrCode errCode) override {}
51 void RestoreOnProcessInfo(std::string bundleName, st
[all...]

Completed in 11 milliseconds

12345678910>>...142