Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 25 of 31) sorted by relevance

12

/external/toolchain-utils/
Dweekly_report.py171 image_path = os.path.join(data_path, image_dir)
173 if not os.path.exists(image_path):
174 os.makedirs(image_path)
176 (data_path, tar_file_path, image_path))
179 report_image_paths.append(image_path)
184 image_path = os.path.join(data_path, image_dir)
186 if not os.path.exists(image_path):
187 os.makedirs(image_path)
189 (data_path, v_file_path, image_path))
192 vanilla_image_paths.append(image_path)
[all …]
Dchromiumos_image_diff.py312 for i, image_path in enumerate([options.image1, options.image2], start=1):
313 image_path = os.path.realpath(image_path)
314 if not os.path.isfile(image_path):
315 logger.getLogger().LogError('"{0}" is not a file.'.format(image_path))
323 t = image_path
336 image = CrosImage(image_path, chromeos_root, options.no_unmount)
/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py39 image_path = ('gs://chromeos-image-archive/%s/chromiumos_test_image.tar.xz'
49 test_chroot, test_build_id, image_path)
80 downloader.DownloadImage(test_chroot, test_build_id, image_path)
176 def GoodDownloadImage(root, build_id, image_path): argument
177 if root or build_id or image_path:
182 def BadDownloadImage(root, build_id, image_path): argument
183 if root or build_id or image_path:
210 image_path, autotest_path = downloader.Run(test_chroot, test_build_id,
219 self.assertTrue(image_path == 'chromiumos_test_image.bin')
225 image_path, autotest_path = downloader.Run(test_chroot, test_build_id,
Ddownload_images.py76 image_path = os.path.join(download_path, 'chromiumos_test_image.bin')
82 if not os.path.exists(image_path):
94 return image_path
275 image_path = self.DownloadImage(chromeos_root, build_id, image_name)
279 self._logger.LogOutput('Using image from %s.' % image_path)
284 return image_path, autotest_path
Dexperiment_file.py163 image_path, autotest_path = settings.GetXbuddyPath(
165 res += '\t#actual_image: %s\n' % image_path
/external/autotest/server/site_tests/firmware_Cr50Update/
Dfirmware_Cr50Update.py117 image_ver, image_ver_str, image_path = self.images[image_name]
119 dest, ver = cr50_utils.InstallImage(self.host, image_path,
138 self.cr50_update(image_path, rollback=rollback,
190 def add_image_to_update_order(self, image_name, image_path, ver=None): argument
206 if not os.path.isfile(image_path):
207 image_path, ver = self.fetch_image(ver)
209 _, ver = cr50_utils.InstallImage(self.host, image_path, tmp_file)
214 self.images[image_name] = (ver, ver_str, image_path)
215 logging.info("%s stored at %s with version %s", image_name, image_path,
/external/devlib/devlib/module/
Dandroid.py66 for partition, image_path in to_flash.iteritems():
68 self._flash_image(self.target, partition, expand_path(image_path))
95 def _flash_image(self, target, partition, image_path): argument
98 fastboot_flash_partition(partition, image_path)
123 image_path = os.path.join(base_dir, pair[1])
124 if not os.path.isfile(expand_path(image_path)):
126 mapping[pair[0]] = image_path
/external/avb/test/
Davb_unittest_util.h112 base::FilePath image_path = testdir_.Append(file_name);
115 base::WriteFile(image_path,
118 return image_path;
122 std::string InfoImage(const base::FilePath& image_path) { in InfoImage() argument
126 image_path.value().c_str(), in InfoImage()
Davbtool_unittest.cc1662 base::FilePath image_path = testdir_.Append("kernel.bin"); in TEST_F() local
1665 base::WriteFile(image_path, in TEST_F()
1677 image_path.value().c_str(), in TEST_F()
1684 ASSERT_TRUE(base::GetFileSize(image_path, &file_size)); in TEST_F()
2289 base::FilePath image_path = GenerateImage("test_print_version", 1024); in PrintWithMakeVbmetaImage() local
2298 image_path.value().c_str(), in PrintWithMakeVbmetaImage()
2301 image_path.value().c_str()); in PrintWithMakeVbmetaImage()
/external/autotest/server/cros/servo/
Dservo.py589 def image_to_servo_usb(self, image_path=None, argument
613 if image_path:
616 if not self._server.download_image_to_usb(image_path):
627 def install_recovery_image(self, image_path=None, argument
641 self.image_to_servo_usb(image_path, make_image_noninteractive)
646 def _scp_image(self, image_path): argument
659 dest_path = os.path.join('/tmp', os.path.basename(image_path))
660 self._servo_host.send_file(image_path, dest_path)
/external/autotest/client/site_tests/video_JEAPerf/
Dvideo_JEAPerf.py96 for (image_path, width, height) in test_cases:
97 url = DOWNLOAD_BASE + image_path
98 file_name = os.path.basename(image_path)
/external/autotest/server/site_tests/provision_CheetsUpdate/lib/
Dutil.py130 def get_image_type(image_path): argument
133 ['/usr/bin/file', '--brief', image_path], universal_newlines=True):
/external/tensorflow/tensorflow/examples/image_retraining/
Dretrain.py381 image_path = get_image_path(image_lists, label_name, index,
383 if not gfile.Exists(image_path):
384 tf.logging.fatal('File does not exist %s', image_path)
385 image_data = gfile.FastGFile(image_path, 'rb').read()
391 raise RuntimeError('Error during processing file %s (%s)' % (image_path,
603 image_path = get_image_path(image_lists, label_name, image_index, image_dir,
605 if not gfile.Exists(image_path):
606 tf.logging.fatal('File does not exist %s', image_path)
607 jpeg_data = gfile.FastGFile(image_path, 'rb').read()
/external/toolchain-utils/automation/clients/helper/
Dchromeos.py32 image_path = os.path.join(self._chromeos_root, 'src/build/images', board,
40 image_path,
/external/autotest/site_utils/stable_images/
Dassign_stable_images.py187 image_path = version_map.format_image_name(board, cros_version)
188 uri = _BUILD_METADATA_PATTERN % image_path
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py66 self.servo.install_recovery_image(image_path=shim_image)
/external/tensorflow/tensorflow/examples/label_image/
Dmain.cc334 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local
336 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
/external/toolchain-utils/fdo_scripts/
Dvanilla_vs_fdo.py166 image_path = os.path.join(
170 self._chromeos_root, '--image=%s' % image_path,
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/
Dprojector_config.proto21 string image_path = 1; field
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/
DRunModelViewController.mm151 NSString* image_path = FilePathForResourceName(@"grace_hopper", @"jpg");
156 LoadImageFromFile([image_path UTF8String], &image_width, &image_height, &image_channels);
/external/skqp/tools/skqp/
Dgm_knowledge.cpp245 SkString image_path = make_path(images_directory, backend, name, PATH_IMG_PNG); in Check() local
251 image_path.c_str())); in Check()
/external/skia/tools/skqp/
Dgm_knowledge.cpp245 SkString image_path = make_path(images_directory, backend, name, PATH_IMG_PNG); in Check() local
251 image_path.c_str())); in Check()
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/
Dlabel_image.cc364 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local
366 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc398 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local
401 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
/external/tensorflow/tensorflow/examples/ios/simple/
DRunModelViewController.mm167 NSString* image_path = FilePathForResourceName(@"grace_hopper", @"jpg");
172 [image_path UTF8String], &image_width, &image_height, &image_channels);

12