Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 48) sorted by relevance

12

/test/xts/acts/ability_lite/ability_hal/src/
Dability_mgr_test.c59 ElementName element = { 0 }; variable
60 SetElementDeviceID(&element, "0001000");
61 SetElementBundleName(&element, "com.openharmony.testnative");
62 bool ret = SetElementAbilityName(&element, "SecondAbility");
67 TEST_ASSERT_EQUAL_STRING(element.abilityName, aName);
68 TEST_ASSERT_EQUAL_STRING(element.bundleName, bName);
69 TEST_ASSERT_EQUAL_STRING(element.deviceId, dID);
70 ClearElement(&element);
71 TEST_ASSERT_EQUAL_STRING(element.abilityName, NULL);
72 TEST_ASSERT_EQUAL_STRING(element.bundleName, NULL);
[all …]
/test/xts/acts/ability_lite/ability_posix/src/
DAbilityMgrTest.cpp168 ElementName element = { nullptr }; variable
169 bool setResult = SetElementAbilityName(&element, "SecondAbility");
172 EXPECT_STREQ(element.abilityName, aName);
173 printf("abilityName is %s \n", element.abilityName);
174 ClearElement(&element);
175 EXPECT_STREQ(element.abilityName, nullptr);
188 ElementName element = { nullptr }; variable
189 bool setResult = SetElementAbilityName(&element, "SecondAbility");
192 EXPECT_STREQ(element.abilityName, aName);
193 printf("abilityName is %s \n", element.abilityName);
[all …]
DAbilityMgrTest2.cpp166 ElementName element = { nullptr }; variable
167 bool setResult = SetElementAbilityName(&element, "ServiceAbility");
170 EXPECT_STREQ(element.abilityName, aName);
171 printf("abilityName is %s \n", element.abilityName);
172 ClearElement(&element);
173 EXPECT_STREQ(element.abilityName, nullptr);
186 ElementName element = { nullptr }; variable
187 bool setResult = SetElementAbilityName(&element, "ServiceAbility");
190 EXPECT_STREQ(element.abilityName, aName);
191 printf("abilityName is %s \n", element.abilityName);
[all …]
/test/xts/acts/appexecfwk_lite/appexecfwk_hal/src/
Dbundle_mgr_test.c195 ElementName element = { 0 }; variable
196 SetElementAbilityName(&element, "SecondAbility");
197 SetWantElement(&want, element);
199 TEST_ASSERT_EQUAL_STRING(want.element->abilityName, aName);
200 ClearElement(&element);
214 ElementName element = { 0 }; variable
216 SetElementAbilityName(&element, aName);
217 SetWantElement(&want, element);
218 TEST_ASSERT_EQUAL_STRING(want.element->abilityName, "");
219 SetElementAbilityName(&element, NULL);
[all …]
/test/xts/acts/appexecfwk_lite/appexecfwk_posix/src/
DBundleMgrTest.cpp160 ElementName element = { nullptr }; variable
161 SetElementAbilityName(&element, "SecondAbility");
162 SetWantElement(&want, element);
163 printf("element is %s \n", want.element->abilityName);
166 EXPECT_STREQ(want.element->abilityName, aName);
167 ClearElement(&element);
181 ElementName element = { nullptr }; variable
182 SetElementAbilityName(&element, nullptr);
183 SetWantElement(&want, element);
184 printf("AbilityName1 is %s \n", want.element->abilityName);
[all …]
/test/testfwk/developer_test/src/core/command/
Ddisplay.py217 for index, element in enumerate(productform_list):
218 print("%d. %s" % (index + 1, element))
284 for index, element in enumerate(productform_list):
285 print(" %d. %s" % (index + 1, element))
295 for index, element in enumerate(testtype_list):
296 print(" %d. %s" % (index + 1, element))
310 for index, element in enumerate(subsystem_name_list):
311 print(" %d. %s" % (index + 1, element))
321 for index, element in enumerate(sub_list):
322 print(" %d. %s" % (index + 1, element.strip()))
[all …]
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/ServiceAbility2/
Dservice.js80 function onConnectCallback(element, remote) { argument
84 + JSON.stringify(element) + " , " + element);
94 function onDisconnectCallback(element) { argument
96 + JSON.stringify(element) + " , " + element);
178 OnAbilityConnectDone(element, remoteObject, resultCode) {
180 + element + " , JSON." + JSON.stringify(element)
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/ServiceAbility1/
Dservice.js121 function onConnectCallback(element, remote) { argument
125 + JSON.stringify(element) + " , " + element);
129 function onDisconnectCallback(element) { argument
131 + JSON.stringify(element) + " , " + element);
182 OnAbilityConnectDone(element, remoteObject, resultCode) {
184 + element + " , JSON." + JSON.stringify(element)
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility6/
Dservice.ts62 onConnect:async function (element:any, proxy:any) {
64 + JSON.stringify(element.deviceId))
66 + JSON.stringify(element.bundleName))
68 + JSON.stringify(element.abilityName))
70 + JSON.stringify(element.uri))
72 + JSON.stringify(element.shortName))
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/test/
DStServiceAbilityClient.test.js382 function onConnectCallback(element, remote) { argument
386 + JSON.stringify(element) + " , " + element);
393 function onDisconnectCallback(element) { argument
395 + JSON.stringify(element) + " , " + element);
455 function onConnectCallback(element, remote) {
459 + JSON.stringify(element) + " , " + element);
466 function onDisconnectCallback(element) { argument
468 + JSON.stringify(element) + " , " + element);
634 function onConnectCallback(element, remote) {
638 + JSON.stringify(element) + " , " + element);
[all …]
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility3/
Dservice.ts73 onConnect: async function (element: any, proxy: any) {
75 + JSON.stringify(element.deviceId))
77 + JSON.stringify(element.bundleName))
79 + JSON.stringify(element.abilityName))
81 + JSON.stringify(element.uri))
83 + JSON.stringify(element.shortName))
/test/testfwk/arkxtest/uitest/napi/
Duitest_exporter.js22 name.split('.').foreach(element => {
24 mod = mod[element]
31 name.split('.').foreach(element => {
33 mod = mod[element]
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility2/
Dservice.ts73 onConnect: async function (element: any, proxy: any) {
75 + JSON.stringify(element.deviceId));
77 + JSON.stringify(element.bundleName));
79 + JSON.stringify(element.abilityName));
81 + JSON.stringify(element.uri));
83 + JSON.stringify(element.shortName));
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility7/
Dservice.ts73 onConnect:async function (element:any, proxy:any) {
75 + JSON.stringify(element.deviceId))
77 + JSON.stringify(element.bundleName))
79 + JSON.stringify(element.abilityName))
81 + JSON.stringify(element.uri))
83 + JSON.stringify(element.shortName))
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility4/
Dservice.ts73 onConnect: async function (element: any, proxy: any) {
75 + JSON.stringify(element.deviceId))
77 + JSON.stringify(element.bundleName))
79 + JSON.stringify(element.abilityName))
81 + JSON.stringify(element.uri))
83 + JSON.stringify(element.shortName))
/test/xts/acts/ability/ability_runtime/actsabilitymanageretstest/entry/src/main/ets/ServiceAbility5/
Dservice.ts73 onConnect: async function (element: any, proxy: any) {
75 + JSON.stringify(element.deviceId))
77 + JSON.stringify(element.bundleName))
79 + JSON.stringify(element.abilityName))
81 + JSON.stringify(element.uri))
83 + JSON.stringify(element.shortName))
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py50 for element in env_node.findall("device"):
51 environment_data_list.append(element.attrib)
52 for option_element in element.findall("option"):
59 for element in pre_node.findall("option"):
60 preparer_data_list.append(element.attrib)
66 for element in clr_node.findall("option"):
67 cleaner_data_list.append(element.attrib)
/test/xts/acts/ability/ability_runtime/actsstserviceabilityclientcase/entry/src/main/js/test/
DActsStServiceAbilityClientCaseTest.test.js302 function onConnectCallback(element, remote) { argument
306 + JSON.stringify(element) + " , " + element);
313 function onDisconnectCallback(element) { argument
315 + JSON.stringify(element) + " , " + element);
389 function onConnectCallback(element, remote) {
393 + JSON.stringify(element) + " , " + element);
400 function onDisconnectCallback(element) { argument
402 + JSON.stringify(element) + " , " + element);
/test/testfwk/developer_test/src/core/build/
Dbuild_lite_testcases.sh115 for element in ${array[*]}
117 echo "python build.py -p ${PRODUCT}@${DEVICECOMPANY} -f -t xts ${element}"
118 python build.py -p ${PRODUCT}@${DEVICECOMPANY} -f -t xts ${element}
120 suite_build_target=$(echo "${element}" | awk -F "[/:]" '{print $NF}')
126 …on test/xts/tools/lite/build/utils.py --method_name get_subsystem_name --arguments path=${element})
/test/xts/tools/lite/
Dbuild.sh159 for element in ${array[*]}
161 …python build.py -p wifiiot_hispark_pegasus@hisilicon -f --test xts ${element} --gn-args build_xts=…
162 suite_build_target=$(echo "${element}" | awk -F "[/:]" '{print $NF}')
165 …on test/xts/tools/lite/build/utils.py --method_name get_subsystem_name --arguments path=${element})
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py67 for element in env_node.findall("device"):
68 environment_data_list.append(element.attrib)
69 for option_element in element.findall("option"):
76 for element in pre_node.findall("option"):
77 preparer_data_list.append(element.attrib)
83 for element in clr_node.findall("option"):
84 cleaner_data_list.append(element.attrib)
/test/xts/acts/ability/ability_runtime/freeinstalltest/connectabilityfatest/actsfreeinstallconnectabilityfatest/entry/src/main/ets/ServiceAbility5/
Dservice.ts59 onConnect: async function (element: any, proxy: any) {
62 …e.info('FreeInstall_FA_ConnectAbility_PA service5 onConnect element : ' + JSON.stringify(element));
/test/xts/acts/ability/ability_runtime/freeinstalltest/connectabilityfatest/actsfreeinstallconnectabilityfatest/entry/src/main/ets/ServiceAbility4/
Dservice.ts59 onConnect: async function (element: any, proxy: any) {
62 …e.info('FreeInstall_FA_ConnectAbility_PA service4 onConnect element : ' + JSON.stringify(element));
/test/xts/acts/ability/ability_runtime/freeinstalltest/connectabilityfatest/actsfreeinstallconnectabilityfatest/entry/src/main/ets/ServiceAbility7/
Dservice.ts61 onConnect: async function (element: any, proxy: any) {
64 …e.info('FreeInstall_FA_ConnectAbility_PA service7 onConnect element : ' + JSON.stringify(element));
/test/xts/acts/ability/ability_runtime/freeinstalltest/connectabilityfatest/actsfreeinstallconnectabilityfatest/entry/src/main/ets/ServiceAbility6/
Dservice.ts62 onConnect: async function (element: any, proxy: any) {
65 …e.info('FreeInstall_FA_ConnectAbility_PA service6 onConnect element : ' + JSON.stringify(element));

12