Home
last modified time | relevance | path

Searched refs:bundleInfos (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbmsgetinfostest/src/main/js/test/
DActsBmsGetBackGroundModes.test.js81 …let bundleInfos = await bundle.getAllBundleInfo(bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES, userI…
82 for (let i = 0; i < bundleInfos.length; i++) {
83 if (bundleInfos[i].name == BUNDLE_NAME5) {
84 for (let j = 0; j < bundleInfos[i].abilityInfos.length; j++) {
85 if (bundleInfos[i].abilityInfos[j].name == ABILITIY_NAME1) {
86 … expect(bundleInfos[i].abilityInfos[j].backgroundModes).assertEqual(DATATRANSFER |
89 } else if (bundleInfos[i].abilityInfos[j].name == ABILITIY_NAME2) {
90 … expect(bundleInfos[i].abilityInfos[j].backgroundModes).assertEqual(DATATRANSFER | VOIP);
142 …undle.getAllBundleInfo(bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES, userId, (err, bundleInfos) => {
143 for (let i = 0; i < bundleInfos.length; i++) {
[all …]
/test/xts/acts/appexecfwk_lite/appexecfwk_posix/src/
DBundleMgrTest.cpp708 BundleInfo *bundleInfos = nullptr; variable
711 g_errorCode = GetBundleInfos(flags, &bundleInfos, &length);
716 printf("bundleInfos.codePath is %s \n", bundleInfos[0].codePath);
717 printf("bundleInfos.bundleName is %s \n", bundleInfos[0].bundleName);
718 printf("bundleInfos.versionCode is %d \n", bundleInfos[0].versionCode);
721 g_errorCode = GetBundleInfos(flags, &bundleInfos, &length);
726 printf("bundleInfos.codePath is %s \n", bundleInfos[0].codePath);
727 printf("bundleInfos.bundleName is %s \n", bundleInfos[0].bundleName);
728 printf("bundleInfos.versionCode is %d \n", bundleInfos[0].versionCode);
730 free(bundleInfos);
[all …]
/test/xts/acts/appexecfwk_lite/appexecfwk_hal/src/
Dbundle_mgr_test.c348 BundleInfo *bundleInfos = {NULL}; variable
353 ret = GetBundleInfos(flags, &bundleInfos, NULL);
356 ret = GetBundleInfos(2, &bundleInfos, length);
/test/ostest/wukong/common/src/
Dwukong_util.cpp368 std::vector<BundleInfo> bundleInfos; in GetAllAbilitiesByBundleName() local
373 …bool getInfoResult = bundleMgrProxy->GetBundleInfos(BundleFlag::GET_BUNDLE_DEFAULT, bundleInfos, U… in GetAllAbilitiesByBundleName()
378 DEBUG_LOG_STR("bundles length{%d}", bundleInfos.size()); in GetAllAbilitiesByBundleName()
379 for (auto &bundleIter : bundleInfos) { in GetAllAbilitiesByBundleName()