Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 184) sorted by relevance

12345678

/test/testfwk/arkxtest/jsunit/src/module/config/
DFilter.js24 …return !this.params.split(',').map(item => item.split('#')[0]).map(item => item == this.suiteName)…
29 …let suiteFilterResult = classArray.filter(item => !item.includes('#')).map(item => item == this.su…
30 …let itFilterResult = classArray.filter(item => item.includes('#')).map(item => item == (this.suite…
43 …return this.params.split(',').map(item => item == this.suiteName).reduce((pre, cur) => pre || cur,…
47 return this.params.split(',').some(item => item == (this.suiteName + '#' + this.itName));
59 …return !this.params.split(',').map(item => item == this.suiteName).reduce((pre, cur) => pre || cur…
63 …return !this.params.split(',').map(item => item == this.itName).reduce((pre, cur) => pre || cur, f…
DconfigService.js187 .map(item => this.filterParam.testType[item] || 0)
192 .map(item => this.filterParam.level[item] || 0)
197 .map(item => this.filterParam.size[item] || 0)
224 … let result = filterArray.map(item => item.filterSuite()).reduce((pre, cur) => pre || cur, false);
242 … let result = filterArray.map(item => item.filterIt()).reduce((pre, cur) => pre || cur, false);
/test/testfwk/developer_test/src/core/command/
Dparameter.py36 for item in level_list:
37 item = item.strip(" ")
38 if not item.isdigit():
43 if item not in level_key_list:
50 for item in level_list:
51 item = item.strip(" ")
62 for item in type_list:
63 item = item.upper()
64 data = test_category_dic.get(item, None)
/test/xts/acts/kernel_lite/util_posix/src/
DActsUtilDataStructApiTest.cpp91 ENTRY item; variable
100 item.key = hashKey;
101 item.data = hashValue;
103 searchResult = hsearch(item, ENTER);
106 item.key = hashKey;
107 searchResult = hsearch(item, FIND);
123 ENTRY item; variable
131 item.key = hashKey;
132 searchResult = hsearch(item, FIND);
148 ENTRY item; variable
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice_lite.py75 for index, item in enumerate(com_list):
76 com_list[index] = item.strip().strip(b'\x00'.decode())
131 for item in device:
132 if "ip" in item.keys() and "port" in item.keys():
134 (item.get("ip"), item.get("port"))
136 elif "type" in item.keys() and "com" in item.keys():
137 self.device_sn = "local_%s" % item.get("com")
160 for item in device:
161 if "label" not in item.keys():
164 if "com" not in item.keys() or ("com" in item.keys() and
[all …]
/test/ostest/wukong/common/src/
Dmultimode_manager.cpp46 MMI::KeyEvent::KeyItem item; in SingleKeyCodeInput() local
47 item.SetKeyCode(keycode); in SingleKeyCodeInput()
48 item.SetPressed(true); in SingleKeyCodeInput()
49 item.SetDownTime(downtime); in SingleKeyCodeInput()
52 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput()
60 keyKeyboardEvent->RemoveReleasedKeyItems(item); in SingleKeyCodeInput()
61 item.SetKeyCode(keycode); in SingleKeyCodeInput()
62 item.SetPressed(false); in SingleKeyCodeInput()
63 item.SetDownTime(downtime); in SingleKeyCodeInput()
66 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput()
[all …]
/test/testfwk/arkxtest/uitest/record/
Dmatrix3.h38 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
76 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
101 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
140 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
166 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
199 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
Dmatrix3.cpp100 double item = 0.0; in ScaleMapping() local
102 item = item + matrix3X3_[i][j] * src[j]; in ScaleMapping()
104 value[i] = item; in ScaleMapping()
116 double item = 0.0; in ScaleMapping() local
118 item = item + matrix3X3_[i][j] * src[j]; in ScaleMapping()
120 result[i] = item; in ScaleMapping()
166 double item = 0.0; in ScaleMapping() local
168 item = item + Matrix3n_[i][j] * src[j]; in ScaleMapping()
170 value[i] = item; in ScaleMapping()
183 double item = 0.0; in ScaleMapping() local
[all …]
/test/testfwk/developer_test/aw/python/distributed/common/
Dmanager.py45 for item in device_info_list:
46 if len(item) != 4:
48 if item[1] == "phone":
51 device = self.make_device_adapter(item, device_name)
54 elif item[1] == "ivi":
57 device = self.make_device_adapter(item, device_name)
60 elif item[1] == "tv":
63 device = self.make_device_adapter(item, device_name)
66 elif item[1] == "watch":
69 device = self.make_device_adapter(item, device_name)
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/
DlayoutConstraints.ets48 ForEach(this.children, (item) => {
49 Text(item)
54 Text(item)
60 }, item => item)
68 ForEach(this.children, (item) => {
70 Text(item)
75 }, item => item)
85 ForEach(this.priorityChildren, (item) => {
86 if (item.priority === 1 || item.priority === 5) {
87 Text(`1\n(priority:${item.priority})`)
[all …]
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py132 for item in preparer_list:
133 if "name" not in item.keys():
136 if item["name"] == "push":
137 push_value = item["value"]
148 elif item["name"] == "pull":
149 push_value = item["value"]
155 elif item["name"] == "shell":
156 command = item["value"].strip()
159 command = item["name"] + " " + item["value"]
164 for item in preparer_list:
[all …]
Dparse_parts_config.py98 for item in self.subsystem_infos:
99 subsystem_name_list.append(item)
114 for item in subsystemlist:
115 parts = self.subsystem_infos.get(item, [])
/test/xts/device_attest/services/core/attest/
Dattest_service_auth.c115 cJSON* item = cJSON_GetObjectItem(root, "authResult"); in ParseAuthResult() local
116 if (item == NULL || !cJSON_IsNumber(item)) { in ParseAuthResult()
121 authStatus->hardwareResult = item->valueint; in ParseAuthResult()
131 cJSON* item = cJSON_GetObjectItem(root, "softwareResult"); in ParseSoftwareResult() local
132 if (item == NULL || !cJSON_IsNumber(item)) { in ParseSoftwareResult()
137 authStatus->softwareResult = item->valueint; in ParseSoftwareResult()
147 cJSON* item = cJSON_GetObjectItem(json, "versionIdResult"); in ParseVersionIdResult() local
148 if ((item == NULL) || !cJSON_IsNumber(item)) { in ParseVersionIdResult()
152 softwareResultDetail->versionIdResult = item->valueint; in ParseVersionIdResult()
162 cJSON* item = cJSON_GetObjectItem(json, "patchLevelResult"); in ParsePatchLevelResult() local
[all …]
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_auth.c126 cJSON* item = cJSON_GetObjectItem(root, "authResult"); in ParseAuthResult() local
127 if (item == NULL || !cJSON_IsNumber(item)) { in ParseAuthResult()
132 authStatus->hardwareResult = item->valueint; in ParseAuthResult()
142 cJSON* item = cJSON_GetObjectItem(root, "softwareResult"); in ParseSoftwareResult() local
143 if (item == NULL || !cJSON_IsNumber(item)) { in ParseSoftwareResult()
148 authStatus->softwareResult = item->valueint; in ParseSoftwareResult()
158 cJSON* item = cJSON_GetObjectItem(json, "versionIdResult"); in ParseVersionIdResult() local
159 if ((item == NULL) || !cJSON_IsNumber(item)) { in ParseVersionIdResult()
163 softwareResultDetail->versionIdResult = item->valueint; in ParseVersionIdResult()
173 cJSON* item = cJSON_GetObjectItem(json, "patchLevelResult"); in ParsePatchLevelResult() local
[all …]
/test/xts/acts/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/
DHiSysEventSecond.test.js724 let item = infos[i];
725 …console.info(`testHiSysEventApi46: domain is ${item.domain}, name is ${item.name}, eventType is ${
726 if (item.params instanceof Object) {
727 for (const key in item.params) {
728 console.info(`testHiSysEventApi46: ${key}: ${item.params[key]}`)
799 let item = infos[i];
800 …console.info(`testHiSysEventApi47: domain is ${item.domain}, name is ${item.name}, eventType is ${
801 if (item.params instanceof Object) {
802 for (const key in item.params) {
803 console.info(`testHiSysEventApi47: ${key}: ${item.params[key]}`)
[all …]
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py101 for item in preparer_list:
102 if "name" not in item.keys():
105 if item["name"] == "push":
106 push_value = item["value"]
115 elif item["name"] == "pull":
116 push_value = item["value"]
124 elif item["name"] == "shell":
125 command = item["value"].strip()
128 command = "".join((item["name"], " ", item["value"]))
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/
Dlist_item_group.ets66 ForEach(this.timetable, (item) => {
67 …ListItemGroup({ header:itemHeadBuilder(item.title), footer:itemFootBuilder(item.projects.length) }…
68 ForEach(item.projects, (project) => {
74 }, item => item)
76 .key(item)
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/
DWaterflowDemo.ets27 // 计算flow item宽/高
48 LazyForEach(this.datasource, (item: number) => {
51 Text("N" + item).fontSize(12).height('16')
52 Image('res/waterFlowTest(' + item % 5 + ').jpg')
58 .backgroundColor(this.colors[item % 5])
60 }, item => item)
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
DsideBar.ets39 ForEach(this.arr, (item, index) => {
41 Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64)
42 Text("Index0" + item)
44 .fontColor(this.current === item ? '#0A59F7' : '#999')
48 this.current = item
50 }, item => item)
DlazyForEach.ets193 LazyForEach(this.data, (item: string) => {
196 Image(item).width("30%").height(50)
197 Text(item).fontSize(20).margin({ left: 10 })
226 }, item => item)
244 LazyForEach(this.data, (item: string) => {
247 Image(item).width("30%").height(50)
248 Text(item).fontSize(20).margin({ left: 10 })
276 }, item => item)
294 LazyForEach(this.data, (item: string) => {
297 Image(item).width("30%").height(50)
[all …]
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/
DsideBar.ets60 ForEach(this.arr, (item, index) => {
62 Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64)
63 Text("Index0" + item)
65 .fontColor(this.current === item ? '#0A59F7' : '#999')
69 this.current = item
71 }, item => item)
/test/xts/acts/commonlibrary/ets_utils/containerLine_lib_standard/src/main/js/test/
DLinkedList.test.js174 linkedList1.forEach((item, index) => {
175 arr.push(item);
209 linkedList.forEach((item, index) => {
210 arr.push(item);
304 linkedList.forEach((item, index) => {
305 arr.push(item);
348 linkedList.forEach((item, index) => {
349 arr.push(item);
395 linkedList.forEach((item, index) => {
396 arr.push(item);
[all …]
DVector.test.js426 vector.forEach((item, index) => {
427 arr.push(item);
514 vector.forEach((item, index) => {
515 arr.push(item);
596 vector.replaceAllElements((item, index) => {
597 return (item = 2 * item);
600 vector.forEach((item, index) => {
601 arr.push(item);
622 vector.forEach((item, index) => {
623 arr.push(item);
[all …]
DArrayList.test.js108 arrayList.forEach((item, index) => {
109 arr.push(item);
176 arrayList.forEach((item, index) => {
177 arr.push(item);
234 arrayList.forEach((item, index) => {
235 arr.push(item);
255 arrayList.replaceAllElements((item, index) => {
256 return (item = 2 * item);
259 arrayList.forEach((item, index) => {
260 arr.push(item);
[all …]
/test/xts/acts/arkui/ace_ets_third_test/entry/src/main/ets/MainAbility/pages/
DScrollBar.ets43 ForEach(this.arr1, (item) => {
45 Text(item.toString())
53 }, item => item)
86 ForEach(this.arr2, (item) => {
88 Text(item.toString())
96 }, item => item)

12345678