/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | FlickerServiceTracesCollectorTest.kt | 120 TraceType.WM.fileName, 121 TraceType.PROTOLOG.fileName, 122 TraceType.EVENT_LOG.fileName, 123 TraceType.PERFETTO.fileName, 128 TraceType.WM.fileName, 129 TraceType.PROTOLOG.fileName, 130 TraceType.LEGACY_WM_TRANSITION.fileName, 131 TraceType.LEGACY_SHELL_TRANSITION.fileName, 132 TraceType.EVENT_LOG.fileName, 133 TraceType.PERFETTO.fileName, [all …]
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | IDriveHelper.java | 49 public void searchFile(String fileName); in searchFile() argument 75 public boolean isStartDownloading(String fileName); in isStartDownloading() argument 85 public boolean isDownloading(String fileName); in isDownloading() argument 94 public void removeDownloadedFile(String fileName); in removeDownloadedFile() argument 131 boolean doesFileExist(String fileName); in doesFileExist() argument 138 void uploadFileFromLocalDeviceDocuments(String fileName); in uploadFileFromLocalDeviceDocuments() argument 147 void openFile(String fileName); in openFile() argument
|
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/ |
D | ArtifactSaverRule.kt | 35 val fileName = getClassAndMethodName(description) + "lastWmTraceData.winscope" in failed() constant 36 val file = ArtifactSaver.artifactFile(fileName) in failed() 41 val fileName = getClassAndMethodName(description) + "lastLayersTraceData.perfetto" in failed() constant 42 val file = ArtifactSaver.artifactFile(fileName) in failed()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/ |
D | ViewTraceMonitor.kt | 52 val outputFileZip = File.createTempFile(traceType.fileName, "") in <lambda>() 66 val fileName = entry.name.split("/").last() in <lambda>() constant 68 val unzippedFile = File.createTempFile(traceType.fileName, fileName) in <lambda>() 71 addTraceResult(traceType, unzippedFile, tag = fileName) in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/io/ |
D | RunStatus.kt | 42 fun fromFileName(fileName: String): RunStatus? { in fromFileName() 43 if (!fileName.contains("__")) { in fromFileName() 47 return when (fileName.split("__").first()) { in fromFileName()
|
D | Artifact.kt | 22 val fileName: String constant
|
D | TraceType.kt | 20 enum class TraceType(val fileName: String, val isTrace: Boolean) { constant in android.tools.io.TraceType
|
D | ResultArtifactDescriptor.kt | 37 append(traceType.fileName) in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScreenshotOnFailureCollector.java | 117 final String fileName = in onTestFail() local 122 final String pngFileName = String.format("%s-screenshot-on-failure.png", fileName); in onTestFail() 129 File uixFile = collectUiXml(fileName); in onTestFail() 139 public File takeScreenshot(String fileName) { in takeScreenshot() argument 140 File img = new File(mDestDir, fileName); in takeScreenshot() 169 public File collectUiXml(String fileName) { in collectUiXml() argument 170 File uixFile = new File(mDestDir, String.format("%s.uix", fileName)); in collectUiXml()
|
D | GcaEventLogCollector.java | 164 String fileName = buildCollectedEventLogFileName(description); in collectEventLog() local 165 Log.d(TAG, String.format("Destination event log file name: %s", fileName)); in collectEventLog() 166 copyEventLogToSharedStorage(fileName); in collectEventLog() 167 testData.addFileMetric(fileName, new File(mDestDir, fileName)); in collectEventLog() 171 protected void copyEventLogToSharedStorage(String fileName) { in copyEventLogToSharedStorage() argument 173 String.format("cp %s %s/%s", mEventLogPath, mDestDir.getAbsolutePath(), fileName); in copyEventLogToSharedStorage()
|
D | BatteryStatsListener.java | 131 String fileName = String.format("%s.%s.batterystatsproto", description.getClassName(), in onTestEnd() local 133 File logFile = dumpBatteryStats(fileName); in onTestEnd() 180 public File dumpBatteryStats(String fileName) { in dumpBatteryStats() argument 182 File logFile = new File(mDestDir, fileName); in dumpBatteryStats()
|
D | MobilityChangeCollector.java | 55 final String fileName = "mobility-changes.txt"; in onTestRunEnd() local 56 File mobilityLog = new File(mDestDir, fileName); in onTestRunEnd()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | HeapDumpHelper.java | 98 String fileName = in getMetrics() local 104 String finalHeapDumpPath = mTestOutputDir.resolve(fileName).toString(); in getMetrics() 108 finalHeapDumpPath = renameEmptyFile(mTestOutputDir, fileName); in getMetrics() 192 private String renameEmptyFile(Path dir, String fileName) { in renameEmptyFile() argument 193 String oldFile = dir.resolve(fileName).toString(); in renameEmptyFile() 194 String newFile = dir.resolve("EMPTY-" + fileName).toString(); in renameEmptyFile()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/wm/ |
D | WindowManagerTraceMonitor.kt | 41 return TRACE_DIR.resolve(traceType.fileName) in doStop() 46 val protologFile = TRACE_DIR.resolve(TraceType.PROTOLOG.fileName) in doStopTraces()
|
D | LegacyWmTransitionTraceMonitor.kt | 39 return TRACE_DIR.resolve(traceType.fileName) in doStop()
|
D | LegacyShellTransitionTraceMonitor.kt | 46 return TRACE_DIR.resolve(traceType.fileName) in doStop()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | MultipartForm.java | 72 public MultipartForm addFormFile(String name, String fileName, byte[] data) { in addFormFile() argument 74 mFileName = fileName; in addFormFile() 161 private void writeFormFileHeader(PrintWriter writer, String name, String fileName) { in writeFormFileHeader() argument 164 writer.append("\"; filename=\"").append(fileName).println("\""); in writeFormFileHeader()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ResultArtifactDescriptorTest.kt | 55 .isEqualTo(traceType.fileName) in createDescriptorAndValidateFileName() 64 subject.endsWith(traceType.fileName) in createDescriptorAndValidateFileNameWithTag()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | ReadElfTest.java | 277 private File getResrouceFile(String fileName) throws IOException { in getResrouceFile() argument 278 File tempFile = File.createTempFile(fileName, "tmp"); in getResrouceFile() 280 try (InputStream input = openResourceAsStream(fileName); in getResrouceFile() 297 private InputStream openResourceAsStream(String fileName) { in openResourceAsStream() argument 298 InputStream input = getClass().getResourceAsStream("/" + fileName); in openResourceAsStream()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutLibTestCallback.java | 146 public XmlPullParser createXmlParserForPsiFile(@NonNull String fileName) { in createXmlParserForPsiFile() argument 147 return createXmlParserForFile(fileName); in createXmlParserForPsiFile() 152 public XmlPullParser createXmlParserForFile(@NonNull String fileName) { in createXmlParserForFile() argument 153 try (FileInputStream fileStream = new FileInputStream(fileName)) { in createXmlParserForFile()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 207 String fileName = new String(); in testAppLaunchPerformance() local 209 fileName = String.format("%s-%d-%d", activityName, count, processId); in testAppLaunchPerformance() 211 fileName = String.format("%s-%d-%d", Uri.parse(activityName).getHost(), in testAppLaunchPerformance() 216 File file = new File(logsDir, fileName); in testAppLaunchPerformance() 231 registerTraceFileNames(activityName, fileName); in testAppLaunchPerformance() 233 registerTraceFileNames(Uri.parse(activityName).getHost(), fileName); in testAppLaunchPerformance() local
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/ |
D | GhidraScriptRunner.java | 222 private static void createScriptFile(File folder, String fileName, String content) in createScriptFile() argument 224 try (FileWriter fileWriter = new FileWriter(new File(folder, fileName))) { in createScriptFile() argument 236 private static void createPropertiesFile(File folder, String fileName, Map<String, String> map) in createPropertiesFile() argument 238 File propertiesFile = new File(folder, fileName); in createPropertiesFile()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScreenRecordCollectorTest.java | 166 String fileName = bundle.getString(key); in testScreenRecord() local 167 assertTrue(fileName.contains(mTestDesc.getClassName())); in testScreenRecord() 168 assertTrue(fileName.contains(mTestDesc.getMethodName())); in testScreenRecord() 340 String fileName = metrics.getString(key); in testNullMethodNameDoesNotAppearInVideoName() local 341 assertTrue(fileName.contains(mRunDesc.getClassName())); in testNullMethodNameDoesNotAppearInVideoName() 342 assertFalse(fileName.contains("null")); in testNullMethodNameDoesNotAppearInVideoName()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | TestArtifact.kt | 27 override val fileName = absolutePath constant
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | TraceProcessorSession.kt | 45 val traceFile = File.createTempFile(TraceType.SF.fileName, "") in loadPerfettoTrace()
|