Home
last modified time | relevance | path

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

/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.py548 val = propVal["value"]
555 for v in val[valType]:
594 supported, val = self.getValueIfPropSupported(prop)
596 asserts.assertEqual(str, type(val), "prop: 0x%x" % prop)
597 asserts.assertTrue(0 <= (len(val)), "prop: 0x%x" % prop)
614 supported, val = self.getValueIfPropSupported(prop)
616 asserts.assertEqual(float, type(val))
617 self.assertValueInRangeForProp(val, validRange[0],
663 val = propValue['value']
665 asserts.assertNotEqual(None, val['stringValue'])
[all …]
/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/vts/utils/python/library/elf/
Dutils_test.py60 val, num = elf_utils.DecodeSLEB128(_SLEB_INPUT_DATA, cur)
62 result.append((val, num))
/test/vts/runners/adapters/acts/
Dacts_adapter.py138 key: val
139 for key, val in os.environ.iteritems() if 'virtualenv' not in val
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java225 private void checkArgumentNonNegative(long val, String name) { in checkArgumentNonNegative() argument
226 checkArgument(val >= 0, "%s (%s) must not be negative", name, val); in checkArgumentNonNegative()
/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/catbox/report/src/com/android/catbox/util/
DTestMetricsUtil.java184 val -> { in isAllDoubleValues()
186 Double.parseDouble(val); in isAllDoubleValues()
/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);
Dshow_coverage_overview.jsp51 var result = $("#search" + selectId).val();
/test/vts-testcase/kernel/encryption/
Dutils.cpp361 static void PushBigEndian32(uint32_t val, std::vector<uint8_t> *vec) { in PushBigEndian32() argument
363 vec->push_back((val >> i) & 0xFF); in PushBigEndian32()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java301 boolean isAllTrue = checkList.stream().allMatch(val -> Strings.isNullOrEmpty(val)); in save()