/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | FastbootDeviceFlasher.java | 142 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, in flash() argument 146 deviceBuild.getDeviceBuildId()); in flash() 154 downloadFlashingResources(device, deviceBuild); in flash() 155 preFlashSetup(device, deviceBuild); in flash() 159 deviceBuild.addBuildAttribute(FASTBOOT_VERSION, fastbootVersion); in flash() 162 handleUserDataFlashing(device, deviceBuild); in flash() 163 checkAndFlashBootloader(device, deviceBuild); in flash() 164 checkAndFlashBaseband(device, deviceBuild); in flash() 165 flashExtraImages(device, deviceBuild); in flash() 166 checkAndFlashSystem(device, systemBuildId, systemBuildFlavor, deviceBuild); in flash() [all …]
|
D | DeviceFlashPreparer.java | 194 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in setUp() local 195 if (mShouldFlashRamdisk && deviceBuild.getRamdiskFile() == null) { in setUp() 206 checkDeviceProductType(device, deviceBuild); in setUp() 229 flasher.flash(device, deviceBuild); in setUp() 258 checkBuild(device, deviceBuild); in setUp() 270 device.getSerialNumber(), deviceBuild.getDeviceBuildId()), in setUp() 289 protected void checkDeviceProductType(ITestDevice device, IDeviceBuildInfo deviceBuild) in checkDeviceProductType() argument 298 private void checkBuild(ITestDevice device, IDeviceBuildInfo deviceBuild) in checkBuild() argument 304 checkBuildAttribute(deviceBuild.getDeviceBuildId(), device.getBuildId(), in checkBuild() 308 checkBuildAttribute(deviceBuild.getDeviceBuildFlavor(), device.getBuildFlavor(), in checkBuild()
|
D | DefaultTestsZipInstaller.java | 112 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument 123 File hostDir = new File(deviceBuild.getTestsDir(), "DATA"); in pushTestsZipOntoData()
|
D | ITestsZipInstaller.java | 40 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument
|
D | IDeviceFlasher.java | 111 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, in flash() argument
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CdmaDeviceFlasher.java | 73 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, in flash() argument 77 device.getSerialNumber(), deviceBuild.getBuildId())); in flash() 85 downloadFlashingResources(device, deviceBuild); in flash() 87 checkAndFlashBootloader(device, deviceBuild); in flash() 88 if (checkShouldFlashBaseband(device, deviceBuild)) { in flash() 92 flashUserData(device, deviceBuild); in flash() 97 checkAndFlashBaseband(device, deviceBuild); in flash() 101 checkAndFlashSystem(device, systemBuildId, systemBuildFlavor, deviceBuild); in flash() 106 flashUserData(device, deviceBuild); in flash() 108 checkAndFlashSystem(device, systemBuildId, systemBuildFlavor, deviceBuild); in flash() [all …]
|
D | SystemUpdaterDeviceFlasher.java | 67 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) in flash() argument 70 deviceBuild.getDeviceBuildId()); in flash() 76 if (installUpdate(device, deviceBuild)) { in flash() 78 mTestsZipInstaller.pushTestsZipOntoData(device, deviceBuild); in flash() 85 private boolean installUpdate(ITestDevice device, IDeviceBuildInfo deviceBuild) in installUpdate() argument 89 if (!mForceSystemFlash && deviceBuild.getDeviceBuildId().equals(device.getBuildId())) { in installUpdate() 94 CLog.i("Flashing system %s on device %s", deviceBuild.getDeviceBuildId(), in installUpdate() 96 File otaPackageFile = deviceBuild.getOtaPackageFile(); in installUpdate() 99 + deviceBuild.getDeviceBuildId(), device.getDeviceDescriptor()); in installUpdate()
|
D | PushFilePreparer.java | 213 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in resolveRelativeFilePath() local 214 File testDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath() 217 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | AppDeviceBuildInfoTest.java | 54 IDeviceBuildInfo deviceBuild = new DeviceBuildInfo("3333", "build_target3"); in testSettingBuilds() local 55 deviceBuild.setBootloaderImageFile(new File("bootloader"), "v2"); in testSettingBuilds() 58 mAppBuildInfo.setDeviceBuild(deviceBuild); in testSettingBuilds()
|
D | DeviceFolderBuildInfoTest.java | 155 IDeviceBuildInfo deviceBuild = new DeviceBuildInfo("3333", "build_target3"); in testSettingBuilds() local 156 deviceBuild.setBootloaderImageFile(new File("bootloader"), "v2"); in testSettingBuilds() 159 mDeviceFolderBuildInfo.setDeviceBuild(deviceBuild); in testSettingBuilds()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 75 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) getTestInfo().getBuildInfo(); in findBinary() local 76 File testsDir = deviceBuild.getTestsDir(); in findBinary() 80 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.HOST_LINKED_DIR); in findBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 489 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in resolveRelativeFilePath() local 490 File testDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath() 493 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | AppDeviceBuildInfo.java | 42 public void setDeviceBuild(IDeviceBuildInfo deviceBuild) { in setDeviceBuild() argument 43 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
D | DeviceFolderBuildInfo.java | 70 public void setDeviceBuild(IDeviceBuildInfo deviceBuild) { in setDeviceBuild() argument 71 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|