Home
last modified time | relevance | path

Searched full:bundle_name (Results 1 – 25 of 246) sorted by relevance

12345678910

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
Dbms_data_mgr_test.cpp38 const std::string BUNDLE_NAME = "com.example.l3jsdemo"; variable
101 dataMgr_->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_SUCCESS); in TearDown()
109 abilityInfo.bundleName = BUNDLE_NAME; in GetDefaultAbilityInfo()
141 bool ret1 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
142 bool ret2 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
157 bool ret1 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
158 bool ret2 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_SUCCESS);
159 bool ret3 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UPDATING_START);
160 bool ret4 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UPDATING_FAIL);
177 bool ret1 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
Dbms_bundle_sandbox_app_test.cpp38 const std::string BUNDLE_NAME = "com.example.l3jsdemo"; variable
416 auto ret = InstallSandboxApp(BUNDLE_NAME, INVALID_DLP_TYPE, USERID, appIndex);
419 auto uninstallRes = UninstallBundle(BUNDLE_NAME);
438 auto ret = InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_3, USERID, appIndex);
441 auto uninstallRes = UninstallBundle(BUNDLE_NAME);
460 auto ret = InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, INVALID_USERID, appIndex);
463 auto uninstallRes = UninstallBundle(BUNDLE_NAME);
510 auto ret = InstallSandboxApp(BUNDLE_NAME, INVALID_DLP_TYPE, INVALID_USERID, appIndex);
513 auto uninstallRes = UninstallBundle(BUNDLE_NAME);
558 auto ret = InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, INVALID_USERID, appIndex);
[all …]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
Dbundle_mgr_sandbox_app_system_test.cpp47 const std::string BUNDLE_NAME = "com.example.ohosproject.hmservice"; variable
361 …ErrCode ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, appIndex);
365 CheckPathAreExisted(BUNDLE_NAME, appIndex1);
366 CheckSandboxAppInfo(BUNDLE_NAME, appIndex1);
369 UninstallBundle(BUNDLE_NAME, uninstallMsg);
372 CheckPathAreNonExisted(BUNDLE_NAME, appIndex1);
392 …ErrCode ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, appIndex);
395 CheckPathAreExisted(BUNDLE_NAME, Constants::INITIAL_SANDBOX_APP_INDEX + 1);
396 CheckSandboxAppInfo(BUNDLE_NAME, Constants::INITIAL_SANDBOX_APP_INDEX + 1);
399 … ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, secondAppIndex);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/
Dbms_bundle_quick_fix_query_test.cpp35 const std::string BUNDLE_NAME = "com.example.quickfix_query_test"; variable
136 bundleInfo.name = BUNDLE_NAME; in MockInstallBundleInfo()
141 applicationInfo.name = BUNDLE_NAME; in MockInstallBundleInfo()
144 userInfo.bundleName = BUNDLE_NAME; in MockInstallBundleInfo()
155 bool startRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START); in MockInstallBundleInfo()
156 bool addRet = dataMgr->AddInnerBundleInfo(BUNDLE_NAME, innerBundleInfo); in MockInstallBundleInfo()
157 bool endRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_SUCCESS); in MockInstallBundleInfo()
168 bool startRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_START); in MockUninstallBundleInfo()
169 … bool finishRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_SUCCESS); in MockUninstallBundleInfo()
181 auto ret = quickFixMgr->QueryInnerAppQuickFix(BUNDLE_NAME, innerAppQuickFix); in MockEnableQuickFix()
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_switcher_test/
Dbms_bundle_quick_fix_switcher_test.cpp40 const std::string BUNDLE_NAME = "com.example.l3jsdemo"; variable
260 ErrCode result = quickFixHost->SwitchQuickFix(BUNDLE_NAME, false, nullptr);
275 ErrCode result = quickFixHost->SwitchQuickFix(BUNDLE_NAME, true, nullptr);
292 ErrCode result = quickFixHost->SwitchQuickFix(BUNDLE_NAME, true, callback);
294 CheckResult(callback, BUNDLE_NAME, ERR_BUNDLEMANAGER_QUICK_FIX_NO_PATCH_IN_DATABASE);
316 …bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO…
325 ret = UninstallBundle(BUNDLE_NAME);
341 …InnerAppQuickFix innerAppQuickFix = GenerateAppQuickFixInfo(BUNDLE_NAME, QuickFixStatus::SWITCH_EN…
346 ErrCode result = quickFixHost->SwitchQuickFix(BUNDLE_NAME, true, callback);
348 CheckResult(callback, BUNDLE_NAME, ERR_BUNDLEMANAGER_QUICK_FIX_INVALID_PATCH_STATUS);
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
Dcloud_service.rs57 .insert(cloud_app_info.bundle_name.clone(), cloud_app_info); in get_service_info()
63 pub fn get_app_schema(&mut self, bundle_name: &str) -> SyncResult<SchemaMeta> { in get_app_schema()
64 let schema_ipc = self.connect.get_app_schema(self.user_id, bundle_name)?; in get_app_schema()
76 for (bundle_name, dbmetas) in dbs { in subscribe()
83 let ret = self.connect.subscribe(expire, bundle_name, &dbs_ipc)?; in subscribe()
87 bundle_name: bundle_name.clone(), in subscribe()
115 bundle_name: String, field
123 bundle_name: "".to_string(), in default()
136 pub fn bundle_name(&self) -> &str { in bundle_name() method
137 &self.bundle_name in bundle_name()
[all …]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
Dbm_install_multi_user_test.cpp37 const std::string BUNDLE_NAME = "com.example.internalOverlayTest1"; variable
258 …bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERI…
262 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId);
265 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
297 …bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERI…
301 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId);
304 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
336 …bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERI…
340 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId);
343 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
[all …]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/
Dextend_resource_manager_proxy_test.cpp24 const std::string BUNDLE_NAME = "ExtendResourceManagerProxyTest"; variable
68 res = extendResource.AddExtResource(BUNDLE_NAME, filePaths);
71 filePaths.push_back(BUNDLE_NAME);
72 res = extendResource.AddExtResource(BUNDLE_NAME, filePaths);
90 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames);
93 moduleNames.push_back(BUNDLE_NAME);
94 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames);
112 res = extendResource.GetExtResource(BUNDLE_NAME, moduleNames);
130 res = extendResource.EnableDynamicIcon(BUNDLE_NAME, EMPTY_STRING);
133 moduleNames.push_back(BUNDLE_NAME);
[all …]
/foundation/ability/ability_runtime/test/unittest/app_exit_reason_data_manager_test/
Dapp_exit_reason_data_manager_test.cpp30 const std::string BUNDLE_NAME = "bundle.name"; variable
53 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME); in SetUp()
68 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, SESSION_ID);
72 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, SESSION_ID);
85 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME);
89 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, SESSION_ID);
92 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME);
138 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, hasRecoverInfo);
143 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, SESSION_ID);
146 BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, hasRecoverInfo);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
Dbms_bundle_free_install_test.cpp54 const std::string BUNDLE_NAME = "com.example.freeInstall"; variable
305 AddInnerBundleInfo(BUNDLE_NAME, 0);
315 UninstallBundleInfo(BUNDLE_NAME);
327 AddInnerBundleInfo(BUNDLE_NAME, 0);
332 ErrCode ret = bundleMgr->IsModuleRemovable(BUNDLE_NAME, MODULE_NAME_NOT_EXIST, isRemovable);
337 UninstallBundleInfo(BUNDLE_NAME);
349 AddInnerBundleInfo(BUNDLE_NAME, 0);
354 ErrCode ret = bundleMgr->IsModuleRemovable(BUNDLE_NAME, MODULE_NAME_TEST, isRemovable);
359 UninstallBundleInfo(BUNDLE_NAME);
371 AddInnerBundleInfo(BUNDLE_NAME, 0);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_verifymanager_test/
Dbms_bundle_verifymanager_test.cpp37 const std::string BUNDLE_NAME = "com.ohos.launcher"; variable
135 std::string fileName = BUNDLE_NAME;
152 std::string fileName = BUNDLE_NAME;
161 abcNames.push_back(BUNDLE_NAME);
162 ret = impl.MoveAbc(BUNDLE_NAME, abcNames);
165 ret = impl.MoveAbc(BUNDLE_NAME, abcPaths);
170 ret = impl.MoveAbc(BUNDLE_NAME, abcPaths);
192 std::string fileName = BUNDLE_NAME;
198 auto ret1 = impl.InnerVerify(BUNDLE_NAME, abcPaths);
210 auto ret = impl.DeleteAbc(BUNDLE_NAME);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
Dbms_bundle_install_driver_test.cpp46 const std::string BUNDLE_NAME = "com.example.driverTest"; variable
304 result = UninstallBundle(BUNDLE_NAME);
307 CheckModuleDirNonExist(BUNDLE_NAME);
326 result = UninstallBundle(BUNDLE_NAME);
329 CheckModuleDirNonExist(BUNDLE_NAME);
349 result = UninstallBundle(BUNDLE_NAME);
352 CheckModuleDirNonExist(BUNDLE_NAME);
433 …std::string filePath = DRIVER_FILE_DIR + BUNDLE_NAME + PATH_UNDERLIND + MODULE_NAME_FEATURE6 + PAT…
438 result = UninstallBundle(BUNDLE_NAME);
441 CheckModuleDirNonExist(BUNDLE_NAME);
[all …]
Dbms_bundle_app_service_fwk_installer.cpp53 const std::string BUNDLE_NAME = "com.example.appService"; variable
456 applicationInfo.bundleName = BUNDLE_NAME;
458 AddBundleInfo(BUNDLE_NAME, newInfo);
460 appServiceFwkInstaller.bundleName_ = BUNDLE_NAME;
468 DeleteBundleInfo(BUNDLE_NAME);
484 applicationInfo.bundleName = BUNDLE_NAME;
487 AddBundleInfo(BUNDLE_NAME, innerBundleInfo);
493 bool getRes = dataMgr->FetchInnerBundleInfo(BUNDLE_NAME, newInfo);
496 appServiceFwkInstaller.bundleName_ = BUNDLE_NAME;
504 DeleteBundleInfo(BUNDLE_NAME);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
Dbms_bundle_app_provision_info_test.cpp48 const std::string BUNDLE_NAME = "com.example.bmsaccesstoken1"; variable
236 ErrCode result = dataMgr->GetAppProvisionInfo(BUNDLE_NAME, USERID, appProvisionInfo);
255 ErrCode result = dataMgr->GetAppProvisionInfo(BUNDLE_NAME, WAIT_TIME, appProvisionInfo);
259 result = dataMgr->GetAppProvisionInfo(BUNDLE_NAME, USERID, appProvisionInfo);
263 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
282 ErrCode result = dataMgr->GetAppProvisionInfo(BUNDLE_NAME, WAIT_TIME, appProvisionInfo);
286 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
305 ErrCode result = dataMgr->GetAppProvisionInfo(BUNDLE_NAME, USERID, appProvisionInfo);
309 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
326 …ol ret = DelayedSingleton<AppProvisionInfoManager>::GetInstance()->AddAppProvisionInfo(BUNDLE_NAME,
[all …]
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
Dservice_reverse_test.cpp37 const string BUNDLE_NAME = "com.example.app2backup"; variable
55 EXPECT_EQ(fileInfo.owner, BUNDLE_NAME); in OnFileReadyTest()
62 EXPECT_EQ(name, BUNDLE_NAME); in OnBundleStartedTest()
68 EXPECT_EQ(name, BUNDLE_NAME); in OnBundleFinishedTest()
182 service_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, -1, 0);
183 service_->RestoreOnFileReady(BUNDLE_NAME, FILE_NAME, -1);
205 service_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, -1, 0);
227 service_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, -1, 0);
249 service_->BackupOnBundleStarted(BError(BError::Codes::OK), BUNDLE_NAME);
250 service_->RestoreOnBundleStarted(BError(BError::Codes::OK), BUNDLE_NAME);
[all …]
Db_file_info_test.cpp26 const string BUNDLE_NAME = "com.example.app2backup"; variable
50 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, -1);
92 BFileInfo bFileInfo(BUNDLE_NAME, fileName, -1);
111 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, sn);
171 BFileInfo bFileInfo(BUNDLE_NAME, fileName, sn);
210 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, -1);
233 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, -1);
239 BFileInfo bFileInfoTemp {BUNDLE_NAME, "", -1};
256 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, -1);
263 BFileInfo bFileInfoTemp {BUNDLE_NAME, FILE_NAME, sn};
[all …]
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
Dsvc_session_manager_test.cpp34 const string BUNDLE_NAME = "com.example.app2backup"; variable
74 bundleNames.emplace_back(BUNDLE_NAME); in Init()
188 string bundleName = BUNDLE_NAME;
210 string bundleName = BUNDLE_NAME;
347 bool condition = sessionManagerPtr_->OnBunleFileReady(BUNDLE_NAME);
371 bool condition = sessionManagerPtr_->OnBunleFileReady(BUNDLE_NAME);
417 bool condition = sessionManagerPtr_->OnBunleFileReady(BUNDLE_NAME);
516 sessionManagerPtr_->SetExtFileNameRequest(BUNDLE_NAME, FILE_NAME);
517 auto fileNameVec = sessionManagerPtr_->GetExtFileNameRequest(BUNDLE_NAME);
541 sessionManagerPtr_->SetExtFileNameRequest(BUNDLE_NAME, FILE_NAME);
[all …]
Dsched_scheduler_test.cpp33 const string BUNDLE_NAME = "com.example.app2backup"; variable
70 bundleNames.emplace_back(BUNDLE_NAME); in Init()
73 info.backupExtName = BUNDLE_NAME; in Init()
104 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::FINISH);
106 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::WAIT);
109 schedPtr_->RemoveExtConn(BUNDLE_NAME);
135 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::START);
136 schedPtr_->ExecutingQueueTasks(BUNDLE_NAME);
137 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::RUNNING);
138 schedPtr_->ExecutingQueueTasks(BUNDLE_NAME);
/foundation/ability/ability_runtime/
Dhisysevent.yaml84 BUNDLE_NAME: {type: STRING, desc: bundle name}
92 BUNDLE_NAME: {type: STRING, desc: bundle name}
100 BUNDLE_NAME: {type: STRING, desc: bundle name}
108 BUNDLE_NAME: {type: STRING, desc: bundle name}
116 BUNDLE_NAME: {type: STRING, desc: bundle name}
124 BUNDLE_NAME: {type: STRING, desc: bundle name}
133 BUNDLE_NAME: {type: STRING, desc: bundle name}
142 BUNDLE_NAME: {type: STRING, desc: bundle name}
147 BUNDLE_NAME: {type: STRING, desc: bundle name}
155 BUNDLE_NAME: {type: STRING, desc: bundle name}
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_boot_scanner_test/
Dbms_bundle_quick_fix_boot_scanner_test.cpp46 const std::string BUNDLE_NAME = "com.example.l3jsdemo"; variable
290 CheckQuickFixInfo(BUNDLE_NAME, 0);
292 …InnerAppQuickFix innerAppQuickFix = GenerateAppQuickFixInfo(BUNDLE_NAME, QuickFixStatus::DEPLOY_EN…
302 ret = UninstallBundle(BUNDLE_NAME);
318 CheckQuickFixInfo(BUNDLE_NAME, 0);
320 …InnerAppQuickFix innerAppQuickFix = GenerateAppQuickFixInfo(BUNDLE_NAME, QuickFixStatus::SWITCH_EN…
330 ret = UninstallBundle(BUNDLE_NAME);
346 AddInnerBundleInfo(BUNDLE_NAME);
347 CheckQuickFixInfo(BUNDLE_NAME, 1);
349 …InnerAppQuickFix innerAppQuickFix = GenerateAppQuickFixInfo(BUNDLE_NAME, QuickFixStatus::SWITCH_DI…
[all …]
/foundation/bundlemanager/app_domain_verify/test/unittest/moduletest/
Dapp_domain_verify_mgr_module_test.cpp51 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyOK()
61 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyFail()
103 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
105 …auto queryRes = appDomainVerifyMgrService_->QueryDomainVerifyStatus(BUNDLE_NAME, domainVerificatio…
128 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
130 …auto queryRes = appDomainVerifyMgrService_->QueryDomainVerifyStatus(BUNDLE_NAME, domainVerificatio…
153 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
157 abilityInfo.bundleName = BUNDLE_NAME;
164 ASSERT_TRUE(filtedAbilityInfos[0].bundleName == BUNDLE_NAME);
184 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
[all …]
/foundation/bundlemanager/app_domain_verify/test/unittest/services/
Dapp_domain_verify_mgr_module_test.cpp51 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyOK()
61 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyFail()
103 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
105 …auto queryRes = appDomainVerifyMgrService_->QueryDomainVerifyStatus(BUNDLE_NAME, domainVerificatio…
128 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
130 …auto queryRes = appDomainVerifyMgrService_->QueryDomainVerifyStatus(BUNDLE_NAME, domainVerificatio…
153 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
157 abilityInfo.bundleName = BUNDLE_NAME;
164 ASSERT_TRUE(filtedAbilityInfos[0].bundleName == BUNDLE_NAME);
184 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_manager_test/
Dbms_bundle_resource_manager_test.cpp34 const std::string BUNDLE_NAME = "com.ohos.resourcedemo"; variable
101 UnInstallBundle(BUNDLE_NAME); in TearDown()
184 BUNDLE_NAME, MODULE_NAME, APP_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
200 BUNDLE_NAME, MODULE_NAME, ABILITY_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
204 BUNDLE_NAME, MODULE_NAME, DESCRIPTION_ID, USER_ID, Constants::EMPTY_STRING);
238 BUNDLE_NAME, "", ABILITY_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
255 BUNDLE_NAME, MODULE_NAME, 0, USER_ID, Constants::EMPTY_STRING);
272 BUNDLE_NAME, MODULE_NAME, ABILITY_LABEL_ID, 0, Constants::EMPTY_STRING);
287 … std::string iconBase64 = dataMgr->GetIconById(BUNDLE_NAME, MODULE_NAME, APP_ICON_ID, 0, USER_ID);
303 dataMgr->GetIconById(BUNDLE_NAME, MODULE_NAME, ABILITY_ICON_ID, DENSITY_120_STR, USER_ID);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
Dbms_bundle_permission_false_test.cpp45 const std::string BUNDLE_NAME = "bundlName"; variable
135 bool ret = bundleMgrHostImpl_->GetApplicationInfo(BUNDLE_NAME, FLAGS, USERID, appInfo);
148 ErrCode ret = bundleMgrHostImpl_->GetApplicationInfoV9(BUNDLE_NAME, FLAGS, USERID, appInfo);
187 bool ret = bundleMgrHostImpl_->GetBundleInfo(BUNDLE_NAME, FLAGS, bundleInfo, USERID);
200 ErrCode ret = bundleMgrHostImpl_->GetBaseSharedBundleInfos(BUNDLE_NAME, baseSharedBundleInfos);
213 ErrCode ret = bundleMgrHostImpl_->GetBundleInfoV9(BUNDLE_NAME, FLAGS, bundleInfo, USERID);
226 ErrCode ret = bundleMgrHostImpl_->GetBundlePackInfo(BUNDLE_NAME, FLAGS, bundlePackInfo, USERID);
278 bool ret = bundleMgrHostImpl_->GetBundleInfosByMetaData(BUNDLE_NAME, bundleInfos);
391 bool ret = bundleMgrHostImpl_->QueryAbilityInfoByUri(BUNDLE_NAME, abilityInfo);
404 bool ret = bundleMgrHostImpl_->QueryAbilityInfoByUri(BUNDLE_NAME, USERID, abilityInfo);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_group_test/
Dbms_bundle_data_group_test.cpp36 const std::string BUNDLE_NAME = "com.example.demo.testDataGroup"; variable
151 installer.dataMgr_->bundleInfos_.emplace(BUNDLE_NAME, oldInfo);
163 installer.dataMgr_->bundleInfos_.erase(BUNDLE_NAME);
208 auto result = installer.RemoveDataGroupDirs(BUNDLE_NAME, USERID);
222 auto result = installer.RemoveDataGroupDirs(BUNDLE_NAME, USERID);
243 auto iter = bundleInfos.find(BUNDLE_NAME);
245 bundleInfos.emplace(BUNDLE_NAME, info);
249 ErrCode ret = installer.RemoveDataGroupDirs(BUNDLE_NAME, USERID);
252 bundleInfos.erase(BUNDLE_NAME);
273 auto iter = bundleInfos.find(BUNDLE_NAME);
[all …]

12345678910