Home
last modified time | relevance | path

Searched refs:board (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/external/autotest/site_utils/
Dstable_version_utils.py28 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 …]
Dassign_stable_images.py151 for board in boards:
152 version = afe_versions.get(board, afe_default)
153 omaha_version = omaha_versions.get(board.replace('_', '-'))
157 upgrade_versions[board] = version
164 def _set_stable_version(afe, mode, board, version): argument
178 print _SET_VERSION % (board, version)
180 afe.run('set_stable_version', board=board, version=version)
183 def _delete_stable_version(afe, mode, board): argument
194 assert board != _DEFAULT_BOARD
196 print _DELETE_VERSION % board
[all …]
Dbalance_pools.py177 def _get_platform_label(board): argument
194 if board.endswith(_FREON_BOARD_TAG):
195 return board
196 if board.startswith('x86-'):
197 return board[len('x86-') :]
205 return platform_map.get(board, board)
209 def _freon_board_toggle(board): argument
220 if board.endswith(_FREON_BOARD_TAG):
223 return board[: -len(_FREON_BOARD_TAG) - 1]
228 if joiner in board:
[all …]
Dhost_history.py144 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))
Dcollect_host_stats.py26 def report_stats(board, pool, start_time, end_time, span): argument
36 print '================ %-12s %-12s ================' % (board, pool)
40 board=board,
60 (board, pool, total - total_time))
83 (span, board, pool),
86 (span, board, pool),
89 (span, board, pool), mir)
124 for board in boards:
126 error = report_stats(board, pool, start_time, end_time,
Ddiagnosis_utils.py148 def diagnose_pool(self, board, pool, time_delta_hours, limit=5): argument
160 multiple_labels=('pool:%s' % pool, 'board:%s' % board))
163 board, pool)
179 def check_dut_availability(self, board, pool, minimum_duts=0): argument
198 multiple_labels=('pool:%s' % pool, 'board:%s' % board))
203 (board, pool))
209 ' not enforced.', board, pool, len(hosts),
226 len(available_hosts), len(hosts), board, pool)
230 pool, board, unusable_hosts)
236 (board, pool, len(available_hosts), minimum_duts, self.bug))
Drestart_latest.py76 boards = [board for board in os.listdir('.') if os.path.isdir(board)]
78 for board in boards:
79 latest_path = os.path.join(board, 'LATEST')
85 build_path = os.path.join(board, open(latest_path, 'r').read().strip())
Dtest_that.py49 board = host.get_board().replace(constants.BOARD_PREFIX, '')
53 logging.info('Detected host board: %s', board)
54 return board
74 if not arguments.board or not arguments.build:
196 command = [_QUICKMERGE_SCRIPTNAME, '--board='+arguments.board]
250 if arguments.board is None:
251 arguments.board = _get_board_from_host(arguments.remote)
252 argv = ['--board', arguments.board] + argv
258 sysroot_path = os.path.join('/build', arguments.board, '')
289 build=arguments.build, board=arguments.board,
[all …]
/external/autotest/cli/
Dstable_version.py53 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/site_utils/deployment/
Dcommandline.py72 def _build_path_exists(board, buildpath): argument
91 _BUILD_URI_FORMAT % (board, buildpath)
101 def _normalize_build_name(board, build): argument
136 _BUILD_URI_FORMAT % (board, fmt % build)
142 elif _build_path_exists(board, '%s/image.zip' % build):
149 def _validate_board(board): argument
165 if board is None:
168 if _build_path_exists(board, 'LATEST-master'):
171 sys.stderr.write('Board %s doesn\'t exist.\n' % board)
175 def _validate_build(board, build): argument
[all …]
/external/autotest/site_utils/autoupdate/
Dfull_release_test_test.py94 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 …]
Dfull_release_test.py68 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/client/site_tests/platform_KernelVersionByBoard/
Dplatform_KernelVersionByBoard.py21 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/autotest/server/site_tests/provision_AndroidUpdate/
Dprovision_AndroidUpdate.py78 board = afe_utils.get_board(host)
79 if board:
80 logging.debug('Host %s is board type: %s', host, board)
81 if adb_host.OS_TYPE_BRILLO in board:
87 board=board.split('-')[-1]
88 value = afe_utils.get_stable_version(board=board, android=True)
91 '%s' % board)
/external/autotest/site_utils/suite_scheduler/
Dmanifest_versions.py170 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 …]
Ddeduping_scheduler.py55 def _ShouldScheduleSuite(self, suite, board, test_source_build): argument
73 suite, board, test_source_build, str(ex))
86 def _Schedule(self, suite, board, build, pool, num, priority, timeout, argument
121 suite, builds, board, pool)
123 'create_suite_job', name=suite, board=board,
138 suite, test_source_build or build, board, e)
151 def ScheduleSuite(self, suite, board, build, pool, num, priority, timeout, argument
183 if (force or self._ShouldScheduleSuite(suite, board,
185 return self._Schedule(suite, board, build, pool, num, priority,
Dbase_event.py31 def BuildName(board, type, milestone, manifest): argument
40 return '%s-%s/R%s-%s' % (board, type, milestone, manifest)
138 def GetBranchBuildsForBoard(self, board): argument
177 def Handle(self, scheduler, branch_builds, board, force=False): argument
191 logging.info('Handling %s for %s', self.keyword, board)
194 if task.AvailableHosts(scheduler, board):
195 if not task.Run(scheduler, branch_builds, board, force,
200 task, board)
Ddriver.py151 board = inputs['board']
153 logging.info('Handling %s event for board %s', event.keyword, board)
154 branch_builds = event.GetBranchBuildsForBoard(board)
155 event.Handle(scheduler, branch_builds, board)
157 board)
177 for board in boards:
180 'board': board})
193 board, type, milestone, manifest = utils.ParseBuildName(build_name)
195 logging.info('Testing build R%s-%s on %s', milestone, manifest, board)
199 e.Handle(self._scheduler, branch_builds, board, force=True)
Dtask.py565 def _GetCrOSBuild(self, mv, board): argument
588 board, 'release', milestone=milestone)
589 latest_build = base_event.BuildName(board, 'release', milestone,
592 board, self.cros_build_spec, latest_build)
596 def _GetFirmwareRWBuild(self, mv, board, build_type): argument
616 board, build_type)
617 latest_build = base_event.BuildName(board, build_type, latest_milestone,
620 board, self.firmware_rw_build_spec, latest_build)
624 def AvailableHosts(self, scheduler, board): argument
633 if self._boards and board not in self._boards:
[all …]
Dmanifest_versions_unittest.py165 board = 'x86-alex'
172 br_man = self.mv.ManifestsSinceDate(since_date, board)
183 board = 'x86-alex'
188 br_man = self.mv.ManifestsSinceDate(since_date, board)
195 board = 'x86-alex'
198 br_man = self.mv.ManifestsSinceDate(since_date, board)
205 board = 'x86-alex'
212 self.mv.ManifestsSinceDate, since_date, board)
218 board = 'link'
226 br_man = self.mv.ManifestsSinceDate(since_date, board)
[all …]
/external/autotest/site_utils/admin/scripts/
Dcheck_db_queries.sql82 …board, left(name,instr(name,'-0')-1) as board from afe_jobs where name like 'x86%' group by board
88 …ob_name,instr(job_name,'-0')-1) as board from tko_perf_view_2 where job_name like 'x86%' group by
/external/autotest/scheduler/shard/
Dsimple_heartbeat_client.py58 def get_heartbeat_packet(server, board, host_limit, job_limit): argument
70 url = '%s/%s?raw' % (server, board)
95 def perform_heartbeat(self, board, host_limit, job_limit): argument
103 self.server, board, host_limit, job_limit)
128 args.board = args.board.lstrip(
136 args.board, args.host_limit, args.job_limit)
/external/vboot_reference/scripts/image_signing/
Densure_secure_kernelparams.sh103 local board=$(grep CHROMEOS_RELEASE_BOARD= "$rootfs/etc/lsb-release" | \
105 eval "required_kparams=(\"\${required_kparams_$board[@]}\")"
106 eval "required_kparams_regex=(\"\${required_kparams_regex_$board[@]}\")"
107 eval "optional_kparams=(\"\${optional_kparams_$board[@]}\")"
108 eval "optional_kparams_regex=(\"\${optional_kparams_regex_$board[@]}\")"
109 eval "required_dmparams=(\"\${required_dmparams_$board[@]}\")"
110 eval "required_dmparams_regex=(\"\${required_dmparams_regex_$board[@]}\")"
/external/autotest/frontend/afe/
Dsite_rpc_interface.py125 def create_suite_job(name='', board='', build='', pool='', control_file='', argument
233 if not board:
234 board = utils.ParseBuildName(builds[provision.CROS_VERSION_PREFIX])[0]
239 inject_dict = {'board': board,
373 def get_host_history(start_time, end_time, hosts=None, board=None, pool=None): argument
401 hosts=hosts, board=board, pool=pool,
577 def get_stable_version(board=stable_version_utils.DEFAULT, android=False): argument
588 return stable_version_utils.get(board=board, android=android)
601 def set_stable_version(version, board=stable_version_utils.DEFAULT): argument
607 stable_version_utils.set(version=version, board=board)
[all …]
/external/autotest/tko/
Dsite_parse_unittest.py66 board, rev, version = self._stack_trace._parse_job_name(job_name)
69 self._cache_dir, '-'.join([board, rev, version]))
89 board, rev, version = self._stack_trace._parse_job_name(job_name)
90 self.assertEqual(board, 'x86-alex')
97 board, rev, version = self._stack_trace._parse_job_name(job_name)
98 self.assertEqual(board, 'x86-mario')
105 board, rev, version = self._stack_trace._parse_job_name(job_name)
106 self.assertEqual(board, 'x86-alex')
113 board, rev, version = self._stack_trace._parse_job_name(job_name)
114 self.assertEqual(board, 'x86-alex')

12345678910>>...13