Searched refs:pfds (Results 1 – 11 of 11) sorted by relevance
54 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); in setupReadPipe() local55 mLocal = pfds[0]; in setupReadPipe()56 mRemote = pfds[1]; in setupReadPipe()65 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); in setupWritePipe() local66 mLocal = pfds[1]; in setupWritePipe()67 mRemote = pfds[0]; in setupWritePipe()76 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliableSocketPair(); in setupSocket() local77 mLocal = pfds[0]; in setupSocket()78 mRemote = pfds[1]; in setupSocket()
155 ParcelFileDescriptor[] pfds = null; in threadMain() local157 pfds = mInstrumentation.getUiAutomation() in threadMain()159 final ParcelFileDescriptor rfd = pfds[0]; in threadMain()197 if (pfds != null) { in threadMain()198 closeQuietly(pfds[0]); in threadMain()199 closeQuietly(pfds[1]); in threadMain()
82 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation() in AmMonitor() local84 mReadFd = pfds[0]; in AmMonitor()87 mWriteFd = pfds[1]; in AmMonitor()
113 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation().executeShellCommandRw( in WatchUidRunner() local115 mReadFd = pfds[0]; in WatchUidRunner()118 mWriteFd = pfds[1]; in WatchUidRunner()
273 ParcelFileDescriptor[] pfds = mUiAutomation.executeShellCommandRw("su"); in assertThatFileisNotEmpty() local275 pfds[1])) { in assertThatFileisNotEmpty()278 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfds[0])) { in assertThatFileisNotEmpty()
515 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation().executeShellCommandRw( in WatchUidRunner() local517 mReadFd = pfds[0]; in WatchUidRunner()520 mWriteFd = pfds[1]; in WatchUidRunner()
1314 final ParcelFileDescriptor[] pfds = in executeShellCommandRw() local1317 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommandRw()1318 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommandRw()
1552 final ParcelFileDescriptor[] pfds = in executeShellCommand() local1554 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()1555 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
259 final ParcelFileDescriptor[] pfds = getUiAutomation().executeShellCommandRw(command); in executeShellCommand() local260 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()261 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
2036 final ParcelFileDescriptor[] pfds = in executeShellCommand() local2039 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()2040 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
2007 final ParcelFileDescriptor[] pfds = InstrumentationRegistry.getInstrumentation() in testObserveForegroundProcess() local2009 final ParcelFileDescriptor stdOut = pfds[0]; in testObserveForegroundProcess()