/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/ |
H A D | bms_bundle_sandbox_app_test.cpp | 1423 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME_INVALID, APP_INDEX_1, USERID, info); in HWTEST_F() local 1424 EXPECT_EQ(testRet, ERR_APPEXECFWK_SANDBOX_INSTALL_PARAM_ERROR); in HWTEST_F() 1452 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, INVALID_APP_INDEX, USERID, info); in HWTEST_F() local 1453 EXPECT_EQ(testRet, ERR_APPEXECFWK_SANDBOX_INSTALL_PARAM_ERROR); in HWTEST_F() 1481 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, INVALID_USERID, info); in HWTEST_F() local 1482 EXPECT_EQ(testRet, ERR_APPEXECFWK_SANDBOX_INSTALL_NOT_INSTALLED_AT_SPECIFIED_USERID); in HWTEST_F() 1510 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME_INVALID, APP_INDEX_1, INVALID_USERID, info); in HWTEST_F() local 1511 EXPECT_EQ(testRet, ERR_APPEXECFWK_SANDBOX_INSTALL_PARAM_ERROR); in HWTEST_F() 1539 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, INVALID_APP_INDEX, INVALID_USERID, info); in HWTEST_F() local 1540 EXPECT_EQ(testRet, ERR_APPEXECFWK_SANDBOX_INSTALL_PARAM_ERRO in HWTEST_F() 1568 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME_INVALID, INVALID_APP_INDEX, INVALID_USERID, info); HWTEST_F() local 1584 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, USERID, info); HWTEST_F() local 1603 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, USERID, info); HWTEST_F() local 1632 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, INVALID_USERID, info); HWTEST_F() local 1661 auto testRet = GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, USERID, info); HWTEST_F() local 1691 auto testRet = bundleSandboxAppHelper->GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, USERID, info); HWTEST_F() local 1714 auto testRet = bundleSandboxAppHelper->GetSandboxAppBundleInfo(BUNDLE_NAME, APP_INDEX_1, USERID, info); HWTEST_F() local 1769 ErrCode testRet = GetSandboxHapModuleInfo(abilityInfo, appIndex, USERID, info); HWTEST_F() local 1788 ErrCode testRet = GetSandboxHapModuleInfo(abilityInfo, appIndex, USERID, info); HWTEST_F() local 1808 ErrCode testRet = GetSandboxHapModuleInfo(abilityInfo, appIndex, Constants::INITIAL_SANDBOX_APP_INDEX, info); HWTEST_F() local 1838 ErrCode testRet = bundleSandboxAppHelper->GetSandboxHapModuleInfo(abilityInfo, appIndex, USERID, info); HWTEST_F() local 1867 ErrCode testRet = bundleSandboxAppHelper->GetSandboxHapModuleInfo(abilityInfo, appIndex, USERID, info); HWTEST_F() local 1898 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local 1915 ErrCode testRet = GetInnerBundleInfoByUid(-1, info); HWTEST_F() local 1941 ErrCode testRet = GetInnerBundleInfoByUid(-1, info); HWTEST_F() local 1957 auto testRet = GetBundleSandboxAppHelper(); HWTEST_F() local 2013 ErrCode testRet = dataMgr->GetInnerBundleInfoByUid(Constants::INVALID_UID, info); HWTEST_F() local 2123 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local 2160 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local 2201 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local 2238 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local 2272 ErrCode testRet = GetInnerBundleInfoByUid(TEST_UID, newInfo); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 1425 bool testRet = GetBundleDataMgr()->QueryLauncherAbilityInfos(want, 100, abilityInfos) == ERR_OK; in HWTEST_F() local 1426 EXPECT_EQ(testRet, false); in HWTEST_F() 1445 bool testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfos( in HWTEST_F() local 1447 EXPECT_EQ(testRet, false); in HWTEST_F() 1461 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( in HWTEST_F() local 1463 EXPECT_EQ(testRet, false); in HWTEST_F() 1477 bool testRet = GetBundleDataMgr()->QueryAbilityInfosByUri( in HWTEST_F() local 1479 EXPECT_EQ(testRet, false); in HWTEST_F() 1493 bool testRet = GetBundleDataMgr()->GetApplicationInfos( in HWTEST_F() local 1495 EXPECT_EQ(testRet, fals in HWTEST_F() 1509 ErrCode testRet = GetBundleDataMgr()->GetApplicationInfosV9( HWTEST_F() local 1526 bool testRet = GetBundleDataMgr()->GetBundleInfosByMetaData( HWTEST_F() local 1543 bool testRet = GetBundleDataMgr()->GetBundleInfosByMetaData( HWTEST_F() local 1564 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfosV9( HWTEST_F() local 1580 bool testRet = GetBundleDataMgr()->GetBundleList( HWTEST_F() local 1596 bool testRet = GetBundleDataMgr()->GetBundleInfos( HWTEST_F() local 1612 bool testRet = GetBundleDataMgr()->GetAllBundleInfos( HWTEST_F() local 1628 ErrCode testRet = GetBundleDataMgr()->GetBundleInfosV9( HWTEST_F() local 1644 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoByUid( HWTEST_F() local 1660 bool testRet = GetBundleDataMgr()->QueryKeepAliveBundleInfos( HWTEST_F() local 1677 bool testRet = GetBundleDataMgr()->GetHapModuleInfo( HWTEST_F() local 1693 bool testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlags( HWTEST_F() local 1707 bool testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlags( HWTEST_F() local 1721 bool testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlags( HWTEST_F() local 1737 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlagsV9( HWTEST_F() local 1753 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoWithBundleFlagsV9( HWTEST_F() local 1769 bool testRet = GetBundleDataMgr()->GetAllFormsInfo( HWTEST_F() local 1785 bool testRet = GetBundleDataMgr()->GetFormsInfoByModule( HWTEST_F() local 1801 bool testRet = GetBundleDataMgr()->GetFormsInfoByApp( HWTEST_F() local 1818 bool testRet = GetBundleDataMgr()->GetAllCommonEventInfo( HWTEST_F() local 1834 bool testRet = GetBundleDataMgr()->GetFormsInfoByApp( HWTEST_F() local 1851 bool testRet = GetBundleDataMgr()->GetInnerBundleUserInfos( HWTEST_F() local 1867 bool testRet = GetBundleDataMgr()->QueryExtensionAbilityInfoByUri( HWTEST_F() local 1881 bool testRet = GetBundleDataMgr()->IsPreInstallApp(""); HWTEST_F() local 3090 bool testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfos( HWTEST_F() local 3117 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfosV9( HWTEST_F() local 3143 bool testRet = GetBundleDataMgr()->QueryLauncherAbilityInfos(want, 100, abilityInfos) == ERR_OK; HWTEST_F() local 3200 bool testRet = GetBundleDataMgr()->ImplicitQueryExtensionInfos( HWTEST_F() local 3281 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3295 bool testRet = GetBundleDataMgr()->GetApplicationInfo( HWTEST_F() local 3315 bool testRet = GetBundleDataMgr()->GetBundleInfo( HWTEST_F() local 3335 bool testRet = GetBundleDataMgr()->GetBundleList( HWTEST_F() local 3354 ErrCode testRet = GetBundleDataMgr()->GetBundleInfosV9( HWTEST_F() local 3372 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlagsV9( HWTEST_F() local 3388 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled( HWTEST_F() local 3408 bool testRet = GetBundleDataMgr()->GetShortcutInfos( HWTEST_F() local 3424 bool testRet = GetBundleDataMgr()->GetInnerBundleUserInfoByUserId( HWTEST_F() local 3446 bool testRet = GetBundleDataMgr()->QueryExtensionAbilityInfos( HWTEST_F() local 3473 bool testRet = GetBundleDataMgr()->ImplicitQueryInfoByPriority( HWTEST_F() local 3491 bool testRet = GetBundleDataMgr()->QueryExtensionAbilityInfoByUri( HWTEST_F() local 3509 ErrCode testRet = GetBundleDataMgr()->CheckInnerBundleInfoWithFlags( HWTEST_F() local 3537 ErrCode testRet = hostImpl->QueryLauncherAbilityInfos( HWTEST_F() local 3552 bool testRet = GetBundleDataMgr()->GetHapModuleInfo( HWTEST_F() local 3566 bool testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlags( HWTEST_F() local 3580 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoWithFlagsV9( HWTEST_F() local 3594 ErrCode testRet = GetBundleDataMgr()->GetInnerBundleInfoWithBundleFlagsV9( HWTEST_F() local 3608 bool testRet = GetBundleDataMgr()->GetInnerBundleInfoWithDisable( HWTEST_F() local 3622 bool testRet = GetBundleDataMgr()->EnableBundle( HWTEST_F() local 3636 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled( HWTEST_F() local 3650 ErrCode testRet = GetBundleDataMgr()->IsModuleRemovable( HWTEST_F() local 3665 ErrCode testRet = GetBundleDataMgr()->IsAbilityEnabled( HWTEST_F() local 3682 ErrCode testRet = GetBundleDataMgr()->SetModuleUpgradeFlag( HWTEST_F() local 3695 int32_t testRet = GetBundleDataMgr()->GetModuleUpgradeFlag( HWTEST_F() local 3709 bool testRet = GetBundleDataMgr()->GetInnerBundleUserInfoByUserId( HWTEST_F() local 3723 bool testRet = GetBundleDataMgr()->GetInnerBundleUserInfos( HWTEST_F() local 3737 bool testRet = GetBundleDataMgr()->GetAllDependentModuleNames( HWTEST_F() local 3751 bool testRet = GetBundleDataMgr()->FetchInnerBundleInfo( HWTEST_F() local 3926 bool testRet = GetBundleDataMgr()->QueryAbilityInfosByUri( HWTEST_F() local 3948 ErrCode testRet = GetBundleDataMgr()->GetAllBundleInfosV9( HWTEST_F() local 3976 bool testRet = GetBundleDataMgr()->GetBundleNameForUid( HWTEST_F() local 3994 bool testRet = GetBundleDataMgr()->GetNameForUid( HWTEST_F() local 4010 bool testRet = GetBundleDataMgr()->CheckIsSystemAppByUid(Constants::ROOT_UID); HWTEST_F() local 4023 bool testRet = GetBundleDataMgr()->IsDisableState(InstallState::UPDATING_START); HWTEST_F() local 4043 bool testRet = GetBundleDataMgr()->ExplicitQueryExtensionInfo( HWTEST_F() local 4068 bool testRet = GetBundleDataMgr()->ImplicitQueryExtensionInfos( HWTEST_F() local 4100 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 4129 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfosV9( HWTEST_F() local 4715 bool testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfos( HWTEST_F() local 4733 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfosV9( HWTEST_F() local 4751 bool testRet = GetBundleDataMgr()->ImplicitQueryExtensionInfos( HWTEST_F() local 4769 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryExtensionInfosV9( HWTEST_F() local 4838 bool testRet = GetBundleDataMgr()->ImplicitQueryInfoByPriority( HWTEST_F() local 4853 ErrCode testRet = GetBundleDataMgr()->GetAllSharedBundleInfo(sharedBundles); HWTEST_F() local 5884 bool testRet = hostImpl->GetBundleNameForUid(1, bundleName); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/ |
H A D | mission_list_manager_ut_test.cpp | 231 int testRet = missionListMgr->CallAbilityLocked(abilityRequest); in HWTEST_F() local 233 EXPECT_EQ(ERR_INVALID_VALUE, testRet); in HWTEST_F() 278 int testRet = missionListMgr->CallAbilityLocked(abilityRequest); in HWTEST_F() local 280 EXPECT_EQ(RESOLVE_CALL_ABILITY_INNER_ERR, testRet); in HWTEST_F() 323 int testRet = missionListMgr->CallAbilityLocked(abilityRequest); in HWTEST_F() local 325 EXPECT_NE(ERR_OK, testRet); in HWTEST_F() 348 int testRet = missionListMgr->ResolveAbility(abilityRecord, abilityRequest); in HWTEST_F() local 350 EXPECT_EQ(ResolveResultType::NG_INNER_ERROR, testRet); in HWTEST_F() 376 auto testRet = missionListMgr->GetAbilityRecordByName(element); in HWTEST_F() local 378 EXPECT_TRUE(nullptr == testRet); in HWTEST_F() 407 auto testRet = missionListMgr->GetAbilityRecordByName(element); HWTEST_F() local 442 int testRet = missionListMgr->ResolveAbility(abilityRecord, abilityRequest); HWTEST_F() local 479 int testRet = missionListMgr->ResolveAbility(abilityRecord, abilityRequest); HWTEST_F() local 514 int testRet = missionListMgr->ResolveAbility(abilityRecord, abilityRequest); HWTEST_F() local 533 int testRet = missionListMgr->ResolveLocked(abilityRequest); HWTEST_F() local 580 int testRet = missionListMgr->ResolveLocked(abilityRequest); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 1578 auto testRet = GetBundleDataMgr()->IsModuleRemovable(BUNDLE_NAME_TEST, MODULE_NAME_TEST, isRemovable); in HWTEST_F() local 1579 EXPECT_EQ(testRet, ERR_OK); in HWTEST_F() 1595 bool testRet = GetBundleDataMgr()->SetModuleRemovable(BUNDLE_NAME_TEST, MODULE_NAME_TEST, true); in HWTEST_F() local 1596 EXPECT_TRUE(testRet); in HWTEST_F() 1615 bool testRet = GetBundleDataMgr()->SetModuleRemovable(BUNDLE_NAME_TEST, MODULE_NAME_TEST, false); in HWTEST_F() local 1616 EXPECT_TRUE(testRet); in HWTEST_F() 1641 auto testRet = GetBundleDataMgr()->IsModuleRemovable(BUNDLE_NAME_TEST, MODULE_NAME_TEST, isRemovable); in HWTEST_F() local 1642 EXPECT_EQ(testRet, ERR_BUNDLE_MANAGER_BUNDLE_NOT_EXIST); in HWTEST_F() 1656 bool testRet = GetBundleDataMgr()->SetModuleRemovable("", "", true); in HWTEST_F() local 1657 EXPECT_FALSE(testRet); in HWTEST_F() 1676 bool testRet = GetBundleDataMgr()->SetModuleRemovable(BUNDLE_NAME_TEST, MODULE_NAME_TEST, true); HWTEST_F() local 1701 bool testRet = GetBundleDataMgr()->SetModuleRemovable("", "", true); HWTEST_F() local 1722 bool testRet = GetBundleDataMgr()->GetBundleInfo(BUNDLE_NAME_TEST, BundleFlag::GET_BUNDLE_DEFAULT, testResult, HWTEST_F() local 1808 bool testRet = hostImpl->GetBundleInfo(BUNDLE_NAME_TEST, BundleFlag::GET_BUNDLE_DEFAULT, testResult, HWTEST_F() local 1826 bool testRet = hostImpl->GetBundleInfo(BUNDLE_NAME_TEST, GET_BUNDLE_WITH_ABILITIES | HWTEST_F() local 1845 bool testRet = hostImpl->GetBundleInfo("", GET_BUNDLE_WITH_ABILITIES | HWTEST_F() local 1863 std::string testRet = hostImpl->GetAppIdByBundleName(BUNDLE_NAME_TEST, DEFAULT_USERID); HWTEST_F() local 1880 std::string testRet = hostImpl->GetAppType(BUNDLE_NAME_TEST); HWTEST_F() local 1897 bool testRet = hostImpl->GetBundleInfo(BUNDLE_NAME_TEST, GET_BUNDLE_WITH_ABILITIES | HWTEST_F() local 1961 bool testRet = GetBundleDataMgr()->GetApplicationInfo( HWTEST_F() local 2042 bool testRet = GetBundleDataMgr()->GetApplicationInfo(BUNDLE_NAME_TEST, HWTEST_F() local 2308 std::string testRet; HWTEST_F() local 2324 std::string testRet; HWTEST_F() local 2339 std::string testRet; HWTEST_F() local 2356 std::string testRet; HWTEST_F() local 2373 std::string testRet; HWTEST_F() local 2390 std::string testRet; HWTEST_F() local 2407 std::string testRet; HWTEST_F() local 2424 std::string testRet; HWTEST_F() local 2447 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, 0, result); HWTEST_F() local 2472 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, 0, 0, result); HWTEST_F() local 2493 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, 0, 0, result); HWTEST_F() local 2509 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, 0, 0, result); HWTEST_F() local 2528 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, 0, result); HWTEST_F() local 2557 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, 0, result); HWTEST_F() local 2586 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, 0, result); HWTEST_F() local 2608 bool testRet = hostImpl->QueryAbilityInfo(want, flags, 0, result); HWTEST_F() local 2634 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2666 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, 0, 0, result); HWTEST_F() local 2683 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, 0, 0, result); HWTEST_F() local 2699 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, 0, 0, result); HWTEST_F() local 2718 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2761 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2795 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2817 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2840 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, DEFAULT_USERID, result); HWTEST_F() local 2864 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2888 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, 0, result); HWTEST_F() local 2915 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, DEFAULT_USER_ID_TEST, result); HWTEST_F() local 2963 bool testRet = GetBundleDataMgr()->QueryAbilityInfos(want, flags, DEFAULT_USER_ID_TEST, result); HWTEST_F() local 3005 ErrCode testRet = GetBundleDataMgr()->GetLaunchWantForBundle(BUNDLE_NAME_TEST, want); HWTEST_F() local 3021 ErrCode testRet = GetBundleDataMgr()->GetLaunchWantForBundle(BUNDLE_NAME_DEMO, want); HWTEST_F() local 3051 ErrCode testRet = GetBundleDataMgr()->GetLaunchWantForBundle(BUNDLE_NAME_DEMO, want); HWTEST_F() local 3067 ErrCode testRet = GetBundleDataMgr()->GetLaunchWantForBundle(EMPTY_STRING, want); HWTEST_F() local 3082 ErrCode testRet = GetBundleDataMgr()->GetLaunchWantForBundle(BUNDLE_NAME_TEST, want); HWTEST_F() local 3101 ErrCode testRet = bundleMgrProxy->GetLaunchWantForBundle(BUNDLE_NAME_DEMO, want); HWTEST_F() local 3122 ErrCode testRet = bundleMgrProxy->GetLaunchWant(want); HWTEST_F() local 3138 ErrCode testRet = hostImpl->GetLaunchWant(want); HWTEST_F() local 3156 bool testRet = GetBundleDataMgr()->GetBundleList(testResult); HWTEST_F() local 3175 bool testRet = GetBundleDataMgr()->GetBundleNameForUid(TEST_UID, testResult); HWTEST_F() local 3190 bool testRet = GetBundleDataMgr()->GetBundleNameForUid(TEST_UID, testResult); HWTEST_F() local 3205 bool testRet = GetBundleDataMgr()->GetBundleNameForUid(DEMO_UID, testResult); HWTEST_F() local 3224 bool testRet = GetBundleDataMgr()->GetBundleNameForUid(INVALID_UID, testResult); HWTEST_F() local 3244 bool testRet = hostImpl->GetBundleInfoForSelf(BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo); HWTEST_F() local 3261 bool testRet = GetBundleDataMgr()->CheckIsSystemAppByUid(TEST_UID); HWTEST_F() local 3281 bool testRet = GetBundleDataMgr()->CheckIsSystemAppByUid(INVALID_UID); HWTEST_F() local 3487 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3508 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3528 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3544 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3562 bool testRet = GetBundleDataMgr()->QueryAbilityInfoByUri( HWTEST_F() local 3581 bool testRet = bundleMgrProxy->QueryAbilityInfoByUri( HWTEST_F() local 3600 bool testRet = bundleMgrProxy->QueryAbilityInfoByUri( HWTEST_F() local 3619 bool testRet = hostImpl->QueryAbilityInfoByUri( HWTEST_F() local 3638 bool testRet = hostImpl->QueryAbilityInfoByUri( HWTEST_F() local 3696 bool testRet = bundleMgrProxy->QueryExtensionAbilityInfoByUri( HWTEST_F() local 3714 bool testRet = bundleMgrProxy->QueryExtensionAbilityInfoByUri( HWTEST_F() local 4003 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 4023 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, false, Constants::DEFAULT_USERID); HWTEST_F() local 4062 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled("", 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 4082 int32_t testRet = GetBundleDataMgr()->SetApplicationEnabled(BUNDLE_NAME_TEST, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 4106 int32_t testRet = bundleMgrProxy->SetApplicationEnabled("", true, Constants::DEFAULT_USERID); HWTEST_F() local 4126 ErrCode testRet = hostImpl->SetApplicationEnabled("", true, Constants::UNSPECIFIED_USERID); HWTEST_F() local 4144 ErrCode testRet = GetBundleDataMgr()->SetApplicationEnabled("", 0, true, Constants::INVALID_USERID); HWTEST_F() local 4160 ErrCode testRet = hostImpl->SetApplicationEnabled(BUNDLE_NAME_TEST, true, Constants::DEFAULT_USERID); HWTEST_F() local 4182 bool testRet = GetBundleDataMgr()->GetBundleInfosByMetaData(META_DATA, bundleInfos); HWTEST_F() local 4202 bool testRet = GetBundleDataMgr()->GetBundleInfosByMetaData("", bundleInfos); HWTEST_F() local 4221 bool testRet = GetBundleDataMgr()->GetBundleInfosByMetaData(ERROR_META_DATA, bundleInfos); HWTEST_F() local 4256 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_TEST, DEFAULT_USERID); HWTEST_F() local 4276 bool testRet = hostImpl->CleanBundleDataFiles("", DEFAULT_USERID); HWTEST_F() local 4296 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_DEMO, DEFAULT_USERID); HWTEST_F() local 4317 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_TEST, DEFAULT_USERID); HWTEST_F() local 4338 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_TEST, DEFAULT_USERID); HWTEST_F() local 4358 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_TEST, DEFAULT_USERID); HWTEST_F() local 4379 bool testRet = bundleMgrProxy->CleanBundleDataFiles("", DEFAULT_USERID); HWTEST_F() local 4396 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_TEST, 10001); HWTEST_F() local 4419 bool testRet = hostImpl->CleanBundleDataFiles(BUNDLE_NAME_DEMO, DEFAULT_USERID); HWTEST_F() local 4825 bool testRet = GetBundleDataMgr()->GetBundlesForUid(TEST_UID, testResult); HWTEST_F() local 4841 bool testRet = GetBundleDataMgr()->GetBundlesForUid(DEMO_UID, testResult); HWTEST_F() local 4860 bool testRet = GetBundleDataMgr()->GetBundlesForUid(INVALID_UID, testResult); HWTEST_F() local 4880 bool testRet = hostImpl->GetBundlesForUid(TEST_UID, testResult); HWTEST_F() local 4894 ErrCode testRet = GetBundleDataMgr()->GetNameForUid(TEST_UID, testResult); HWTEST_F() local 4910 ErrCode testRet = GetBundleDataMgr()->GetNameForUid(DEMO_UID, testResult); HWTEST_F() local 4929 ErrCode testRet = GetBundleDataMgr()->GetNameForUid(INVALID_UID, testResult); HWTEST_F() local 4949 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); HWTEST_F() local 4965 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 4985 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, false, Constants::DEFAULT_USERID); HWTEST_F() local 5009 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); HWTEST_F() local 5024 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfoEmpty, 0, false, Constants::DEFAULT_USERID); HWTEST_F() local 5044 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 5066 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 5089 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 5112 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 5130 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); HWTEST_F() local 5150 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); HWTEST_F() local 5170 int32_t testRet = GetBundleDataMgr()->IsAbilityEnabled(abilityInfo, 0, isEnable); HWTEST_F() local 5185 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::DEFAULT_USERID); HWTEST_F() local 5206 int32_t testRet = hostImpl->SetAbilityEnabled(abilityInfo, true, Constants::DEFAULT_USERID); HWTEST_F() local 5228 int32_t testRet = GetBundleDataMgr()->SetAbilityEnabled(abilityInfo, 0, true, Constants::UNSPECIFIED_USERID); HWTEST_F() local 5744 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, 0, 0, abilityInfo); HWTEST_F() local 5791 bool testRet = GetBundleDataMgr()->GetApplicationInfo( HWTEST_F() local 7112 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, 0, 0, abilityInfo); HWTEST_F() local 7132 bool testRet = GetBundleDataMgr()->GetApplicationInfo( HWTEST_F() local 7394 bool testRet = true; HWTEST_F() local 8414 bool testRet = GetBundleDataMgr()->DisableBundle(BUNDLE_NAME_TEST); HWTEST_F() local 8430 bool testRet = GetBundleDataMgr()->DisableBundle(""); HWTEST_F() local 8446 bool testRet = GetBundleDataMgr()->GetProvisionId(BUNDLE_NAME_TEST, provisionId); HWTEST_F() local 8461 bool testRet = GetBundleDataMgr()->GetProvisionId("", provisionId); HWTEST_F() local 8475 bool testRet = GetBundleDataMgr()->GetAppFeature(BUNDLE_NAME_TEST, appFeature); HWTEST_F() local 8490 bool testRet = GetBundleDataMgr()->GetAppFeature("", appFeature); HWTEST_F() local 8768 bool testRet = bundleMgrService_->Hidump(args, result); HWTEST_F() local 10043 ErrCode testRet = hostImpl->GetShortcutInfoV9(BUNDLE_NAME_TEST, shortcutInfos); HWTEST_F() local 11331 auto testRet = hostImpl->QueryExtensionAbilityInfosV9(want, flags, userId, extensionInfos); HWTEST_F() local 11359 bool testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfos( HWTEST_F() local 11382 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryAbilityInfosV9( HWTEST_F() local 11401 ErrCode testRet = GetBundleDataMgr()->ImplicitQueryCurAbilityInfosV9( HWTEST_F() local 11465 bool testRet = GetBundleDataMgr()->QueryAbilityInfoWithFlags( HWTEST_F() local 11490 bool testRet = GetBundleDataMgr()->GetAllBundleInfos(flags, bundleInfos); HWTEST_F() local 11826 auto testRet = hostImpl->GetAppProvisionInfo(BUNDLE_NAME_TEST, DEFAULT_USERID, appProvisionInfo); HWTEST_F() local 11841 auto testRet = hostImpl->GetAppProvisionInfo(BUNDLE_NAME_TEST, INVALID_UID, appProvisionInfo); HWTEST_F() local 12987 bool testRet = GetBundleDataMgr()->SetModuleRemovable(BUNDLE_NAME_TEST_CLEAR, MODULE_NAME_TEST_CLEAR, true); HWTEST_F() local 13657 auto testRet = hostImpl->IsBundleInstalled(BUNDLE_NAME_TEST, DEFAULT_USERID, 0, isInstalled); HWTEST_F() local [all...] |
H A D | bms_bundle_get_window_properties_test.cpp | 198 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, DEFAULT_USERID, result); in CheckWindowProperty1() local 199 if (!testRet) { in CheckWindowProperty1() 225 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, flags, DEFAULT_USERID, result); in CheckWindowProperty2() local 226 EXPECT_EQ(true, testRet); in CheckWindowProperty2()
|
H A D | bms_bundle_data_mgr_test.cpp | 961 bool testRet = GetBundleDataMgr()->AddInnerBundleInfo(BUNDLE_TEST2, innerBundleInfo); in HWTEST_F() local 962 EXPECT_EQ(testRet, false); in HWTEST_F() 977 bool testRet = GetBundleDataMgr()->QueryAbilityInfo(want, GET_ABILITY_INFO_DEFAULT, USERID, abilityInfo, appIndex); in HWTEST_F() local 978 EXPECT_EQ(testRet, false); in HWTEST_F() 981 testRet = GetBundleDataMgr()->QueryAbilityInfo(want, GET_ABILITY_INFO_DEFAULT, USERID, abilityInfo, appIndex); in HWTEST_F() 982 EXPECT_EQ(testRet, false); in HWTEST_F() 985 testRet = GetBundleDataMgr()->QueryAbilityInfo(want, GET_ABILITY_INFO_DEFAULT, USERID, abilityInfo, appIndex); in HWTEST_F() 986 EXPECT_EQ(testRet, false); in HWTEST_F() 989 testRet = GetBundleDataMgr()->QueryAbilityInfo(want, GET_ABILITY_INFO_DEFAULT, USERID, abilityInfo, appIndex); in HWTEST_F() 990 EXPECT_EQ(testRet, fals in HWTEST_F() 1007 ErrCode testRet = GetBundleDataMgr()->ExplicitQueryAbilityInfoV9( HWTEST_F() local 1029 ErrCode testRet = GetBundleDataMgr()->ExplicitQueryAbilityInfoV9( HWTEST_F() local 1050 bool testRet = GetBundleDataMgr()->ImplicitQueryCurAbilityInfos( HWTEST_F() local 1068 bool testRet = GetBundleDataMgr()->ImplicitQueryCurAbilityInfos( HWTEST_F() local 2796 bool testRet = GetBundleDataMgr()->ExplicitQueryExtensionInfo( HWTEST_F() local 2814 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 2833 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 2859 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 2880 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 2906 bool testRet = GetBundleDataMgr()->ImplicitQueryCurExtensionInfos( HWTEST_F() local 2928 bool testRet = GetBundleDataMgr()->QueryExtensionAbilityInfoByUri( HWTEST_F() local 2947 bool testRet = GetBundleDataMgr()->QueryExtensionAbilityInfoByUri( HWTEST_F() local 2961 bool testRet = bundleMgrHostImpl_->QueryExtensionAbilityInfoByUri( HWTEST_F() local 4895 bool testRet = GetBundleDataMgr()->AddInnerBundleInfo(BUNDLE_TEST4, innerBundleInfo); HWTEST_F() local 4909 bool testRet = GetBundleDataMgr()->AddInnerBundleInfo(BUNDLE_TEST4, innerBundleInfo); HWTEST_F() local 4944 ErrCode testRet = GetBundleDataMgr()->ExplicitQueryAbilityInfoV9( HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/ipc_ability_scheduler_test/ |
H A D | ipc_ability_scheduler_module_test.cpp | 353 int testRet = 123; in HWTEST_F() local 358 return testRet; in HWTEST_F() 368 EXPECT_EQ(result, testRet); in HWTEST_F() 391 int testRet = 123; in HWTEST_F() local 396 return testRet; in HWTEST_F() 406 EXPECT_EQ(result, testRet); in HWTEST_F() 430 int testRet = 123; in HWTEST_F() local 436 return testRet; in HWTEST_F() 446 EXPECT_EQ(result, testRet); in HWTEST_F() 469 int testRet in HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/plugins/manager/test/unittest/common/ |
H A D | plugin_manager_test.cpp | 744 uint32_t testRet = ERR_GENERAL; in DoTestRegister003() local 787 testRet = SUCCESS; in DoTestRegister003() 794 return testRet; in DoTestRegister003() 808 uint32_t testRet = ERR_GENERAL; in DoTestRegister004() local 851 testRet = SUCCESS; in DoTestRegister004() 858 return testRet; in DoTestRegister004() 871 uint32_t testRet = ERR_GENERAL; in DoTestInstanceLimit001() local 904 testRet = SUCCESS; in DoTestInstanceLimit001() 912 return testRet; in DoTestInstanceLimit001() 925 uint32_t testRet in DoTestInstanceLimit003() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_false_test.cpp | 1299 ErrCode testRet = bundleMgrHostImpl_->QueryLauncherAbilityInfos(want, USERID, abilityInfos); in HWTEST_F() local 1300 EXPECT_EQ(testRet, ERR_BUNDLE_MANAGER_PERMISSION_DENIED); in HWTEST_F() 1502 std::string testRet = bundleMgrHostImpl_->GetAppPrivilegeLevel("", USERID); in HWTEST_F() local 1503 EXPECT_EQ(testRet, Constants::EMPTY_STRING); in HWTEST_F() 1612 bool testRet = bundleMgrHostImpl_->QueryAbilityInfosByUri("", abilityInfos); in HWTEST_F() local 1613 EXPECT_EQ(testRet, false); in HWTEST_F() 1729 auto testRet = bundleMgrHostImpl_->IsBundleInstalled(BUNDLE_NAME, 0, 0, isInstalled); in HWTEST_F() local 1730 EXPECT_EQ(testRet, ERR_BUNDLE_MANAGER_PERMISSION_DENIED); in HWTEST_F()
|
H A D | bms_bundle_permission_system_app_test.cpp | 934 ErrCode testRet = bundleMgrHostImpl_->QueryLauncherAbilityInfos(want, USERID, abilityInfos); in HWTEST_F() local 935 EXPECT_EQ(testRet, ERR_BUNDLE_MANAGER_SYSTEM_API_DENIED); in HWTEST_F() 1148 bool testRet = bundleMgrHostImpl_->QueryAbilityInfosByUri("", abilityInfos); in HWTEST_F() local 1149 EXPECT_EQ(testRet, true); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 5779 auto testRet = bundleMgrProxy->GetBundlePackInfo( in HWTEST_F() local 5781 EXPECT_EQ(testRet, ERR_OK); in HWTEST_F() 5810 auto testRet = bundleMgrProxy->GetBundlePackInfo( in HWTEST_F() local 5812 EXPECT_EQ(ERR_OK, testRet); in HWTEST_F() 5833 ErrCode testRet = bundleMgrProxy->GetBundlePackInfo( in HWTEST_F() local 5835 EXPECT_NE(ERR_OK, testRet); in HWTEST_F() 5868 bool testRet = bundleMgrProxy->ImplicitQueryInfoByPriority( in HWTEST_F() local 5870 EXPECT_EQ(false, testRet); in HWTEST_F() 5907 bool testRet = bundleMgrProxy->ImplicitQueryInfos( in HWTEST_F() local 5909 EXPECT_EQ(false, testRet); in HWTEST_F() 6363 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); HWTEST_F() local 6400 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); HWTEST_F() local 6435 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); HWTEST_F() local 6473 int32_t testRet = bundleMgrProxy->SetAbilityEnabled(abilityInfo, false, USERID); HWTEST_F() local 6554 int32_t testRet = bundleMgrProxy->SetCloneAbilityEnabled(abilityInfo, 1, false, USERID); HWTEST_F() local 6573 int32_t testRet = bundleMgrProxy->SetCloneApplicationEnabled(BASE_ABILITY_NAME, 1, false, USERID); HWTEST_F() local 7570 ErrCode testRet = bundleMgrProxy->GetShortcutInfoV9(appName, shortcutInfos); HWTEST_F() local 7601 ErrCode testRet = bundleMgrProxy->GetShortcutInfoV9("", shortcutInfos); HWTEST_F() local 7625 ErrCode testRet = bundleMgrProxy->GetShortcutInfoV9(appName, shortcutInfos); HWTEST_F() local 7876 ErrCode testRet = bundleMgrProxy->CleanBundleCacheFiles("", cleanCacheCallback, USERID); HWTEST_F() local 7890 ErrCode testRet = bundleMgrProxy->CleanBundleCacheFiles("bundleName", nullptr, USERID); HWTEST_F() local 7906 bool testRet = bundleMgrProxy->CheckAbilityEnableInstall(want, missionId, USERID, callback); HWTEST_F() local 7926 bool testRet = bundleMgrProxy->CheckAbilityEnableInstall(want, missionId, USERID, callback); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/ |
H A D | bms_bundle_default_app_test.cpp | 1348 bool testRet = dataMgr->ImplicitQueryInfos( in HWTEST_F() local 1350 EXPECT_EQ(testRet, true); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_test4.cpp | 1510 bool testRet = sceneSession->IsScbCoreEnabled(); in HWTEST_F() local 1511 EXPECT_EQ(testRet, true); in HWTEST_F()
|