/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/module_ipc/ |
H A D | svc_session_manager_throw_mock.cpp | 37 void SvcSessionManager::VerifyBundleName(string &bundleName) in VerifyBundleName() 62 void SvcSessionManager::RemoveExtInfo(const string &bundleName) in RemoveExtInfo() 102 bool SvcSessionManager::GetSchedBundleName(string &bundleName) in GetSchedBundleName() 117 string SvcSessionManager::GetBackupExtName(const string &bundleName) in GetBackupExtName() 127 std::string SvcSessionManager::GetBackupExtInfo(const string &bundleName) in GetBackupExtInfo() 227 bool SvcSessionManager::StopFwkTimer(const std::string &bundleName) in StopFwkTimer() 237 bool SvcSessionManager::StopExtTimer(const std::string &bundleName) in StopExtTimer() 298 bool SvcSessionManager::GetClearDataFlag(const std::string &bundleName) in GetClearDataFlag() 313 int64_t SvcSessionManager::GetLastIncrementalTime(const string &bundleName) in GetLastIncrementalTime() 323 void SvcSessionManager::SetPublishFlag(const std::string &bundleName) {} in SetPublishFlag() [all …]
|
H A D | svc_session_manager_mock.cpp | 57 void SvcSessionManager::VerifyBundleName(string &bundleName) in VerifyBundleName() 92 void SvcSessionManager::RemoveExtInfo(const string &bundleName) in RemoveExtInfo() 106 auto callConnected = [](const string &&bundleName) {}; in GetExtConnection() 152 bool SvcSessionManager::GetSchedBundleName(string &bundleName) in GetSchedBundleName() 193 string SvcSessionManager::GetBackupExtName(const string &bundleName) in GetBackupExtName() 233 auto callDied = [](const string &&bundleName) {}; in GetSAExtConnection() 234 auto callConnected = [](const string &&bundleName) {}; in GetSAExtConnection() 237 …auto callRestore = [](const std::string &&bundleName, const std::string &&result, const ErrCode &&… in GetSAExtConnection() 362 bool SvcSessionManager::StopFwkTimer(const std::string &bundleName) in StopFwkTimer() 372 bool SvcSessionManager::StopExtTimer(const std::string &bundleName) in StopExtTimer() [all …]
|
H A D | service_reverse_proxy_mock.cpp | 25 void ServiceReverseProxy::BackupOnBundleStarted(int32_t errCode, string bundleName) {} in BackupOnBundleStarted() 27 void ServiceReverseProxy::BackupOnResultReport(string result, std::string bundleName) {} in BackupOnResultReport() 29 void ServiceReverseProxy::BackupOnBundleFinished(int32_t errCode, string bundleName) {} in BackupOnBundleFinished() 33 void ServiceReverseProxy::BackupOnProcessInfo(std::string bundleName, std::string processInfo) {} in BackupOnProcessInfo() 35 void ServiceReverseProxy::RestoreOnBundleStarted(int32_t errCode, string bundleName) {} in RestoreOnBundleStarted() 37 void ServiceReverseProxy::RestoreOnBundleFinished(int32_t errCode, string bundleName) {} in RestoreOnBundleFinished() 45 void ServiceReverseProxy::RestoreOnProcessInfo(std::string bundleName, std::string processInfo) {} in RestoreOnProcessInfo() 50 void ServiceReverseProxy::IncrementalBackupOnBundleStarted(int32_t errCode, string bundleName) {} in IncrementalBackupOnBundleStarted() 52 void ServiceReverseProxy::IncrementalBackupOnResultReport(string result, std::string bundleName) {} in IncrementalBackupOnResultReport() 54 void ServiceReverseProxy::IncrementalBackupOnBundleFinished(int32_t errCode, string bundleName) {} in IncrementalBackupOnBundleFinished() [all …]
|
H A D | app_gallery_dispose_proxy_mock.cpp | 44 DisposeErr AppGalleryDisposeProxy::StartBackup(const std::string &bundleName) in StartBackup() 49 DisposeErr AppGalleryDisposeProxy::EndBackup(const std::string &bundleName) in EndBackup() 54 DisposeErr AppGalleryDisposeProxy::StartRestore(const std::string &bundleName) in StartRestore() 59 DisposeErr AppGalleryDisposeProxy::EndRestore(const std::string &bundleName) in EndRestore() 64 DisposeErr AppGalleryDisposeProxy::DoDispose(const std::string &bundleName, DisposeOperation dispos… in DoDispose()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_system_bundle_installer_test.cpp | 103 std::string bundleName = BUNDLE_NAME; variable 115 std::string bundleName = EMPTY_STRING; variable 127 std::string bundleName = BUNDLE_NAME; variable 140 std::string bundleName = EMPTY_STRING; variable 153 std::string bundleName = BUNDLE_NAME; variable 166 std::string bundleName = EMPTY_STRING; variable 179 std::string bundleName = BUNDLE_NAME; variable 218 std::string bundleName = BUNDLE_NAME; variable 236 std::string bundleName = BUNDLE_NAME; variable 268 std::string bundleName = BUNDLE_NAME; variable [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/ |
H A D | service_reverse_mock.h | 40 void BackupOnBundleStarted(int32_t errCode, std::string bundleName) override {} in BackupOnBundleStarted() 41 void BackupOnResultReport(std::string result, std::string bundleName) override {}; in BackupOnResultReport() 42 void BackupOnBundleFinished(int32_t errCode, std::string bundleName) override {} in BackupOnBundleFinished() 44 void BackupOnProcessInfo(std::string bundleName, std::string processInfo) override {} in BackupOnProcessInfo() 46 void RestoreOnBundleStarted(int32_t errCode, std::string bundleName) override {} in RestoreOnBundleStarted() 47 void RestoreOnBundleFinished(int32_t errCode, std::string bundleName) override {} in RestoreOnBundleFinished() 51 void RestoreOnProcessInfo(std::string bundleName, std::string processInfo) override {} in RestoreOnProcessInfo() 55 void IncrementalBackupOnBundleStarted(int32_t errCode, std::string bundleName) override {} in IncrementalBackupOnBundleStarted() 56 void IncrementalBackupOnResultReport(std::string result, std::string bundleName) override {} in IncrementalBackupOnResultReport() 57 void IncrementalBackupOnBundleFinished(int32_t errCode, std::string bundleName) override {} in IncrementalBackupOnBundleFinished() [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/ |
H A D | network_set_manager_test.cpp | 79 string bundleName = "com.ohos.photos"; variable 101 string bundleName = "com.ohos.photos"; variable 123 string bundleName = "com.ohos.photos"; variable 144 string bundleName = "com.ohos.photos"; variable 165 string bundleName = "com.ohos.photos"; variable 187 string bundleName = "com.ohos.photos"; variable 209 string bundleName = "com.ohos.photos"; variable 231 string bundleName = "com.ohos.photos"; variable 252 string bundleName = "com.ohos.photos"; variable 273 string bundleName = "com.ohos.photos"; variable
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_file_kit_inner/data_sync/ |
H A D | task_state_manager_test.cpp | 167 string bundleName = "testbundleName"; variable 195 string bundleName = "testbundleName"; variable 223 string bundleName = "testbundleName"; variable 251 string bundleName = "testbundleName"; variable 270 string bundleName = "testBundleName"; variable 287 string bundleName = "testBundleName"; variable 305 string bundleName = "testBundleName"; variable 323 string bundleName = "testBundleName"; variable 355 string bundleName = "testBundleName"; variable
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/ |
H A D | app_provision_info_manager.cpp | 30 bool AppProvisionInfoManager::AddAppProvisionInfo(const std::string &bundleName, in AddAppProvisionInfo() 37 bool AppProvisionInfoManager::DeleteAppProvisionInfo(const std::string &bundleName) in DeleteAppProvisionInfo() 43 bool AppProvisionInfoManager::GetAppProvisionInfo(const std::string &bundleName, in GetAppProvisionInfo() 57 const std::string &bundleName, const std::string &specifiedDistributionType) in SetSpecifiedDistributionType() 63 const std::string &bundleName, std::string &specifiedDistributionType) in GetSpecifiedDistributionType() 69 const std::string &bundleName, const std::string &additionalInfo) in SetAdditionalInfo() 75 const std::string &bundleName, std::string &additionalInfo) in GetAdditionalInfo()
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/ |
H A D | object_store_test.cpp | 128 std::string bundleName = "default"; variable 162 std::string bundleName = "default"; variable 184 std::string bundleName = "default"; variable 205 std::string bundleName = "default"; variable 239 std::string bundleName = "default"; variable 1133 std::string bundleName = ""; variable 1222 std::string bundleName = ""; variable 1238 std::string bundleName = ""; variable 1252 std::string bundleName = ""; variable 1268 std::string bundleName = ""; variable [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/ |
H A D | distributed_notification_manager_branch_test.cpp | 38 …const std::string &deviceId, const std::string &bundleName, sptr<NotificationRequest> &request) {}; in OnPublish() 40 …const std::string &deviceId, const std::string &bundleName, sptr<NotificationRequest> &request) {}; in OnUpdate() 42 …const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id) … in OnDelete() 134 std::string bundleName = "test2"; variable 166 std::string bundleName = "test2"; variable 198 std::string bundleName = "test2"; variable 212 std::string bundleName = "aa"; variable 227 std::string bundleName = "aa"; variable 245 std::string bundleName = "<bundleName>"; variable 260 std::string bundleName = "aa"; variable [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/ |
H A D | service_reverse.cpp | 24 void ServiceReverse::BackupOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) in BackupOnFileReady() 34 void ServiceReverse::BackupOnBundleStarted(int32_t errCode, string bundleName) in BackupOnBundleStarted() 43 void ServiceReverse::BackupOnResultReport(std::string result, std::string bundleName) in BackupOnResultReport() 52 void ServiceReverse::BackupOnBundleFinished(int32_t errCode, string bundleName) in BackupOnBundleFinished() 72 void ServiceReverse::BackupOnProcessInfo(std::string bundleName, std::string processInfo) in BackupOnProcessInfo() 82 void ServiceReverse::RestoreOnBundleStarted(int32_t errCode, string bundleName) in RestoreOnBundleStarted() 91 void ServiceReverse::RestoreOnBundleFinished(int32_t errCode, string bundleName) in RestoreOnBundleFinished() 111 void ServiceReverse::RestoreOnFileReady(string bundleName, string fileName, int fd, int32_t errCode) in RestoreOnFileReady() 122 void ServiceReverse::RestoreOnResultReport(string result, std::string bundleName, ErrCode errCode) in RestoreOnResultReport() 138 void ServiceReverse::RestoreOnProcessInfo(std::string bundleName, std::string processInfo) in RestoreOnProcessInfo()
|
H A D | service_incremental_reverse.cpp | 25 void ServiceReverse::IncrementalBackupOnFileReady(string bundleName, string fileName, int fd, int m… in IncrementalBackupOnFileReady() 36 void ServiceReverse::IncrementalBackupOnBundleStarted(int32_t errCode, string bundleName) in IncrementalBackupOnBundleStarted() 45 void ServiceReverse::IncrementalBackupOnResultReport(std::string result, std::string bundleName) in IncrementalBackupOnResultReport() 54 void ServiceReverse::IncrementalBackupOnBundleFinished(int32_t errCode, string bundleName) in IncrementalBackupOnBundleFinished() 74 void ServiceReverse::IncrementalBackupOnProcessInfo(std::string bundleName, std::string processInfo) in IncrementalBackupOnProcessInfo() 84 void ServiceReverse::IncrementalRestoreOnBundleStarted(int32_t errCode, string bundleName) in IncrementalRestoreOnBundleStarted() 93 void ServiceReverse::IncrementalRestoreOnBundleFinished(int32_t errCode, string bundleName) in IncrementalRestoreOnBundleFinished() 113 void ServiceReverse::IncrementalRestoreOnFileReady(string bundleName, string fileName, int fd, int … in IncrementalRestoreOnFileReady() 124 void ServiceReverse::IncrementalRestoreOnResultReport(std::string result, std::string bundleName, E… in IncrementalRestoreOnResultReport() 139 void ServiceReverse::IncrementalRestoreOnProcessInfo(std::string bundleName, std::string processInf… in IncrementalRestoreOnProcessInfo()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_rdbstore_test.cpp | 73 const std::string bundleName = "RdbInitTest"; variable 88 const std::string bundleName = "InitRootIdTest"; variable 104 const std::string bundleName = "InitRootIdTest"; variable 307 const std::string bundleName = "MkDirTest"; variable 326 const std::string bundleName = "MkDirTest"; variable 345 const std::string bundleName = "MkDirTest"; variable 364 const std::string bundleName = "MkDirTest"; variable 434 const std::string bundleName = "WriteTest"; variable 452 const std::string bundleName = "WriteTest"; variable 470 const std::string bundleName = "WriteTest"; variable [all …]
|
H A D | clouddisk_sync_helper_test.cpp | 69 string bundleName = ""; variable 84 string bundleName = "com.ohos.photos"; variable 99 string bundleName = ""; variable 114 string bundleName = "com.ohos.photos"; variable 129 string bundleName = ""; variable 144 string bundleName = "com.ohos.photos"; variable
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
H A D | network_set_manager_mock.cpp | 42 int32_t NetworkSetManager::QueryCellularConnect(int32_t userId, const std::string &bundleName) in QueryCellularConnect() 47 int32_t NetworkSetManager::QueryNetConnect(int32_t userId, const std::string &bundleName) in QueryNetConnect() 52 void NetworkSetManager::GetCellularConnect(const std::string &bundleName, const int32_t userId) in GetCellularConnect() 56 void NetworkSetManager::GetNetConnect(const std::string &bundleName, const int32_t userId) in GetNetConnect() 60 bool NetworkSetManager::GetConfigParams(const std::string &bundleName, int32_t userId) in GetConfigParams() 65 void NetworkSetManager::UnregisterObserver(const std::string &bundleName, const int32_t userId, con… in UnregisterObserver() 69 void NetworkSetManager::RegisterObserver(const std::string &bundleName, const int32_t userId, const… in RegisterObserver() 77 bool NetworkSetManager::IsAllowCellularConnect(const std::string &bundleName, const int32_t userId) in IsAllowCellularConnect() 85 bool NetworkSetManager::IsAllowNetConnect(const std::string &bundleName, const int32_t userId) in IsAllowNetConnect() 93 void NetworkSetManager::InitNetworkSetManager(const std::string &bundleName, const int32_t userId) in InitNetworkSetManager()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_status_callback_proxy.h | 47 virtual void OnBundleAdded(const std::string &bundleName, const int userId) override {}; in OnBundleAdded() 48 …virtual void OnBundleAdded(const std::string &bundleName, const int userId, const int32_t appIndex… in OnBundleAdded() 54 virtual void OnBundleUpdated(const std::string &bundleName, const int userId) override {}; in OnBundleUpdated() 55 …virtual void OnBundleUpdated(const std::string &bundleName, const int userId, const int32_t appInd… in OnBundleUpdated() 61 virtual void OnBundleRemoved(const std::string &bundleName, const int userId) override {}; in OnBundleRemoved() 62 …virtual void OnBundleRemoved(const std::string &bundleName, const int userId, const int32_t appInd… in OnBundleRemoved()
|
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/enterprise_admin_extension/ |
H A D | enterprise_admin_extension_ability.js | 23 onBundleAdded(bundleName) { argument 26 onBundleRemoved(bundleName) { argument 29 onAppStart(bundleName) { argument 32 onAppStop(bundleName) { argument
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/frameworks_common/bms_test/ |
H A D | bundle_info_query_test.cpp | 73 std::string bundleName = BUNDLE_NAME; variable 86 std::string bundleName = BUNDLE_NAME; variable 104 std::string bundleName = BUNDLE_NAME; variable 116 std::string bundleName = BUNDLE_NAME; variable 129 std::string bundleName = BUNDLE_NAME; variable 144 std::string bundleName = BUNDLE_NAME; variable 159 std::string bundleName = BUNDLE_NAME; variable 175 std::string bundleName = BUNDLE_NAME; variable
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_session_manager.cpp | 125 void SvcSessionManager::VerifyBundleName(string &bundleName) in VerifyBundleName() 229 void SvcSessionManager::RemoveExtInfo(const string &bundleName) in RemoveExtInfo() 308 auto callDied = [revPtr {reversePtr_}](const string &&bundleName) { in GetBackupSAExt() 340 const ErrCode &&errCode) { in GetBackupSAExt() 431 bool SvcSessionManager::GetSchedBundleName(string &bundleName) in GetSchedBundleName() 488 string SvcSessionManager::GetBackupExtName(const string &bundleName) in GetBackupExtName() 742 bool SvcSessionManager::StopFwkTimer(const std::string &bundleName) in StopFwkTimer() 783 bool SvcSessionManager::StopExtTimer(const std::string &bundleName) in StopExtTimer() 944 bool SvcSessionManager::GetClearDataFlag(const std::string &bundleName) in GetClearDataFlag() 1010 void SvcSessionManager::SetPublishFlag(const std::string &bundleName) in SetPublishFlag() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/include/ |
H A D | bundle_mgr_ext.h | 66 virtual ErrCode Uninstall(const std::string &bundleName) in Uninstall() 74 virtual ErrCode ClearData(const std::string &bundleName, int32_t userId) in ClearData() 78 …virtual ErrCode ClearCache(const std::string &bundleName, sptr<IRemoteObject> callback, int32_t us… in ClearCache() 82 virtual ErrCode GetUidByBundleName(const std::string &bundleName, int32_t userId, int32_t &uid) in GetUidByBundleName() 86 virtual ErrCode GetBundleNameByUid(int32_t uid, std::string &bundleName) in GetBundleNameByUid() 102 virtual ErrCode AddResourceInfoByBundleName(const std::string &bundleName, const int32_t userId) in AddResourceInfoByBundleName() 106 …virtual ErrCode AddResourceInfoByAbility(const std::string &bundleName, const std::string &moduleN… in AddResourceInfoByAbility() 120 virtual bool IsAppInBlocklist(const std::string &bundleName, const int32_t userId) in IsAppInBlocklist() 124 virtual bool CheckWhetherCanBeUninstalled(const std::string &bundleName) in CheckWhetherCanBeUninstalled() 151 …virtual void CheckBundleNameAndStratAbility(const std::string &bundleName, const std::string &appI… in CheckBundleNameAndStratAbility() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/extend_resource/ |
H A D | extend_resource_manager_interface.h | 32 const std::string &bundleName, const std::vector<std::string> &filePaths) in AddExtResource() 38 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource() 44 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource() 50 const std::string &bundleName, const std::string &moudleName) in EnableDynamicIcon() 55 virtual ErrCode DisableDynamicIcon(const std::string &bundleName) in DisableDynamicIcon() 60 virtual ErrCode GetDynamicIcon(const std::string &bundleName, std::string &moudleName) in GetDynamicIcon()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | sharing_center.cpp | 19 …int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &… in Share() 25 …int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &… in Unshare() 31 int32_t userId, const std::string &bundleName, const std::string &sharingRes) in Exit() 37 …int32_t userId, const std::string &bundleName, const std::string &sharingRes, const Participants &… in ChangePrivilege() 43 int32_t userId, const std::string &bundleName, const std::string &sharingRes) in Query() 49 int32_t userId, const std::string &bundleName, const std::string &invitation) in QueryByInvitation() 55 …int32_t userId, const std::string &bundleName, const std::string &invitation, int32_t confirmation) in ConfirmInvitation() 61 …int32_t userId, const std::string &bundleName, const std::string &sharingRes, int32_t confirmation) in ChangeConfirmation()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_notification_manager_test.cpp | 34 …const std::string &deviceId, const std::string &bundleName, sptr<NotificationRequest> &request) {}; in OnPublish() 66 std::string bundleName = "<bundleName>"; variable 83 std::string bundleName = "<bundleName>"; variable 100 std::string bundleName = "<bundleName>"; variable 117 std::string bundleName = "<bundleName>"; variable 134 std::string bundleName = "<bundleName>"; variable 152 std::string bundleName = "<bundleName>"; variable 170 std::string bundleName = "<bundleName>"; variable 339 const std::string bundleName = "<bundleName>"; variable 352 std::string bundleName = "<bundleName>"; variable [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 64 std::string BuildResourcePath(const std::string &bundleName) in BuildResourcePath() 74 const std::string &bundleName, in ConvertToExtendResourceInfo() 96 const std::string &bundleName, const std::vector<std::string> &filePaths) in AddExtResource() 181 const std::string &bundleName, in InnerSaveExtendResourceInfo() 202 const std::string &bundleName, in ParseExtendResourceFile() 271 const std::string &bundleName, InnerBundleInfo &info) in GetInnerBundleInfo() 381 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource() 419 const std::string &bundleName, const std::string &moduleName) in EnableDynamicIcon() 458 const std::string &bundleName, const std::string &moduleName) in SaveCurDynamicIcon() 470 const std::string &bundleName, bool isEnableDynamicIcon) in SendBroadcast() [all …]
|