Home
last modified time | relevance | path

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

12345678910>>...22

/external/autotest/site_utils/stable_images/
Dassign_stable_images.py140 def get_firmware_version(version_map, board, cros_version): argument
160 if board in _FIRMWARE_UPGRADE_BLACKLIST:
163 image_path = version_map.format_image_name(board, cros_version)
165 key_path = ['board-metadata', board, 'main-firmware-version']
223 def get_firmware_version(self, board, version): argument
235 return get_firmware_version(self._cros_map, board, version)
263 def _report_board_changed(self, board, old_version, new_version): argument
275 self.report(template % (board, old_version, new_version))
277 def report_board_unchanged(self, board, old_version): argument
287 self._report_board_changed(board, '(no change)', old_version)
[all …]
Dassign_stable_images_unittest.py392 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/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/
Dstable_version_utils.py27 versions = dict([(v.board, v.version)
37 def get(board=DEFAULT, android=False): argument
51 if board == DEFAULT and android:
54 return models.StableVersion.objects.get(board=board).version
56 if board == DEFAULT:
61 'ANDROID', 'stable_version_%s' % board, default=None)
63 return get(board=DEFAULT)
66 def set(version, board=DEFAULT): argument
73 stable_version = models.StableVersion.objects.get(board=board)
77 models.StableVersion.objects.create(board=board, version=version)
[all …]
Dbalance_pools.py173 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 …]
Ddiagnosis_utils.py30 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 …]
/external/autotest/client/common_lib/
Dandroid_utils.py160 def get_standalone_images(cls, board): argument
167 if board in cls.standalone_images_map:
169 '%s: %s', board, cls.standalone_images_map[board])
170 return cls.standalone_images_map[board]
176 def get_zipped_images(cls, board): argument
183 if board in cls.zipped_images_map:
185 '%s: %s', board, cls.zipped_images_map[board])
186 return cls.zipped_images_map[board]
225 def get_artifacts_for_reimage(cls, board, os='android'): argument
232 logging.debug('artifacts for %s %s', os, board)
[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 …]
/external/autotest/site_utils/deployment/
Dcommandline.py87 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/autotest/site_utils/suite_scheduler/
Ddriver.py184 board = inputs['board']
190 if board not in Driver._cros_boards:
191 launch_control_builds = event.GetLaunchControlBuildsForBoard(board)
193 event.Handle(scheduler, branch_builds=None, board=board,
196 branch_builds = event.GetBranchBuildsForBoard(board)
198 Driver._cros_boards.add(board)
200 'be a ChromeOS board.', board)
201 event.Handle(scheduler, branch_builds, board)
203 board)
228 for board in boards:
[all …]
Dbase_event.py41 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 …]
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 …]
Dtask.py781 def _GetCrOSBuild(self, mv, board): argument
804 board, 'release', milestone=milestone)
805 latest_build = base_event.BuildName(board, 'release', milestone,
808 board, self.cros_build_spec, latest_build)
812 def _GetFirmwareBuild(self, spec, mv, board): argument
837 'CROS', 'RELEASED_RO_BUILDS_%s' % board, type=str,
849 board, build_type)
850 latest_build = base_event.BuildName(board, build_type, latest_milestone,
853 board, spec, latest_build)
857 def AvailableHosts(self, scheduler, board): argument
[all …]
Ddeduping_scheduler.py99 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 job_id = self._afe.run('create_suite_job', name=suite, board=board,
249 'board': board,
262 suite, test_source_build or build, board, e)
275 def ScheduleSuite(self, suite, board, build, pool, num, priority, timeout, argument
323 suite, board,
[all …]
Dbuild_event.py62 def _AllPerBranchBuildsSince(self, board, revision): argument
69 all_branch_manifests = self._mv.ManifestsSinceRev(revision, board)
74 build = base_event.BuildName(board, type, milestone, manifest)
79 def GetBranchBuildsForBoard(self, board): argument
80 return self._AllPerBranchBuildsSince(board, self._revision)
83 def GetLaunchControlBuildsForBoard(self, board): argument
92 return self._LatestLaunchControlBuilds(board)
/external/toolchain-utils/dejagnu/
Dchromeos.exp.in2 # 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/
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/toolchain-utils/
Dbuild_chromeos.py115 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/
Dchromeos.py31 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/
Dmisc.py107 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/
Dprovision_AndroidUpdate.py46 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/
Dtest_kernel_dts49 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/
Dfrontend.py232 def get_version(self, board): argument
244 board=board, android=self._android)
247 def set_version(self, board, version): argument
258 version=version, board=board)
261 def delete_version(self, board): argument
270 self._afe.run('delete_stable_version', board=board)
288 for board in versions.keys():
289 if '/' in board:
290 del versions[board]
308 def format_image_name(board, version): argument
[all …]
/external/libese/libese-hw/nxp/pn80t/
Dlinux_spidev.c35 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 …]
/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

12345678910>>...22