/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildInfo.java | 92 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()
|
D | OtatoolsBuildInfo.java | 42 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()
|
D | OtaDeviceBuildInfo.java | 158 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()
|
D | BuildInfo.java | 243 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()
|
D | DeviceFolderBuildInfo.java | 88 setFile( in setRootDir() 159 setFile(fileEntry.getKey(), copyFile, fileEntry.getValue().getVersion()); in addAllFiles()
|
D | BootstrapBuildProvider.java | 150 info.setFile("testsdir", mTestsDir, info.getBuildId()); in getBuild() 188 buildInfo.setFile(entry.getKey(), entry.getValue(), "0"); in addFiles()
|
D | FolderBuildInfo.java | 87 setFile( in setRootDir()
|
D | DependenciesResolver.java | 99 build.setFile(dependency.getKey(), f, version); in getBuild()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | GkiDeviceFlashPreparerTest.java | 207 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 …]
|
D | GsiDeviceFlashPreparerTest.java | 175 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 …]
|
D | MixKernelTargetPreparerTest.java | 115 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 …]
|
D | PushFilePreparerTest.java | 129 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 …]
|
D | DynamicSystemPreparerTest.java | 145 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/ |
D | BuildInfoTest.java | 58 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()
|
D | DeviceBuildInfoTest.java | 101 mBuildInfo.setFile(BuildInfoFileKey.HOST_LINKED_DIR, mHostLinkedDir, "v1"); in testCloneWithProperties()
|
D | DeviceFolderBuildInfoTest.java | 90 mDeviceFolderBuildInfo.setFile("foo", mFile, "foo-version"); in testGetFiles_both()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparerTest.java | 76 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()
|
D | MixImageZipPreparerTest.java | 253 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/ |
D | TestContentAnalyzerTest.java | 66 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/ |
D | HostGTestTest.java | 196 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/ |
D | FlashingResourceUtil.java | 77 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/ |
D | IBuildInfo.java | 257 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/ |
D | PythonVirtualenvPreparer.java | 108 buildInfo.setFile( in installDeps() 112 buildInfo.setFile("VIRTUAL_ENV", mTmpVenvDir, buildInfo.getBuildId()); in installDeps()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparer.java | 106 receiverInfo.setFile(key, toBeMoved.getFile(), toBeMoved.getVersion()); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | SandboxedInvocationExecutionTest.java | 394 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()
|