/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | Utils.kt | 23 import android.os.ParcelFileDescriptor in <lambda>() 52 ParcelFileDescriptor.AutoCloseInputStream(fileDescriptor).use { inputStream -> in executeShellCommand() 59 val pipe = ParcelFileDescriptor.createPipe() in doBinderDump() 76 ParcelFileDescriptor.AutoCloseInputStream(source).use { inputStream -> in doBinderDump()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | DittoBenchRule.java | 19 import android.os.ParcelFileDescriptor; 34 ParcelFileDescriptor mOutputFd;
|
D | InputDeviceRule.kt | 19 import android.os.ParcelFileDescriptor in <lambda>() 58 private lateinit var inputStream: ParcelFileDescriptor.AutoCloseInputStream in <lambda>() 59 private lateinit var outputStream: ParcelFileDescriptor.AutoCloseOutputStream in <lambda>() 84 inputStream = ParcelFileDescriptor.AutoCloseInputStream(stdOut) in <lambda>() 85 outputStream = ParcelFileDescriptor.AutoCloseOutputStream(stdIn) in <lambda>()
|
D | ArtifactSaver.java | 21 import android.os.ParcelFileDescriptor; 168 try (ParcelFileDescriptor.AutoCloseInputStream in = in dumpCommandOutput() 169 new ParcelFileDescriptor.AutoCloseInputStream( in dumpCommandOutput()
|
D | ScreenRecordRule.kt | 19 import android.os.ParcelFileDescriptor in <lambda>() 20 import android.os.ParcelFileDescriptor.AutoCloseInputStream in <lambda>() 235 private fun ParcelFileDescriptor.readAllAndClose(): String = in <lambda>() method
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | TimingHelper.java | 20 import android.os.ParcelFileDescriptor; 109 private ParcelFileDescriptor.AutoCloseInputStream streamLogcat() { in streamLogcat() 111 return new ParcelFileDescriptor.AutoCloseInputStream( in streamLogcat()
|
D | BugReportDurationHelper.java | 20 import android.os.ParcelFileDescriptor; 307 new ParcelFileDescriptor.AutoCloseInputStream( in extractAndFilterBugReport() 352 new ParcelFileDescriptor.AutoCloseInputStream( in extractAndFilterDumpstateBoard() 385 new ParcelFileDescriptor.AutoCloseInputStream( in dumpBugReportEntries()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | FontsUtils.kt | 21 import android.os.ParcelFileDescriptor 51 var pfd: ParcelFileDescriptor? = null in createAndApplyResourcesProvider() 58 pfd = ParcelFileDescriptor.dup(arscFile) in createAndApplyResourcesProvider()
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 20 import android.os.ParcelFileDescriptor; 163 ParcelFileDescriptor[] fileDescriptor = uiAutomation.executeShellCommandRw(perfettoCmd); in startCollectingFromConfig() 164 ParcelFileDescriptor inputStreamDescriptor = fileDescriptor[0]; in startCollectingFromConfig() 165 ParcelFileDescriptor outputStreamDescriptor = fileDescriptor[1]; in startCollectingFromConfig() 167 try (ParcelFileDescriptor.AutoCloseOutputStream outputStream = in startCollectingFromConfig() 168 new ParcelFileDescriptor.AutoCloseOutputStream(outputStreamDescriptor)) { in startCollectingFromConfig() 172 try (ParcelFileDescriptor.AutoCloseInputStream inputStream = in startCollectingFromConfig() 173 new ParcelFileDescriptor.AutoCloseInputStream(inputStreamDescriptor)) { in startCollectingFromConfig()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | FilesystemUtil.java | 22 import android.os.ParcelFileDescriptor; 56 ParcelFileDescriptor pfd = instr.getUiAutomation().executeShellCommand(command); in saveProcessOutput() 57 pipe(new ParcelFileDescriptor.AutoCloseInputStream(pfd), out); in saveProcessOutput()
|
D | ProcessStatusTracker.java | 21 import android.os.ParcelFileDescriptor; 232 ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand() 235 new ParcelFileDescriptor.AutoCloseInputStream(stdout))); in executeShellCommand()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BatteryStatsListener.java | 22 import android.os.ParcelFileDescriptor; 184 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( in dumpBatteryStats() 210 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( in resetBatteryStats()
|
D | OatDumpCollector.java | 22 import android.os.ParcelFileDescriptor; 107 ParcelFileDescriptor pfd = in collectOatDumpAndMetrics()
|
D | BaseMetricListener.java | 23 import android.os.ParcelFileDescriptor; 335 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( in executeCommandBlocking()
|
/platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/ |
D | PowerPerfTest.java | 28 import android.os.ParcelFileDescriptor;
|
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
D | WifiStrengthScannerInstrumentation.java | 30 import android.os.ParcelFileDescriptor; 172 ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); in executeCommand() 175 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeCommand()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 4 import android.os.ParcelFileDescriptor; 126 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(instr.getUiAutomation() in executeCommandBlocking()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | DumpsysMeminfoHelper.java | 20 import android.os.ParcelFileDescriptor; 119 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in getRawDumpsysMeminfo() 120 try (FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in getRawDumpsysMeminfo()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ |
D | CommonUtils.java | 37 import android.os.ParcelFileDescriptor; 293 ParcelFileDescriptor fileDescriptor = in executeShellCommandWithDetailedOutput() 297 FileInputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream( in executeShellCommandWithDetailedOutput()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 30 import android.os.ParcelFileDescriptor; 336 ParcelFileDescriptor pfDescriptor, ByteArrayOutputStream outputStream) in writeDataToByteStream() 338 InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfDescriptor); in writeDataToByteStream()
|
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
D | AppTransitionTests.java | 25 import android.os.ParcelFileDescriptor; 492 ParcelFileDescriptor parcelDesc = getInstrumentation().getUiAutomation() in run() 502 private String parseLaunchTime(ParcelFileDescriptor parcelDesc) { in parseLaunchTime()
|
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
D | PermissionHelper.java | 27 import android.os.ParcelFileDescriptor; 107 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand("pm list permissions -g -d"); in populateDangerousPermissionGroupInfo()
|