Home
last modified time | relevance | path

Searched refs:boot_image_path (Results 1 – 9 of 9) sorted by relevance

/tools/acloud/internal/lib/
Dcvd_utils.py164 boot_image_path = create_common.FindLocalImage(
166 if boot_image_path and not _IsBootImage(boot_image_path):
174 return boot_image_path, vendor_boot_image_path
216 boot_image_path, vendor_boot_image_path = FindBootImages(search_path)
217 if boot_image_path:
218 ssh_obj.ScpPushFile(boot_image_path, _REMOTE_BOOT_IMAGE_PATH)
Dgoldfish_utils.py63 def _UnpackBootImage(output_dir, boot_image_path, ota): argument
77 ota.UnpackBootImg(output_dir, boot_image_path)
82 raise errors.GetLocalImageError("No kernel in %s." % boot_image_path)
84 raise errors.GetLocalImageError("No ramdisk in %s." % boot_image_path)
108 def MixWithBootImage(output_dir, image_dir, boot_image_path, ota): argument
129 unpack_dir, boot_image_path, ota)
Dgoldfish_utils_test.py49 boot_image_path = os.path.join(self._temp_dir, "boot.img")
51 self._CreateEmptyFile(boot_image_path)
60 self.assertEqual(boot_image_path, boot_img)
69 mix_dir, image_dir, boot_image_path, mock_ota)
71 mock_ota.UnpackBootImg.assert_called_with(unpack_dir, boot_image_path)
Dcvd_utils_test.py88 boot_image_path = os.path.join(image_dir, "boot.img")
89 self._CreateFile(boot_image_path, b"ANDROID!test")
92 mock_avd_spec = mock.Mock(local_kernel_image=boot_image_path)
/tools/acloud/create/
Dlocal_image_local_instance_test.py300 boot_image_path = "/mock/boot.img"
302 mock_cvd_utils.FindBootImages.return_value = (boot_image_path,
338 system_image_path, boot_image_path,
347 boot_image_path = "/mock/boot.img"
348 mock_cvd_utils.FindBootImages.return_value = (boot_image_path, None)
365 local_kernel_image=boot_image_path,
377 mock_cvd_utils.FindBootImages.assert_called_with(boot_image_path)
381 boot_image_path, None))
Dgoldfish_local_image_local_instance.py409 boot_image_path = create_common.FindLocalImage(
411 logger.info("Found boot image: %s", boot_image_path)
413 boot_image_path = None
415 if boot_image_path:
419 boot_image_path, ota_tools.FindOtaTools(tool_dirs))
Dgoldfish_local_image_local_instance_test.py402 boot_image_path = os.path.join(self._temp_dir, "kernel_images",
404 self._CreateEmptyFile(boot_image_path)
410 local_kernel_image=os.path.dirname(boot_image_path),
422 mock.ANY, os.path.join(image_subdir), boot_image_path,
Dlocal_image_local_instance.py430 boot_image_path, vendor_boot_image_path = cvd_utils.FindBootImages(
433 boot_image_path = None
441 boot_image=boot_image_path,
/tools/acloud/public/actions/
Dremote_host_gf_device_factory.py306 boot_image_path = self._RetrieveBootImage(download_dir, build_api)
312 if system_image_zip_path or boot_image_path else None)
316 boot_image_path)
528 def _MixAndUploadKernelImages(self, image_dir, boot_image_path, ota): argument
541 temp_dir, image_dir, boot_image_path, ota)