/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | BackupUtilsTest.java | 56 String output = ""; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 58 output = "Backup Manager currently enabled"; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 60 output = "Backup Manager now enabled"; in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 63 return new ByteArrayInputStream(output.getBytes("UTF-8")); in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 75 String output = ""; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 77 output = "Backup Manager currently disabled"; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 79 output = "Backup Manager now enabled"; in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 82 return new ByteArrayInputStream(output.getBytes("UTF-8")); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 94 String output = ""; in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue() 96 output = "Backup Manager currently enabled"; in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue() [all …]
|
/test/vts/harnesses/tradefed/tests/res/testtype/ |
D | vts_multi_device_test_parser_output_error.txt | 1 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/ |
D | console_test.py | 102 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/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | BackupUtils.java | 303 String output = getLineString(executeShellCommand("bmgr enabled")); in enableBackup() local 304 Matcher matcher = BACKUP_MANAGER_CURRENTLY_ENABLE_STATUS_PATTERN.matcher(output.trim()); in enableBackup() 308 throw new RuntimeException("non-parsable output setting bmgr enabled: " + output); in enableBackup() 354 String output = getLineString(executeShellCommand("dumpsys backup")); in waitForBackupInitialization() local 355 if (output.matches(MATCH_LINE_BACKUP_MANAGER_IS_NOT_PENDING_INIT)) { in waitForBackupInitialization() 380 String output = getLineString(executeShellCommand("dumpsys backup users")); in waitUntilBackupServiceIsRunning() 381 return output.matches( in waitUntilBackupServiceIsRunning() 391 String output = in userHasBackupTransport() local 395 for (String t : output.split("\n")) { in userHasBackupTransport() 410 String output = in setBackupTransportForUser() local [all …]
|
D | MultipartForm.java | 106 OutputStream output = connection.getOutputStream(); in submitForm() local 108 output.write(body); in submitForm() 110 output.close(); in submitForm()
|
/test/vts/script/ |
D | setup-local.sh | 76 …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/ |
D | VtsHalDriverManager.cpp | 103 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/python/coverage/ |
D | block_summary.py | 56 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'
|
D | file_summary.py | 39 output = 'Coverage Summary:\r\n' 41 output += str(self.functions[ident]) 42 return output
|
D | function_summary.py | 98 output = ('Function: %s : %s\r\n\tFirst Line Number:%i\r\n' % 101 output += str(b) 102 return output
|
/test/vts/utils/native/libprofiling/ |
D | VtsProfilingUtil.cpp | 28 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/vti/dashboard/src/test/java/com/android/vts/job/ |
D | VtsPerformanceJobServletTest.java | 202 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/utils/native/trace_processor/ |
D | TraceProcessorMain.cpp | 103 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/vts/drivers/shell/ |
D | ShellDriverTest.cpp | 167 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/ |
D | VtsHalAdapterPreparerTest.java | 136 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/ |
D | SocketServer.cpp | 91 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()
|
D | BinderServer.cpp | 180 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/ |
D | llvmfuzzer_test.py | 213 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/benchmark/jni/ |
D | run_tflite.cpp | 154 int output = mTfliteInterpreter->outputs()[output_index]; in saveInferenceOutput() local 155 auto* output_tensor = mTfliteInterpreter->tensor(output); in saveInferenceOutput() 163 int output = mTfliteInterpreter->outputs()[output_index]; in getOutputError() local 164 auto* output_tensor = mTfliteInterpreter->tensor(output); in getOutputError() 175 uint8_t* output_raw = mTfliteInterpreter->typed_tensor<uint8_t>(output); in getOutputError() 186 float* output_raw = mTfliteInterpreter->typed_tensor<float>(output); in getOutputError()
|
/test/mlts/models/ |
D | README.txt | 30 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).
|
/test/suite_harness/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 64 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/ |
D | IOUtils.java | 56 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/ |
D | ManifestGenerator.java | 49 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/ |
D | libfuzzer_test.py | 238 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/ |
D | gtest_main.cpp | 1089 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()
|