Home
last modified time | relevance | path

Searched refs:uploadFile (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterLogSaverTest.java236 .uploadFile(Mockito.any(), Mockito.any()); in testInvocationEnded()
250 Mockito.verify(mMockTestOutputUploader).uploadFile(fileNamesFile, null); in testInvocationEnded()
252 .uploadFile(fooTxtOutputFile, ClusterLogSaver.TOOL_LOG_PATH); in testInvocationEnded()
253 Mockito.verify(mMockTestOutputUploader).uploadFile(fooHtmlOutputFile, ""); in testInvocationEnded()
254 Mockito.verify(mMockTestOutputUploader).uploadFile(barHtmlOutputFile, "module_reports"); in testInvocationEnded()
255 Mockito.verify(mMockTestOutputUploader).uploadFile(fooCtxOutputFile, null); in testInvocationEnded()
278 .uploadFile(Mockito.any(), Mockito.any()); in testInvocationEnded_uploadError()
292 Mockito.verify(mMockTestOutputUploader).uploadFile(fileNamesFile, null); in testInvocationEnded_uploadError()
294 .uploadFile(fooTxtOutputFile, ClusterLogSaver.TOOL_LOG_PATH); in testInvocationEnded_uploadError()
296 .uploadFile(barTxtOutputFile, ClusterLogSaver.TOOL_LOG_PATH); in testInvocationEnded_uploadError()
[all …]
DTestOutputUploaderTest.java76 String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, null); in testUploadFile_fileProtocol_rootPath()
89 String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, "sub_dir"); in testUploadFile_fileProtocol_withDestPath()
100 String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, null); in testUploadFile_httpProtocol_rootPath()
120 String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, "sub_dir"); in testUploadFile_httpProtocol_withDestPath()
128 String outputFileUrl = mTestOutputUploader.uploadFile(mOutputFile, "/{_%_}/"); in testUploadFile_httpProtocol_encoded()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGCSFileUploaderFuncTest.java72 mUploader.uploadFile( in testUploadFile_roundTrip()
85 mUploader.uploadFile( in testUploadFile_overwrite()
93 mUploader.uploadFile( in testUploadFile_overwrite()
104 mUploader.uploadFile( in testUploadFile_overwrite()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DShowmapPullerMetricCollector.java227 private void uploadMetricFile(File uploadFile) { in uploadMetricFile() argument
228 try (InputStreamSource source = new FileInputStreamSource(uploadFile, true)) { in uploadMetricFile()
229 testLog(getShowmapFileName(uploadFile.getName()), LogDataType.TEXT, source); in uploadMetricFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileUploader.java51 public void uploadFile( in uploadFile() method in GCSFileUploader
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestOutputUploader.java64 public String uploadFile(File file, String destPath) throws IOException { in uploadFile() method in TestOutputUploader
DClusterLogSaver.java287 fileUrls.put(file, uploader.uploadFile(file, entry.getValue())); in uploadFiles()