Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DGsiDeviceFlashPreparerTest.java170 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetUp_NoSystemImageInGsiZip()
188 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetUp_NoVbmetaImageInGsiZip()
207 mBuildInfo.setFile("gsi_system.img", systemImg, "0"); in testSetup_Success()
208 mBuildInfo.setFile("gsi_vbmeta.img", vbmetaImg, "0"); in testSetup_Success()
252 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetup_Success_FromZipFile()
253 mBuildInfo.setFile("gsi_vbmeta.img", gsiZip, "0"); in testSetup_Success_FromZipFile()
297 mBuildInfo.setFile("gsi_system.img", systemImg, "0"); in testSetup_Success_WithGkiBootImg()
298 mBuildInfo.setFile("gsi_vbmeta.img", vbmetaImg, "0"); in testSetup_Success_WithGkiBootImg()
299 mBuildInfo.setFile("gki_boot.img", bootImg, "0"); in testSetup_Success_WithGkiBootImg()
352 mBuildInfo.setFile("gsi_system.img", gsiZip, "0"); in testSetup_Success_WithGkiBootImgInZip()
[all …]
DPushFilePreparerTest.java126 info.setFile("perf_test", testFile, "v1"); in testPushFile_RemoteIsDir()
150 info.setFile("perf_test", testFile, "v1"); in testPushFile_duplicateKey()
181 info.setFile("perf_test", testFile, "v1"); in testPushDir_RemoteIsDir()
209 info.setFile("perf_test", testFile, "v1"); in testPushDir_RemoteIsFile()
240 info.setFile("perf_test", testFile, "v1"); in testRemotePush_override()
241 info.setFile("perf_test2", testFile2, "v1"); in testRemotePush_override()
273 info.setFile("perf_test", testFile, "v1"); in testPushFileAndPush_override()
274 info.setFile("perf_test2", testFile2, "v1"); in testPushFileAndPush_override()
407 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, tmpFolder, "v1"); in testPush_abiDirectory_noBitness()
443 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, tmpFolder, "v1"); in testPush_abiDirectory_noBitness_withModule()
[all …]
DGkiDeviceFlashPreparerTest.java147 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoRamdiskRecoveryImg()
162 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoOtatoolsZip()
164 mBuildInfo.setFile("ramdisk-recovery.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_NoOtatoolsZip()
179 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
181 mBuildInfo.setFile("ramdisk-recovery.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
186 mBuildInfo.setFile("otatools.zip", otatoolsZip, "0"); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
201 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
203 mBuildInfo.setFile("ramdisk-recovery.img", ramdiskRecoveryImage, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
208 mBuildInfo.setFile("otatools.zip", otatoolsZip, "0"); in testValidateGkiBootImg_FailToGenerateBootImg()
256 mBuildInfo.setFile("Image.gz", kernelImage, "0"); in testSetUp_NoMkbootimgInOtatoolsZip()
[all …]
DDynamicSystemPreparerTest.java60 mBuildInfo.setFile("system-img.zip", mSystemImageZip, "0"); in setUp()
/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()
DBuildInfo.java235 setFile(fileEntry.getKey(), copyFile, fileEntry.getValue().getVersion()); in addAllFiles()
256 receiver.setFile( in applyBuildProperties()
359 public void setFile(String name, File file, String version) { in setFile() method in BuildInfo
378 public void setFile(BuildInfoFileKey key, File file, String version) { in setFile() method in BuildInfo
379 setFile(key.getFileKey(), file, version); in setFile()
396 setFile(BuildInfoFileKey.PACKAGE_FILES, appPackageFile, version); in addAppPackageFile()
602 setFile(versionedFile, vFile.getFile(), vFile.getVersion()); in copyAllFileFrom()
662 buildInfo.setFile( in fromProto()
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()
DBootstrapBuildProvider.java128 info.setFile("testsdir", mTestsDir, info.getBuildId()); in getBuild()
163 buildInfo.setFile(entry.getKey(), entry.getValue(), "0"); in addFiles()
DOtaDeviceBuildInfo.java204 public void setFile(String name, File file, String version) { in setFile() method in OtaDeviceBuildInfo
205 mBaselineBuild.setFile(name, file, version); in setFile()
DFolderBuildInfo.java61 setFile( in setRootDir()
DDeviceFolderBuildInfo.java58 setFile( in setRootDir()
DDependenciesResolver.java83 build.setFile(f.getName(), f, "1"); in getBuild()
/tools/tradefederation/core/tests/src/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()
362 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testAbnormalTestCmdExitHandled()
385 buildInfo.setFile(BuildInfoKey.BuildInfoFileKey.HOST_LINKED_DIR, hostLinkedFolder, "0.0"); in testBothStdoutAndStderrCollected()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java56 mBuildInfo.setFile(FILE_KEY, mFile, VERSION); in setUp()
137 mBuildInfo.setFile("name", testFile, "version"); in testCleanUpWithExemption()
138 mBuildInfo.setFile("name2", testFile2, "version2"); in testCleanUpWithExemption()
172 mBuildInfo.setFile(BuildInfoFileKey.PACKAGE_FILES, testFile, "version"); in testListFiles()
173 mBuildInfo.setFile(BuildInfoFileKey.PACKAGE_FILES, testFile2, "version2"); in testListFiles()
189 mBuildInfo.setFile( in testProtoSerialization()
DDeviceFolderBuildInfoTest.java72 mDeviceFolderBuildInfo.setFile("foo", mFile, "foo-version"); in testGetFiles_both()
DDeviceBuildInfoTest.java101 mBuildInfo.setFile(BuildInfoFileKey.HOST_LINKED_DIR, mHostLinkedDir, "v1"); in testCloneWithProperties()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java198 mDeviceBuild.setFile(MISC_INFO_FILE_NAME, mMiscInfoFile, DEVICE_BUILD_ID); in setUpDeviceWithSuper()
205 mSystemBuild.setFile("otatools.zip", mOtaToolsZip, SYSTEM_BUILD_ID); in setUpDeviceWithSuper()
207 mSystemBuild.setFile("repack_super_image", mRepackSuperImageFile, SYSTEM_BUILD_ID); in setUpDeviceWithSuper()
284 buildInfo.setFile(file.getName(), file, "0"); in createBuildInfo()
DMergeMultiBuildTargetPreparerTest.java71 mMockInfo1.setFile(EXAMPLE_KEY, new File("fake"), "some version"); in testMergeFiles()
94 mMockInfo1.setFile(EXAMPLE_KEY, new File("/fake"), "version1"); in testMergeFiles_collision()
95 mMockInfo2.setFile(EXAMPLE_KEY, new File("/orig"), "version0"); in testMergeFiles_collision()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java248 public void setFile(String name, File file, String version); in setFile() method
257 public default void setFile(BuildInfoFileKey key, File file, String version) { in setFile() method
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java405 info.setFile(BuildInfoFileKey.HOST_LINKED_DIR, buildFile, "1"); in testBackFill()
408 info.setFile("random-key", tmpFile, "1"); in testBackFill()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java827 info.setFile(
842 info.setFile(
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java88 receiverInfo.setFile(key, toBeMoved.getFile(), toBeMoved.getVersion()); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java61 info.setFile(BuildInfoFileKey.TESTDIR_IMAGE, new File("doesnt_matter_testsdir"), "tests"); in testBuildInfo_testTag()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java60 buildInfo.setFile(resource.getName(), file, DEFAULT_FILE_VERSION); in getBuild()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java102 buildInfo.setFile(PYTHONPATH, new File(mVenvDir, in installDeps()

12