/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 300 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() local 301 try (ParcelFileDescriptor reader = pipe[0]; in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() 302 ParcelFileDescriptor writer = pipe[1]) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() 329 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() local 330 try (ParcelFileDescriptor reader = pipe[0]; in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() 331 ParcelFileDescriptor writer = pipe[1]) { in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() 346 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testFileDescriptorCallbacks() local 347 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]); in testFileDescriptorCallbacks() 348 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testFileDescriptorCallbacks() 361 assertEquals(pipe[1].getFileDescriptor(), fd); in testFileDescriptorCallbacks() [all …]
|
D | ParcelFileDescriptorTest.java | 332 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testBasicPipeNormal() local 333 final ParcelFileDescriptor red = pipe[0]; in testBasicPipeNormal() 334 final ParcelFileDescriptor blue = pipe[1]; in testBasicPipeNormal() 347 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeNormal() local 348 final ParcelFileDescriptor red = pipe[0]; in testPipeNormal() 349 final ParcelFileDescriptor blue = pipe[1]; in testPipeNormal() 364 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError_Discouraged() local 365 final ParcelFileDescriptor red = pipe[0]; in testPipeError_Discouraged() 366 final ParcelFileDescriptor blue = pipe[1]; in testPipeError_Discouraged() 385 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in testPipeError() local [all …]
|
D | SeccompTest.java | 410 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in installTestFilter() local 412 new ParcelFileDescriptor.AutoCloseOutputStream(pipe[1]); in installTestFilter() 450 return nativeInstallTestFilter(pipe[0].detachFd()); in installTestFilter()
|
D | BundleTest.java | 1292 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testHasFileDescriptor() local 1294 final ParcelFileDescriptor fd = pipe[0]; in testHasFileDescriptor() 1330 pipe[0].close(); in testHasFileDescriptor() 1331 pipe[1].close(); in testHasFileDescriptor()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | IncrementalDeviceConnection.java | 181 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createSocketPair(); in connectToService() local 182 IoUtils.setBlocking(pipe[0].getFileDescriptor(), false); in connectToService() 183 IoUtils.setBlocking(pipe[1].getFileDescriptor(), false); in connectToService() 185 final ParcelFileDescriptor localPfd = pipe[0]; in connectToService() 186 final ParcelFileDescriptor processPfd = pipe[1]; in connectToService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/ |
D | SharesheetTestImageProvider.java | 71 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in openAssetFile() local 74 sendBitmap(pipe[1], uriToColor(uri), name, getType(uri)); in openAssetFile() 79 pipe[1].close(); in openAssetFile() 85 return new AssetFileDescriptor(pipe[0], 0, -1); in openAssetFile()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainWearableSensingService.java | 196 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createReliablePipe(); in sendAudio() local 197 mAudioOutputStream = new ParcelFileDescriptor.AutoCloseOutputStream(pipe[PIPE_WRITE_INDEX]); in sendAudio() 200 new HotwordAudioStream.Builder(FAKE_AUDIO_FORMAT, pipe[PIPE_READ_INDEX]) in sendAudio() 203 pipe[PIPE_READ_INDEX].close(); in sendAudio()
|
/cts/tests/musicrecognition/src/android/musicrecognition/cts/ |
D | MusicRecognitionManagerTest.java | 163 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in testRemovesBindersFromBundle() local 168 mWatcher.resultExtras.putParcelable("fdKey", pipe[0]); in testRemovesBindersFromBundle() 180 pipe[0].close(); in testRemovesBindersFromBundle() 181 pipe[1].close(); in testRemovesBindersFromBundle()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-29374/ |
D | poc.cpp | 44 SYSCHK(pipe(pipe_fds)); in child_fn()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 385 final ParcelFileDescriptor[] pipe; in openDocumentUnchecked() local 387 pipe = ParcelFileDescriptor.createPipe(); in openDocumentUnchecked() 398 pipe[0]); in openDocumentUnchecked() 409 return pipe[1]; in openDocumentUnchecked() 417 pipe[1]); in openDocumentUnchecked() 432 return pipe[0]; in openDocumentUnchecked()
|
/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 | 55 if (pipe(fd) < 0) { in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioAEC.java | 141 public boolean updateRms(PipeShort pipe, int channelCount, int channel) { in updateRms() argument 143 int samplesAvailable = pipe.availableToRead(); in updateRms() 145 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms() 164 samplesAvailable = pipe.availableToRead(); in updateRms()
|
/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 72 ASSERT_TRUE(pipe(fds) != -1); in GetAddress()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyLocationTests.java | 311 LinkedBlockingQueue<ICtsLocationAccessControl> pipe = in bindLocationAccessControl() local 316 pipe.offer(ICtsLocationAccessControl.Stub.asInterface(service)); in bindLocationAccessControl() 326 return pipe.poll(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in bindLocationAccessControl()
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | CtsWearableSensingServiceDeviceTest.java | 552 ParcelFileDescriptor pipe = CtsWearableSensingService.getParcelFileDescriptor(); in readDataStream() local 553 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pipe); in readDataStream()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsAslrMallocTestCases32.pb.txt | 309 name: "pipe"
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 404 err = pipe(pipeFds); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerUnitTest.java | 19 import static android.system.Os.pipe; 167 FileDescriptor[] fd = pipe(); in testIfNonSeekableFdIsRejected()
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/ |
D | android_native_app_glue.c | 257 if (pipe(msgpipe)) { in android_app_create()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 498 final FileDescriptor[] fds = Os.pipe(); in testNonSeekableInputStream()
|
/cts/tests/media/jni/ |
D | NativeMuxerUnitTest.cpp | 82 if (pipe(pipefd) == -1) { in nativeTestIfNonSeekableFdIsRejected()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_native_aidl_client.cpp | 387 while (pipe(fds) == -1 && errno == EAGAIN) in checkFdRepeat() 402 while (pipe(fds) == -1 && errno == EAGAIN) in TEST_P()
|