/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | IDriveHelper.java | 47 public void searchFile(String fileName); in searchFile() argument 73 public boolean isStartDownloading(String fileName); in isStartDownloading() argument 83 public boolean isDownloading(String fileName); in isDownloading() argument 92 public void removeDownloadedFile(String fileName); in removeDownloadedFile() argument
|
/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 | MobilityChangeCollector.java | 55 final String fileName = "mobility-changes.txt"; in onTestRunEnd() local 56 File mobilityLog = new File(mDestDir, fileName); in onTestRunEnd()
|
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 | ScreenRecordCollector.java | 117 final String fileName = in getOutputFile() local 124 return Paths.get(mDestDir.getAbsolutePath(), fileName).toFile(); in getOutputFile()
|
D | LogcatCollector.java | 128 final String fileName = in onTestEnd() local 135 File logcat = new File(mDestDir, fileName); in onTestEnd()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | LayersTraceTest.kt | 31 private fun detectRootLayer(fileName: String) { in <lambda>() 32 val layersTrace = readLayerTraceFromFile(fileName) in <lambda>()
|
D | LayersTraceSubjectTest.kt | 172 private fun detectRootLayer(fileName: String) { in detectRootLayer() 173 val layersTrace = readLayerTraceFromFile(fileName) in detectRootLayer()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | MultipartForm.java | 68 public MultipartForm addFormFile(String name, String fileName, byte[] data) { in addFormFile() argument 70 mFileName = fileName; in addFormFile() 157 private void writeFormFileHeader(PrintWriter writer, String name, String fileName) { in writeFormFileHeader() argument 160 writer.append("\"; filename=\"").append(fileName).println("\""); in writeFormFileHeader()
|
/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/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 179 String fileName = String.format("%s.%s", in populateContentInDLApp() local 189 fileName, in populateContentInDLApp() 198 Log.d(TEST_TAG, String.format("Adding Name = %s, size = %d, time = %d", fileName, in populateContentInDLApp() 200 mDownloadedItems.put(fileName, new DlObjSizeTimePair(size, timeInMiliSec)); in populateContentInDLApp()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | PinnerHelper.java | 145 private void storeToFile(String fileName, String pinnerOutput, FileWriter writer) in storeToFile() argument 152 throw new RuntimeException(String.format("Unable to write file %s ", fileName), e); in storeToFile()
|
D | ShowmapSnapshotHelper.java | 315 private void storeToFile(String fileName, String processName, long pid, String showmapOutput, in storeToFile() argument 322 throw new RuntimeException(String.format("Unable to write file %s ", fileName), e); in storeToFile()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | MemHealthRecord.java | 118 static void saveVerbose(Collection<MemHealthRecord> allRecords, String fileName) in saveVerbose() argument 120 PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName, true))); in saveVerbose() 215 static void saveCsv(Collection<MemHealthRecord> allRecords, String fileName) throws IOException{ in saveCsv() argument 216 PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(fileName, true))); in saveCsv()
|
D | AuptTestRunner.java | 671 String fileName = 676 device.takeScreenshot(new File(fileName));
|