Home
last modified time | relevance | path

Searched refs:bundleName (Results 1 - 25 of 107) sorted by relevance

12345

/test/xts/acts/appexecfwk_lite/appexecfwk_posix/src/
H A DBundleMgrTest.cpp106 abilityInfo.bundleName = (char*)"com.openharmony.testjsdemo"; in HWTEST_F()
107 printf("abilityInfo.bundleName is %s \n", abilityInfo.bundleName); in HWTEST_F()
109 EXPECT_STREQ(abilityInfo.bundleName, "com.openharmony.testjsdemo"); in HWTEST_F()
124 bundleInfo.bundleName = (char*)"com.openharmony.testjsdemo"; in HWTEST_F()
125 printf("abilityInfo.bundleName is %s \n", bundleInfo.bundleName); in HWTEST_F()
127 printf("abilityInfo.bundleName afterclear is %s \n", bundleInfo.bundleName); in HWTEST_F()
128 EXPECT_STREQ(bundleInfo.bundleName, "co in HWTEST_F()
444 const char *bundleName = (char*)"com.openharmony.testdemo"; HWTEST_F() local
481 const char *bundleName = (char*)"com.openharmony.testnative"; HWTEST_F() local
506 const char *bundleName = (char*)"com.openharmony.nothisBundleName"; HWTEST_F() local
532 const char *bundleName = (char*)""; HWTEST_F() local
636 const char *bundleName = (char*)"com.openharmony.testjsdemo"; HWTEST_F() local
666 const char *bundleName = (char*)"com.openharmony.nothishap"; HWTEST_F() local
843 char *bundleName = nullptr; HWTEST_F() local
861 char *bundleName = (char*)"com.openharmony.testjsdemo"; HWTEST_F() local
875 char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameleng" \\ HWTEST_F() local
900 char *bundleName = (char*)"com.openharmony.testjsdemoBundleNameLength128test" \\ HWTEST_F() local
916 char *bundleName = nullptr; HWTEST_F() local
931 char *bundleName = (char*)"com.openharmony.nothishap"; HWTEST_F() local
946 char *bundleName = (char*)" "; HWTEST_F() local
961 char *bundleName = (char*)"com.openharmony.testjsdemo"; HWTEST_F() local
977 char *bundleName = (char*)"com.openharmony.testjsdemo"; HWTEST_F() local
[all...]
/test/xts/acts/ability/ability_runtime/abilitymultiinstance/amsabilitymultiinstanceappe/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js27 let bundleName = "com.acts.abilitymultiinstancea";
39 bundleName = "com.acts.abilitymultiinstanceb";
43 bundleName = "com.acts.abilitymultiinstancec";
47 bundleName = "com.acts.abilitymultiinstanced";
52 bundleName = "com.acts.abilitymultiinstanced";
57 bundleName = "com.acts.abilitymultiinstanced";
61 bundleName = "com.acts.abilitymultiinstanced";
65 bundleName = "com.acts.abilitymultiinstancee";
76 bundleName: bundleName,
[all...]
/test/xts/acts/telephony/telephonyjstest/netmanager_base/dns/entry/src/ohosTest/js/test/
H A DNetworkManagerMdns.test.js20 let bundleName = featureAbility.getContext();
81 mdns.removeLocalService(bundleName, localServiceInfo, (err, data) => {
97 mdns.addLocalService(bundleName, localServiceInfo, (err, data) => {
105 mdns.removeLocalService(bundleName, localServiceInfo, (err, data) => {
127 mdns.addLocalService(bundleName, localServiceInfo, (err, data) => {
135 mdns.addLocalService(bundleName, localServiceInfo, (err, data) => {
139 mdns.removeLocalService(bundleName, localServiceInfo, (err, data) => {
168 mdns.addLocalService(bundleName, localServiceInfo, (err, data) => {
215 mdns.addLocalService(bundleName, localServiceInfo).then((data) => {
218 mdns.removeLocalService(bundleName, localServiceInf
[all...]
/test/xts/acts/appexecfwk_lite/appexecfwk_hal/src/
H A Dbundle_mgr_test.c107 abilityInfo.bundleName = (char *)(AdapterMalloc(len + 1));
108 TEST_ASSERT_NOT_NULL(abilityInfo.bundleName);
109 errno_t err = strncpy_s(abilityInfo.bundleName, len + 1, name, len);
111 TEST_ASSERT_EQUAL_STRING(abilityInfo.bundleName, name);
113 TEST_ASSERT_EQUAL_STRING(abilityInfo.bundleName, NULL);
130 abilityInfo.bundleName = (char *)(AdapterMalloc(len + 1));
131 TEST_ASSERT_NOT_NULL(abilityInfo.bundleName);
132 errno_t err = strncpy_s(abilityInfo.bundleName, len + 1, name, len);
135 TEST_ASSERT_EQUAL_STRING(abilityInfo.bundleName, name);
136 AdapterFree(abilityInfo.bundleName);
371 const char *bundleName = "com.openharmony.nothishap"; global() variable
420 const char *bundleName = PREPARED_APP_BUNDLE_NAME; global() variable
[all...]
/test/testfwk/arkxtest/uitest/cj/
H A Dui_event_observer_impl.cpp105 if (info.bundleName != nullptr) { free(info.bundleName); } in DestructElementInfo()
116 string bundleName = json["bundleName"]; in CreateElementInfo() local
119 result.bundleName = static_cast<char *>(malloc(bundleName.size() + 1)); in CreateElementInfo()
120 if (result.bundleName == nullptr) { in CreateElementInfo()
136 status |= memcpy_s(result.bundleName, bundleName.size() + 1, in CreateElementInfo()
137 bundleName in CreateElementInfo()
[all...]
/test/ostest/wukong/common/src/
H A Dapp_manager.cpp33 bool AppManager::BlockAbilityController::AllowAbilityStart(const AAFwk::Want &want, const std::string &bundleName) in AllowAbilityStart() argument
42 // if bundleName in the tempAllow list to allow ability start. in AllowAbilityStart()
43 auto it = find(tempAllowList.begin(), tempAllowList.end(), bundleName); in AllowAbilityStart()
55 DEBUG_LOG_STR("BundleName: %s", bundleName.c_str()); in AllowAbilityStart()
57 // if bundleName in the block list to unallow ability start. in AllowAbilityStart()
58 it = find(blocklist.begin(), blocklist.end(), bundleName); in AllowAbilityStart()
69 bool AppManager::BlockAbilityController::AllowAbilityBackground(const std::string &bundleName) in AllowAbilityBackground() argument
78 ErrCode AppManager::StartAbilityByBundleInfo(std::string abilityName, std::string bundleName) in StartAbilityByBundleInfo() argument
84 if (abilityName.size() == 0 || bundleName.size() == 0) { in StartAbilityByBundleInfo()
88 if (bundleName in StartAbilityByBundleInfo()
[all...]
H A Dwukong_util.cpp203 std::string bundleName = item.elementName.GetBundleName(); in GetAllAppInfo() local
205 bundleList_.push_back(bundleName); in GetAllAppInfo()
207 uint32_t isInBlockList = FindElement(blockList_, bundleName); in GetAllAppInfo()
212 validBundleList_.push_back(bundleName); in GetAllAppInfo()
559 void WuKongUtil::GetAllAbilitiesByBundleName(std::string bundleName, std::vector<std::string> &abilities) in GetAllAbilitiesByBundleName() argument
577 if (bundleIter.name == bundleName) { in GetAllAbilitiesByBundleName()
578 TRACK_LOG_STR("map bundleName{%s}", bundleIter.name.c_str()); in GetAllAbilitiesByBundleName()
582 ERROR_LOG_STR("WriteBundleInfo getBundleInfo result %d, bundleName: %s", result, in GetAllAbilitiesByBundleName()
587 TRACK_LOG_STR("bundleName{%s} container abilities item{%s}", bundleIter.name.c_str(), in GetAllAbilitiesByBundleName()
613 std::string bundleName in GetAllAbilities() local
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dui_driver_test.cpp54 "bundleName":"test1", in TEST_F()
64 "bundleName":"test1", in TEST_F()
106 "bundleName":"test1", in TEST_F()
116 "bundleName":"test1", in TEST_F()
166 "bundleName":"test1", in TEST_F()
176 "bundleName":"test1", in TEST_F()
212 "bundleName":"test1", in TEST_F()
222 "bundleName":"test1", in TEST_F()
254 "bundleName":"test12", in TEST_F()
276 "bundleName" in TEST_F()
[all...]
/test/xts/acts/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/
H A DWorkSchedulerJs.performance.js41 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
63 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
74 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
96 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
124 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
157 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
185 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
217 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
245 bundleName: "ohos.acts.resourceschedule.workscheduler.js.function",
277 bundleName
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dexternal_calls.cpp22 std::string bundleName, abilityName; in GetFrontAbility() local
27 bundleName = ""; in GetFrontAbility()
32 bundleName = ""; in GetFrontAbility()
34 bundleName = elementName.GetBundleName(); in GetFrontAbility()
43 elements.push_back(bundleName); in GetFrontAbility()
H A Dpointer_info.h149 bundleName = name; in SetBundleName()
154 return bundleName; in GetBundleName()
222 std::string bundleName; member in OHOS::uitest::PointerInfo
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/
H A Dbundlendk.cpp27 napi_value bundleName; in GetCurrentApplicationInfo() local
28 napi_create_string_utf8(env, nativeApplicationInfo.bundleName, NAPI_AUTO_LENGTH, &bundleName); in GetCurrentApplicationInfo()
29 napi_set_named_property(env, result, "bundleName", bundleName); in GetCurrentApplicationInfo()
33 free(nativeApplicationInfo.bundleName); in GetCurrentApplicationInfo()
/test/xts/acts/ability_lite/ability_hal/src/
H A Dability_mgr_test.c68 TEST_ASSERT_EQUAL_STRING(element.bundleName, bName);
72 TEST_ASSERT_EQUAL_STRING(element.bundleName, NULL);
95 TEST_ASSERT_EQUAL_STRING(element.bundleName, bName);
99 TEST_ASSERT_EQUAL_STRING(element.bundleName, bName);
123 TEST_ASSERT_EQUAL_STRING(want.element->bundleName, "com.openharmony.testnative");
146 TEST_ASSERT_EQUAL_STRING(want.element->bundleName, NULL);
173 TEST_ASSERT_EQUAL_STRING(want.element->bundleName, "com.openharmony.testnative");
177 TEST_ASSERT_EQUAL_STRING(want.element->bundleName, "com.openharmony.testnative");
/test/xts/acts/distributed_schedule_lite/distributed_schedule_posix/src/
H A DMsgParserLenFuncTest.cpp69 std::string bundleName = tLenStr; in HWTEST_F() local
78 bundleName, in HWTEST_F()
103 std::string bundleName = tLenStr; in HWTEST_F() local
112 bundleName, in HWTEST_F()
135 std::string bundleName = GetStringByLen(NODE_MAX_LENGTH); in HWTEST_F() local
144 bundleName, in HWTEST_F()
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/
H A Dbundlendk1.cpp27 napi_value bundleName; in GetCurrentApplicationInfo() local
28 napi_create_string_utf8(env, nativeApplicationInfo.bundleName, NAPI_AUTO_LENGTH, &bundleName); in GetCurrentApplicationInfo()
29 napi_set_named_property(env, result, "bundleName", bundleName); in GetCurrentApplicationInfo()
44 free(nativeApplicationInfo.bundleName); in GetCurrentApplicationInfo()
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/
H A Dbattery_common_event.test.js1470 console.info("commonEventData bundleName: " + commonEventData.bundleName);
1523 console.info("commonEventData bundleName: " + commonEventData.bundleName);
1575 console.info("commonEventData bundleName: " + commonEventData.bundleName);
1627 console.info("commonEventData bundleName: " + commonEventData.bundleName);
1679 console.info("commonEventData bundleName: " + commonEventData.bundleName);
[all...]
/test/ostest/wukong/common/include/
H A Dapp_manager.h29 * @param bundleName bundle name
32 ErrCode StartAbilityByBundleInfo(std::string abilityName, std::string bundleName);
58 * @param bundleName bundle name
61 virtual bool AllowAbilityStart(const AAFwk::Want &want, const std::string &bundleName) override;
65 * @param bundleName bundle name
68 virtual bool AllowAbilityBackground(const std::string &bundleName) override;
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
H A Drdb_store_level_test.cpp54 config1_.bundleName = BUNDLE_NAME; in InitRdbConfig1()
65 config2_.bundleName = BUNDLE_NAME; in InitRdbConfig2()
76 config3_.bundleName = BUNDLE_NAME; in InitRdbConfig3()
87 config4_.bundleName = BUNDLE_NAME; in InitRdbConfig4()
98 config_EL1.bundleName = BUNDLE_NAME; in InitRdbConfig_EL1()
110 config_EL2.bundleName = BUNDLE_NAME; in InitRdbConfig_EL2()
122 config_EL3.bundleName = BUNDLE_NAME; in InitRdbConfig_EL3()
134 config_EL4.bundleName = BUNDLE_NAME; in InitRdbConfig_EL4()
H A Drdb_store_encrypt_test.cpp53 config_.bundleName = BUNDLE_NAME; in InitRdbConfig()
64 config1_.bundleName = BUNDLE_NAME; in InitRdbConfig1()
75 config2_.bundleName = BUNDLE_NAME; in InitRdbConfig2()
86 config3_.bundleName = BUNDLE_NAME; in InitRdbConfig3()
/test/xts/acts/ability_lite/ability_posix/src/
H A DAbilityMgrTest.cpp80 printf("elementName is %s, %s \n", elementName->bundleName, elementName->abilityName); in OnAbilityConnectDone()
219 EXPECT_STREQ(want.element->bundleName, "com.openharmony.testnative"); in HWTEST_F()
241 EXPECT_STREQ(want.element->bundleName, nullptr); in HWTEST_F()
385 EXPECT_STREQ(want2->element->bundleName, want.element->bundleName); in HWTEST_F()
414 printf("want is %s \n", want2->element->bundleName); in HWTEST_F()
417 EXPECT_STREQ(want2->element->bundleName, ""); in HWTEST_F()
781 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
813 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
842 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
[all...]
H A DAbilityMgrTest2.cpp80 printf("elementName is %s, %s \n", elementName->bundleName, elementName->abilityName); in OnAbilityConnectDone()
217 EXPECT_STREQ(want.element->bundleName, "com.openharmony.testnative"); in HWTEST_F()
239 EXPECT_STREQ(want.element->bundleName, nullptr); in HWTEST_F()
383 EXPECT_STREQ(want2->element->bundleName, want.element->bundleName); in HWTEST_F()
412 printf("want is %s \n", want2->element->bundleName); in HWTEST_F()
415 EXPECT_STREQ(want2->element->bundleName, ""); in HWTEST_F()
793 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
829 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
862 printf("element is %s \n", want.element->bundleName); in HWTEST_F()
[all...]
/test/ostest/wukong/report/src/
H A Dstatistics_ability.cpp62 DEBUG_LOG_STR("bundlename{%s} | abilityName{%s}", srcData["bundleName"].c_str(), in SrcDatasPretreatment()
68 abilityStatisticsMsg_.find(srcData["bundleName"]); in SrcDatasPretreatment()
70 DEBUG_LOG_STR("use inited curStatisticsMsgPtr by bundleName{%s}", srcData["bundleName"].c_str()); in SrcDatasPretreatment()
71 curAbilityStatisticsRecordPtr = abilityStatisticsMsg_[srcData["bundleName"]]; in SrcDatasPretreatment()
73 curAbilityStatisticsRecordPtr->bundleName_ = srcData["bundleName"]; in SrcDatasPretreatment()
76 curAbilityStatisticsRecordPtr->inputedAbilities_.end(), srcData["bundleName"]); in SrcDatasPretreatment()
78 curAbilityStatisticsRecordPtr->inputedAbilities_.push_back(srcData["bundleName"]); in SrcDatasPretreatment()
81 WuKongUtil::GetInstance()->GetAllAbilitiesByBundleName(srcData["bundleName"], abilities); in SrcDatasPretreatment()
82 DEBUG_LOG_STR("bundleName{ in SrcDatasPretreatment()
98 std::string bundleName = abilityStatisticsRecordPtr->bundleName_; UpdateLine() local
[all...]
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility1/
H A Dservice.js80 bundleName: serverSecondBundleName,
92 bundleName: serverSecondBundleName,
140 bundleName: serverSecondBundleName,
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility2/
H A Dservice.js106 bundleName: serverBundleName,
119 bundleName: serverBundleName,
132 bundleName: serverBundleName,
/test/xts/dcts/communication/dsoftbus_request/rpc/src/main/js/test/
H A DtestService.js19 var bundleName = "com.acts.rpc.request.test.server"; variable
47 "bundleName": bundleName,

Completed in 16 milliseconds

12345