Home
last modified time | relevance | path

Searched refs:query_id (Results 1 – 6 of 6) sorted by relevance

/external/autotest/site_utils/tester_feedback/
Dquery_delegate.py93 def register_delegate_cls(query_id, delegate_cls): argument
99 _query_delegate_registry[query_id] = delegate_cls
102 def get_delegate_cls(query_id): argument
112 if query_id not in client.ALL_QUERIES:
114 if query_id not in _query_delegate_registry:
116 return _query_delegate_registry[query_id]
Dfeedback_delegate.py39 def _get_delegate_cls(self, query_id): argument
49 return query_delegate.get_delegate_cls(query_id)
51 raise xmlrpclib.Fault('Unknown query type (%s)' % query_id)
53 raise xmlrpclib.Fault('Unsupported query type (%s)' % query_id)
89 def new_query(self, client_id, query_id, query_num): argument
105 client[query_num] = self._get_delegate_cls(query_id)(
/external/autotest/client/common_lib/feedback/
Dtester_feedback_client.py72 def _new_query_impl(self, query_id): argument
79 if query_id in client.INPUT_QUERIES:
81 elif query_id in client.OUTPUT_QUERIES:
84 raise error.TestError('Unknown query (%s)' % query_id)
89 self._rpc_proxy.new_query(self._client_id, query_id, self._query_num)
Dclient.py107 def new_query(self, query_id): argument
117 return self._new_query_impl(query_id)
120 def _new_query_impl(self, query_id): argument
/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py92 def _new_query_impl(self, query_id): argument
101 if query_id == client.QUERY_AUDIO_PLAYBACK_SILENT:
103 elif query_id == client.QUERY_AUDIO_PLAYBACK_AUDIBLE:
105 elif query_id == client.QUERY_AUDIO_RECORDING:
108 raise error.TestError('Unsupported query (%s)' % query_id)
/external/autotest/site_utils/
Dkill_slow_queries.py106 for query_id in queries_ids:
107 logging.info('Killing %s...', query_id)
108 cursor.execute('KILL %d' % query_id)