Home
last modified time | relevance | path

Searched refs:setFile (Results 1 – 25 of 31) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceBuildInfo.java92 setFile(BuildInfoFileKey.DEVICE_IMAGE, deviceImageFile, version); in setDeviceImageFile()
116 setFile(BuildInfoFileKey.USERDATA_IMAGE, userDataFile, version); in setUserDataImageFile()
140 setFile(BuildInfoFileKey.TESTDIR_IMAGE, testsDir, version); in setTestsDir()
164 setFile(BuildInfoFileKey.BASEBAND_IMAGE, basebandFile, version); in setBasebandImage()
188 setFile(BuildInfoFileKey.BOOTLOADER_IMAGE, bootloaderImgFile, version); in setBootloaderImageFile()
212 setFile(BuildInfoFileKey.OTA_IMAGE, otaFile, version); in setOtaPackageFile()
236 setFile(BuildInfoFileKey.MKBOOTIMG_IMAGE, mkbootimg, version); in setMkbootimgFile()
260 setFile(BuildInfoFileKey.RAMDISK_IMAGE, ramdisk, version); in setRamdiskFile()
DOtatoolsBuildInfo.java42 setFile(SECURITY_DIR_NAME, dir, version); in setSecurityDir()
56 setFile(BIN_DIR_NAME, dir, version); in setBinDir()
70 setFile(FRAMEWORK_DIR_NAME, dir, version); in setFrameworkDir()
84 setFile(RELEASETOOLS_DIR_NAME, dir, version); in setReleasetoolsDir()
DOtaDeviceBuildInfo.java158 setFile(OTA_TOOLS_DIR_KEY_NAME, otaTools, version); in setOtaTools()
166 setFile(BASELINE_TARGET_FILE_KEY_NAME, file, version); in setBaselineTargetFileZip()
169 setFile(TARGET_TARGET_FILE_KEY_NAME, file, version); in setTargetTargetFileZip()
179 setFile(BASELINE_OTA_TOOLS_KEY_NAME, file, version); in setBaselineOtatoolsZip()
182 setFile(TARGET_OTA_TOOLS_KEY_NAME, file, version); in setTargetOtatoolsZip()
DBuildInfo.java243 setFile( in addAllFiles()
260 setFile(fileEntry.getKey(), copyFile, fileEntry.getValue().getVersion()); in addAllFiles()
281 receiver.setFile( in applyBuildProperties()
384 public void setFile(String name, File file, String version) { in setFile() method in BuildInfo
407 public void setFile(BuildInfoFileKey key, File file, String version) { in setFile() method in BuildInfo
408 setFile(key.getFileKey(), file, version); in setFile()
425 setFile(BuildInfoFileKey.PACKAGE_FILES, appPackageFile, version); in addAppPackageFile()
631 setFile(versionedFile, vFile.getFile(), vFile.getVersion()); in copyAllFileFrom()
693 buildInfo.setFile( in fromProto()
DDeviceFolderBuildInfo.java88 setFile( in setRootDir()
159 setFile(fileEntry.getKey(), copyFile, fileEntry.getValue().getVersion()); in addAllFiles()
DBootstrapBuildProvider.java150 info.setFile("testsdir", mTestsDir, info.getBuildId()); in getBuild()
188 buildInfo.setFile(entry.getKey(), entry.getValue(), "0"); in addFiles()
DFolderBuildInfo.java87 setFile( in setRootDir()
DDependenciesResolver.java99 build.setFile(dependency.getKey(), f, version); in getBuild()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparerTest.java207 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoRamdiskRecoveryImg()
221 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoOtatoolsZip()
223 mBuildInfo.setFile("ramdisk.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_NoOtatoolsZip()
237 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
239 mBuildInfo.setFile("ramdisk.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
244 mBuildInfo.setFile("otatools.zip", otatoolsZip, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
258 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
260 mBuildInfo.setFile("ramdisk.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
265 mBuildInfo.setFile("otatools.zip", otatoolsZip, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
301 mBuildInfo.setFile("gki_boot.img", bootImg, "0"); in testAddHashFooter()
[all …]
DGsiDeviceFlashPreparerTest.java175 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetUp_NoSystemImageInGsiZip()
191 mBuildInfo.setFile("gsi_system.img", systemImg, "0"); in testSetUp_Success_NoVbmetaImage()
225 mBuildInfo.setFile("gsi_system.img", systemImg, "0"); in testSetup_Success()
226 mBuildInfo.setFile("gsi_vbmeta.img", vbmetaImg, "0"); in testSetup_Success()
269 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetup_Success_FromZipFile()
270 mBuildInfo.setFile("gsi_vbmeta.img", gsiZip, "0"); in testSetup_Success_FromZipFile()
313 mBuildInfo.setFile("gsi_system.img", systemImg, "0"); in testSetup_Success_WithGkiBootImg()
314 mBuildInfo.setFile("gsi_vbmeta.img", vbmetaImg, "0"); in testSetup_Success_WithGkiBootImg()
315 mBuildInfo.setFile("gki_boot.img", bootImg, "0"); in testSetup_Success_WithGkiBootImg()
366 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetup_Success_WithGkiBootImgInZip()
[all …]
DMixKernelTargetPreparerTest.java115 mBuildInfo.setFile("device", deviceImage, "0"); in testFailsOnMissingKernelImage()
131 mBuildInfo.setFile("device", deviceImage, "0"); in testFailsOnMissingKernelMixingTool()
133 mBuildInfo.setFile("{kernel}Image.gz", kernelImage, "0"); in testFailsOnMissingKernelMixingTool()
167 mBuildInfo.setFile("device", deviceImage, "0"); in testFailsOnRunningKernelMixingTool()
168 mBuildInfo.setFile("{kernel}Image.gz", kernelImage, "0"); in testFailsOnRunningKernelMixingTool()
205 mBuildInfo.setFile("device", deviceImage, "0"); in testFailsOnNoNewDeviceImage()
206 mBuildInfo.setFile("{kernel}Image.gz", kernelImage, "0"); in testFailsOnNoNewDeviceImage()
251 mBuildInfo.setFile("device", deviceImage, "0"); in testSuccessfulMixKernel()
252 mBuildInfo.setFile("{kernel}Image.gz", kernelImage, "0"); in testSuccessfulMixKernel()
291 mBuildInfo.setFile("device", deviceImage, "0"); in testSuccessfulMixKernelWithLocalToolPath()
[all …]
DPushFilePreparerTest.java129 info.setFile("perf_test", testFile, "v1"); in testPushFile_RemoteIsDir()
150 info.setFile("perf_test", testFile, "v1"); in testPushFile_duplicateKey()
176 info.setFile("perf_test", testFile, "v1"); in testPushDir_RemoteIsDir()
200 info.setFile("perf_test", testFile, "v1"); in testPushDir_RemoteIsFile()
230 info.setFile("perf_test", testFile, "v1"); in testRemotePush_override()
231 info.setFile("perf_test2", testFile2, "v1"); in testRemotePush_override()
260 info.setFile("perf_test", testFile, "v1"); in testPushFileAndPush_override()
261 info.setFile("perf_test2", testFile2, "v1"); in testPushFileAndPush_override()
393 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, tmpFolder, "v1"); in testPush_abiDirectory_noBitness()
426 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, tmpFolder, "v1"); in testPush_abiDirectory_noBitness_withModule()
[all …]
DDynamicSystemPreparerTest.java145 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageDir, "0"); in testSetUp_imageDir()
165 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageZip, "0"); in testSetUp_imageZip()
183 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageZip, "0"); in testSetUp_imageConversionTimeout()
195 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageZip, "0"); in testSetUp_installationFail()
215 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageZip, "0"); in testSetUp_rebootFail()
237 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, mSystemImageZip, "0"); in testSetUp_noDsuRunningAfterRebootFail()
257 mBuildInfo.setFile(SYSTEM_IMAGE_ZIP_NAME, imageSource, "0"); in testImageSetup()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBuildInfoTest.java58 mBuildInfo.setFile(FILE_KEY, mFile, VERSION); in setUp()
70 mBuildInfo.setFile( in testClone()
145 mBuildInfo.setFile("name", testFile, "version"); in testCleanUpWithExemption()
146 mBuildInfo.setFile("name2", testFile2, "version2"); in testCleanUpWithExemption()
180 mBuildInfo.setFile(BuildInfoFileKey.PACKAGE_FILES, testFile, "version"); in testListFiles()
181 mBuildInfo.setFile(BuildInfoFileKey.PACKAGE_FILES, testFile2, "version2"); in testListFiles()
197 mBuildInfo.setFile( in testProtoSerialization()
DDeviceBuildInfoTest.java101 mBuildInfo.setFile(BuildInfoFileKey.HOST_LINKED_DIR, mHostLinkedDir, "v1"); in testCloneWithProperties()
DDeviceFolderBuildInfoTest.java90 mDeviceFolderBuildInfo.setFile("foo", mFile, "foo-version"); in testGetFiles_both()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java76 mMockInfo1.setFile(EXAMPLE_KEY, new File("fake"), "some version"); in testMergeFiles()
99 mMockInfo1.setFile(EXAMPLE_KEY, new File("/fake"), "version1"); in testMergeFiles_collision()
100 mMockInfo2.setFile(EXAMPLE_KEY, new File("/orig"), "version0"); in testMergeFiles_collision()
119 mMockInfo1.setFile(EXAMPLE_KEY, new File("/fake"), "version1"); in testMergeFiles_collision_enforce()
120 mMockInfo2.setFile(EXAMPLE_KEY, new File("/orig"), "version0"); in testMergeFiles_collision_enforce()
DMixImageZipPreparerTest.java253 mDeviceBuild.setFile(MISC_INFO_FILE_NAME, mMiscInfoFile, DEVICE_BUILD_ID); in setUpDeviceWithSuper()
260 mSystemBuild.setFile("otatools.zip", mOtaToolsZip, SYSTEM_BUILD_ID); in setUpDeviceWithSuper()
262 mSystemBuild.setFile("repack_super_image", mRepackSuperImageFile, SYSTEM_BUILD_ID); in setUpDeviceWithSuper()
339 buildInfo.setFile(file.getName(), file, "0"); in createBuildInfo()
/tools/tradefederation/core/javatests/com/android/tradefed/build/content/
DTestContentAnalyzerTest.java66 mBuildInfo.setFile(BuildInfoFileKey.TESTDIR_IMAGE, testsDir, "P8888"); in testAnalyzeTestsDir_withChange()
96 mBuildInfo.setFile(BuildInfoFileKey.TESTDIR_IMAGE, testsDir, "P8888"); in testAnalyzeTestsDir_noChange()
132 mBuildInfo.setFile(BuildInfoFileKey.ROOT_DIRECTORY, rootDir, "P8888"); in testAnalyzeXtsSuite_withChange()
168 mBuildInfo.setFile(BuildInfoFileKey.ROOT_DIRECTORY, rootDir, "P8888"); in testAnalyzeXtsSuite_withDiscovery()
203 mBuildInfo.setFile(BuildInfoFileKey.ROOT_DIRECTORY, rootDir, "P8888"); in testAnalyzeXtsSuite_noChange()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DHostGTestTest.java196 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testRunTest()
225 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testRun_priority_get_testcase_from_hostlinked_folder()
291 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testRun_withSuffix()
315 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testBeforeCmdError()
341 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testTestFailureHandledCorrectly()
360 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testBothStdoutAndStderrCollected()
392 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testRunTest_hardlink()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFlashingResourceUtil.java77 info.setFile(BuildInfoKey.BuildInfoFileKey.DEVICE_IMAGE, deviceImage, buildId); in setUpFlashingResources()
106 info.setFile(BuildInfoKey.BuildInfoFileKey.BASEBAND_IMAGE, baseband, buildId); in handleBaseband()
120 info.setFile(BuildInfoKey.BuildInfoFileKey.BOOTLOADER_IMAGE, bootloader, buildId); in handleBootloader()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java257 public void setFile(String name, File file, String version); in setFile() method
266 public default void setFile(BuildInfoFileKey key, File file, String version) { in setFile() method
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java108 buildInfo.setFile( in installDeps()
112 buildInfo.setFile("VIRTUAL_ENV", mTmpVenvDir, buildInfo.getBuildId()); in installDeps()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java106 receiverInfo.setFile(key, toBeMoved.getFile(), toBeMoved.getVersion()); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java394 info.setFile(BuildInfoFileKey.HOST_LINKED_DIR, buildFile, "1"); in testBackFill()
397 info.setFile("random-key", tmpFile, "1"); in testBackFill()
424 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, testsDir, "tests"); in testBuildInfo_testTag()

12