Home
last modified time | relevance | path

Searched refs:pfds (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorPeer.java54 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); in setupReadPipe() local
55 mLocal = pfds[0]; in setupReadPipe()
56 mRemote = pfds[1]; in setupReadPipe()
65 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliablePipe(); in setupWritePipe() local
66 mLocal = pfds[1]; in setupWritePipe()
67 mRemote = pfds[0]; in setupWritePipe()
76 ParcelFileDescriptor[] pfds = ParcelFileDescriptor.createReliableSocketPair(); in setupSocket() local
77 mLocal = pfds[0]; in setupSocket()
78 mRemote = pfds[1]; in setupSocket()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAnrMonitor.java155 ParcelFileDescriptor[] pfds = null; in threadMain() local
157 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()
DAmMonitor.java82 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation() in AmMonitor() local
84 mReadFd = pfds[0]; in AmMonitor()
87 mWriteFd = pfds[1]; in AmMonitor()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java113 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation().executeShellCommandRw( in WatchUidRunner() local
115 mReadFd = pfds[0]; in WatchUidRunner()
118 mWriteFd = pfds[1]; in WatchUidRunner()
/cts/tests/bugreport/src/android/bugreport/cts/
DBugreportManagerTest.java273 ParcelFileDescriptor[] pfds = mUiAutomation.executeShellCommandRw("su"); in assertThatFileisNotEmpty() local
275 pfds[1])) { in assertThatFileisNotEmpty()
278 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfds[0])) { in assertThatFileisNotEmpty()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DUserInitiatedJobTest.java515 ParcelFileDescriptor[] pfds = instrumentation.getUiAutomation().executeShellCommandRw( in WatchUidRunner() local
517 mReadFd = pfds[0]; in WatchUidRunner()
520 mWriteFd = pfds[1]; in WatchUidRunner()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java1314 final ParcelFileDescriptor[] pfds = in executeShellCommandRw() local
1317 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommandRw()
1318 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommandRw()
DChecksumsTest.java1552 final ParcelFileDescriptor[] pfds = in executeShellCommand() local
1554 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()
1555 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
DPackageManagerShellCommandInstallTest.java259 final ParcelFileDescriptor[] pfds = getUiAutomation().executeShellCommandRw(command); in executeShellCommand() local
260 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()
261 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
DPackageManagerTest.java2036 final ParcelFileDescriptor[] pfds = in executeShellCommand() local
2039 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand()
2040 ParcelFileDescriptor stdin = pfds[1]; in executeShellCommand()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java2007 final ParcelFileDescriptor[] pfds = InstrumentationRegistry.getInstrumentation() in testObserveForegroundProcess() local
2009 final ParcelFileDescriptor stdOut = pfds[0]; in testObserveForegroundProcess()