Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 48) sorted by relevance

12

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DBackupUtilsTest.java57 String output = ""; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
59 output = "Backup Manager currently enabled"; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
61 output = "Backup Manager now enabled"; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
64 return new ByteArrayInputStream(output.getBytes("UTF-8")); in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
76 String output = ""; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
78 output = "Backup Manager currently disabled"; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
80 output = "Backup Manager now enabled"; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
83 return new ByteArrayInputStream(output.getBytes("UTF-8")); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
95 String output = ""; in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
97 output = "Backup Manager currently enabled"; in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
[all …]
/test/vts/harnesses/tradefed/tests/res/testtype/
Dvts_multi_device_test_parser_output_error.txt1 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: [VTS-Example] 07-08 11:56:25.218 …
2 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: [VTS-Example] 07-08 11:56:25.512 …
3 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: [VTS-Example] 07-08 11:56:25.515 …
4 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: [VTS-Example] 07-08 11:56:25.515 …
5 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: callback_port: 8293
6 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output
7 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: [VTS-Example] 07-08 11:56:25.518 …
8 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: Traceback (most recent call last):
9 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: File "/usr/local/yim/cloudandro…
10 07-08 11:56:25 I/VtsMultiDeviceTestResultParser: Standard output: if self._setUpClass() is Fals…
[all …]
/test/framework/harnesses/host_controller/
Dconsole_test.py102 output = self._IssueCommand("lease")
107 self.assertEqual(expected, output)
108 output = self._IssueCommand("lease --host 0")
109 self.assertEqual(expected, output)
128 output = self._IssueCommand("list hosts")
129 self.assertEqual("index name\n" "[ 0] host0\n", output)
135 output = self._IssueCommand("list devices")
141 self.assertEqual(expected, output)
142 output = self._IssueCommand("list devices --host 0")
143 self.assertEqual(expected, output)
[all …]
/test/vts/utils/native/libprofiling/
DVtsProfilingUtil.cpp28 google::protobuf::io::CodedOutputStream output(out); in writeOneDelimited() local
32 output.WriteVarint32(size); in writeOneDelimited()
34 uint8_t* buffer = output.GetDirectBufferForNBytesAndAdvance(size); in writeOneDelimited()
41 message.SerializeWithCachedSizes(&output); in writeOneDelimited()
42 if (output.HadError()) { in writeOneDelimited()
/test/vts/utils/python/coverage/
Dblock_summary.py56 output = '\tBlock: %i, Count: %i' % (self.index, self.count)
58 output += ', Lines: ' + ', '.join(str(line) for line in self.lines)
60 output += ('\r\n\t\t' + str(self.index) + ' <-- ' + ', '.join(
63 output += ('\r\n\t\t' + str(self.index) + ' --> ' + ', '.join(
65 return output + '\r\n'
Dfile_summary.py39 output = 'Coverage Summary:\r\n'
41 output += str(self.functions[ident])
42 return output
Dfunction_summary.py98 output = ('Function: %s : %s\r\n\tFirst Line Number:%i\r\n' %
101 output += str(b)
102 return output
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBackupUtils.java277 String output = getLineString(executeShellCommand("bmgr enabled")); in enableBackup() local
278 Matcher matcher = BACKUP_MANAGER_CURRENTLY_ENABLE_STATUS_PATTERN.matcher(output.trim()); in enableBackup()
282 throw new RuntimeException("non-parsable output setting bmgr enabled: " + output); in enableBackup()
330 String output = getLineString(executeShellCommand("dumpsys backup")); in waitForBackupInitialization() local
331 if (output.matches(MATCH_LINE_BACKUP_MANAGER_IS_NOT_PENDING_INIT)) { in waitForBackupInitialization()
356 String output = getLineString(executeShellCommand("dumpsys backup users")); in waitUntilBackupServiceIsRunning()
357 return output.matches( in waitUntilBackupServiceIsRunning()
367 String output = in userHasBackupTransport() local
371 for (String t : output.split("\n")) { in userHasBackupTransport()
386 String output = in setBackupTransportForUser() local
[all …]
DMultipartForm.java106 OutputStream output = connection.getOutputStream(); in submitForm() local
108 output.write(body); in submitForm()
110 output.close(); in submitForm()
/test/vts/script/
Dsetup-local.sh76 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
77 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
78 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
79 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
80 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
81 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
82 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
83 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
84 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
85 …hidl-gen -o ${ANDROID_BUILD_TOP}/output -L vts -r android.hardware:hardware/interfaces -r android.…
[all …]
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp103 string output = ""; in CallFunction() local
156 google::protobuf::TextFormat::PrintToString(result_msg, &output); in CallFunction()
157 return output; in CallFunction()
176 string output = ""; in GetAttribute() local
205 string* output = new string(); in GetAttribute() local
206 google::protobuf::TextFormat::PrintToString(*api, output); in GetAttribute()
207 return *output; in GetAttribute()
391 string output = ""; in ProcessFuncResultsForLibrary() local
401 google::protobuf::TextFormat::PrintToString(*func_msg, &output); in ProcessFuncResultsForLibrary()
402 return output; in ProcessFuncResultsForLibrary()
[all …]
/test/vts/utils/native/trace_processor/
DTraceProcessorMain.cpp103 string output = kDefaultOutputFile; in main() local
133 output = string(optarg); in main()
159 trace_processor.GetTestListForHal(trace_path, output, verbose_output); in main()
171 coverage_processor.MergeCoverage(trace_path, output); in main()
195 output); in main()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsPerformanceJobServletTest.java202 String output = in testPerformanceSummaryNormal() local
205 compareToBaseline(output, "performanceSummary1.html"); in testPerformanceSummaryNormal()
222 String output = in testPerformanceSummaryDroppedProfilingPoint() local
225 compareToBaseline(output, "performanceSummary2.html"); in testPerformanceSummaryDroppedProfilingPoint()
240 String output = in testPerformanceSummaryAddedProfilingPoint() local
243 compareToBaseline(output, "performanceSummary3.html"); in testPerformanceSummaryAddedProfilingPoint()
252 String output = in testPerformanceSummaryGroupedNormal() local
255 compareToBaseline(output, "performanceSummary4.html"); in testPerformanceSummaryGroupedNormal()
/test/vts/drivers/shell/
DShellDriverTest.cpp167 string output = in TEST() local
169 ASSERT_EQ(output.compare(expected), 0); in TEST()
177 string output = in TEST() local
179 ASSERT_EQ(output.compare(expected), 0); in TEST()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsHalAdapterPreparerTest.java136 String output = "android.hardware.foo@1.1::IFoo/default"; in testOnSetUpAdapterSingleInstance() local
137 doReturn(output).doReturn("").when(mDevice).executeShellCommand( in testOnSetUpAdapterSingleInstance()
151 String output = "android.hardware.foo@1.1::IFoo/default\n" in testOnSetUpAdapterMultipleInstance() local
155 doReturn(output).doReturn("").when(mDevice).executeShellCommand( in testOnSetUpAdapterMultipleInstance()
197 String output = "android.hardware.foo@1.1::IFoo/default"; in testOnSetUpAdapterFailed() local
198 doReturn(output).when(mDevice).executeShellCommand( in testOnSetUpAdapterFailed()
/test/vts/drivers/hal/server/
DSocketServer.cpp91 string output; in ListFunctions() local
93 return output; in ListFunctions()
95 if (google::protobuf::TextFormat::PrintToString(*spec, &output)) { in ListFunctions()
96 LOG(DEBUG) << "Result: " << output; in ListFunctions()
97 return output; in ListFunctions()
100 return output; in ListFunctions()
DBinderServer.cpp180 string* output = new string(); in GetFunctions() local
182 if (google::protobuf::TextFormat::PrintToString(*spec, output)) { in GetFunctions()
183 printf("getfunctions length %d\n", output->length()); in GetFunctions()
184 return output->c_str(); in GetFunctions()
/test/vts/testcases/template/llvmfuzzer_test/
Dllvmfuzzer_test.py213 output = self._dut.adb.shell(cmd)
216 output = output.replace(char, "")
220 for offset in xrange(0, len(output), 2):
221 crash_report += "\\x%s" % output[offset:offset + 2]
/test/mlts/models/
DREADME.txt30 Golden output generated with ToT tensorflow (Linux, CPU).
42 Golden output generated with ToT tflite (Linux, CPU).
54 Golden output generated with ToT tensorflow (Linux, CPU).
66 Golden output generated with ToT tflite (Linux, CPU).
79 Golden output generated with ToT tflite (Linux, x86_64 CPU).
92 Golden output generated with ToT tflite (Linux, CPU).
122 Golden output generated with ToT TensorFlow (Linux, CPU).
/test/suite_harness/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/
DManifestGeneratorTest.java64 OutputStream output = new OutputStream() { in testManifest() local
76 ManifestGenerator.generate(output, PACKAGE, INSTRUMENT, MIN_SDK, TARGET_SDK, in testManifest()
84 assertEquals("Wrong manifest output", expected, output.toString()); in testManifest()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DIOUtils.java56 ByteArrayOutputStream output = new ByteArrayOutputStream(); in readAsset() local
58 output.write(buffer, 0, bytesRead); in readAsset()
61 byte[] result = output.toByteArray(); in readAsset()
/test/suite_harness/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java49 String output = null; in main() local
59 output = args[++i]; in main()
77 } else if (output == null) { in main()
83 out = new FileOutputStream(output); in main()
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py238 output = self._dut.adb.shell(xxd_cmd)
241 output = output.replace(char, '')
245 for offset in xrange(0, len(output), 2):
246 crash_report += '\\x%s' % output[offset:offset + 2]
/test/vts/runners/target/gtest/
Dgtest_main.cpp1089 options.gtest_output = testing::GTEST_FLAG(output); in PickOptions()
1139 std::string output = args[i] + strlen("--gtest_output="); in PickOptions() local
1142 if (strncmp(output.c_str(), "xml:", strlen("xml:")) == 0) { in PickOptions()
1143 output = output.substr(strlen("xml:")); in PickOptions()
1144 if (output.size() == 0) { in PickOptions()
1148 if (success && output[0] != '/') { in PickOptions()
1151 output = std::string(cwd) + "/" + output; in PickOptions()
1158 if (success && output.back() == '/') { in PickOptions()
1159 output += "test_details.xml"; in PickOptions()
1163 options.gtest_output = output; in PickOptions()
/test/vts/testcases/codelab/hello_world_multi/
DVtsCodelabHelloWorldMultiDeviceTest.py68 def getSerial(output): argument
70 return output.strip().split(' ')[-1][1:-1]

12