Searched refs:new_default (Results 1 – 3 of 3) sorted by relevance
/external/autotest/site_utils/stable_images/ |
D | assign_stable_images.py | 103 def report_default_changed(self, old_default, new_default): argument 113 logging.debug('Default %s -> %s', old_default, new_default) 175 def upgrade_default(self, new_default): argument 181 self._do_set_mapping(_DEFAULT_BOARD, new_default) 251 new_default): argument 277 if old_default != new_default: 278 updater.report_default_changed(old_default, new_default) 282 if new_build == new_default: 291 if old_default != new_default: 292 updater.upgrade_default(new_default) [all …]
|
D | assign_stable_images_unittest.py | 189 _, new_default = assign_stable_images._get_upgrade_versions( 191 self.assertEqual(new_default, self._VERSIONS[0]) 205 _, new_default = assign_stable_images._get_upgrade_versions( 207 self.assertEqual(new_default, self._VERSIONS[1]) 321 def report_default_changed(self, old_default, new_default): argument 336 self._testcase.assertNotEqual(old_default, new_default) 339 self._testcase.assertEqual(new_default, 343 self._reported_mappings[_DEFAULT_BOARD] = new_default 457 new_default = _NEW_DEFAULT 459 new_default = _OLD_DEFAULT [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 212 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument 218 value = field_dict.setdefault(key, new_default(message)) 237 value = field_dict.setdefault(key, new_default(message)) 386 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument 405 value = field_dict.setdefault(key, new_default(message)) 451 value = field_dict.setdefault(key, new_default(message)) 537 def StringDecoder(field_number, is_repeated, is_packed, key, new_default, argument 573 value = field_dict.setdefault(key, new_default(message)) 597 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument 610 value = field_dict.setdefault(key, new_default(message)) [all …]
|