/test/xts/acts/ability_lite/ability_hal/src/ |
D | ability_mgr_test.c | 59 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/ |
D | AbilityMgrTest.cpp | 168 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 …]
|
D | AbilityMgrTest2.cpp | 166 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/ |
D | bundle_mgr_test.c | 195 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/ |
D | BundleMgrTest.cpp | 160 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/ |
D | display.py | 217 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/ |
D | service.js | 80 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/ |
D | service.js | 121 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/ |
D | service.ts | 62 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/ |
D | StServiceAbilityClient.test.js | 382 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/ |
D | service.ts | 73 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/ |
D | uitest_exporter.js | 22 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/ |
D | service.ts | 73 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/ |
D | service.ts | 73 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/ |
D | service.ts | 73 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/ |
D | service.ts | 73 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/ |
D | resource_manager.py | 50 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/ |
D | ActsStServiceAbilityClientCaseTest.test.js | 302 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/ |
D | build_lite_testcases.sh | 115 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/ |
D | build.sh | 159 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/ |
D | resource_manager.py | 67 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/ |
D | service.ts | 59 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/ |
D | service.ts | 59 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/ |
D | service.ts | 61 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/ |
D | service.ts | 62 onConnect: async function (element: any, proxy: any) { 65 …e.info('FreeInstall_FA_ConnectAbility_PA service6 onConnect element : ' + JSON.stringify(element));
|