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

<<11121314151617181920>>

  /art/test/910-methods/
methods.cc 45 auto callback = [&](jint i) { local
54 jobjectArray ret = CreateObjectArray(env, 3, "java/lang/String", callback);
  /art/test/924-threads/
threads.cc 101 auto callback = [&](jint component_index) -> jobject { local
126 jobjectArray ret = CreateObjectArray(env, 5, "java/lang/Object", callback);
159 auto callback = [&](jint index) { local
162 jobjectArray ret = CreateObjectArray(env, thread_count, "java/lang/Thread", callback);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
CompanionDeviceTestActivity.java 66 CompanionDeviceManager.Callback callback = new CompanionDeviceManager.Callback() { local
82 mCompanionDeviceManager.associate(request, callback, null);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CameraUtils.java 45 CameraCallback callback = new CameraCallback(); local
46 cameraManager.openCamera(cameraId, callback, handler);
47 return callback.waitForResult();
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
GestureUtils.java 37 GestureResultCallback callback = new GestureResultCallback() { local
49 if (!service.dispatchGesture(gesture, callback, null)) {
  /cts/tests/camera/src/android/hardware/camera2/cts/
IdleUidTest.java 52 * get an error callback losing the camera handle. Similarly if the UID is
60 private static final HandlerThread sCallbackThread = new HandlerThread("Callback thread");
120 // Mock the callback used to observe camera state.
121 final CameraDevice.StateCallback callback = mock(CameraDevice.StateCallback.class); local
125 cameraManager.openCamera(cameraId, callback, handler);
139 verify(callback, timeout(CAMERA_OPERATION_TIMEOUT_MILLIS)
141 verifyNoMoreInteractions(callback);
144 verify(callback, timeout(CAMERA_OPERATION_TIMEOUT_MILLIS)
147 verifyNoMoreInteractions(callback);
158 // Mock the callback used to observe camera state
159 final CameraDevice.StateCallback callback = mock(CameraDevice.StateCallback.class); local
    [all...]
  /cts/tests/tests/print/src/android/print/cts/
PrintServicesTest.java 149 CustomPrinterIconCallback callback = (CustomPrinterIconCallback) invocation external variable declarations
153 callback.onCustomPrinterIconLoaded(mIcon);
249 * Create mock service callback for a session.
  /device/generic/goldfish/wifi/wifi_hal/
wifi_hal.cpp 93 // callback has signaled that it's been called.
94 auto callback = [&mutex, &stopped, &condition] { local
99 if (asHalState(handle)->stop(callback)) {
100 // The handler succeeded and will call our callback, wait for it. If the
102 // callback will never call notify on it.
107 // The HAL seems to expect this callback to happen on the same thread, or at
  /external/adhd/cras/src/common/
cras_file_wait.c 24 cras_file_wait_callback_t callback; member in struct:cras_file_wait
118 file_wait->callback(file_wait->callback_context,
251 file_wait->callback(file_wait->callback_context,
272 cras_file_wait_callback_t callback,
280 if (!file_path || !*file_path || !callback || !file_wait_out)
290 file_wait->callback = callback;
  /external/adhd/cras/src/server/
cras_hfp_info.c 181 struct hfp_packet_size_changed_callback *callback; local
188 DL_FOREACH(info->packet_size_changed_cbs, callback)
189 callback->cb(callback->data);
196 struct hfp_packet_size_changed_callback *callback = local
199 callback->data = data;
200 callback->cb = cb;
201 DL_APPEND(info->packet_size_changed_cbs, callback);
207 struct hfp_packet_size_changed_callback *callback; local
208 DL_FOREACH(info->packet_size_changed_cbs, callback) {
    [all...]
  /external/boringssl/src/crypto/test/
file_test.h 107 // callback is called for each test. It should get the parameters from this
109 FileTestFunc callback = nullptr; member in struct:FileTest::Options
110 // arg is an opaque pointer that is passed to |callback|.
228 // comment_callback_, if set, is a callback function that is called with the
  /external/clang/test/CodeGenCXX/
anonymous-union-member-initializer.cpp 124 void (*callback)(void*); member in struct:test3::A::__anon16080::__anon16081
132 A::A() : callback(0), callback_value(0) {}
137 // CHECK-NEXT: [[CALLBACK:%.*]] = getelementptr inbounds {{.*}} [[STRUCT]], i32 0, i32 0
  /external/compiler-rt/lib/lsan/
lsan_common_linux.cc 109 // ForEachChunk callback. Identifies unreachable chunks which must be treated as
160 StopTheWorldCallback callback; member in struct:__lsan::DoStopTheWorldParam
167 StopTheWorld(param->callback, param->argument);
178 // callback in the parent thread.
179 void DoStopTheWorld(StopTheWorldCallback callback, void *argument) {
180 DoStopTheWorldParam param = {callback, argument};
  /external/curl/tests/libtest/
libntlmconnect.c 39 static size_t callback(char *ptr, size_t size, size_t nmemb, void *data) function
150 easy_setopt(easy[num_handles], CURLOPT_WRITEFUNCTION, callback);
  /external/dhcpcd-6.8.2/
eloop.h 58 void (*callback)(void *); member in struct:eloop_timeout
  /external/elfutils/libdwfl/
dwfl_frame.c 176 will call the find_elf callback. */
253 dwfl_getthreads (Dwfl *dwfl, int (*callback) (Dwfl_Thread *thread, void *arg),
291 int err = callback (&thread, arg);
307 int (*callback) (Dwfl_Thread *thread, void *arg);
319 oa->ret = oa->callback (thread, oa->arg);
330 int (*callback) (Dwfl_Thread *thread, void *arg),
358 err = callback (&thread, arg);
366 struct one_arg oa = { .tid = tid, .callback = callback,
385 int (*callback) (Dwfl_Frame *frame, void *arg) member in struct:one_thread
    [all...]
  /external/libbrillo/brillo/streams/
stream.cc 29 const base::Callback<void(size_t)>& success_callback,
39 auto callback = base::Bind(&Stream::IgnoreEOSCallback, success_callback); local
41 // callback from the main loop, so we pass true here for force_async_callback.
42 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error,
58 auto callback = base::Bind(&Stream::ReadAllAsyncCallback, local
61 return ReadAsyncImpl(buffer, size_to_read, callback, error_callback, error,
104 const base::Callback<void(size_t)>& success_callback,
114 // callback from the main loop, so we pass true here for force_async_callback.
131 auto callback = base::Bind(&Stream::WriteAllAsyncCallback, local
134 return WriteAsyncImpl(buffer, size_to_write, callback, error_callback, error
180 auto callback = base::Bind(&Stream::FlushAsyncCallback, local
337 auto callback = base::Bind(&Stream::ReadAllAsyncCallback, local
364 auto callback = base::Bind(&Stream::WriteAllAsyncCallback, local
    [all...]
  /external/libchrome/base/memory/
scoped_vector_unittest.cc 11 #include "base/callback.h"
289 base::Callback<ScopedVector<DeleteCounter>(void)> callback = local
292 ScopedVector<DeleteCounter> result = callback.Run();
  /external/libchrome/base/trace_event/
memory_dump_manager.h 111 // The optional |callback| is executed asynchronously, on an arbitrary thread,
117 const MemoryDumpCallback& callback);
119 // Same as above (still asynchronous), but without callback.
183 MemoryDumpCallback callback,
209 // Callback passed to the initial call to CreateProcessDump().
210 MemoryDumpCallback callback; member in struct:base::trace_event::MemoryDumpManager::ProcessMemoryDumpAsyncState
212 // The |success| field that will be passed as argument to the |callback|.
215 // The thread on which FinalizeDumpAndAddToTrace() (and hence |callback|)
244 // |callback| will be invoked asynchronously upon completion on the same
247 const MemoryDumpCallback& callback);
    [all...]
  /external/mesa3d/src/egl/main/
eglcurrent.c 316 EGLDEBUGPROCKHR callback = NULL; local
320 callback = _eglGlobal.debugCallback;
324 if (callback != NULL) {
332 callback(error, command, type, _eglGetThreadLabel(), objectLabel, buf);
  /external/perfetto/src/base/
android_task_runner.cc 46 // the watch to a no-op callback.
188 // It's safe for the callback to hang on to |this| as everything is
190 auto callback = [](int signalled_fd, int events, void* data) -> int { local
197 std::move(callback), this) != -1);
  /external/perfetto/src/tracing/core/
shared_memory_arbiter_impl.cc 214 std::function<void()> callback) {
226 producer_endpoint_->CommitData(*req, callback);
227 } else if (callback) {
232 producer_endpoint_->CommitData(CommitDataRequest(), callback); local
  /external/python/cpython2/Lib/ctypes/test/
test_functions.py 229 def callback(v): function in function:FunctionTestCase.test_shorts
233 CallBack = CFUNCTYPE(c_int, c_int)
235 cb = CallBack(callback)
249 def callback(value): function in function:FunctionTestCase.test_callbacks
253 cb = MyCallback(callback)
259 cb = MyCallback(callback)
267 cb = AnotherCallback(callback)
273 # for the callback function.
282 def callback(value) function in function:FunctionTestCase.test_callbacks_2
301 def callback(value): function in function:FunctionTestCase.test_longlong_callbacks
395 def callback(*args): function in function:FunctionTestCase.test_sf1651235
    [all...]
  /external/python/cpython3/Lib/asyncio/
tasks.py 701 def callback(): function in function:run_coroutine_threadsafe
709 loop.call_soon_threadsafe(callback)
  /external/python/cpython3/Lib/ctypes/test/
test_functions.py 229 def callback(v): function in function:FunctionTestCase.test_shorts
233 CallBack = CFUNCTYPE(c_int, c_int)
235 cb = CallBack(callback)
249 def callback(value): function in function:FunctionTestCase.test_callbacks
253 cb = MyCallback(callback)
259 cb = MyCallback(callback)
267 cb = AnotherCallback(callback)
273 # for the callback function.
282 def callback(value) function in function:FunctionTestCase.test_callbacks_2
301 def callback(value): function in function:FunctionTestCase.test_longlong_callbacks
395 def callback(*args): function in function:FunctionTestCase.test_sf1651235
    [all...]

Completed in 520 milliseconds

<<11121314151617181920>>