HomeSort by relevance Sort by last modified time
    Searched full:query_id (Results 1 - 11 of 11) sorted by null

  /external/autotest/site_utils/tester_feedback/
query_delegate.py 93 def register_delegate_cls(query_id, delegate_cls):
96 @param query_id: Query identifier constant.
99 _query_delegate_registry[query_id] = delegate_cls
102 def get_delegate_cls(query_id):
105 @param query_id: A query type identifier.
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]
feedback_delegate.py 39 def _get_delegate_cls(self, query_id):
42 @param query_id: The query type for which a delegate is needed.
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):
93 @param query_id: The query type.
105 client[query_num] = self._get_delegate_cls(query_id)(
  /external/autotest/client/common_lib/feedback/
tester_feedback_client.py 68 def _new_query_impl(self, query_id):
71 @param query_id: A query identifier.
75 if query_id in client.INPUT_QUERIES:
77 elif query_id in client.OUTPUT_QUERIES:
80 raise error.TestError('Unknown query (%s)' % query_id)
85 self._rpc_proxy.new_query(self._client_id, query_id, self._query_num)
client.py 107 def new_query(self, query_id):
110 @param query_id: A query identifier (see QUERY_ constants above).
117 return self._new_query_impl(query_id)
120 def _new_query_impl(self, query_id):
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Channel.java 220 * @param query_id Identifies the query. This ID must be used when replying
226 public abstract void onEmulatorQuery(int query_id, int query_type, ByteBuffer query_data);
534 * @param query_id Query identifier.
539 public boolean sendQueryResponse(int query_id, byte[] qresp, int len) {
549 bb.putInt(query_id);
576 * @param query_id Query identifier.
581 public boolean sendQueryResponse(int query_id, byte[] qresp) {
582 return (qresp != null) ? sendQueryResponse(query_id, qresp, qresp.length) :
583 sendQueryResponse(query_id, null, 0);
589 * @param query_id Query identifier
668 final int query_id = header.getInt(); local
    [all...]
Connection.java 318 final int query_id = handshake.getInt(); local
345 handshake.putInt(query_id);
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
MultiTouchChannel.java 124 * @param query_id Identifies the query. This ID must be used when replying
130 public void onEmulatorQuery(int query_id, int query_type, ByteBuffer query_data) {
132 sendQueryResponse(query_id, (byte[]) null);
SensorChannel.java 168 * @param query_id Identifies the query. This ID should be used when
174 public void onEmulatorQuery(int query_id, int query_type, ByteBuffer query_data) {
196 sendQueryResponse(query_id, resp);
  /external/autotest/server/brillo/feedback/
closed_loop_audio_client.py 171 def _new_query_impl(self, query_id):
174 @param query_id: A query identifier.
180 if query_id == client.QUERY_AUDIO_PLAYBACK_SILENT:
182 elif query_id == client.QUERY_AUDIO_PLAYBACK_AUDIBLE:
184 elif query_id == client.QUERY_AUDIO_RECORDING:
187 raise error.TestError('Unsupported query (%s)' % query_id)
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailFragment.java 170 getLoaderManager().restartLoader(ContactDetailQuery.QUERY_ID, null, this);
171 getLoaderManager().restartLoader(ContactAddressQuery.QUERY_ID, null, this);
321 case ContactDetailQuery.QUERY_ID:
327 case ContactAddressQuery.QUERY_ID:
350 case ContactDetailQuery.QUERY_ID:
369 case ContactAddressQuery.QUERY_ID:
646 final static int QUERY_ID = 1;
666 final static int QUERY_ID = 2;
ContactsListFragment.java 236 // Initialize the loader, and create a loader identified by ContactsQuery.QUERY_ID
237 getLoaderManager().initLoader(ContactsQuery.QUERY_ID, null, this);
372 ContactsQuery.QUERY_ID, null, ContactsListFragment.this);
395 ContactsQuery.QUERY_ID, null, ContactsListFragment.this);
456 if (id == ContactsQuery.QUERY_ID) {
493 if (loader.getId() == ContactsQuery.QUERY_ID) {
525 if (loader.getId() == ContactsQuery.QUERY_ID) {
    [all...]

Completed in 789 milliseconds