Home
last modified time | relevance | path

Searched refs:new_default (Results 1 – 4 of 4) sorted by relevance

/external/autotest/site_utils/stable_images/
Dassign_stable_images.py251 def report_default_changed(self, old_default, new_default): argument
261 self.report('Default %s -> %s' % (old_default, new_default))
317 def upgrade_default(self, new_default): argument
323 self._do_set_mapping(_DEFAULT_BOARD, new_default)
469 new_default): argument
495 if old_default != new_default:
496 updater.report_default_changed(old_default, new_default)
500 if new_build == new_default:
509 if old_default != new_default:
510 updater.upgrade_default(new_default)
[all …]
Dassign_stable_images_unittest.py233 _, new_default = assign_stable_images._get_upgrade_versions(
235 self.assertEqual(new_default, self._VERSIONS[0])
249 _, new_default = assign_stable_images._get_upgrade_versions(
251 self.assertEqual(new_default, self._VERSIONS[1])
368 def report_default_changed(self, old_default, new_default): argument
383 self._testcase.assertNotEqual(old_default, new_default)
386 self._testcase.assertEqual(new_default,
390 self._reported_mappings[_DEFAULT_BOARD] = new_default
504 new_default = _NEW_DEFAULT
506 new_default = _OLD_DEFAULT
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddecoder.py199 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument
205 value = field_dict.setdefault(key, new_default(message))
224 value = field_dict.setdefault(key, new_default(message))
353 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument
360 value = field_dict.setdefault(key, new_default(message))
391 value = field_dict.setdefault(key, new_default(message))
461 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument
483 value = field_dict.setdefault(key, new_default(message))
507 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument
520 value = field_dict.setdefault(key, new_default(message))
[all …]
/external/nanopb-c/generator/google/protobuf/internal/
Ddecoder.py190 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument
196 value = field_dict.setdefault(key, new_default(message))
215 value = field_dict.setdefault(key, new_default(message))
377 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument
391 value = field_dict.setdefault(key, new_default(message))
415 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument
428 value = field_dict.setdefault(key, new_default(message))
452 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument
467 value = field_dict.setdefault(key, new_default(message))
471 value = field_dict.setdefault(key, new_default(message))
[all …]