/frameworks/av/media/libnbaio/ |
D | PipeReader.cpp | 27 PipeReader::PipeReader(Pipe& pipe) : in PipeReader() argument 28 NBAIO_Source(pipe.mFormat), in PipeReader() 29 mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, false /*flush*/), in PipeReader() 33 android_atomic_inc(&pipe.mReaders); in PipeReader()
|
D | MonoPipeReader.cpp | 26 MonoPipeReader::MonoPipeReader(MonoPipe* pipe) : in MonoPipeReader() argument 27 NBAIO_Source(pipe->mFormat), in MonoPipeReader() 28 mPipe(pipe), mFifoReader(mPipe->mFifo, true /*throttlesWriter*/) in MonoPipeReader()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 104 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in dumpAsync() local 106 TransferPipe.dumpAsync(binder, pipe[1].getFileDescriptor(), args); in dumpAsync() 109 pipe[1].close(); in dumpAsync() 110 pipe[1] = null; in dumpAsync() 114 try (FileInputStream is = new FileInputStream(pipe[0].getFileDescriptor())) { in dumpAsync() 128 pipe[0].close(); in dumpAsync() 129 IoUtils.closeQuietly(pipe[1]); in dumpAsync()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 44 Pipe pipe; in TEST_F() local 46 sp<InputChannel> inputChannel = new InputChannel("channel name", pipe.sendFd); in TEST_F() 50 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F() 55 EXPECT_EQ(-EPIPE, pipe.readSignal()) in TEST_F() 59 pipe.sendFd = -1; in TEST_F()
|
D | TestHelpers.h | 33 ::pipe(fds); in Pipe()
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | MonoPipeReader.h | 33 MonoPipeReader(MonoPipe* pipe); 57 MonoPipe* pipe() const { return mPipe; }
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | PipeReader.h | 31 PipeReader(Pipe& pipe); 55 Pipe& pipe() const { return mPipe; }
|
/frameworks/base/core/java/android/permission/ |
D | IPermissionController.aidl | 32 void getRuntimePermissionBackup(in UserHandle user, in ParcelFileDescriptor pipe); in getRuntimePermissionBackup() argument 33 void restoreRuntimePermissionBackup(in UserHandle user, in ParcelFileDescriptor pipe); in restoreRuntimePermissionBackup() argument
|
D | PermissionControllerService.java | 260 public void getRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind() argument 262 checkNotNull(pipe); in onBind() 266 try (OutputStream backup = new ParcelFileDescriptor.AutoCloseOutputStream(pipe)) { in onBind() 278 public void restoreRuntimePermissionBackup(UserHandle user, ParcelFileDescriptor pipe) { in onBind() argument 280 checkNotNull(pipe); in onBind() 284 try (InputStream backup = new ParcelFileDescriptor.AutoCloseInputStream(pipe)) { in onBind()
|
D | PermissionControllerManager.java | 553 ParcelFileDescriptor[] pipe; in onPreExecute() local 555 pipe = ParcelFileDescriptor.createPipe(); in onPreExecute() 561 mLocalPipe = pipe[0]; in onPreExecute() 562 mRemotePipe = pipe[1]; in onPreExecute() 631 ParcelFileDescriptor[] pipe; in onPreExecute() local 633 pipe = ParcelFileDescriptor.createPipe(); in onPreExecute() 640 mRemotePipe = pipe[0]; in onPreExecute() 641 mLocalPipe = pipe[1]; in onPreExecute()
|
/frameworks/base/packages/SystemUI/scripts/ |
D | new_merge.py | 96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout 97 for line in iter(pipe.readline,''): 102 pipe.close()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 58 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in createBundleParcel() local 59 pipe[1].close(); in createBundleParcel() 60 source.putParcelable("fd", pipe[0]); in createBundleParcel()
|
/frameworks/base/libs/androidfw/ |
D | PosixUtils.cpp | 54 if (pipe(stdout) != 0) { in ExecuteBinary() 60 if (pipe(stderr) != 0) { in ExecuteBinary()
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 230 Pipe *pipe = new Pipe(frames, format); in makeSinkSource() local 233 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers); in makeSinkSource() 238 PipeReader *pipeReader = new PipeReader(*pipe); in makeSinkSource() 246 return {pipe, pipeReader}; in makeSinkSource()
|
/frameworks/base/cmds/incidentd/src/ |
D | Section.cpp | 234 Fpipe pipe; member 270 status_t err = data->section->BlockingCall(data->pipe.writeFd().get()); in worker_thread_func() 278 data->pipe.writeFd().reset(); in worker_thread_func() 295 if (!data->pipe.init()) { in Execute() 323 err = buffer.read(data->pipe.readFd().get(), this->timeoutMs); in Execute() 330 data->pipe.readFd().reset(); in Execute()
|
/frameworks/av/media/mtp/tests/ |
D | MtpFfsHandle_test.cpp | 69 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest() 73 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest() 78 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest() 83 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest()
|
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 64 ASSERT_EQ(0, pipe(fds_config)); in runShellTest() 67 ASSERT_EQ(0, pipe(fds_data)); in runShellTest()
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | multi.cpp | 78 ASSERT_TRUE(pipe(mCommandPipeFds) == 0); in SetUp() 79 ASSERT_TRUE(pipe(mResultPipeFds) == 0); in SetUp()
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | multi.cpp | 78 ASSERT_TRUE(pipe(mCommandPipeFds) == 0); in SetUp() 79 ASSERT_TRUE(pipe(mResultPipeFds) == 0); in SetUp()
|
/frameworks/native/cmds/bugreportz/ |
D | bugreportz_test.cpp | 37 ASSERT_EQ(0, pipe(fds)); in SetUp()
|
/frameworks/av/services/minijail/ |
D | minijail.cpp | 35 if (pipe(pipefd) == -1) { in WritePolicyToPipe()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1426 private final FileDescriptor[] pipe; field in FileUtils.MemoryPipe 1432 this.pipe = Os.pipe(); in MemoryPipe() 1454 return sink ? pipe[1] : pipe[0]; in getFD() 1458 return sink ? pipe[0] : pipe[1]; in getInternalFD()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 390 final ParcelFileDescriptor[] pipe; in createDocument() local 427 pipe = ParcelFileDescriptor.createReliablePipe(); in createDocument() 431 pipe[0].close(); // 0 bytes for a new document. in createDocument() 460 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument() 468 pipe[1].close(); in createDocument()
|
/frameworks/native/cmds/lshal/ |
D | PipeRelay.cpp | 106 int res = pipe(mFds); in PipeRelay()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 195 KeyValueAdbBackupDataCopier(PackageInfo pack, ParcelFileDescriptor pipe, in KeyValueAdbBackupDataCopier() argument 199 mPipe = ParcelFileDescriptor.dup(pipe.getFileDescriptor()); in KeyValueAdbBackupDataCopier()
|