/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 238 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 …]
|
D | ParcelFileDescriptorTest.java | 247 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeNormal() local 248 final ParcelFileDescriptor red = pipe[0]; in testPipeNormal() 249 final ParcelFileDescriptor blue = pipe[1]; in testPipeNormal() 263 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError_Discouraged() local 264 final ParcelFileDescriptor red = pipe[0]; in testPipeError_Discouraged() 265 final ParcelFileDescriptor blue = pipe[1]; in testPipeError_Discouraged() 283 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError() local 284 final ParcelFileDescriptor red = pipe[0]; in testPipeError() 285 final ParcelFileDescriptor blue = pipe[1]; in testPipeError()
|
D | SeccompTest.java | 416 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in installTestFilter() local 418 new ParcelFileDescriptor.AutoCloseOutputStream(pipe[1]); in installTestFilter() 456 return nativeInstallTestFilter(pipe[0].detachFd()); in installTestFilter()
|
D | BundleTest.java | 862 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testHasFileDescriptor() local 864 final ParcelFileDescriptor fd = pipe[0]; in testHasFileDescriptor() 900 pipe[0].close(); in testHasFileDescriptor() 901 pipe[1].close(); in testHasFileDescriptor()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 384 final ParcelFileDescriptor[] pipe; in openDocumentUnchecked() local 386 pipe = ParcelFileDescriptor.createPipe(); in openDocumentUnchecked() 397 pipe[0]); in openDocumentUnchecked() 408 return pipe[1]; in openDocumentUnchecked() 416 pipe[1]); in openDocumentUnchecked() 431 return pipe[0]; in openDocumentUnchecked()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyLocationTests.java | 217 LinkedBlockingQueue<ICtsLocationAccessControl> pipe = in bindLocationAccessControl() local 222 pipe.offer(ICtsLocationAccessControl.Stub.asInterface(service)); in bindLocationAccessControl() 232 return pipe.poll(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in bindLocationAccessControl()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioAEC.java | 122 public boolean updateRms(PipeShort pipe, int channelCount, int channel) { in updateRms() argument 124 int samplesAvailable = pipe.availableToRead(); in updateRms() 126 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms() 145 samplesAvailable = pipe.availableToRead(); in updateRms()
|
/cts/tests/tests/os/assets/minijail/ |
D | isolated-x86-64.policy | 34 pipe: 1
|
D | isolated-arm.policy | 52 pipe: 1
|
D | isolated-i386.policy | 53 pipe: 1
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2015-1805/ |
D | poc.c | 53 if (pipe(fd) < 0) { in main()
|
/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 72 ASSERT_TRUE(pipe(fds) != -1); in GetAddress()
|
/cts/suite/audio_quality/test/ |
D | RemoteAudioFakeTcpTest.cpp | 60 if (pipe(pipefd) == -1) { in init()
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 404 err = pipe(pipeFds); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsAslrMallocTestCases32.pb.txt | 309 name: "pipe"
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerUnitTest.java | 42 import static android.system.Os.pipe; 172 FileDescriptor[] fd = pipe(); in testIfNonSeekableFdIsRejected()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_native_aidl_client.cpp | 310 while (pipe(fds) == -1 && errno == EAGAIN) in checkFdRepeat() 325 while (pipe(fds) == -1 && errno == EAGAIN) in TEST_P()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 837 FileDescriptor[] pipeFds = Os.pipe(); in sendOverPipe()
|