Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java238 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() local
239 try (ParcelFileDescriptor reader = pipe[0]; in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull()
240 ParcelFileDescriptor writer = pipe[1]) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull()
263 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() local
264 try (ParcelFileDescriptor reader = pipe[0]; in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered()
265 ParcelFileDescriptor writer = pipe[1]) { in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered()
278 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testFileDescriptorCallbacks() local
279 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 …]
DParcelFileDescriptorTest.java253 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeNormal() local
254 final ParcelFileDescriptor red = pipe[0]; in testPipeNormal()
255 final ParcelFileDescriptor blue = pipe[1]; in testPipeNormal()
268 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError_Discouraged() local
269 final ParcelFileDescriptor red = pipe[0]; in testPipeError_Discouraged()
270 final ParcelFileDescriptor blue = pipe[1]; in testPipeError_Discouraged()
287 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError() local
288 final ParcelFileDescriptor red = pipe[0]; in testPipeError()
289 final ParcelFileDescriptor blue = pipe[1]; in testPipeError()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java299 final ParcelFileDescriptor[] pipe; in openDocumentUnchecked() local
301 pipe = ParcelFileDescriptor.createPipe(); in openDocumentUnchecked()
312 pipe[0]); in openDocumentUnchecked()
323 return pipe[1]; in openDocumentUnchecked()
331 pipe[1]); in openDocumentUnchecked()
346 return pipe[0]; in openDocumentUnchecked()
/cts/tests/aslr/src/
DAslrMallocTest.cpp75 ASSERT_TRUE(pipe(fds) != -1); in GetAddress()
/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp60 if (pipe(pipefd) == -1) { in init()
/cts/tests/tests/security/jni/
Dandroid_security_cts_NativeCodeTest.cpp289 if (pipe(fd) < 0) { in android_security_cts_NativeCodeTest_doPipeReadVTest()
/cts/tests/tests/os/jni/seccomp-tests/
Dlocal-modifications-android-2.diff59 ASSERT_EQ(0, pipe(pipefd));
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp404 err = pipe(pipeFds); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c955 ASSERT_EQ(0, pipe(pipefd)); in setup_trace_fixture()
1839 ASSERT_EQ(0, pipe(pipefd)); in TEST()