Home
last modified time | relevance | path

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

12

/frameworks/av/media/libnbaio/
DPipeReader.cpp27 PipeReader::PipeReader(Pipe& pipe) : in PipeReader() argument
28 NBAIO_Source(pipe.mFormat), in PipeReader()
29 mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, true /*flush*/), in PipeReader()
33 android_atomic_inc(&pipe.mReaders); in PipeReader()
DMonoPipeReader.cpp26 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/native/libs/input/tests/
DInputChannel_test.cpp42 Pipe pipe; in TEST_F() local
44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); in TEST_F()
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F()
53 EXPECT_EQ(-EPIPE, pipe.readSignal()) in TEST_F()
57 pipe.sendFd = -1; in TEST_F()
DTestHelpers.h33 ::pipe(fds); in Pipe()
/frameworks/av/media/libnbaio/include/
DMonoPipeReader.h33 MonoPipeReader(MonoPipe* pipe);
57 MonoPipe* pipe() const { return mPipe; }
DPipeReader.h31 PipeReader(Pipe& pipe);
55 Pipe& pipe() const { return mPipe; }
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout
97 for line in iter(pipe.readline,''):
102 pipe.close()
/frameworks/av/media/mtp/tests/
DAsyncIO_test.cpp105 EXPECT_EQ(pipe(pipeFd), 0); in TEST_F()
126 EXPECT_EQ(pipe(pipeFd), 0); in TEST_F()
173 EXPECT_EQ(pipe(pipeFd), 0); in TEST_F()
DMtpFfsHandle_test.cpp69 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest()
74 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest()
79 EXPECT_EQ(pipe(fd), 0); in MtpFfsHandleTest()
/frameworks/native/cmds/bugreportz/
Dbugreportz_test.cpp37 ASSERT_EQ(0, pipe(fds)); in SetUp()
/frameworks/av/services/minijail/
Dminijail.cpp35 if (pipe(pipefd) == -1) { in WritePolicyToPipe()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java386 final ParcelFileDescriptor[] pipe; in createDocument() local
423 pipe = ParcelFileDescriptor.createReliablePipe(); in createDocument()
427 pipe[0].close(); // 0 bytes for a new document. in createDocument()
456 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument()
464 pipe[1].close(); in createDocument()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java175 KeyValueAdbBackupDataCopier(PackageInfo pack, ParcelFileDescriptor pipe, in KeyValueAdbBackupDataCopier() argument
179 mPipe = ParcelFileDescriptor.dup(pipe.getFileDescriptor()); in KeyValueAdbBackupDataCopier()
/frameworks/base/core/java/android/app/
DUiAutomation.java998 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in executeShellCommand() local
999 source = pipe[0]; in executeShellCommand()
1000 sink = pipe[1]; in executeShellCommand()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java895 ParcelFileDescriptor[] pipe; in doInBackground() local
897 pipe = ParcelFileDescriptor.createPipe(); in doInBackground()
899 try (ParcelFileDescriptor source = pipe[0]) { in doInBackground()
900 try (ParcelFileDescriptor destination = pipe[1]) { in doInBackground()
DRemotePrintDocument.java1045 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in run() local
1046 source = pipe[0]; in run()
1047 sink = pipe[1]; in run()
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp94 int error1 = pipe(a); in createPipePair()
95 int error2 = pipe(b); in createPipePair()
Dschd-dbg.cpp195 int error1 = pipe(a); in createPipePair()
196 int error2 = pipe(b); in createPipePair()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbMidiDevice.cpp112 pipe(pipeFD); in android_server_UsbMidiDevice_open()
/frameworks/base/cmds/incident/
Dmain.cpp200 pipe(fds); in main()
/frameworks/base/tools/bit/
Dcommand.cpp108 pipe(fds); in get_command_output()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp186 if (pipe(sfd) != 0) { in main()
/frameworks/base/cmds/incidentd/src/
DSection.cpp120 err = pipe(data->fds); in Execute()
/frameworks/base/tools/incident_report/
Dmain.cpp329 if (pipe(pfd) != 0) { in adb_incident_workaround()
492 if (pipe(pfd) != 0) { in main()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp189 if (pipe(pipeFds)) { in createQueue()

12