Home
last modified time | relevance | path

Searched refs:BUNDLE_NAME (Results 1 – 25 of 273) sorted by relevance

1234567891011

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp599 bundleInfo.name = BUNDLE_NAME;
635 bundleInfo1.name = BUNDLE_NAME;
648 bundleInfo2.name = BUNDLE_NAME;
711 bundleInfo.name = BUNDLE_NAME;
807 bundleInfo.name = BUNDLE_NAME;
841 bundleInfo.name = BUNDLE_NAME;
875 bundleInfo.name = BUNDLE_NAME;
1433 bundleInfo.name = BUNDLE_NAME;
1460 bundleInfo.name = BUNDLE_NAME;
1487 bundleInfo.name = BUNDLE_NAME;
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
H A Dbms_bundle_sandbox_app_test.cpp38 const std::string BUNDLE_NAME = "com.example.l3jsdemo"; variable
606 CheckPathAreExisted(BUNDLE_NAME, APP_INDEX_1);
630 CheckPathAreExisted(BUNDLE_NAME, APP_INDEX_1);
655 CheckPathAreExisted(BUNDLE_NAME, APP_INDEX_1);
661 CheckPathAreExisted(BUNDLE_NAME, APP_INDEX_2);
1350 appInfo.bundleName = BUNDLE_NAME;
1389 appInfo.bundleName = BUNDLE_NAME;
1834 abilityInfo.bundleName = BUNDLE_NAME;
1862 abilityInfo.bundleName = BUNDLE_NAME;
1885 appInfo.bundleName = BUNDLE_NAME;
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_session_manager_test.cpp34 const string BUNDLE_NAME = "com.example.app2backup"; variable
74 bundleNames.emplace_back(BUNDLE_NAME); in Init()
241 string bundleName = BUNDLE_NAME;
865 EXPECT_EQ(bundleName, BUNDLE_NAME);
1004 sessionManagerPtr_->SetBackupExtName(BUNDLE_NAME, BUNDLE_NAME);
1006 EXPECT_EQ(extName, BUNDLE_NAME);
1068 string bundleName = BUNDLE_NAME;
1104 string bundleName = BUNDLE_NAME;
1226 sessionManagerPtr_->RemoveExtInfo(BUNDLE_NAME);
1230 sessionManagerPtr_->RemoveExtInfo(BUNDLE_NAME);
[all …]
H A 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()
106 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::FINISH);
108 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::WAIT);
111 schedPtr_->RemoveExtConn(BUNDLE_NAME);
163 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::START);
164 schedPtr_->ExecutingQueueTasks(BUNDLE_NAME);
165 … sessionManagerPtr_->SetServiceSchedAction(BUNDLE_NAME, BConstants::ServiceSchedAction::RUNNING);
166 schedPtr_->ExecutingQueueTasks(BUNDLE_NAME);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
H A Dbundle_mgr_sandbox_app_system_test.cpp365 CheckPathAreExisted(BUNDLE_NAME, appIndex1);
366 CheckSandboxAppInfo(BUNDLE_NAME, appIndex1);
369 UninstallBundle(BUNDLE_NAME, uninstallMsg);
406 UninstallBundle(BUNDLE_NAME, uninstallMsg);
509 UninstallBundle(BUNDLE_NAME, uninstallMsg);
552 UninstallBundle(BUNDLE_NAME, uninstallMsg);
596 UninstallBundle(BUNDLE_NAME, uninstallMsg);
641 UninstallBundle(BUNDLE_NAME, uninstallMsg);
676 UninstallBundle(BUNDLE_NAME, uninstallMsg);
710 UninstallBundle(BUNDLE_NAME, uninstallMsg);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_switcher_test/
H A Dbms_bundle_quick_fix_switcher_test.cpp327 ret = UninstallBundle(BUNDLE_NAME);
352 DeleteInnerAppQuickFix(BUNDLE_NAME);
376 DeleteInnerAppQuickFix(BUNDLE_NAME);
408 CheckResult(callback, BUNDLE_NAME, ERR_OK);
410 ret = UninstallBundle(BUNDLE_NAME);
451 ret = UninstallBundle(BUNDLE_NAME);
503 ret = UninstallBundle(BUNDLE_NAME);
536 CheckResult(callback, BUNDLE_NAME, ERR_OK);
538 ret = UninstallBundle(BUNDLE_NAME);
562 DeleteInnerAppQuickFix(BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/
H A Dbms_bundle_quick_fix_query_test.cpp136 bundleInfo.name = BUNDLE_NAME; in MockInstallBundleInfo()
141 applicationInfo.name = BUNDLE_NAME; in MockInstallBundleInfo()
144 userInfo.bundleName = BUNDLE_NAME; in MockInstallBundleInfo()
241 appQuickFix.bundleName = BUNDLE_NAME; in MockDeployQuickFix()
266 quickFixMgr->DeleteInnerAppQuickFix(BUNDLE_NAME); in MockDeleteQuickFix()
285 EXPECT_EQ(BUNDLE_NAME, result.name);
308 EXPECT_EQ(BUNDLE_NAME, result.name);
332 EXPECT_EQ(BUNDLE_NAME, result.name);
357 EXPECT_EQ(BUNDLE_NAME, result.name);
381 EXPECT_EQ(BUNDLE_NAME, result.name);
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
H A 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()
1458 std::string bundleName = BUNDLE_NAME;
1486 std::string bundleName = BUNDLE_NAME;
1515 std::string bundleName = BUNDLE_NAME;
1544 std::string bundleName = BUNDLE_NAME;
1568 std::string bundleName = BUNDLE_NAME;
1596 std::string bundleName = BUNDLE_NAME;
[all …]
H A 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};
334 BFileInfo bFileInfoTemp {BUNDLE_NAME, "", sn};
451 BFileInfo bFileInfoTemp {BUNDLE_NAME, "", sn};
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbm_install_multi_user_test.cpp265 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
304 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
343 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
382 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
421 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
460 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
500 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
540 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
579 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
613 UninstallBundle(BUNDLE_NAME, Constants::ALL_USERID);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_driver_test.cpp307 CheckModuleDirNonExist(BUNDLE_NAME);
329 CheckModuleDirNonExist(BUNDLE_NAME);
352 CheckModuleDirNonExist(BUNDLE_NAME);
441 CheckModuleDirNonExist(BUNDLE_NAME);
466 CheckModuleDirNonExist(BUNDLE_NAME);
489 CheckModuleDirNonExist(BUNDLE_NAME);
513 CheckModuleDirNonExist(BUNDLE_NAME);
605 CheckModuleDirNonExist(BUNDLE_NAME);
628 CheckModuleDirNonExist(BUNDLE_NAME);
650 CheckModuleDirNonExist(BUNDLE_NAME);
[all …]
H A Dbms_bundle_app_service_fwk_installer.cpp470 DeleteBundleInfo(BUNDLE_NAME);
506 DeleteBundleInfo(BUNDLE_NAME);
688 DeleteBundleInfo(BUNDLE_NAME);
689 DeletePreBundleInfo(BUNDLE_NAME);
714 DeleteBundleInfo(BUNDLE_NAME);
715 DeletePreBundleInfo(BUNDLE_NAME);
741 DeleteBundleInfo(BUNDLE_NAME);
742 DeletePreBundleInfo(BUNDLE_NAME);
771 DeleteBundleInfo(BUNDLE_NAME);
772 DeletePreBundleInfo(BUNDLE_NAME);
[all …]
H A Dbms_multiple_installer_test.cpp337 ClearBundleInfo(BUNDLE_NAME);
429 ClearBundleInfo(BUNDLE_NAME);
472 ClearBundleInfo(BUNDLE_NAME);
495 ClearBundleInfo(BUNDLE_NAME);
561 ClearBundleInfo(BUNDLE_NAME);
764 ClearBundleInfo(BUNDLE_NAME);
795 ClearBundleInfo(BUNDLE_NAME);
842 ClearBundleInfo(BUNDLE_NAME);
871 ClearBundleInfo(BUNDLE_NAME);
1023 ClearBundleInfo(BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/
H A 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);
93 moduleNames.push_back(BUNDLE_NAME);
112 res = extendResource.GetExtResource(BUNDLE_NAME, moduleNames);
133 moduleNames.push_back(BUNDLE_NAME);
151 res = extendResource.DisableDynamicIcon(BUNDLE_NAME);
169 res = extendResource.GetDynamicIcon(BUNDLE_NAME, moduleName);
188 res = extendResource.CreateFd(BUNDLE_NAME, fd, path);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_group_test/
H A Dbms_bundle_data_group_test.cpp148 auto iter = bundleInfos.find(BUNDLE_NAME);
150 bundleInfos.emplace(BUNDLE_NAME, info);
157 bundleInfos.erase(BUNDLE_NAME);
178 auto iter = bundleInfos.find(BUNDLE_NAME);
180 bundleInfos.emplace(BUNDLE_NAME, info);
190 bundleInfos.erase(BUNDLE_NAME);
219 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info);
243 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info);
268 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info);
297 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp315 UninstallBundleInfo(BUNDLE_NAME);
337 UninstallBundleInfo(BUNDLE_NAME);
359 UninstallBundleInfo(BUNDLE_NAME);
383 UninstallBundleInfo(BUNDLE_NAME);
419 UninstallBundleInfo(BUNDLE_NAME);
439 UninstallBundleInfo(BUNDLE_NAME);
461 UninstallBundleInfo(BUNDLE_NAME);
497 UninstallBundleInfo(BUNDLE_NAME);
517 UninstallBundleInfo(BUNDLE_NAME);
539 UninstallBundleInfo(BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_verifymanager_test/
H A Dbms_bundle_verifymanager_test.cpp38 const std::string BUNDLE_NAME = "com.ohos.launcher"; variable
136 std::string fileName = BUNDLE_NAME;
153 std::string fileName = BUNDLE_NAME;
162 abcNames.push_back(BUNDLE_NAME);
163 ret = impl.MoveAbc(BUNDLE_NAME, abcNames);
166 ret = impl.MoveAbc(BUNDLE_NAME, abcPaths);
171 ret = impl.MoveAbc(BUNDLE_NAME, abcPaths);
193 std::string fileName = BUNDLE_NAME;
199 auto ret1 = impl.InnerVerify(BUNDLE_NAME, abcPaths);
211 auto ret = impl.DeleteAbc(BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_boot_scanner_test/
H A Dbms_bundle_quick_fix_boot_scanner_test.cpp291 CheckQuickFixInfo(BUNDLE_NAME, 0);
303 ret = UninstallBundle(BUNDLE_NAME);
319 CheckQuickFixInfo(BUNDLE_NAME, 0);
331 ret = UninstallBundle(BUNDLE_NAME);
347 AddInnerBundleInfo(BUNDLE_NAME);
348 CheckQuickFixInfo(BUNDLE_NAME, 1);
363 ret = UninstallBundle(BUNDLE_NAME);
392 ret = UninstallBundle(BUNDLE_NAME);
421 ret = UninstallBundle(BUNDLE_NAME);
451 ret = UninstallBundle(BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp45 const std::string BUNDLE_NAME = "bundlName"; variable
829 std::string ret = bundleMgrHostImpl_->GetAppType(BUNDLE_NAME);
1257 int ret = impl.CreateStream(BUNDLE_NAME);
1272 int ret = impl.CreateSharedBundleStream(BUNDLE_NAME, UID);
1573 element.bundleName = BUNDLE_NAME;
1578 element.moduleName = BUNDLE_NAME;
1583 element.abilityName = BUNDLE_NAME;
1584 element.extensionName = BUNDLE_NAME;
1598 element.bundleName = BUNDLE_NAME;
1599 element.moduleName = BUNDLE_NAME;
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_manager_test/
H A Dbms_bundle_resource_manager_test.cpp34 const std::string BUNDLE_NAME = "com.ohos.resourcedemo"; variable
101 UnInstallBundle(BUNDLE_NAME); in TearDown()
185 BUNDLE_NAME, MODULE_NAME, APP_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
201 BUNDLE_NAME, MODULE_NAME, ABILITY_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
205 BUNDLE_NAME, MODULE_NAME, DESCRIPTION_ID, USER_ID, Constants::EMPTY_STRING);
239 BUNDLE_NAME, "", ABILITY_LABEL_ID, USER_ID, Constants::EMPTY_STRING);
256 BUNDLE_NAME, MODULE_NAME, 0, USER_ID, Constants::EMPTY_STRING);
273 BUNDLE_NAME, MODULE_NAME, ABILITY_LABEL_ID, 0, Constants::EMPTY_STRING);
400 dataMgr->GetIconById(BUNDLE_NAME, MODULE_NAME, ABILITY_ICON_ID, 0, USER_ID);
416 dataMgr->GetIconById(BUNDLE_NAME, MODULE_NAME, ABILITY_ICON_ID, 0, -1);
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_bundle_forbid_mgr_test/
H A Dform_bundle_forbid_mgr_test.cpp22 const std::string BUNDLE_NAME = "com.example.test"; variable
34 element.SetBundleName(BUNDLE_NAME); in SetUp()
48 formbundleforbidmgr.SetBundleForbiddenStatus(BUNDLE_NAME, false);
49 bool forbid = formbundleforbidmgr.IsBundleForbidden(BUNDLE_NAME);
60 formbundleforbidmgr.SetBundleForbiddenStatus(BUNDLE_NAME, true);
61 bool forbid = formbundleforbidmgr.IsBundleForbidden(BUNDLE_NAME);
63 formbundleforbidmgr.SetBundleForbiddenStatus(BUNDLE_NAME, false);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/continue/
H A Ddsched_continue_manager_test.cpp39 const std::string BUNDLE_NAME = "com.ohos.permissionmanager"; variable
154 DSchedContinueInfo("", BUNDLE_NAME, "", BUNDLE_NAME, CONTINUETYPE),
159 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, "", BUNDLE_NAME, CONTINUETYPE),
164 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, REMOTE_DEVICEID, BUNDLE_NAME, CONTINUETYPE),
170 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, REMOTE_DEVICEID, BUNDLE_NAME, CONTINUETYPE),
177 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, locDevId, BUNDLE_NAME, CONTINUETYPE),
182 DSchedContinueInfo(locDevId, BUNDLE_NAME, REMOTE_DEVICEID, BUNDLE_NAME, CONTINUETYPE),
199 DSchedContinueInfo("", BUNDLE_NAME, REMOTE_DEVICEID, BUNDLE_NAME, CONTINUETYPE),
202 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, "", BUNDLE_NAME, CONTINUETYPE),
205 DSchedContinueInfo(LOCAL_DEVICEID, BUNDLE_NAME, REMOTE_DEVICEID, BUNDLE_NAME, CONTINUETYPE),
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
H A Dbms_bundle_app_provision_info_test.cpp50 const std::string BUNDLE_NAME = "com.example.bmsaccesstoken1"; variable
266 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
289 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
312 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
787 installer.SaveInstallParamInfo(BUNDLE_NAME, installParam);
804 installer.SaveInstallParamInfo(BUNDLE_NAME, installParam);
825 installer.SaveInstallParamInfo(BUNDLE_NAME, installParam);
1211 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
1244 ErrCode unInstallResult = UnInstallBundle(BUNDLE_NAME);
1506 EXPECT_EQ(info.name, BUNDLE_NAME);
[all …]
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/moduletest/
H A Dapp_domain_verify_mgr_module_test.cpp52 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyOK()
63 std::string bundleName = BUNDLE_NAME; in InvokeSingleVerifyFail()
107 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
132 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
157 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
161 abilityInfo.bundleName = BUNDLE_NAME;
168 ASSERT_TRUE(filtedAbilityInfos[0].bundleName == BUNDLE_NAME);
188 appDomainVerifyMgrService_->VerifyDomain(APP_IDENTIFIER, BUNDLE_NAME, FINGERPRINT, skillUris);
193 abilityInfo.bundleName = BUNDLE_NAME;
211 want.SetElementName(BUNDLE_NAME, "MainAbility");
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/
H A Dbms_bundle_resource_test.cpp1375 resourceInfo.label_ = BUNDLE_NAME;
1404 resourceInfo.label_ = BUNDLE_NAME;
2634 bundleInfo.name = BUNDLE_NAME;
2666 bundleInfo.name = BUNDLE_NAME;
3102 info.label_ = BUNDLE_NAME;
3353 EXPECT_EQ(key, BUNDLE_NAME);
3381 key = "_" + BUNDLE_NAME;
3386 key = "a1_" + BUNDLE_NAME;
3391 key = "a1" + BUNDLE_NAME;
3396 key = "100_" + BUNDLE_NAME;
[all …]

1234567891011