/external/autotest/site_utils/stable_images/ |
D | assign_stable_images.py | 160 def get_cros_image_name(self, board, version): argument 174 return self._cros_map.format_image_name(board, version) 202 def _report_board_changed(self, board, old_version, new_version): argument 214 self.report(template % (board, old_version, new_version)) 216 def report_board_unchanged(self, board, old_version): argument 226 self._report_board_changed(board, '(no change)', old_version) 228 def _do_set_mapping(self, board, new_version): argument 237 def _do_delete_mapping(self, board): argument 245 def set_mapping(self, board, old_version, new_version): argument 253 self._report_board_changed(board, old_version, new_version) [all …]
|
D | assign_stable_images_unittest.py | 392 def _report_board_changed(self, board, old_version, new_version): argument 416 if board in self._original_mappings: 418 self._original_mappings[board]) 419 if board in self._expected_mappings: 421 self._expected_mappings[board]) 422 self._testcase.assertNotIn(board, self._reported_mappings) 423 self._reported_mappings[board] = new_version 425 self._testcase.assertNotIn(board, self._reported_deletions) 426 self._reported_deletions.add(board) 428 def report_board_unchanged(self, board, old_version): argument [all …]
|
/external/autotest/site_utils/ |
D | stable_version_utils.py | 28 versions = dict([(v.board, v.version) 38 def get(board=DEFAULT, android=False): argument 52 if board == DEFAULT and android: 55 return models.StableVersion.objects.get(board=board).version 57 if board == DEFAULT: 62 'ANDROID', 'stable_version_%s' % board, default=None) 64 return get(board=DEFAULT) 67 def set(version, board=DEFAULT): argument 74 stable_version = models.StableVersion.objects.get(board=board) 78 models.StableVersion.objects.create(board=board, version=version) [all …]
|
D | balance_pools.py | 173 def __init__(self, afe, board, pool, start_time, end_time): argument 174 self.board = board 187 board=self.board, pool=self.pool)) 242 self.board, self.pool, 313 def _balance_board(arguments, afe, board, pool, start_time, end_time): argument 328 spare_pool = _DUTPool(afe, board, arguments.spare, 330 main_pool = _DUTPool(afe, board, pool, 355 _log_info(dry_run, 'Balancing %s %s pool:', board, main_pool.pool) 372 board, main_pool.pool, len(spare_pool.working_hosts)) 381 board, main_pool.pool, [all …]
|
D | diagnosis_utils.py | 30 def __init__(self, board, pool, num_available, num_required, hosts): argument 41 self.board = board 224 def diagnose_pool(self, board, pool, time_delta_hours, limit=10): argument 242 board=board, pool=pool) 245 board, pool) 284 def check_dut_availability(self, board, pool, minimum_duts=0, skip_duts_check=False): argument 306 multiple_labels=('pool:%s' % pool, 'board:%s' % board)) 311 (board, pool)) 321 ' available DUTS', board, pool, len(hosts), 329 available_hosts, len(hosts), board, pool) [all …]
|
D | host_history.py | 144 def get_results(start_time, end_time, hosts=None, board=None, pool=None, argument 170 hosts=hosts, board=board, pool=pool, 174 def get_history_details(start_time, end_time, hosts=None, board=None, argument 202 board=board, pool=pool) 253 board=options.board, 259 if options.board: 260 labels.append('board:%s' % (options.board))
|
/external/autotest/cli/ |
D | stable_version.py | 53 self.board = options.board 80 if self.board: 82 board=self.board) 83 return {self.board: version} 100 for board,version in results.iteritems(): 101 print format % (board, version) 132 if not self.board or not self.version: 141 board=self.board) 144 (self.board, self.version)) 147 self.execute_rpc(op='set_stable_version', board=self.board, [all …]
|
/external/autotest/client/common_lib/ |
D | android_utils.py | 158 def get_standalone_images(cls, board): argument 165 if board in cls.standalone_images_map: 167 '%s: %s', board, cls.standalone_images_map[board]) 168 return cls.standalone_images_map[board] 174 def get_zipped_images(cls, board): argument 181 if board in cls.zipped_images_map: 183 '%s: %s', board, cls.zipped_images_map[board]) 184 return cls.zipped_images_map[board] 223 def get_artifacts_for_reimage(cls, board, os='android'): argument 230 logging.debug('artifacts for %s %s', os, board) [all …]
|
/external/autotest/site_utils/autoupdate/ |
D | full_release_test_test.py | 94 board = 'x86-mario' 102 target, board] 109 branch, src, branch, target, board)) 115 branch, src, board)) 120 os.path.join(self.tmpdir, board, 'control.nmo_delta_%s' % src), 127 board = 'x86-mario' 135 target, board] 142 branch, src, branch, target, board)) 148 branch, src, board)) 152 os.path.join(self.tmpdir, board, 'control.npo_delta_%s' % src), [all …]
|
D | full_release_test.py | 68 def __init__(self, board, tested_release, test_nmo, test_npo, argument 78 self.board = board 89 board, build_version) 150 self.board, name, is_delta_update, source_version, 245 target_version, self.tested_release, self.board) 255 logging.warning('cannot find source for %s, %s', self.board, 269 delta_type, self.board, self.tested_release)) 307 self.board, self.tested_release) 315 logging.warning('cannot find source for %s, %s', self.board, 339 for board in args.tested_board_list: [all …]
|
/external/autotest/site_utils/suite_scheduler/ |
D | driver.py | 156 board = inputs['board'] 162 if board not in Driver._cros_boards: 163 launch_control_builds = event.GetLaunchControlBuildsForBoard(board) 165 event.Handle(scheduler, branch_builds=None, board=board, 168 branch_builds = event.GetBranchBuildsForBoard(board) 170 Driver._cros_boards.add(board) 172 'be a ChromeOS board.', board) 173 event.Handle(scheduler, branch_builds, board) 175 board) 200 for board in boards: [all …]
|
D | base_event.py | 41 def BuildName(board, type, milestone, manifest): argument 50 return '%s-%s/R%s-%s' % (board, type, milestone, manifest) 169 def GetBranchBuildsForBoard(self, board): argument 180 def GetLaunchControlBuildsForBoard(self, board): argument 222 def Handle(self, scheduler, branch_builds, board, force=False, argument 238 logging.info('Handling %s for %s', self.keyword, board) 242 if task.AvailableHosts(scheduler, board): 243 if not task.Run(scheduler, branch_builds, board, force, 248 task, board) 251 def _LatestLaunchControlBuilds(self, board): argument [all …]
|
D | task.py | 740 def _GetCrOSBuild(self, mv, board): argument 763 board, 'release', milestone=milestone) 764 latest_build = base_event.BuildName(board, 'release', milestone, 767 board, self.cros_build_spec, latest_build) 771 def _GetFirmwareBuild(self, spec, mv, board): argument 796 'CROS', 'RELEASED_RO_BUILDS_%s' % board, type=str, 808 board, build_type) 809 latest_build = base_event.BuildName(board, build_type, latest_milestone, 812 board, spec, latest_build) 816 def AvailableHosts(self, scheduler, board): argument [all …]
|
D | manifest_versions.py | 170 def ManifestsSinceDate(self, since_date, board): argument 183 re.compile(self._BOARD_MANIFEST_RE_PATTERN % board), 184 self._QueryManifestsSinceDate(since_date, board)) 187 def ManifestsSinceRev(self, rev, board): argument 199 re.compile(self._BOARD_MANIFEST_RE_PATTERN % board), 200 self._QueryManifestsSinceRev(rev, board)) 203 def GetLatestManifest(self, board, build_type, milestone=None): argument 216 self._BOARD_BRANCH_MANIFEST_GLOB_PATTERN % (board, build_type)) 315 def _QueryManifestsSinceRev(self, git_rev, board): argument 323 return self._QueryManifestsSince(git_rev + '..HEAD', board) [all …]
|
D | deduping_scheduler.py | 99 def _ShouldScheduleSuite(self, suite, board, test_source_build): argument 117 suite, board, test_source_build, str(ex)) 131 def _Schedule(self, suite, board, build, pool, num, priority, timeout, argument 218 limit, suite, builds, board, pool) 231 suite, builds, board, pool) 232 if self._afe.run('create_suite_job', name=suite, board=board, 246 'board': board, 259 suite, test_source_build or build, board, e) 272 def ScheduleSuite(self, suite, board, build, pool, num, priority, timeout, argument 320 suite, board, [all …]
|
/external/autotest/site_utils/deployment/ |
D | commandline.py | 87 def _build_path_exists(board, buildpath): argument 106 _BUILD_URI_FORMAT % (board, buildpath) 116 def _normalize_build_name(board, build): argument 151 _BUILD_URI_FORMAT % (board, fmt % build) 157 elif _build_path_exists(board, '%s/image.zip' % build): 164 def _validate_board(board): argument 180 if board is None: 183 if _build_path_exists(board, 'LATEST-master'): 186 sys.stderr.write('Board %s doesn\'t exist.\n' % board) 190 def _validate_build(board, build): argument [all …]
|
/external/toolchain-utils/dejagnu/ |
D | chromeos.exp.in | 2 # Initialize the board. The function is executed before any test. 4 proc __boardname___init { board } { argument 5 set hostname [board_info $board hostname] 6 set timeout [board_info $board timeout] 7 set ssh_options [board_info $board ssh,options] 8 set runtimes [board_info $board runtimes] 9 set tmpdir [board_info $board tmpdir] 20 set board "__boardname__" 21 set hostname [board_info $board hostname] 22 set ssh_options [board_info $board ssh,options] [all …]
|
/external/autotest/client/site_tests/platform_KernelVersionByBoard/ |
D | platform_KernelVersionByBoard.py | 21 def _expected_kernel(self, board): argument 29 if board == file_board: 30 logging.info('Expected Kernel Version for %s: %s', board, 34 actual = self._actual_kernel(board) 37 % (board, actual)) 39 def _actual_kernel(self, board): argument 48 board = utils.get_current_board() 49 actual = self._actual_kernel(board) 50 expected = self._expected_kernel(board) 53 % (board, expected, actual))
|
/external/toolchain-utils/ |
D | build_chromeos.py | 115 if options.board is None: 132 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board) 140 board=options.board, 147 build_image_command = misc.GetBuildImageCommand(options.board, options.dev) 150 command = misc.GetSetupBoardCommand(options.board, 160 options.board) or options.clobber_board: 164 options.board, 195 'chromeos-chrome' % (options.board, options.cflags, options.board, 196 options.cxxflags, options.board, options.ldflags, 217 'chromeos-chrome' % (options.board, options.cflags, options.board, [all …]
|
/external/toolchain-utils/automation/clients/helper/ |
D | chromeos.py | 31 def RunBenchmarks(self, board, tests): argument 32 image_path = os.path.join(self._chromeos_root, 'src/build/images', board, 37 '--board=%s' % board, 64 def __init__(self, chromeos_version, board, toolchain, p4_snapshot): argument 66 self.board = board 85 config_dict = {'board': self.board, 95 config_name = '%s-toolchain-test' % self.board 96 if 'arm' in self.board: 110 self.scripts.RunBenchmarks(self.board, 'BootPerfServer,10:Page,3')) 156 board='x86-mario', argument [all …]
|
/external/toolchain-utils/cros_utils/ |
D | misc.py | 107 def GetImageDir(chromeos_root, board): argument 108 return os.path.join(chromeos_root, 'src', 'build', 'images', board) 111 def LabelLatestImage(chromeos_root, board, label, vanilla_path=None): argument 112 image_dir = GetImageDir(chromeos_root, board) 130 def DoesLabelExist(chromeos_root, board, label): argument 131 image_label = os.path.join(GetImageDir(chromeos_root, board), label) 135 def GetBuildPackagesCommand(board, usepkg=False, debug=False): argument 147 (CHROMEOS_SCRIPTS_DIR, usepkg_flag, withdebug_flag, board)) 150 def GetBuildImageCommand(board, dev=False): argument 155 (CHROMEOS_SCRIPTS_DIR, board, dev_args)) [all …]
|
/external/autotest/server/site_tests/provision_AndroidUpdate/ |
D | provision_AndroidUpdate.py | 46 def run_once(self, host, value=None, force=False, repair=False, board=None, argument 86 board = board or info.board 88 logging.debug('Host %s is board type: %s, OS type: %s', host, board, os) 93 board = board.split('-')[-1] 94 value = afe_utils.get_stable_android_version(board) 97 '%s' % board) 98 logging.debug('Stable version found for board %s: %s', board, value)
|
/external/dtc/tests/ |
D | test_kernel_dts | 49 foreach my $board (@boards) { 50 my $dts_file = "$linux_dts_dir/$board.dts"; 52 my $old_dtb_file = "/tmp/$board.dtb.old"; 53 my $new_dtb_file = "/tmp/$board.dtb.new"; 65 print " FAILED to run old DTC on $board\n"; 73 print " FAILED to run new DTC on $board\n"; 81 print " FAILED $board\n";
|
/external/autotest/server/ |
D | frontend.py | 243 def get_version(self, board): argument 255 board=board, android=self._android) 258 def set_version(self, board, version): argument 269 version=version, board=board) 272 def delete_version(self, board): argument 281 self._afe.run('delete_stable_version', board=board) 299 for board in versions.keys(): 300 if '/' in board: 301 del versions[board] 319 def format_image_name(board, version): argument [all …]
|
/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 35 struct NxpSpiBoard *board; member 65 return gpio_set(handle->board->gpios[kBoardGpioNfcVen], val); in platform_toggle_ven() 71 return gpio_set(handle->board->gpios[kBoardGpioEseRst], val); in platform_toggle_reset() 77 return gpio_set(handle->board->gpios[kBoardGpioEseSvddPwrReq], val); in platform_toggle_power_req() 122 struct NxpSpiBoard *board = hwopts; in platform_init() local 130 handle->board = board; in platform_init() 134 if (gpio_configure(board->gpios[gpio], 1, 1) < 0) { in platform_init() 140 handle->spi_fd = open(board->dev_path, O_RDWR); in platform_init() 146 if (ioctl(handle->spi_fd, SPI_IOC_WR_MODE, &board->mode) < 0) { in platform_init() 151 if (ioctl(handle->spi_fd, SPI_IOC_WR_BITS_PER_WORD, &board->bits) < 0) { in platform_init() [all …]
|