HomeSort by relevance Sort by last modified time
    Searched defs:callback (Results 176 - 200 of 1863) sorted by null

1 2 3 4 5 6 78 91011>>

  /cts/tests/tests/media/src/android/media/cts/
MediaSessionManagerTest.java 157 MediaSessionCallback callback = new MediaSessionCallback(2, session); local
160 session.setCallback(callback, handler);
181 assertFalse(callback.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS));
182 assertEquals(callback.mKeyEvents.size(), 0);
195 assertTrue(callback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));
196 assertEquals(callback.mKeyEvents.size(), 2);
197 assertKeyEventEquals(callback.mKeyEvents.get(0),
199 assertKeyEventEquals(callback.mKeyEvents.get(1),
225 MediaSessionCallback callback = new MediaSessionCallback(5, session); local
228 session.setCallback(callback, handler)
    [all...]
  /device/google/contexthub/contexthubhal/
NanohubHidlAdapter.h 81 sp<IContexthubCallback> callback; member in struct:android::hardware::contexthub::V1_0::implementation::Contexthub::CachedHubInformation
112 // Handle the case where the callback registered for the given hub ID dies
  /device/google/contexthub/firmware/os/core/
hostIntfSpi.c 41 HostIntfCommCallbackF callback = cookie; local
42 callback(NANOHUB_PACKET_SIZE(packet->len), err);
47 HostIntfCommCallbackF callback = cookie; local
48 callback(gTxSize, err);
57 HostIntfCommCallbackF callback)
65 err = spiSlaveRxTx(gSpi, &gPacket, 1, hostIntfSpiRxCallback, callback);
67 callback(0, err);
73 HostIntfCommCallbackF callback)
83 callback);
  /external/autotest/frontend/client/src/autotest/common/
XhrJsonRpcProxy.java 28 protected void sendRequest(JSONObject request, final JsonRpcCallback callback) {
30 requestBuilder.sendRequest(request.toString(), new RpcHandler(callback));
34 callback.onError(null);
42 private JsonRpcCallback callback; field in class:XhrJsonRpcProxy.RpcHandler
44 public RpcHandler(JsonRpcCallback callback) {
45 this.callback = callback;
51 callback.onError(null);
63 callback.onError(null);
67 handleResponseText(responseText, callback);
    [all...]
  /external/autotest/frontend/client/src/autotest/common/table/
RpcDataSource.java 27 final DataCallback callback) {
49 callback.handlePage(resultData);
55 callback.onError(errorObject);
61 public void getTotalResultCount(final DataCallback callback) {
67 callback.handleTotalResultCount(count);
73 callback.onError(errorObject);
96 public void query(JSONObject params, DataCallback callback) {
97 callback.onQueryReady(new RpcQuery(params));
  /external/libbrillo/brillo/dbus/
dbus_method_invoker.h 151 auto callback = [val_tuple](const ResultTypes&... params) { local
155 callback, reader, error);
164 auto callback = [ref_tuple](const ResultTypes&... params) { local
168 callback, reader, error);
221 using AsyncErrorCallback = base::Callback<void(Error* error)>;
224 // from D-Bus into brillo::Error* and invokes the |callback|.
225 void BRILLO_EXPORT TranslateErrorResponse(const AsyncErrorCallback& callback,
234 const base::Callback<void(OutArgs...)>& success_callback,
237 auto callback = [&success_callback](const OutArgs&... params) { local
244 if (!DBusParamReader<false, OutArgs...>::Invoke(callback, &reader, &error) &
    [all...]
  /external/libchrome/base/
cancelable_callback_unittest.cc 37 // - Callback can be run multiple times.
44 base::Closure callback = cancelable.callback(); local
45 callback.Run();
48 callback.Run();
52 callback.Run();
57 // - Cancel() cancels all copies of the wrapped callback.
59 // - After Cancel(), callback() returns a null callback.
65 base::Closure callback1 = cancelable.callback();
87 base::Closure callback; local
128 base::Closure callback = cancelable.callback(); local
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
InterfacesTest.java 56 public void getName(GetNameResponse callback) {
57 callback.call(mName);
116 public void doStuff(Request request, MessagePipeHandle pipe, DoStuffResponse callback) {
122 callback.call(response, "Hello");
126 public void doStuff2(ConsumerHandle pipe, DoStuff2Response callback) {
127 callback.call("World");
137 RequestImportedInterfaceResponse callback) {
143 TakeImportedInterfaceResponse callback) {
183 RecordingGetNameResponse callback = new RecordingGetNameResponse(); local
192 proxy.getName(callback);
    [all...]
  /external/libmojo/mojo/edk/js/
waiting_callback.cc 29 v8::Handle<v8::Function> callback,
34 isolate, new WaitingCallback(isolate, callback, one_shot));
53 v8::Handle<v8::Function> callback,
60 ->SetPrivate(context, GetHiddenPropertyName(isolate), callback)
80 v8::Handle<v8::Function> callback; local
81 CHECK(gin::ConvertFromV8(isolate, hidden_value, &callback));
84 runner_->Call(callback, runner_->global(), 1, args);
  /external/mesa3d/src/util/
string_to_uint_map.h 49 void (*callback)(const char *key, unsigned value, void *closure); member in struct:string_map_iterate_wrapper_closure
84 * Runs a passed callback for the hash
95 wrapper->callback = func;
170 wrapper->callback((const char *) key, value, wrapper->closure);
  /external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
WebSocketReaderTest.java 40 private final WebSocketRecorder callback = new WebSocketRecorder(); field in class:WebSocketReaderTest
44 private final WebSocketReader serverReader = new WebSocketReader(false, data, callback);
45 private final WebSocketReader clientReader = new WebSocketReader(true, data, callback);
48 callback.assertExhausted();
120 callback.assertTextMessage("Hello");
126 callback.assertTextMessage("Hello");
132 callback.assertTextMessage("Hello");
138 callback.assertTextMessage("Hello");
155 callback.setNextMessageDelegate(new MessageDelegate() {
173 callback.assertTextMessage("Hello")
    [all...]
  /external/perfetto/include/perfetto/base/
unix_task_runner.h 82 std::function<void()> callback; member in struct:perfetto::base::UnixTaskRunner::WatchTask
  /external/python/cpython2/Lib/test/
test_capi.py 29 def callback(): function in function:TestPendingCalls.pendingcalls_submit
36 #try submitting callback until successful.
40 if _testcapi._pending_threadfunc(callback):
63 #do every callback on a separate thread
113 def callback(): function in function:TestThreadState.test_thread_state.target
116 _testcapi._test_thread_state(callback)
117 a = b = callback
test_code.py 172 def callback(code): function in function:CodeWeakRefTest.test_basic
177 # deref it. Then delete it, and check that the callback gets called and
179 coderef = weakref.ref(f.__code__, callback)
  /external/python/cpython3/Lib/test/
test_code.py 201 def callback(code): function in function:CodeWeakRefTest.test_basic
206 # deref it. Then delete it, and check that the callback gets called and
208 coderef = weakref.ref(f.__code__, callback)
  /external/python/cpython3/Lib/test/test_importlib/import_/
test_relative_imports.py 59 def relative_import_test(self, create, globals_, callback):
73 callback(global_)
80 def callback(global_): function in function:RelativeImports.test_module_from_module
86 self.relative_import_test(create, globals_, callback)
92 def callback(global_): function in function:RelativeImports.test_attr_from_module
98 self.relative_import_test(create, globals_, callback)
105 def callback(global_): function in function:RelativeImports.test_package_to_module
112 self.relative_import_test(create, globals_, callback)
118 def callback(global_): function in function:RelativeImports.test_module_to_package
122 self.relative_import_test(create, globals_, callback)
130 def callback(global_): function in function:RelativeImports.test_package_to_package
146 def callback(global_): function in function:RelativeImports.test_deep_import
157 def callback(global_): function in function:RelativeImports.test_too_high_from_package
168 def callback(global_): function in function:RelativeImports.test_too_high_from_module
190 def callback(global_): function in function:RelativeImports.test_import_from_different_package
202 def callback(global_): function in function:RelativeImports.test_import_relative_import_no_fromlist
    [all...]
  /external/python/cpython3/Modules/
_weakref.c 110 "proxy(object[, callback]) -- create a proxy object that weakly\n"
111 "references 'object'. 'callback', if given, is called with a\n"
118 PyObject *callback = NULL; local
121 if (PyArg_UnpackTuple(args, "proxy", 1, 2, &object, &callback)) {
122 result = PyWeakref_NewProxy(object, callback);
  /external/speex/libspeex/
speex_callbacks.c 3 Callback handling and in-band signalling
46 SpeexCallback *callback; local
49 callback = callback_list+id;
51 if (callback->func)
53 return callback->func(bits, state, callback->data);
55 /*If callback is not registered, skip the right number of bits*/
  /external/tensorflow/tensorflow/core/kernels/
conditional_accumulator_base.cc 57 * callback: A callback to be executed after the attempt has been completed.
61 DoneCallback callback) {
65 callback();
76 num_required, callback, ctx, cm, token,
97 callback();
103 * Cancellation callback.
107 DoneCallback callback = nullptr; local
118 std::swap(callback, attempt.done_callback);
124 if (callback) {
    [all...]
  /external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
Pool.java 11 private final Callback<T> callback; field in class:Pool
15 public Pool(int initCapacity, Callback<T> callback) {
17 this.callback = callback;
26 if (callback != null) callback.onUnPool(obj);
34 if (callback != null) callback.onPool(obj)
    [all...]
  /external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DrawingCanvas.java 14 private Callback callback; field in class:DrawingCanvas
33 public void setCallback(Callback callback) {
34 this.callback = callback;
44 if (callback != null) callback.onUpdate((int) delta);
48 public interface Callback {
  /external/webrtc/webrtc/modules/video_coding/codecs/vp8/
simulcast_encoder_adapter.h 46 int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override;
68 callback(NULL),
74 EncodedImageCallback* callback,
79 callback(callback),
86 EncodedImageCallback* callback; member in struct:webrtc::SimulcastEncoderAdapter::StreamInfo
  /external/webrtc/webrtc/video/
video_decoder_unittest.cc 42 DecodedImageCallback* callback) override {
43 decode_complete_callback_ = callback;
151 // TODO(pbos): Fake a VP8 frame well enough to actually receive a callback from
162 } callback, callback2; local
166 fallback_wrapper_.RegisterDecodeCompleteCallback(&callback);
167 EXPECT_EQ(&callback, fake_decoder_.decode_complete_callback_);
  /frameworks/base/core/java/com/android/internal/util/function/pooled/
PooledLambda.java 215 * {@link Message#getCallback internal callback}.
217 * The callback is equivalent to one obtainable via
238 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
240 return Message.obtain().setCallback(callback.recycleOnUse());
400 * {@link Message#getCallback internal callback}.
402 * The callback is equivalent to one obtainable via
424 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
426 return Message.obtain().setCallback(callback.recycleOnUse());
577 * {@link Message#getCallback internal callback}.
579 * The callback is equivalent to one obtainable vi
602 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
827 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
904 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
984 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, local
    [all...]
  /frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
Common.java 52 final ICmdCallback callback = ICmdCallback.Stub.asInterface( local
55 callback.onLaunched(binder);

Completed in 1159 milliseconds

1 2 3 4 5 6 78 91011>>