/external/toolchain-utils/ |
D | weekly_report.py | 171 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 …]
|
D | chromiumos_image_diff.py | 312 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/ |
D | download_images_unittest.py | 39 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,
|
D | download_images.py | 76 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
|
D | experiment_file.py | 163 image_path, autotest_path = settings.GetXbuddyPath( 165 res += '\t#actual_image: %s\n' % image_path
|
/external/autotest/server/site_tests/firmware_Cr50Update/ |
D | firmware_Cr50Update.py | 117 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/ |
D | android.py | 66 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/ |
D | avb_unittest_util.h | 112 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()
|
D | avbtool_unittest.cc | 1662 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/ |
D | servo.py | 589 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/ |
D | video_JEAPerf.py | 96 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/ |
D | util.py | 130 def get_image_type(image_path): argument 133 ['/usr/bin/file', '--brief', image_path], universal_newlines=True):
|
/external/tensorflow/tensorflow/examples/image_retraining/ |
D | retrain.py | 381 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/ |
D | chromeos.py | 32 image_path = os.path.join(self._chromeos_root, 'src/build/images', board, 40 image_path,
|
/external/autotest/site_utils/stable_images/ |
D | assign_stable_images.py | 187 image_path = version_map.format_image_name(board, cros_version) 188 uri = _BUILD_METADATA_PATTERN % image_path
|
/external/autotest/server/site_tests/factory_InstallServo/ |
D | factory_InstallServo.py | 66 self.servo.install_recovery_image(image_path=shim_image)
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | main.cc | 334 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/ |
D | vanilla_vs_fdo.py | 166 image_path = os.path.join( 170 self._chromeos_root, '--image=%s' % image_path,
|
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/ |
D | projector_config.proto | 21 string image_path = 1; field
|
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 151 NSString* image_path = FilePathForResourceName(@"grace_hopper", @"jpg"); 156 LoadImageFromFile([image_path UTF8String], &image_width, &image_height, &image_channels);
|
/external/skqp/tools/skqp/ |
D | gm_knowledge.cpp | 245 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/ |
D | gm_knowledge.cpp | 245 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/ |
D | label_image.cc | 364 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/ |
D | main.cc | 398 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/ |
D | RunModelViewController.mm | 167 NSString* image_path = FilePathForResourceName(@"grace_hopper", @"jpg"); 172 [image_path UTF8String], &image_width, &image_height, &image_channels);
|