Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 23 of 23) sorted by relevance

/test/vts/utils/python/mirror/
Dpy2pb.py166 for attr in pb_spec.struct_value:
167 if attr.name in py_value:
168 provided_attrs.remove(attr.name)
169 curr_value = py_value[attr.name]
171 if attr.type == CompSpecMsg.TYPE_ENUM:
172 PyValue2PbEnum(attr_msg, attr, curr_value)
173 elif attr.type == CompSpecMsg.TYPE_SCALAR:
174 PyValue2PbScalar(attr_msg, attr, curr_value)
175 elif attr.type == CompSpecMsg.TYPE_STRING:
176 PyString2PbString(attr_msg, attr, curr_value)
[all …]
Dpb2py.py123 for attr in var.struct_value:
124 if attr.type == CompSpecMsg.TYPE_ENUM:
125 result[attr.name] = PbEnum2PyValue(attr)
126 elif attr.type == CompSpecMsg.TYPE_SCALAR:
127 result[attr.name] = PbScalar2PyValue(attr)
128 elif attr.type == CompSpecMsg.TYPE_STRING:
129 result[attr.name] = PbString2PyString(attr)
130 elif attr.type == CompSpecMsg.TYPE_VECTOR:
131 result[attr.name] = PbVector2PyList(attr)
132 elif attr.type == CompSpecMsg.TYPE_STRUCT:
[all …]
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base_test.py48 for attr in attrs:
49 setattr(job_message, attr, attr)
56 for attr in attrs:
57 setattr(job, attr, attr)
78 for attr in attrs:
79 setattr(job_message, attr, attr)
101 for attr in attrs:
102 setattr(job, attr, attr)
Djob_queue.py63 for attr in common_attributes:
64 setattr(job_message, attr, getattr(job, attr))
116 for attr in common_attributes:
117 setattr(job_message, attr, getattr(job, attr))
Dbuild_info.py61 for attr in common_attributes:
62 setattr(build, attr, getattr(request, attr))
Dendpoint_base.py160 if all([not getattr(x, attr) for attr in empty_repeated_field])
324 for attr in assigned_attributes:
325 entity_dict[attr] = getattr(entity, attr, None)
Dschedule_info.py89 [not getattr(schedule, attr) for attr in empty_list_field])
/test/framework/harnesses/host_controller/utils/parser/
Dxml_utils.py36 for attr in attrs:
37 if attr in elem.attrib:
38 result[attr] = elem.attrib[attr]
42 attr, tag))
/test/framework/harnesses/host_controller/command_processor/
Dcommand_config.py241 for attr in attrs[build_type]:
242 if hasattr(pb, attr):
243 setattr(device, attr, getattr(pb, attr, None))
244 elif hasattr(build_target, attr):
245 setattr(device, attr, getattr(build_target, attr,
252 for attr in attrs[build_type]:
253 if hasattr(test_schedule, attr):
254 setattr(gsi, attr,
255 getattr(test_schedule, attr, None))
261 for attr in attrs[build_type]:
[all …]
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
DVtsHalMediaOmxStoreV1_0HostTest.py100 for attr in attributes:
101 attr_key = attr['key']
102 attr_value = attr['value']
353 for attr in attributes:
354 attr_key = attr['key']
355 attr_value = attr['value']
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Ddashboard_main.jsp45 .attr('href', '${resultsUrl}?testName=' + test);
56 silence.attr('test', test);
57 silence.attr('title', 'Disable notifications');
63 clear.attr('test', test);
64 clear.attr('title', 'Remove favorite');
85 var test = self.attr('test');
97 element.attr('title', 'Enable notifications');
102 element.attr('title', 'Disable notifications');
118 var test = self.attr('test');
138 var test = self.attr('test');
[all …]
Dshow_gcs_log.jsp40 if ($(modal).attr("id") == "logEntryListModal") {
68 if ($(modal).attr("id") == "logEntryListModal") {
Dshow_release.jsp27 window.open($(this).children().attr("href"), '_self');
Dshow_suite_release.jsp47 window.open($(this).children().attr("href"), '_self');
/test/vti/dashboard/src/main/webapp/js/
Dsearch_header.js38 input.attr('type', config.options.type || 'text');
42 input.attr('value', value);
47 input.attr('pattern', _inequalityRegex);
48 input.attr('placeholder', _inequalityHint);
Dtest_results.js158 var test = header.attr('test');
159 var time = header.attr('time');
222 popout.attr('data-collapsible', 'expandable');
233 div.attr('test', test);
234 div.attr('time', startTime);
Dtest_acknowledgments.js113 input.attr('placeholder', placeholder);
278 textArea.attr('disabled', true);
366 clear.attr('title', 'Remove');
Dplan_runs.js29 card.attr('href', link);
/test/vts/runners/host/
Dtest_runner.py265 for attr in required_attributes:
266 if not hasattr(module, attr):
270 attr))
271 if not getattr(module, attr):
274 "cannot be null.") % (attr, module.__name__))
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing.py168 for attr in ["has_bootloader_img", "has_radio_img"]:
169 if getattr(entity, attr, None) is None:
170 setattr(entity, attr, True)
/test/vts/utils/python/reporting/
Dlog_uploading_utils.py69 if all(hasattr(self, attr) for attr in [
/test/framework/harnesses/host_controller/campaigns/
Dcampaign_common.py37 def HasAttr(attr, **kwargs): argument
39 return True if attr in kwargs and kwargs[attr] else False
/test/framework/harnesses/host_controller/
Dconsole.py652 for index, attr in enumerate(attrs):
653 width[index] = max(width[index], len(attr))
657 attr.ljust(width[index]) for index, attr in enumerate(row)))