Home
last modified time | relevance | path

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

12345678910>>...45

/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/libtextclassifier/java/src/com/android/textclassifier/
DDefaultTextClassifierService.java77 Callback<TextSelection> callback) { in onSuggestSelection()
79 () -> textClassifier.suggestSelection(request), callback, cancellationSignal); in onSuggestSelection() local
87 Callback<TextClassification> callback) { in onClassifyText()
88 handleRequestAsync(() -> textClassifier.classifyText(request), callback, cancellationSignal); in onClassifyText() local
96 Callback<TextLinks> callback) { in onGenerateLinks()
97 handleRequestAsync(() -> textClassifier.generateLinks(request), callback, cancellationSignal); in onGenerateLinks() local
105 Callback<ConversationActions> callback) { in onSuggestConversationActions()
107 () -> textClassifier.suggestConversationActions(request), callback, cancellationSignal); in onSuggestConversationActions() local
115 Callback<TextLanguage> callback) { in onDetectLanguage()
116 handleRequestAsync(() -> textClassifier.detectLanguage(request), callback, cancellationSignal); in onDetectLanguage() local
[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/guava/android/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
88 MockCallback callback = new MockCallback(error); in testThrowErrorFromGet() local
95 MockCallback callback = new MockCallback(e); in testRuntimeExeceptionFromGet() local
105 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsRuntimeException() local
121 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsError() local
138 FutureCallback<Object> callback = in testWildcardFuture() local
/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
88 MockCallback callback = new MockCallback(error); in testThrowErrorFromGet() local
95 MockCallback callback = new MockCallback(e); in testRuntimeExeceptionFromGet() local
105 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsRuntimeException() local
121 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsError() local
138 FutureCallback<Object> callback = in testWildcardFuture() local
/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.h51 for (const auto& callback : before_get_next_dest_callbacks_) { in BlockingGetNextDestination() local
67 for (const auto& callback : on_empty_callbacks_) { in BlockingGetNextDestination() local
74 void RegisterOnEmptyCallback(std::function<void()> callback) { in RegisterOnEmptyCallback()
78 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 …]
/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/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/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/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/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceRoot.java246 …private FileVisitResult callback(Path absolutePath, ParserConfiguration configuration, Callback ca… in callback() argument
271 callback) throws IOException { in parse()
276 callback(fileInPackageAbsolutePath(root, startPackage, filename), configuration, callback); in parse() local
284 …public SourceRoot parse(String startPackage, String filename, Callback callback) throws IOExceptio… in parse()
295 …eRoot parse(String startPackage, ParserConfiguration configuration, Callback callback) throws IOEx… in parse()
320 public SourceRoot parse(String startPackage, Callback callback) throws IOException { in parse()
342 …Root parseParallelized(String startPackage, ParserConfiguration configuration, Callback callback) { in parseParallelized()
374 public SourceRoot parseParallelized(String startPackage, Callback callback) throws IOException { in parseParallelized()
385 public SourceRoot parseParallelized(Callback callback) throws IOException { in parseParallelized()
556 private final VisitFileCallback callback; field in SourceRoot.ParallelParse
[all …]
/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/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

12345678910>>...45