Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py68 result = subprocess.Popen(command_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
69 stdout, stderr = result.communicate()
71 stdout = str(stdout)
76 if len(stdout) > 0:
77 err += '\n' + stdout.strip()
82 return stdout
/packages/apps/Car/libs/car-ui-lib/tests/apitest/
Dgit_utils.py24 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
25 stdout, stderr = result.communicate()
28 raise Exception("Git error: "+str(stdout)+str(stderr))
30 return 'car-ui-lib' in str(stdout)
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester_test.py36 self._mock_popen.stdout.read.return_value = '\n \n asd\r\n\r\nqwe 123 $\n\n'
41 self._mock_popen.stdout.read.return_value = ''
47 self._mock_popen.stdout = SimpleMagicMock()
49 self._mock_popen.stdout.read = SimpleMagicMock(return_value='blah')
69 self._mock_popen.stdout.read.return_value = '123 789'
Dbugreport_app_tester.py153 raw = popen.stdout.read()
179 popen = subprocess.Popen(full_cmd, stdout=subprocess.PIPE)
326 sys.stdout.write('Remaining time %.0f seconds\r' % remaining)
327 sys.stdout.flush()
/packages/apps/Car/Dialer/tests/
Dcheckresources.py6 stdout=subprocess.PIPE,
9 stdout, stderr = process.communicate() variable
11 lines = stdout.decode('utf-8').split('\n')
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/
Dprettyauto.cpp22 _setmode(_fileno(stdout), _O_BINARY); // NEW in main()
34 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDialogFragmentTest.java313 StringBuffer stdout = new StringBuffer(); in runShellCommand() local
315 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand()
318 return stdout.toString(); in runShellCommand()
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/
DNetworkStackHostTests.kt100 assertTrue(amResult?.stdout?.trim()?.startsWith("Restart the system") ?: false, in applyUpdateAndCheckNetworkStackRegistered()
160 cmdResult.stdout?.trim()?.let { in waitForDumpsys()
/packages/apps/Traceur/src/com/android/traceur/
DAtraceUtils.java166 BufferedReader stdout = new BufferedReader( in atraceListCategories() local
175 while ((line = stdout.readLine()) != null) { in atraceListCategories()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/
Dcondense.cpp22 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/
Dpretty.cpp20 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp55 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md120 It can also directs the output to `stdout`.
Dsax.md446 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer));