Lines Matching full:board
190 A mapping from board names to strings naming software versions.
193 of software associated with a given board. The mapping identifies
198 different types of image. For instance, a single board may have
214 # name as a mapping to use when no specific mapping for a board is
236 mapping board names to version strings.
238 @return A dictionary mapping board names to version strings.
243 def get_version(self, board):
245 Get the mapping of one board in the stable versions table.
247 Look up and return the version mapped to the given board in the
250 @param board The board to be looked up.
252 @return The version mapped for the given board.
255 board=board, android=self._android)
258 def set_version(self, board, version):
260 Change the mapping of one board in the stable versions table.
263 database for the given board to the given version.
265 @param board The board to be updated.
266 @param version The new version to be assigned to the board.
269 version=version, board=board)
272 def delete_version(self, board):
274 Remove the mapping of one board in the stable versions table.
277 database for the given board.
279 @param board The board to be updated.
281 self._afe.run('delete_stable_version', board=board)
299 for board in versions.keys():
300 if '/' in board:
301 del versions[board]
309 This class manages a mapping of Chrome OS board names to known-good
319 def format_image_name(board, version):
321 Return an image name for a given `board` and `version`.
323 This formats `board` and `version` into a string identifying an
332 return build_pattern % (board, version)
334 def get_image_name(self, board):
336 Return the full image name of the stable version for `board`.
338 This finds the stable version for `board`, and returns a string
343 image for `board`.
345 return self.format_image_name(board, self.get_version(board))
352 This class manages a mapping of Android/Brillo board names to
368 Abstract super class for mappings using a pseudo-board name.
371 `stable_versions` table by constructing a "pseudo-board" from the
372 real board name plus a suffix string that identifies the image type.
377 # _SUFFIX - The suffix used in constructing the "pseudo-board"
388 # with our suffix, and replace the pseudo-board name keys with
389 # the real board names.
394 board[0 : -len(self._SUFFIX)]: all_versions[board]
395 for board in all_versions.keys()
396 if board.endswith(self._SUFFIX)
400 def get_version(self, board):
401 board += self._SUFFIX
402 return super(_SuffixHackVersionMap, self).get_version(board)
405 def set_version(self, board, version):
406 board += self._SUFFIX
407 super(_SuffixHackVersionMap, self).set_version(board, version)
410 def delete_version(self, board):
411 board += self._SUFFIX
412 super(_SuffixHackVersionMap, self).delete_version(board)
421 mapping finds the appropriate tarball for a given board.
426 def get_version(self, board):
427 # If there's no mapping for `board`, the lookup will return the
435 version = super(_FAFTVersionMap, self).get_version(board)
449 against the stable version mapping for the board, and update when
455 def get_version(self, board):
456 # If there's no mapping for `board`, the lookup will return the
464 version = super(_FirmwareVersionMap, self).get_version(board)
504 @return An object mapping board names to version strings for