Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 956) sorted by relevance

12345678910>>...39

/external/autotest/frontend/client/src/autotest/moblab/rpc/
DMoblabRpcHelper.java30 public static void fetchConfigData(final SimpleCallback callback) { in fetchConfigData()
43 public static void fetchConfigData(final JsonRpcCallback callback) { in fetchConfigData()
51 public static void submitConfigData(JSONObject configValues, JsonRpcCallback callback) { in submitConfigData()
61 public static void resetConfigData(final JsonRpcCallback callback) { in resetConfigData()
69 public static void rebootMoblab(final JsonRpcCallback callback) { in rebootMoblab()
78 final MoblabRpcCallbacks.FetchNetworkInfoRpcCallback callback) { in fetchNetworkInfo()
94 final MoblabRpcCallbacks.FetchCloudStorageInfoCallback callback) { in fetchCloudStorageInfo()
110 final MoblabRpcCallbacks.ValidateCloudStorageInfoCallback callback) { in validateCloudStorageInfo()
128 final MoblabRpcCallbacks.SubmitWizardConfigInfoCallback callback) { in submitWizardConfigData()
155 final MoblabRpcCallbacks.FetchVersionInfoCallback callback) { in fetchMoblabBuildVersionInfo()
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_relative_imports.py59 def relative_import_test(self, create, globals_, callback): argument
80 def callback(global_): function
92 def callback(global_): function
105 def callback(global_): function
118 def callback(global_): function
130 def callback(global_): function
146 def callback(global_): function
157 def callback(global_): function
168 def callback(global_): function
190 def callback(global_): function
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DFakeNativeCall.cs104 …public void StartUnary(IUnaryResponseClientCallback callback, byte[] payload, WriteFlags writeFlag… in StartUnary()
116 …public void StartClientStreaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle me… in StartClientStreaming()
122 …public void StartServerStreaming(IReceivedStatusOnClientCallback callback, byte[] payload, WriteFl… in StartServerStreaming()
128 …public void StartDuplexStreaming(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle… in StartDuplexStreaming()
134 public void StartReceiveMessage(IReceivedMessageCallback callback) in StartReceiveMessage()
139 public void StartReceiveInitialMetadata(IReceivedResponseHeadersCallback callback) in StartReceiveInitialMetadata()
144 …public void StartSendInitialMetadata(ISendCompletionCallback callback, MetadataArraySafeHandle met… in StartSendInitialMetadata()
149 …public void StartSendMessage(ISendCompletionCallback callback, byte[] payload, WriteFlags writeFla… in StartSendMessage()
154 public void StartSendCloseFromClient(ISendCompletionCallback callback) in StartSendCloseFromClient()
159 …public void StartSendStatusFromServer(ISendStatusFromServerCompletionCallback callback, Status sta… in StartSendStatusFromServer()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DCallSafeHandle.cs69 …public void StartUnary(IUnaryResponseClientCallback callback, byte[] payload, WriteFlags writeFlag… in StartUnary()
85 …public void StartClientStreaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle me… in StartClientStreaming()
94 …public void StartServerStreaming(IReceivedStatusOnClientCallback callback, byte[] payload, WriteFl… in StartServerStreaming()
103 …public void StartDuplexStreaming(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle… in StartDuplexStreaming()
112 …public void StartSendMessage(ISendCompletionCallback callback, byte[] payload, WriteFlags writeFla… in StartSendMessage()
121 public void StartSendCloseFromClient(ISendCompletionCallback callback) in StartSendCloseFromClient()
130 …public void StartSendStatusFromServer(ISendStatusFromServerCompletionCallback callback, Status sta… in StartSendStatusFromServer()
143 public void StartReceiveMessage(IReceivedMessageCallback callback) in StartReceiveMessage()
152 public void StartReceiveInitialMetadata(IReceivedResponseHeadersCallback callback) in StartReceiveInitialMetadata()
161 public void StartServerSide(IReceivedCloseOnServerCallback callback) in StartServerSide()
[all …]
DINativeCall.cs70 …void StartUnary(IUnaryResponseClientCallback callback, byte[] payload, WriteFlags writeFlags, Meta… in StartUnary()
74 …void StartClientStreaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle metadataA… in StartClientStreaming()
76 …void StartServerStreaming(IReceivedStatusOnClientCallback callback, byte[] payload, WriteFlags wri… in StartServerStreaming()
78 …void StartDuplexStreaming(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle metada… in StartDuplexStreaming()
80 void StartReceiveMessage(IReceivedMessageCallback callback); in StartReceiveMessage()
82 void StartReceiveInitialMetadata(IReceivedResponseHeadersCallback callback); in StartReceiveInitialMetadata()
84 …void StartSendInitialMetadata(ISendCompletionCallback callback, MetadataArraySafeHandle metadataAr… in StartSendInitialMetadata()
86 …void StartSendMessage(ISendCompletionCallback callback, byte[] payload, WriteFlags writeFlags, boo… in StartSendMessage()
88 void StartSendCloseFromClient(ISendCompletionCallback callback); in StartSendCloseFromClient()
90 …void StartSendStatusFromServer(ISendStatusFromServerCompletionCallback callback, Status status, Me… in StartSendStatusFromServer()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRemoteCallbackList.java19 final E callback; field in ShadowRemoteCallbackList.Callback
22 Callback(E callback, Object cookie) { in Callback()
36 protected boolean register(E callback) { in register()
41 protected boolean register(E callback, Object cookie) { in register()
59 protected boolean unregister(E callback) { in unregister()
82 protected void onCallbackDied(E callback) {} in onCallbackDied()
85 protected void onCallbackDied(E callback, Object cookie) { in onCallbackDied()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientStreamTest.java107 SetStreamFactoryRunnable callback = new SetStreamFactoryRunnable(factory); in setUp() local
155 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in write() local
235 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in read() local
281 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamSucceeded() local
347 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamSucceededWithGrpcError() local
385 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailed() local
409 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterResponseHeaderReceived() local
437 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterTrailerReceived() local
469 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterTrailerAndEndOfStreamReceived() local
502 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in cancelStream() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dxfeed_queue.h50 for (const auto& callback : before_get_next_dest_callbacks_) { in BlockingGetNextDestination() local
66 for (const auto& callback : on_empty_callbacks_) { in BlockingGetNextDestination() local
73 void RegisterOnEmptyCallback(std::function<void()> callback) { in RegisterOnEmptyCallback()
77 std::function<void()> callback) { in RegisterBeforeGetNextDestinationCallback()
/external/compiler-rt/lib/scudo/
Dscudo_termination.cpp20 bool AddDieCallback(DieCallbackType callback) { return true; } in AddDieCallback()
22 bool RemoveDieCallback(DieCallbackType callback) { return true; } in RemoveDieCallback()
24 void SetUserDieCallback(DieCallbackType callback) {} in SetUserDieCallback()
32 void SetCheckFailedCallback(CheckFailedCallbackType callback) {} in SetCheckFailedCallback()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickle_unittest.cc27 void DoExpectResult(int foo, int bar, const base::Closure& callback, T actual) { in DoExpectResult()
35 const base::Closure& callback) { in ExpectResult()
50 void DoExpectEnumResult(T expected, const base::Closure& callback, T actual) { in DoExpectEnumResult()
56 base::Callback<void(T)> ExpectEnumResult(T t, const base::Closure& callback) { in ExpectEnumResult()
71 void ExpectError(InterfacePtr<T>* proxy, const base::Closure& callback) { in ExpectError()
90 const PassPickledStructCallback& callback) override { in PassPickledStruct()
95 const PassPickledEnumCallback& callback) override { in PassPickledEnum()
101 const PassPickleContainerCallback& callback) override { in PassPickleContainer()
106 const PassPicklesCallback& callback) override { in PassPickles()
112 const PassPickleArraysCallback& callback) override { in PassPickleArrays()
[all …]
Dsync_method_unittest.cc83 void PingImpl(const base::Callback<void()>& callback) { in PingImpl()
90 void EchoImpl(int32_t value, const base::Callback<void(int32_t)>& callback) { in EchoImpl()
98 const base::Callback<void(int32_t)>& callback) { in AsyncEchoImpl()
128 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping()
129 void Echo(int32_t value, const EchoCallback& callback) override { in Echo()
132 void AsyncEcho(int32_t value, const AsyncEchoCallback& callback) override { in AsyncEcho()
150 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping()
151 void Echo(int32_t value, const EchoCallback& callback) override { in Echo()
154 void AsyncEcho(int32_t value, const AsyncEchoCallback& callback) override { in AsyncEcho()
178 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping()
[all …]
Dstruct_traits_unittest.cc30 const base::Closure& callback, in DoExpectResult()
41 const base::Closure& callback) { in ExpectResult()
56 void ExpectError(InterfacePtr<T> *proxy, const base::Closure& callback) { in ExpectError()
71 void GetLargestRect(const GetLargestRectCallback& callback) override { in GetLargestRect()
76 const PassSharedRectCallback& callback) override { in PassSharedRect()
99 void GetLargestRect(const GetLargestRectCallback& callback) override { in GetLargestRect()
104 const PassSharedRectCallback& callback) override { in PassSharedRect()
147 const EchoStructWithTraitsCallback& callback) override { in EchoStructWithTraits()
153 const EchoTrivialStructWithTraitsCallback& callback) override { in EchoTrivialStructWithTraits()
159 const EchoMoveOnlyStructWithTraitsCallback& callback) override { in EchoMoveOnlyStructWithTraits()
[all …]
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DSendPingCommand.java26 private final PingCallback callback; field in SendPingCommand
29 SendPingCommand(PingCallback callback, Executor executor) { in SendPingCommand()
34 PingCallback callback() { in callback() method in SendPingCommand
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFutureCallbackTest.java40 MockCallback callback = new MockCallback("foo"); in testSameThreadSuccess() local
48 MockCallback callback = new MockCallback("foo"); in testExecutorSuccess() local
58 MockCallback callback = new MockCallback(e); in testSameThreadExecutionException() local
65 FutureCallback<String> callback = in testCancel() local
87 MockCallback callback = new MockCallback(error); in testThrowErrorFromGet() local
94 MockCallback callback = new MockCallback(e); in testRuntimeExeceptionFromGet() local
103 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsRuntimeException() local
118 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsError() local
135 FutureCallback<Object> callback = new FutureCallback<Object>() { in testWildcardFuture() local
/external/libchrome/mojo/public/tools/fuzzers/
Dfuzz_impl.cc17 void FuzzImpl::FuzzBasicResp(FuzzBasicRespCallback callback) { in FuzzBasicResp()
21 void FuzzImpl::FuzzBasicSyncResp(FuzzBasicSyncRespCallback callback) { in FuzzBasicSyncResp()
30 FuzzArgsRespCallback callback) { in FuzzArgsResp()
36 FuzzArgsSyncRespCallback callback) { in FuzzArgsSyncResp()
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js70 TcpServer.getNetworkAddresses=function(callback) { argument
84 TcpServer.prototype.listen = function(callback) { argument
211 TcpConnection.prototype.requestSocketInfo = function(callback) { argument
221 TcpConnection.prototype.startListening = function(callback) { argument
238 TcpConnection.prototype.addDataReceivedListener = function(callback) { argument
255 TcpConnection.prototype.sendMessage = function(msg, callback) { argument
286 TcpConnection.prototype._onSocketInfo = function(callback, socketInfo) { argument
346 function _arrayBufferToString(buf, callback) { argument
362 function _stringToArrayBuffer(str, callback) { argument
/external/autotest/frontend/client/src/autotest/common/
DXhrJsonRpcProxy.java28 protected void sendRequest(JSONObject request, final JsonRpcCallback callback) { in sendRequest()
42 private JsonRpcCallback callback; field in XhrJsonRpcProxy.RpcHandler
44 public RpcHandler(JsonRpcCallback callback) { in RpcHandler()
71 private static void handleResponseText(String responseText, JsonRpcCallback callback) { in handleResponseText()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_termination.cc23 bool AddDieCallback(DieCallbackType callback) { in AddDieCallback()
33 bool RemoveDieCallback(DieCallbackType callback) { in RemoveDieCallback()
47 void SetUserDieCallback(DieCallbackType callback) { in SetUserDieCallback()
64 void SetCheckFailedCallback(CheckFailedCallbackType callback) { in SetCheckFailedCallback()
/external/grpc-grpc/src/python/grpcio/grpc/
D_auth.py22 def _sign_request(callback, token, error): argument
27 def _create_get_token_callback(callback): argument
52 def __call__(self, context, callback): argument
74 def __call__(self, context, callback): argument
/external/tensorflow/tensorflow/core/kernels/
Dqueue_op.cc53 void QueueOpKernel::ComputeAsync(OpKernelContext* ctx, DoneCallback callback) { in ComputeAsync()
89 DoneCallback callback) { in ComputeAsync()
130 DoneCallback callback) { in ComputeAsync()
167 DoneCallback callback) { in ComputeAsync()
210 DoneCallback callback) { in ComputeAsync()
283 DoneCallback callback) { in ComputeAsync()
334 DoneCallback callback) { in ComputeAsync()
348 DoneCallback callback) { in ComputeAsync()
359 DoneCallback callback) { in ComputeAsync()
/external/webrtc/webrtc/tools/rtcbot/
Dbotmanager.js39 createBot_: function (name, botType, callback) { argument
52 spawnNewBot: function (name, botType, callback) { argument
99 Bot = function (name, callback) { argument
128 BrowserBot = function (name, callback) { argument
144 AndroidChromeBot = function (name, androidDeviceManager, callback) { argument
176 getNewDevice: function (callback) { argument
194 listDevices_: function (callback) { argument
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_misc.py14 def callback(start=0, step=1): function
49 def callback(start=0, step=1): function
81 def callback(): function
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_unittest.cc23 auto callback = [&called]() { called = true; }; in TEST() local
34 auto callback = [&called](int param1) { in TEST() local
52 auto callback = [&called](bool p1, int p2, const VariantDictionary& p3) { in TEST() local
73 auto callback = [&called](bool param1, int param2) { in TEST() local
93 auto callback = [&called](bool param1, int param2) { in TEST() local
114 auto callback = [&called](bool param1, double param2) { in TEST() local
132 auto callback = [&called](int* param1) { in TEST() local
147 auto callback = [&called](int param1, double* param2) { in TEST() local
163 auto callback = [&called](double* param1, int param2) { in TEST() local
182 auto callback = [&called](bool p1, in TEST() local
[all …]
/external/libchrome/base/metrics/
Duser_metrics.cc43 for (const ActionCallback& callback : g_callbacks.Get()) { in RecordComputedAction() local
48 void AddActionCallback(const ActionCallback& callback) { in AddActionCallback()
55 void RemoveActionCallback(const ActionCallback& callback) { in RemoveActionCallback()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiRtt2ManagerFacade.java115 RangingResultCallback callback = new RangingResultCallbackFacade(id); in wifiRttStartRangingToAccessPoints() local
119 mService.getMainExecutor(), callback); in wifiRttStartRangingToAccessPoints() local
132 RangingResultCallback callback = new RangingResultCallbackFacade(id); in wifiRttStartRangingToAwarePeerMac() local
137 callback); in wifiRttStartRangingToAwarePeerMac() local
150 RangingResultCallback callback = new RangingResultCallbackFacade(id); in wifiRttStartRangingToAwarePeerId() local
153 new PeerHandle(peerId)).build(), mService.getMainExecutor(), callback); in wifiRttStartRangingToAwarePeerId() local

12345678910>>...39