Searched refs:pipe (Results 1 – 6 of 6) sorted by relevance
238 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() local239 try (ParcelFileDescriptor reader = pipe[0]; in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull()240 ParcelFileDescriptor writer = pipe[1]) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull()263 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() local264 try (ParcelFileDescriptor reader = pipe[0]; in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered()265 ParcelFileDescriptor writer = pipe[1]) { in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered()278 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testFileDescriptorCallbacks() local279 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]); in testFileDescriptorCallbacks()280 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testFileDescriptorCallbacks()293 assertEquals(pipe[1].getFileDescriptor(), fd); in testFileDescriptorCallbacks()[all …]
247 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeNormal() local248 final ParcelFileDescriptor red = pipe[0]; in testPipeNormal()249 final ParcelFileDescriptor blue = pipe[1]; in testPipeNormal()260 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError() local261 final ParcelFileDescriptor red = pipe[0]; in testPipeError()262 final ParcelFileDescriptor blue = pipe[1]; in testPipeError()
232 final ParcelFileDescriptor[] pipe; in openDocument() local234 pipe = ParcelFileDescriptor.createPipe(); in openDocument()245 pipe[0]); in openDocument()256 return pipe[1]; in openDocument()264 pipe[1]); in openDocument()279 return pipe[0]; in openDocument()
60 if (pipe(pipefd) == -1) { in init()
931 ASSERT_EQ(0, pipe(pipefd)); in setup_trace_fixture()1809 ASSERT_EQ(0, pipe(pipefd)); in TEST()
1208 pipe: function( fnDone, fnFail, fnProgress ) { method