Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 16 of 16) 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()
DGcaEventLogCollector.java164 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()
DMobilityChangeCollector.java55 final String fileName = "mobility-changes.txt"; in onTestRunEnd() local
56 File mobilityLog = new File(mDestDir, fileName); in onTestRunEnd()
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()
DScreenRecordCollector.java117 final String fileName = in getOutputFile() local
124 return Paths.get(mDestDir.getAbsolutePath(), fileName).toFile(); in getOutputFile()
DLogcatCollector.java128 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/
DLayersTraceTest.kt31 private fun detectRootLayer(fileName: String) { in <lambda>()
32 val layersTrace = readLayerTraceFromFile(fileName) in <lambda>()
DLayersTraceSubjectTest.kt172 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/
DMultipartForm.java68 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/
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/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/collectors-helper/memory/src/com/android/helpers/
DPinnerHelper.java145 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()
DShowmapSnapshotHelper.java315 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/
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));