Home
last modified time | relevance | path

Searched refs:initial_query (Results 1 – 5 of 5) sorted by relevance

/external/autotest/frontend/tko/
Drpc_interface.py49 query = models.TestView.query_objects(filter_data, initial_query=query,
69 query = models.TestView.query_objects(filter_data, initial_query=query)
98 initial_query = models.TestView.objects.get_query_set_with_joins(
101 initial_query=initial_query,
117 test_views = initial_query.in_bulk(all_test_ids)
Dmodels.py737 def query_objects(cls, filter_data, initial_query=None, argument
739 if initial_query is None:
740 initial_query = cls.objects.get_query_set_with_joins(filter_data)
742 filter_data, initial_query=initial_query,
/external/autotest/frontend/afe/
Dmodel_logic.py743 def query_objects(cls, filter_data, valid_only=True, initial_query=None, argument
761 if initial_query is None:
763 initial_query = cls.get_valid_manager()
765 initial_query = cls.objects
767 query = initial_query.filter(**regular_filters)
792 def query_count(cls, filter_data, initial_query=None): argument
798 query = cls.query_objects(filter_data, initial_query=initial_query)
817 def list_objects(cls, filter_data, initial_query=None): argument
821 query = cls.query_objects(filter_data, initial_query=initial_query)
Drpc_utils.py191 initial_query = models.Host.valid_objects.all()
193 initial_query = models.Host.objects.all()
197 multiple_labels, initial_query)
201 return models.Host.query_objects(filter_data, initial_query=hosts)
454 queue_entry_filter_data, initial_query=queue_entries)
Dmodels.py561 def get_hosts_with_labels(cls, label_names, initial_query): argument
574 return initial_query
583 initial_query = initial_query.filter(static_labels=l)
586 initial_query = initial_query.filter(labels=l)
588 return initial_query
592 def get_hosts_with_label_ids(cls, label_ids, initial_query): argument
601 return cls.get_hosts_with_labels(label_names, initial_query)