Home
last modified time | relevance | path

Searched refs:mBootImg (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/build/
DLocalDeviceBuildProviderTest.java53 private File mBootImg = null; field in LocalDeviceBuildProviderTest
65 mBootImg = new File(mBuildDir, "boot.img"); in setUp()
66 FileUtil.writeToFile(BOOT_IMG, mBootImg); in setUp()
127 File extractedFile2 = new File(mTmpDir, mBootImg.getName()); in testCreateBuildImageZip()
133 assertTrue(FileUtil.compareFileContents(mBootImg, extractedFile2)); in testCreateBuildImageZip()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparer.java195 private File mBootImg = null; field in GkiDeviceFlashPreparer
321 executeFastbootCmd(device, "flash", "boot", mBootImg.getAbsolutePath()); in flashGki()
388 mBootImg = in validateGkiBootImg()
415 mBootImg = FileUtil.createTempFile("boot", ".img", tmpDir); in validateGkiBootImg()
424 mBootImg.getAbsolutePath()); in validateGkiBootImg()
426 CLog.i("The GKI boot.img is of size %d", mBootImg.length()); in validateGkiBootImg()
427 if (mBootImg.length() == 0) { in validateGkiBootImg()
432 buildInfo.setFile(mGkiBootImageName, mBootImg, "0"); in validateGkiBootImg()
673 if (mBootImg == null) { in addHashFooter()
700 String command = String.format("du -b %s", mBootImg.getAbsolutePath()); in addHashFooter()
[all …]
DGsiDeviceFlashPreparer.java113 private File mBootImg = null; field in GsiDeviceFlashPreparer
231 if (mBootImg != null) { in flashGsi()
233 executeFastbootCmd(device, "flash", "boot", mBootImg.getAbsolutePath()); in flashGsi()
275 mBootImg = in validateGsiImg()