Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 102) sorted by relevance

12345

/test/vts/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp26 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForScalarVariable() argument
28 out << arg_name << "->set_type(TYPE_SCALAR);\n"; in GenerateProfilerForScalarVariable()
29 out << arg_name << "->mutable_scalar_value()->set_" << val.scalar_type() in GenerateProfilerForScalarVariable()
34 Formatter& out, const VariableSpecificationMessage&, in GenerateProfilerForStringVariable() argument
36 out << arg_name << "->set_type(TYPE_STRING);\n"; in GenerateProfilerForStringVariable()
37 out << arg_name << "->mutable_string_value()->set_message" in GenerateProfilerForStringVariable()
39 out << arg_name << "->mutable_string_value()->set_length" in GenerateProfilerForStringVariable()
44 Formatter& out, const VariableSpecificationMessage& val, in GenerateProfilerForEnumVariable() argument
46 out << arg_name << "->set_type(TYPE_ENUM);\n"; in GenerateProfilerForEnumVariable()
52 out << "profile__" << predefined_type << "(" << arg_name << ", " in GenerateProfilerForEnumVariable()
[all …]
DProfilerCodeGenBase.cpp33 Formatter& out, const ComponentSpecificationMessage& message) { in GenerateHeaderFile() argument
35 out << "#ifndef __VTS_PROFILER_" << component_fq_name.tokenName() in GenerateHeaderFile()
37 out << "#define __VTS_PROFILER_" << component_fq_name.tokenName() in GenerateHeaderFile()
39 out << "\n\n"; in GenerateHeaderFile()
40 GenerateHeaderIncludeFiles(out, message); in GenerateHeaderFile()
41 GenerateUsingDeclaration(out, message); in GenerateHeaderFile()
42 GenerateOpenNameSpaces(out, message); in GenerateHeaderFile()
49 GenerateProfilerMethodDeclForAttribute(out, attribute); in GenerateHeaderFile()
52 out << "extern \"C\" {\n"; in GenerateHeaderFile()
53 out.indent(); in GenerateHeaderFile()
[all …]
DProfilerCodeGenBase.h49 virtual void GenerateHeaderFile(Formatter &out,
53 virtual void GenerateSourceFile(Formatter &out,
58 virtual void GenerateProfilerForScalarVariable(Formatter& out,
63 virtual void GenerateProfilerForStringVariable(Formatter& out,
68 virtual void GenerateProfilerForEnumVariable(Formatter& out,
73 virtual void GenerateProfilerForVectorVariable(Formatter& out,
78 virtual void GenerateProfilerForArrayVariable(Formatter& out,
83 virtual void GenerateProfilerForStructVariable(Formatter& out,
88 virtual void GenerateProfilerForUnionVariable(Formatter& out,
94 Formatter& out, const VariableSpecificationMessage& val,
[all …]
DHalHidlProfilerCodeGen.h32 virtual void GenerateProfilerForScalarVariable(Formatter& out,
36 virtual void GenerateProfilerForStringVariable(Formatter& out,
40 virtual void GenerateProfilerForEnumVariable(Formatter& out,
44 virtual void GenerateProfilerForVectorVariable(Formatter& out,
48 virtual void GenerateProfilerForArrayVariable(Formatter& out,
52 virtual void GenerateProfilerForStructVariable(Formatter& out,
56 virtual void GenerateProfilerForUnionVariable(Formatter& out,
61 Formatter& out, const VariableSpecificationMessage& val,
64 virtual void GenerateProfilerForHidlCallbackVariable(Formatter& out,
68 virtual void GenerateProfilerForHidlInterfaceVariable(Formatter& out,
[all …]
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalCodeGen.cpp36 Formatter& out, const ComponentSpecificationMessage& message, in GenerateCppBodyInterfaceImpl() argument
48 out << "static string callback_socket_name_;" << "\n"; in GenerateCppBodyInterfaceImpl()
51 out << "\n"; in GenerateCppBodyInterfaceImpl()
52 out << "class " << name << " : public DriverCallbackBase {" in GenerateCppBodyInterfaceImpl()
54 out << " public:" << "\n"; in GenerateCppBodyInterfaceImpl()
55 out.indent(); in GenerateCppBodyInterfaceImpl()
56 out << name << "(const string& callback_socket_name) {" << "\n"; in GenerateCppBodyInterfaceImpl()
57 out.indent(); in GenerateCppBodyInterfaceImpl()
58 out << "callback_socket_name_ = callback_socket_name;" << "\n"; in GenerateCppBodyInterfaceImpl()
59 out.unindent(); in GenerateCppBodyInterfaceImpl()
[all …]
DHalHidlCodeGen.cpp37 Formatter& out, const ComponentSpecificationMessage& message, in GenerateCppBodyInterfaceImpl() argument
39 out << "\n"; in GenerateCppBodyInterfaceImpl()
44 out << "::android::hardware::Return<" in GenerateCppBodyInterfaceImpl()
47 out << "::android::hardware::Return<void> "; in GenerateCppBodyInterfaceImpl()
52 out << full_method_name << "(\n"; in GenerateCppBodyInterfaceImpl()
53 out.indent(); in GenerateCppBodyInterfaceImpl()
56 out << GetCppVariableType(arg, IsConstType(arg.type())) << " arg" << index in GenerateCppBodyInterfaceImpl()
58 if (index != (api.arg_size() - 1)) out << ",\n"; in GenerateCppBodyInterfaceImpl()
61 out << ") {\n"; in GenerateCppBodyInterfaceImpl()
63 out << (api.arg_size() != 0 ? ", " : ""); in GenerateCppBodyInterfaceImpl()
[all …]
DDriverCodeGenBase.cpp42 Formatter& out, const ComponentSpecificationMessage& message) { in GenerateHeaderFile() argument
67 out << "#ifndef __VTS_DRIVER__" << component_name_token << "__\n"; in GenerateHeaderFile()
68 out << "#define __VTS_DRIVER__" << component_name_token << "__\n"; in GenerateHeaderFile()
69 out << "\n"; in GenerateHeaderFile()
71 out << "#undef LOG_TAG\n"; in GenerateHeaderFile()
72 out << "#define LOG_TAG \"" << fuzzer_extended_class_name << "\"\n"; in GenerateHeaderFile()
74 GenerateHeaderIncludeFiles(out, message, fuzzer_extended_class_name); in GenerateHeaderFile()
76 GenerateOpenNameSpaces(out, message); in GenerateHeaderFile()
77 GenerateClassHeader(out, message, fuzzer_extended_class_name); in GenerateHeaderFile()
78 out << "\n\n"; in GenerateHeaderFile()
[all …]
DLibSharedCodeGen.cpp34 Formatter& out, const ComponentSpecificationMessage& message, in GenerateCppBodyFuzzFunction() argument
36 out << "bool " << fuzzer_extended_class_name << "::Fuzz(" << "\n"; in GenerateCppBodyFuzzFunction()
37 out << " FunctionSpecificationMessage* func_msg," << "\n"; in GenerateCppBodyFuzzFunction()
38 out << " void** result, const string& callback_socket_name) {" << "\n"; in GenerateCppBodyFuzzFunction()
39 out.indent(); in GenerateCppBodyFuzzFunction()
40 out << "const char* func_name = func_msg->name().c_str();" << "\n"; in GenerateCppBodyFuzzFunction()
41 out << "LOG(INFO) << \"Function: \" << func_name;\n"; in GenerateCppBodyFuzzFunction()
46 out << "if (!strcmp(func_name, \"" << api.name() << "\")) {" << "\n"; in GenerateCppBodyFuzzFunction()
56 out << " " << GetCppVariableType(arg) << " " in GenerateCppBodyFuzzFunction()
58 out << "reinterpret_cast<" << GetCppVariableType(arg) << ">(" in GenerateCppBodyFuzzFunction()
[all …]
DHalHidlCodeGen.h36 void GenerateClassHeader(Formatter& out,
40 void GenerateClassImpl(Formatter& out,
44 void GenerateCppBodyFuzzFunction(Formatter& out,
48 virtual void GenerateDriverFunctionImpl(Formatter& out,
52 void GenerateVerificationFunctionImpl(Formatter& out,
56 void GenerateCppBodyGetAttributeFunction(Formatter& out,
61 Formatter& out, const ComponentSpecificationMessage& message) override;
64 Formatter& out, const ComponentSpecificationMessage& message,
67 void GenerateClassConstructionFunction(Formatter& out,
71 void GenerateHeaderGlobalFunctionDeclarations(Formatter& out,
[all …]
DDriverCodeGenBase.h44 Formatter& out, const ComponentSpecificationMessage& message);
48 Formatter& out, const ComponentSpecificationMessage& message);
53 virtual void GenerateClassHeader(Formatter& out,
58 virtual void GenerateClassImpl(Formatter& out,
63 virtual void GenerateCppBodyFuzzFunction(Formatter& out,
68 virtual void GenerateCppBodyGetAttributeFunction(Formatter& out,
73 virtual void GenerateDriverFunctionImpl(Formatter& out,
78 virtual void GenerateVerificationFunctionImpl(Formatter& out,
102 virtual void GenerateHeaderGlobalFunctionDeclarations(Formatter& out,
107 virtual void GenerateCppBodyGlobalFunctions(Formatter& out,
[all …]
DHalCodeGen.h37 void GenerateCppBodyFuzzFunction(Formatter& out,
41 void GenerateCppBodyGetAttributeFunction(Formatter& out,
46 Formatter& out, const ComponentSpecificationMessage& message,
49 void GenerateClassConstructionFunction(Formatter& out,
53 void GenerateSubStructFuzzFunctionCall(Formatter& out,
56 void GenerateSubStructGetAttributeFunctionCall(Formatter& out,
59 void GenerateCppBodyFuzzFunction(Formatter& out,
64 void GenerateCppBodyGetAttributeFunction(Formatter& out,
/test/vts/compilation_tools/vtsc/code_gen/fuzzer/
DHalHidlFuzzerCodeGen.cpp31 void HalHidlFuzzerCodeGen::GenerateSourceIncludeFiles(Formatter &out) { in GenerateSourceIncludeFiles() argument
32 out << "#include <iostream>\n\n"; in GenerateSourceIncludeFiles()
33 out << "#include \"FuncFuzzerUtils.h\"\n"; in GenerateSourceIncludeFiles()
34 out << "#include <" << GetPackagePath(comp_spec_) << "/" in GenerateSourceIncludeFiles()
37 out << "\n"; in GenerateSourceIncludeFiles()
40 void HalHidlFuzzerCodeGen::GenerateUsingDeclaration(Formatter &out) { in GenerateUsingDeclaration() argument
41 out << "using std::cerr;\n"; in GenerateUsingDeclaration()
42 out << "using std::endl;\n"; in GenerateUsingDeclaration()
43 out << "using std::string;\n\n"; in GenerateUsingDeclaration()
49 out << "using namespace ::" << package_path << "::" << comp_version << ";\n"; in GenerateUsingDeclaration()
[all …]
DFuzzerCodeGenBase.cpp38 void FuzzerCodeGenBase::GenerateSourceFile(Formatter &out) { in GenerateSourceFile() argument
42 GenerateWarningComment(out); in GenerateSourceFile()
43 GenerateSourceIncludeFiles(out); in GenerateSourceFile()
44 GenerateUsingDeclaration(out); in GenerateSourceFile()
45 GenerateOpenNameSpaces(out); in GenerateSourceFile()
46 GenerateGlobalVars(out); in GenerateSourceFile()
47 GenerateLLVMFuzzerInitialize(out); in GenerateSourceFile()
48 GenerateLLVMFuzzerTestOneInput(out); in GenerateSourceFile()
49 GenerateCloseNameSpaces(out); in GenerateSourceFile()
52 void FuzzerCodeGenBase::GenerateOpenNameSpaces(Formatter &out) { in GenerateOpenNameSpaces() argument
[all …]
DFuzzerCodeGenBase.h43 void GenerateHeaderFile(Formatter &out);
45 void GenerateSourceFile(Formatter &out);
49 virtual void GenerateSourceIncludeFiles(Formatter &out) = 0;
51 virtual void GenerateUsingDeclaration(Formatter &out) = 0;
53 virtual void GenerateGlobalVars(Formatter &out) = 0;
55 virtual void GenerateLLVMFuzzerInitialize(Formatter &out) = 0;
57 virtual void GenerateLLVMFuzzerTestOneInput(Formatter &out) = 0;
58 virtual void GenerateOpenNameSpaces(Formatter &out);
59 virtual void GenerateCloseNameSpaces(Formatter &out);
62 virtual void GenerateWarningComment(Formatter &out);
DHalHidlFuzzerCodeGen.h31 void GenerateSourceIncludeFiles(Formatter &out) override;
32 void GenerateUsingDeclaration(Formatter &out) override;
33 void GenerateGlobalVars(Formatter &out) override;
34 void GenerateLLVMFuzzerInitialize(Formatter &out) override;
35 void GenerateLLVMFuzzerTestOneInput(Formatter &out) override;
39 void GenerateReturnCallback(Formatter &out,
42 void GenerateHalFunctionCall(Formatter &out,
/test/vts-testcase/vndk/
Dutils.py52 out, err = proc.communicate()
54 if not isinstance(out, str):
55 out = out.decode("utf-8")
58 return out, err, proc.returncode
72 out, err, return_code = self.Execute("getprop", name)
75 (name, out, err))
76 return out.strip()
88 out = self._GetProp("ro.product.cpu.abilist" + str(bitness))
89 return out.lower().split(",") if out else []
194 out, err, return_code = self.Execute("id")
[all …]
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_suite_release.jsp64 …var url = '<c:out value="${requestScope['javax.servlet.forward.servlet_path']}" escapeXml="false">…
65 …var params = $.deparam('<c:out value="${requestScope['javax.servlet.forward.query_string']}" escap…
121 <b>Plan: </b><span><c:out value="${plan}"></c:out></span>
130 …<input id="deviceBranch" type="text" value="<c:out value="${branch}"></c:out>" autocomplete="off" …
134 … <input id="host" type="text" value="<c:out value="${hostName}"></c:out>" autocomplete="off" />
138 …<input id="deviceBuildId" type="text" value="<c:out value="${buildId}"></c:out>" autocomplete="off…
144 …<input id="deviceName" type="text" value="<c:out value="${deviceName}"></c:out>" autocomplete="off…
164 …<a class="<c:out value="${testCategoryType == '1' ? 'active' : 'inactive'}"></c:out>" href="${requ…
167 …<a class="<c:out value="${testCategoryType == '4' ? 'active' : 'inactive'}"></c:out>" href="${requ…
170 …<a class="<c:out value="${testCategoryType == '2' ? 'active' : 'inactive'}"></c:out>" href="${requ…
[all …]
Dshow_green_suite_release.jsp56 <td> <c:out value="${branchList.key}"></c:out> </td>
60 <c:out value="${deviceBuildInfo.deviceBuildTarget}"></c:out> :
63 <c:out value="${deviceBuildInfo.candidateBuildId}"></c:out>
66 <c:out value="${deviceBuildInfo.candidateBuildId}"></c:out>
80 <c:out value="${deviceBuildInfo.greenBuildId}"></c:out>
83 <c:out value="${deviceBuildInfo.greenBuildId}"></c:out>
Dshow_green_plan_release.jsp55 <td> <c:out value="${branchList.key}"></c:out> </td>
59 <c:out value="${deviceBuildInfo.deviceBuildTarget}"></c:out> :
62 <c:out value="${deviceBuildInfo.candidateBuildId}"></c:out>
66 <c:out value="${deviceBuildInfo.candidateBuildId}"></c:out>
81 <c:out value="${deviceBuildInfo.greenBuildId}"></c:out>
85 <c:out value="${deviceBuildInfo.greenBuildId}"></c:out>
/test/vts-testcase/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py44 out, err, return_code = self.dut.Execute("getprop ro.boot." + prop)
45 extension = out
50 out, err, return_code = self.dut.Execute("cat " + filename + extension)
54 return out
98 out, err, return_code = self.dut.Execute("getprop sys.boot_completed")
100 boot_completed = int(out)
109 out, err, return_code = self.dut.Execute("getprop ro.product.first_api_level")
111 first_api_level = int(out)
130 out, err, return_code = self.dut.Execute("vdc checkpoint startCheckpoint 1")
139 out, err, return_code = self.dut.Execute("cat " + self._CHECKPOINTTESTFILE)
[all …]
/test/vts/script/
Dsetup-local.sh24 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_driver32 /data/local…
25 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_driver64 /data/local…
26 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_shell_driver32 /data/loc…
27 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_shell_driver64 /data/loc…
28 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_agent32 /data/local/…
29 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/bin/vts_hal_agent64 /data/local/…
32 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib/libvts_common.so /data/local…
33 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib64/libvts_common.so /data/loc…
34 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib/libvts_interfacespecificatio…
35 …adb push ${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/system/lib64/libvts_interfacespecificat…
[all …]
/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp86 std::ostringstream out; in GetVersionString() local
88 out << "V"; in GetVersionString()
91 out << (version_long / DEFAULT_FACTOR); in GetVersionString()
93 out << "."; in GetVersionString()
95 out << "_"; in GetVersionString()
101 out << (version_long / factor); in GetVersionString()
106 return out.str(); in GetVersionString()
110 std::ostringstream out; in GetVersionString() local
112 if (for_macro) out << "V"; in GetVersionString()
114 out << version_major; in GetVersionString()
[all …]
/test/vts-testcase/kernel/ltp/testcase/
DAndroid.bp26 out: ["vts_ltp_test_arm_64.xml"],
30 …NDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 False False $(out)",
42 out: ["vts_ltp_test_arm_64_lowmem.xml"],
46 …ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 True False $(out)",
58 out: ["vts_ltp_test_arm_64_hwasan.xml"],
62 …ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 False True $(out)",
74 out: ["vts_ltp_test_arm_64_lowmem_hwasan.xml"],
78 … ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 True True $(out)",
90 out: ["vts_ltp_test_arm.xml"],
94 …NDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 32 False False $(out)",
[all …]
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DZipUtil.java43 ZipOutputStream out = null; in createZip() local
46 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); in createZip()
47 addToZip(out, dir, new LinkedList<String>()); in createZip()
55 out.close(); in createZip()
67 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs) in addToZip() argument
75 out.putNextEntry(zipEntry); in addToZip()
77 writeToStream(file, out); in addToZip()
79 out.closeEntry(); in addToZip()
88 addToZip(out, subFile, relativePathSegs); in addToZip()
119 private static void writeToStream(File file, OutputStream out) throws IOException { in writeToStream() argument
[all …]
/test/framework/harnesses/host_controller/script/
Drelease.sh5 rm out/host/linux-x86/vtslab/android-vtslab/testcases/tmp/ -rf
9 mkdir -p out/host/linux-x86/vtslab/android-vtslab/testcases/DATA/app
10 cp out/target/product/generic_arm64/testcases/WifiUtil/ out/host/linux-x86/vtslab/android-vtslab/te…
14 ls -al out/host/linux-x86/vtslab/android-vtslab.zip
16 …echo gsutil cp out/host/linux-x86/vtslab/android-vtslab.zip gs://vtslab-release/$1/android-vtslab-…

12345