Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 26) sorted by relevance

12

/test/vts/compilation_tools/vtsc/code_gen/profiler/
DProfilerCodeGenBase.cpp144 const VariableSpecificationMessage& val, const std::string& arg_name, in GenerateProfilerForTypedVariable() argument
146 switch (val.type()) { in GenerateProfilerForTypedVariable()
149 GenerateProfilerForScalarVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
154 GenerateProfilerForStringVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
159 GenerateProfilerForEnumVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
164 GenerateProfilerForVectorVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
169 GenerateProfilerForArrayVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
174 GenerateProfilerForStructVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
178 GenerateProfilerForUnionVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
183 GenerateProfilerForHidlCallbackVariable(out, val, arg_name, arg_value); in GenerateProfilerForTypedVariable()
[all …]
DProfilerCodeGenBase.h59 const VariableSpecificationMessage& val, const std::string& arg_name,
64 const VariableSpecificationMessage& val, const std::string& arg_name,
69 const VariableSpecificationMessage& val, const std::string& arg_name,
74 const VariableSpecificationMessage& val, const std::string& arg_name,
79 const VariableSpecificationMessage& val, const std::string& arg_name,
84 const VariableSpecificationMessage& val, const std::string& arg_name,
89 const VariableSpecificationMessage& val, const std::string& arg_name,
94 Formatter& out, const VariableSpecificationMessage& val,
99 const VariableSpecificationMessage& val, const std::string& arg_name,
104 const VariableSpecificationMessage& val, const std::string& arg_name,
[all …]
DHalHidlProfilerCodeGen.h33 const VariableSpecificationMessage& val, const std::string& arg_name,
37 const VariableSpecificationMessage& val, const std::string& arg_name,
41 const VariableSpecificationMessage& val, const std::string& arg_name,
45 const VariableSpecificationMessage& val, const std::string& arg_name,
49 const VariableSpecificationMessage& val, const std::string& arg_name,
53 const VariableSpecificationMessage& val, const std::string& arg_name,
57 const VariableSpecificationMessage& val, const std::string& arg_name,
61 Formatter& out, const VariableSpecificationMessage& val,
65 const VariableSpecificationMessage& val, const std::string& arg_name,
69 const VariableSpecificationMessage& val, const std::string& arg_name,
[all …]
DHalHidlProfilerCodeGen.cpp26 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForScalarVariable() argument
29 out << arg_name << "->mutable_scalar_value()->set_" << val.scalar_type() in GenerateProfilerForScalarVariable()
44 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForEnumVariable() argument
49 if (val.has_predefined_type()) { in GenerateProfilerForEnumVariable()
50 std::string predefined_type = val.predefined_type(); in GenerateProfilerForEnumVariable()
55 const std::string scalar_type = val.enum_value().scalar_type(); in GenerateProfilerForEnumVariable()
63 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForVectorVariable() argument
76 GenerateProfilerForTypedVariable(out, val.vector_value(0), in GenerateProfilerForVectorVariable()
84 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForArrayVariable() argument
87 out << arg_name << "->set_vector_size(" << val.vector_size() << ");\n"; in GenerateProfilerForArrayVariable()
[all …]
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp800 const VariableSpecificationMessage& val, const string& arg_name, in GenerateDriverImplForTypedVariable() argument
802 switch (val.type()) { in GenerateDriverImplForTypedVariable()
806 << val.scalar_type() << "();\n"; in GenerateDriverImplForTypedVariable()
817 if (val.has_predefined_type()) { in GenerateDriverImplForTypedVariable()
819 "MessageTo" + ClearStringWithNameSpaceAccess(val.predefined_type()); in GenerateDriverImplForTypedVariable()
823 out << arg_name << " = (" << val.name() << ")" << arg_value_name << "." in GenerateDriverImplForTypedVariable()
824 << "enum_value().scalar_value(0)." << val.enum_value().scalar_type() in GenerateDriverImplForTypedVariable()
832 << val.scalar_type() << "();\n"; in GenerateDriverImplForTypedVariable()
845 out, val.vector_value(0), arg_name + "[" + index_name + "]", in GenerateDriverImplForTypedVariable()
859 out, val.vector_value(0), arg_name + "[" + index_name + "]", in GenerateDriverImplForTypedVariable()
[all …]
DHalHidlCodeGen.h138 const VariableSpecificationMessage& val, const string& arg_name,
153 const VariableSpecificationMessage& val, const string& result_value,
168 const VariableSpecificationMessage& val, const string& result_msg,
178 Formatter& out, const VariableSpecificationMessage& val);
/test/mlts/benchmark/results/
Dgenerate_result.py294 val = [float(x) * 100.0 for x in result.evaluator_values]
296 topk = [TOPK_BASELINE_TEMPLATE.format(val=x) for x in val]
303 diff = [a - b for a, b in zip(val, base)]
305 val=v, diff=d, span=get_diff_span(d, 1.0, positive_is_better=True))
306 for v, d in zip(val, diff)]
312 val = [float(x) for x in
317 val=val[0]),
319 val=val[1]),
321 val=val[2]),
326 diff = [a - b for a, b in zip(val, base)]
[all …]
/test/vts/utils/python/mirror/
Dshell_mirror.py88 for index, val in enumerate(result_val):
91 if pattern.match(val):
93 logging.debug("pulling file: %s to %s", val, tmp_file)
94 self._adb.pull(val, tmp_file)
96 self._adb.shell("rm -f %s" % val)
98 result_val[index] = val
/test/vti/dashboard/src/main/webapp/js/
Dtest_acknowledgments.js115 if (e.keyCode === 13 && input.val().trim()) {
116 addChips(allChipsSet, chipContainer, [input.val()], allIndicator);
117 input.val('');
122 if (input.val().trim()) {
123 addChips(allChipsSet, chipContainer, [input.val()], allIndicator);
124 input.val('');
133 if (!input.val().trim()) {
158 if (!!$(input).val()) {
276 textArea.val(note);
286 saveCallback(ack, wrapper, key, test, branchSet, deviceSet, testCaseSet, textArea.val());
[all …]
Dsearch_header.js22 var value = input.val();
52 config.value = input.val();
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py510 val = propVal["value"]
517 for v in val[valType]:
550 supported, val = self.getValueIfPropSupported(prop)
552 asserts.assertEqual(str, type(val), "prop: 0x%x" % prop)
553 asserts.assertTrue(0 <= (len(val)), "prop: 0x%x" % prop)
570 supported, val = self.getValueIfPropSupported(prop)
572 asserts.assertEqual(float, type(val))
573 self.assertValueInRangeForProp(val, validRange[0],
619 val = propValue['value']
621 asserts.assertNotEqual(None, val['stringValue'])
[all …]
/test/framework/harnesses/host_controller/tfc/
Ddevice_info.py102 val = getattr(ad, prop, None)
103 if val is None:
105 setattr(self, prop, val)
/test/vts/compilation_tools/vtsc/test/
Dtest_vtsc.py285 for opt, val in opts:
287 hidl_gen_path = val
289 vtsc_path = val
291 canonical_dir = val
293 output_dir = val
295 temp_dir = val
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DDynamicConfig.java86 String val = mDynamicConfigMap.get(REMOTE_CONFIG_REQUIRED_KEY).get(0); in remoteConfigRequired() local
87 return Boolean.parseBoolean(val); in remoteConfigRequired()
94 String val = mDynamicConfigMap.get(REMOTE_CONFIG_RETRIEVED_KEY).get(0); in remoteConfigRetrieved() local
95 return Boolean.parseBoolean(val); in remoteConfigRetrieved()
/test/vts/utils/python/library/elf/
Dutils_test.py60 val, num = elf_utils.DecodeSLEB128(_SLEB_INPUT_DATA, cur)
62 result.append((val, num))
/test/framework/harnesses/host_controller/acloud/
Dacloud_config.py89 val = line[len(separator) + idx : -1]
91 self.configs[key] = val
/test/vts/runners/adapters/acts/
Dacts_adapter.py138 key: val
139 for key, val in os.environ.iteritems() if 'virtualenv' not in val
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDynamicConfigHandler.java57 List<String> val = Collections.singletonList(Boolean.toString(retrieved)); in setRemoteConfigRetrieved() local
58 config.put(DynamicConfig.REMOTE_CONFIG_RETRIEVED_KEY, val); in setRemoteConfigRetrieved()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowCoverageOverviewServlet.java403 entityList.stream().mapToLong(val -> val.getCoveredLineCount()).sum(); in getCoverageDataTable()
405 entityList.stream().mapToLong(val -> val.getTotalLineCount()).sum(); in getCoverageDataTable()
/test/vts-testcase/kernel/encryption/
Dutils.cpp362 static void PushBigEndian32(uint32_t val, std::vector<uint8_t> *vec) { in PushBigEndian32() argument
364 vec->push_back((val >> i) & 0xFF); in PushBigEndian32()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_graph.jsp52 var percentileIndex = Number($('#outlier-select').val());
225 var filterVal = $('#outlier-select').val();
232 link += '&device=' + $('#device-select').val();
Dshow_suite_release.jsp67 var branch = $("#deviceBranch").val().trim();
73 var host = $("#host").val().trim();
79 var buildId = $("#deviceBuildId").val().trim();
85 var deviceName = $("#deviceName").val().trim();
Dshow_performance_digest.jsp40 link += '&device=' + $('#device-select').val();
Ddashboard_main.jsp33 var test = $('#input-box').val();
72 $('#input-box').val(null);
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java301 boolean isAllTrue = checkList.stream().allMatch(val -> Strings.isNullOrEmpty(val)); in save()

12