Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 5 of 5) sorted by relevance

/development/testrunner/
Drun_command.py98 pipe = subprocess.Popen(
105 pid.append(pipe.pid)
107 output = pipe.communicate(input=stdin_input)[0]
115 if pipe.returncode:
117 pipe.returncode))
/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java85 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testEmptyFile() local
86 doc.readContent(pipe[1]); in testEmptyFile()
170 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testNormalMetadataOnly() local
172 doc.readContent(pipe[1]); in testNormalMetadataOnly()
225 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testErrorAbortsWrite() local
229 final FileOutputStream os = new FileOutputStream(pipe[1].getFileDescriptor()); in testErrorAbortsWrite()
232 pipe[1].closeWithError("ZOMG"); in testErrorAbortsWrite()
242 doc.writeMetadataAndContent(second, pipe[0]); in testErrorAbortsWrite()
/development/scripts/
Dsymbol.py78 pipe = self._cmd2pipe[cmd_tuple]
80 self._lru = [(cmd_tuple, pipe)] + [i for i in self._lru if i[0] != cmd_tuple]
81 return pipe
92 pipe = self.SpawnProcess(cmd)
93 self._cmd2pipe[cmd_tuple] = pipe
94 self._lru = [(cmd_tuple, pipe)] + self._lru
95 return pipe
100 def TerminateProcess(self, pipe): argument
101 pipe.stdin.close()
102 pipe.stdout.close()
[all …]
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp382 for (UCHAR pipe = 0; pipe < intr_desc.bNumEndpoints; pipe++) { in TestInterfaceHandle() local
383 if (AdbGetEndpointInformation(interface_handle, pipe, &pipe_info)) { in TestInterfaceHandle()
384 printf("\n PIPE %u info:", pipe); in TestInterfaceHandle()
387 printf("\n--- AdbGetEndpointInformation(%u) failure %u", pipe, in TestInterfaceHandle()
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java525 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in startRead() local
526 final ParcelFileDescriptor readEnd = pipe[0]; in startRead()
527 final ParcelFileDescriptor writeEnd = pipe[1]; in startRead()
555 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in startWrite() local
556 final ParcelFileDescriptor readEnd = pipe[0]; in startWrite()
557 final ParcelFileDescriptor writeEnd = pipe[1]; in startWrite()