Home
last modified time | relevance | path

Searched refs:deviceBuild (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java142 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 …]
DDeviceFlashPreparer.java194 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()
DDefaultTestsZipInstaller.java112 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument
123 File hostDir = new File(deviceBuild.getTestsDir(), "DATA"); in pushTestsZipOntoData()
DITestsZipInstaller.java40 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument
DIDeviceFlasher.java111 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, in flash() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCdmaDeviceFlasher.java73 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 …]
DSystemUpdaterDeviceFlasher.java67 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()
DPushFilePreparer.java213 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/
DAppDeviceBuildInfoTest.java54 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()
DDeviceFolderBuildInfoTest.java155 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/
DExecutableHostTest.java75 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/
DBaseDeviceMetricCollector.java489 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/
DAppDeviceBuildInfo.java42 public void setDeviceBuild(IDeviceBuildInfo deviceBuild) { in setDeviceBuild() argument
43 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
DDeviceFolderBuildInfo.java70 public void setDeviceBuild(IDeviceBuildInfo deviceBuild) { in setDeviceBuild() argument
71 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()