Home
last modified time | relevance | path

Searched refs:rpc (Results 1 – 25 of 190) sorted by relevance

12345678

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dtransport_test.py74 self.rpc = TestRpc(self.request)
77 self.assertEquals(self.request, self.rpc.request)
78 self.assertEquals(remote.RpcState.RUNNING, self.rpc.state)
79 self.assertEquals(None, self.rpc.error_message)
80 self.assertEquals(None, self.rpc.error_name)
83 self.assertFalse(self.rpc.waited)
84 self.assertEquals(None, self.rpc.response)
85 self.assertTrue(self.rpc.waited)
88 self.rpc.set_response(self.response)
90 self.assertEquals(self.request, self.rpc.request)
[all …]
Dtransport.py200 rpc = self._start_rpc(remote_info, request)
202 return rpc
272 def __set_response(self, remote_info, connection, rpc): argument
291 rpc.set_response(response)
294 rpc.set_status(status)
319 rpc = Rpc(request)
334 wait_impl = lambda: self.__set_response(remote_info, connection, rpc)
335 rpc._wait_impl = wait_impl
337 return rpc
388 rpc = Rpc(request)
[all …]
/external/libevent/
Devrpc.c94 struct evrpc *rpc; in evrpc_free() local
99 while ((rpc = TAILQ_FIRST(&base->registered_rpcs)) != NULL) { in evrpc_free()
100 r = evrpc_unregister_rpc(base, rpc->uri); in evrpc_free()
227 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, in evrpc_register_rpc() argument
230 char *constructed_uri = evrpc_construct_uri(rpc->uri); in evrpc_register_rpc()
232 rpc->base = base; in evrpc_register_rpc()
233 rpc->cb = cb; in evrpc_register_rpc()
234 rpc->cb_arg = cb_arg; in evrpc_register_rpc()
236 TAILQ_INSERT_TAIL(&base->registered_rpcs, rpc, next); in evrpc_register_rpc()
241 rpc); in evrpc_register_rpc()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DApiBrowser.java50 import com.googlecode.android_scripting.rpc.MethodDescriptor;
51 import com.googlecode.android_scripting.rpc.ParameterDescriptor;
52 import com.googlecode.android_scripting.rpc.RpcDeprecated;
53 import com.googlecode.android_scripting.rpc.RpcMinSdk;
214 MethodDescriptor rpc = (MethodDescriptor) getListAdapter().getItem(info.position); in onContextItemSelected() local
215 if (rpc == null) { in onContextItemSelected()
223 insertText(rpc, new String[0]); in onContextItemSelected()
226 intent.putExtra(Constants.EXTRA_API_PROMPT_RPC_NAME, rpc.getName()); in onContextItemSelected()
227 ParameterDescriptor[] parameters = rpc.getParameterValues(new String[0]); in onContextItemSelected()
236 String help = rpc.getDeclaringClass().getSimpleName() + ".html#" + rpc.getName(); in onContextItemSelected()
[all …]
/external/autotest/cli/
Drpc_unittest.py9 from autotest_lib.cli import rpc
30 self.assertEqual('http://foo', rpc.get_autotest_server('foo'))
35 self.assertEqual('http://Prince', rpc.get_autotest_server(None))
40 self.assertEqual('http://foo-dev', rpc.get_autotest_server(None))
46 self.assertEqual('http://foo', rpc.get_autotest_server('foo'))
/external/guava/guava-gwt/src/com/google/common/collect/
DRegularImmutableMultiset_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase;
DImmutableEnumSet_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase;
DRegularImmutableSet_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase;
DImmutableEnumMap_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase;
DRegularImmutableList_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase;
DRegularImmutableMap_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase;
DRegularImmutableBiMap_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase;
DImmutableSortedMap_CustomFieldSerializerBase.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase;
DRegularImmutableSortedSet_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
22 import com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase;
DImmutableTable_CustomFieldSerializerBase.java17 import com.google.gwt.user.client.rpc.SerializationException;
18 import com.google.gwt.user.client.rpc.SerializationStreamReader;
19 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
20 import com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase;
DRegularImmutableSortedMap_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
DEmptyImmutableSortedMap_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
DLexicographicalOrdering_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
DLinkedHashMultiset_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
DNullsLastOrdering_CustomFieldSerializer.java19 import com.google.gwt.user.client.rpc.SerializationException;
20 import com.google.gwt.user.client.rpc.SerializationStreamReader;
21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DMessageHandler.java14 import com.googlecode.android_scripting.rpc.MethodDescriptor;
73 MethodDescriptor rpc = receiverManager.getMethodDescriptor(method); in handleMessage() local
74 if (rpc == null) { in handleMessage()
79 Log.d("Invoking method " + rpc.getName()); in handleMessage()
80 Object result = rpc.invoke(receiverManager, sl4aRequest); in handleMessage()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonRpcServer.java29 import com.googlecode.android_scripting.rpc.MethodDescriptor;
30 import com.googlecode.android_scripting.rpc.RpcError;
92 MethodDescriptor rpc = receiverManager.getMethodDescriptor(method); in handleRPCConnection() local
93 if (rpc == null) { in handleRPCConnection()
98 send(writer, JsonRpcResult.result(id, rpc.invoke(receiverManager, params)), UID); in handleRPCConnection()
/external/sl4a/Common/src/com/googlecode/android_scripting/language/
DLanguage.java19 import com.googlecode.android_scripting.rpc.MethodDescriptor;
20 import com.googlecode.android_scripting.rpc.ParameterDescriptor;
69 public final String getRpcText(String content, MethodDescriptor rpc, String[] values) { in getRpcText() argument
70 return getMethodCallText(getRpcReceiverName(content), rpc.getName(), in getRpcText()
71 rpc.getParameterValues(values)); in getRpcText()
/external/guava/guava-gwt/src/com/google/common/primitives/
DUnsignedLong_CustomFieldSerializer.java17 import com.google.gwt.user.client.rpc.SerializationException;
18 import com.google.gwt.user.client.rpc.SerializationStreamReader;
19 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
/external/autotest/server/cros/
Drepair_utils.py55 def _find_problem_test(machine, rpc): argument
80 results = rpc.run('get_host_queue_entries', host__hostname=machine,
101 rpc = frontend.AFE()
105 problem_test = _find_problem_test(machine, rpc)

12345678