/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | FastbootDeviceFlasher.java | 177 public void preFlashOperations(ITestDevice device, IDeviceBuildInfo deviceBuild) in preFlashOperations() argument 189 deviceBuild.getDeviceBuildId()); in preFlashOperations() 200 downloadFlashingResources(device, deviceBuild); in preFlashOperations() 201 preFlashSetup(device, deviceBuild); in preFlashOperations() 205 deviceBuild.addBuildAttribute(FASTBOOT_VERSION, fastbootVersion); in preFlashOperations() 212 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) in flash() argument 214 handleUserDataFlashing(device, deviceBuild); in flash() 215 checkAndFlashBootloader(device, deviceBuild); in flash() 216 checkAndFlashBaseband(device, deviceBuild); in flash() 217 flashExtraImages(device, deviceBuild); in flash() [all …]
|
D | DeviceFlashPreparer.java | 268 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in setUp() local 269 if (mShouldFlashRamdisk && deviceBuild.getRamdiskFile() == null) { in setUp() 329 deviceBuild, in setUp() 350 checkDeviceProductType(device, deviceBuild); in setUp() 374 flasher.preFlashOperations(device, deviceBuild); in setUp() 410 flasher.flash(device, deviceBuild); in setUp() 420 flasher.postFlashOperations(device, deviceBuild); in setUp() 443 moveBaseline(deviceBuild, device.getSerialNumber(), useIncrementalFlashing); in setUp() 458 checkBuild(device, deviceBuild); in setUp() 470 device.getSerialNumber(), deviceBuild.getDeviceBuildId()), in setUp() [all …]
|
D | IDeviceFlasher.java | 110 public default void preFlashOperations(ITestDevice device, IDeviceBuildInfo deviceBuild) in preFlashOperations() argument 127 public void flash(ITestDevice device, IDeviceBuildInfo deviceBuild) throws TargetSetupError, in flash() argument 139 public default void postFlashOperations(ITestDevice device, IDeviceBuildInfo deviceBuild) in postFlashOperations() argument
|
D | ITestsZipInstaller.java | 40 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument
|
D | DefaultTestsZipInstaller.java | 112 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) in pushTestsZipOntoData() argument 123 File hostDir = new File(deviceBuild.getTestsDir(), "DATA"); in pushTestsZipOntoData()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CdmaDeviceFlasher.java | 72 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 | 231 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in resolveRelativeFilePath() local 232 File testDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath() 235 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
|
/tools/tradefederation/core/javatests/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 | 173 IDeviceBuildInfo deviceBuild = new DeviceBuildInfo("3333", "build_target3"); in testSettingBuilds() local 174 deviceBuild.setBootloaderImageFile(new File("bootloader"), "v2"); in testSettingBuilds() 177 mDeviceFolderBuildInfo.setDeviceBuild(deviceBuild); in testSettingBuilds()
|
/tools/tradefederation/core/src/com/android/tradefed/result/skipped/ |
D | ArtifactsAnalyzer.java | 72 for (Entry<ITestDevice, IBuildInfo> deviceBuild : in analyzeArtifacts() 75 analyzeArtifact(deviceBuild, mImageAnalysis.get(deviceBuild.getKey())); in analyzeArtifacts() 119 Entry<ITestDevice, IBuildInfo> deviceBuild, List<ContentAnalysisContext> context) { in analyzeArtifact() argument 120 ITestDevice device = deviceBuild.getKey(); in analyzeArtifact() 121 IBuildInfo build = deviceBuild.getValue(); in analyzeArtifact()
|
/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 | 106 public void setDeviceBuild(IDeviceBuildInfo deviceBuild) { in setDeviceBuild() argument 107 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporter.java | 254 DeviceBuildDescriptor deviceBuild = new DeviceBuildDescriptor(buildInfo); in convertMetricsToJson() local 255 buildBranch = deviceBuild.getDeviceBuildBranch(); in convertMetricsToJson() 256 buildFlavor = deviceBuild.getDeviceBuildFlavor(); in convertMetricsToJson() 257 buildId = deviceBuild.getDeviceBuildId(); in convertMetricsToJson()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 79 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) getTestInfo().getBuildInfo(); in findBinary() local 80 File testsDir = deviceBuild.getTestsDir(); in findBinary() 84 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.HOST_LINKED_DIR); in findBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 710 IDeviceBuildInfo deviceBuild = (IDeviceBuildInfo) buildInfo; in resolveRelativeFilePath() local 711 File testDir = deviceBuild.getTestsDir(); in resolveRelativeFilePath() 714 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
|