Home
last modified time | relevance | path

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

/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIDriveHelper.java47 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/
DScreenshotOnFailureCollector.java117 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()
DBatteryStatsListener.java131 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()
DLogcatOnFailureCollector.java109 final String fileName = in onTestEnd() local
116 File logcat = new File(mDestDir, fileName); in onTestEnd()
DScreenRecordCollector.java110 final String fileName = in getOutputFile() local
117 return Paths.get(mDestDir.getAbsolutePath(), fileName).toFile(); in getOutputFile()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java207 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/flicker/test/src/com/android/server/wm/flicker/
DLayersTraceSubjectTest.java108 private void detectRootLayer(String fileName) { in detectRootLayer() argument
109 LayersTrace layersTrace = readLayerTraceFromFile(fileName); in detectRootLayer()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java179 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/aupt-lib/src/android/support/test/aupt/
DMemHealthRecord.java118 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()
DAuptTestRunner.java671 String fileName =
676 device.takeScreenshot(new File(fileName));
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java288 private void storeToFile(String fileName, String processName, long pid, String showmapOutput, in storeToFile() argument
295 throw new RuntimeException(String.format("Unable to write file %s ", fileName), e); in storeToFile()