Lines Matching refs:inventory

552 def _reportable_models(inventory, spare_pool=SPARE_POOL):  argument
561 for model, poolset in inventory.iteritems():
568 def _all_dut_histories(inventory): argument
569 for poolset in inventory.itervalues():
663 def _generate_repair_recommendation(inventory, num_recommend): argument
687 for model, counts in _reportable_models(inventory):
738 def _generate_model_inventory_message(inventory): argument
764 for model, counts in _reportable_models(inventory):
818 def _generate_pool_inventory_message(inventory): argument
841 for model, counts in inventory.iteritems():
870 def _generate_idle_inventory_message(inventory): argument
888 for model, counts in inventory.iteritems():
939 def _populate_model_counts(inventory): argument
955 for counts in inventory.itervalues():
973 def _perform_model_inventory(arguments, inventory, timestamp): argument
991 inventory, arguments.recommend) + '\n\n\n'
994 model_message = _generate_model_inventory_message(inventory)
1002 def _perform_pool_inventory(arguments, inventory, timestamp): argument
1017 pool_message = _generate_pool_inventory_message(inventory)
1018 idle_message = _generate_idle_inventory_message(inventory)
1084 def _report_untestable_dut_metrics(inventory): argument
1105 for history in _all_dut_histories(inventory):
1153 inventory = _LabInventory.create_inventory(
1156 inventory.get_num_duts(),
1157 inventory.get_num_models())
1158 return inventory
1172 inventory = _create_inventory(arguments, startup_time)
1174 _populate_model_counts(inventory)
1176 _perform_model_inventory(arguments, inventory, timestamp)
1178 _perform_pool_inventory(arguments, inventory, timestamp)
1180 _report_untestable_dut_metrics(inventory)