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

<<21222324252627282930>>

  /external/tensorflow/tensorflow/core/kernels/batching_util/
shared_batch_scheduler_test.cc 134 // Set up a callback that captures the batches' task sizes.
137 auto callback = [&mu, local
162 TF_ASSERT_OK(scheduler->AddQueue(queue_options, callback, &queue));
174 // which should never get sent to the callback.)
199 auto callback = local
224 TF_ASSERT_OK(scheduler->AddQueue(queue_options, callback, &queue));
259 auto callback = [&first_batch_processed, &second_batch_processed]( local
280 TF_ASSERT_OK(scheduler->AddQueue(queue_options, callback, &queue));
302 auto callback = [&first_batch_processed, &second_batch_processed]( local
326 TF_ASSERT_OK(scheduler->AddQueue(queue_options, callback, &queue))
413 auto callback = [&processing, local
537 auto callback = local
    [all...]
  /external/testng/src/main/java/org/testng/internal/
MethodInvocationHelper.java 193 IHookCallBack callback = new IHookCallBack() { local
209 hookable.run(callback, testResult);
289 IConfigureCallBack callback = new IConfigureCallBack() { local
305 configurableInstance.run(callback, testResult);
  /external/v8/src/
transitions.cc 467 TraverseCallback callback,
478 TraverseTransitionTreeInternal(Map::cast(cell->value()), callback,
484 TraverseTransitionTreeInternal(transitions->GetTarget(i), callback, data);
488 callback, data); local
490 callback(map, data);
  /external/vixl/test/
test-runner.h 40 Test(const char* name, TestFunction* callback);
43 TestFunction* callback() { return callback_; } function in class:vixl::Test
102 // callback function.
  /external/vulkan-validation-layers/layers/
threading.cpp 75 // callback(s) for each one found (for use by vkDestroyInstance)
86 // Enable the temporary callback(s) here to catch cleanup issues:
106 // Disable and cleanup the temporary callback(s):
115 // Clean up logging callback, if any
117 VkDebugReportCallbackEXT callback = my_data->logging_callback.back(); local
118 layer_destroy_msg_callback(my_data->report_data, callback, pAllocator);
297 VKAPI_ATTR void VKAPI_CALL DestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback,
303 startWriteObject(my_data, callback);
305 my_data->instance_dispatch_table->DestroyDebugReportCallbackEXT(instance, callback, pAllocator);
306 layer_destroy_msg_callback(my_data->report_data, callback, pAllocator)
    [all...]
  /external/webrtc/webrtc/modules/pacing/
paced_sender_unittest.cc 27 class MockPacedSenderCallback : public PacedSender::Callback {
38 class PacedSenderPadding : public PacedSender::Callback {
62 class PacedSenderProbing : public PacedSender::Callback {
416 PacedSenderPadding callback; local
418 &clock_, &callback, kTargetBitrate, kPaceMultiplier * kTargetBitrate, 0));
434 static_cast<int>(8 * (media_bytes + callback.padding_sent()) /
731 PacedSenderProbing callback(expected_deltas_list, &clock_);
734 &callback,
744 while (callback.packets_sent() < kNumPackets) {
764 PacedSenderProbing callback(expected_deltas_list, &clock_)
    [all...]
  /external/webrtc/webrtc/modules/video_coding/
codec_database.cc 495 VCMReceiveCallback* callback = decoded_frame_callback->UserReceiveCallback(); local
496 if (callback)
497 callback->OnIncomingPayloadType(receive_codec_.plType);
  /external/webrtc/webrtc/modules/video_coding/codecs/h264/
h264_video_toolbox_decoder.cc 35 // in the decoder callback.
38 : callback(cb), timestamp(ts) {}
39 webrtc::DecodedImageCallback* callback; member in struct:internal::FrameDecodeParams
79 // This is the callback function that VideoToolbox calls when decode is
99 decode_params->callback->Decoded(decoded_frame);
160 DecodedImageCallback* callback) {
162 callback_ = callback;
h264_video_toolbox_encoder.cc 94 // in the encoder callback.
102 : callback(cb), width(w), height(h), render_time_ms(rtms), timestamp(ts) {
109 webrtc::EncodedImageCallback* callback; member in struct:internal::FrameEncodeParams
155 // This is the callback function that VideoToolbox calls when encode is
199 int result = encode_params->callback->Encoded(
202 LOG(LS_ERROR) << "Encoded callback failed: " << result;
305 EncodedImageCallback* callback) {
306 callback_ = callback;
330 // callback anymore.
  /external/webrtc/webrtc/modules/video_coding/codecs/vp8/
simulcast_encoder_adapter.cc 156 EncodedImageCallback* callback = streaminfos_.back().callback; local
158 delete callback;
223 EncodedImageCallback* callback = new AdapterEncodedImageCallback(this, i); local
224 encoder->RegisterEncodeCompleteCallback(callback);
225 streaminfos_.push_back(StreamInfo(encoder, callback, stream_codec.width,
312 EncodedImageCallback* callback) {
313 encoded_complete_callback_ = callback;
  /external/webrtc/webrtc/video/
send_statistics_proxy_unittest.cc 100 RtcpStatisticsCallback* callback = statistics_proxy_.get(); local
113 callback->StatisticsUpdated(ssrc_stats.rtcp_stats, ssrc);
127 callback->StatisticsUpdated(ssrc_stats.rtcp_stats, ssrc);
191 StreamDataCountersCallback* callback = statistics_proxy_.get(); local
206 callback->DataCountersUpdated(counters, ssrc);
222 callback->DataCountersUpdated(counters, ssrc);
  /external/wpa_supplicant_8/src/utils/
trace.c 36 static int callback(struct dl_phdr_info *info, size_t size, void *data) function
40 * "The first object visited by callback is the main program."
47 * application's shared objects and calls the function callback
49 * been processed or callback returns a nonzero value."
264 dl_iterate_phdr(callback, NULL);
  /frameworks/av/media/libaaudio/src/legacy/
AudioStreamRecord.cpp 114 // Setup the callback if there is one.
115 AudioRecord::callback_t callback = nullptr; local
120 callback = getLegacyCallback();
162 callback,
221 // If we have a callback then we need to convert the data into an internal float
229 // If we don't have a callback then we will read into an internal short array
332 // Enable callback before starting AudioTrack to avoid shutting
AudioStreamTrack.cpp 95 // Setup the callback if there is one.
96 AudioTrack::callback_t callback = nullptr; local
102 callback = getLegacyCallback();
151 callback,
276 // Enable callback before starting AudioTrack to avoid shutting
  /frameworks/av/packages/MediaComponents/src/com/android/media/
MediaPlaylistAgentImpl.java 51 @NonNull @CallbackExecutor Executor executor, @NonNull PlaylistEventCallback callback) {
55 if (callback == null) {
56 throw new IllegalArgumentException("callback shouldn't be null");
60 if (mCallbacks.get(callback) != null) {
61 Log.w(TAG, "callback is already added. Ignoring.");
64 mCallbacks.put(callback, executor);
70 @NonNull PlaylistEventCallback callback) {
71 if (callback == null) {
72 throw new IllegalArgumentException("callback shouldn't be null");
75 mCallbacks.remove(callback);
85 final PlaylistEventCallback callback = callbacks.keyAt(i); local
96 final PlaylistEventCallback callback = callbacks.keyAt(i); local
107 final PlaylistEventCallback callback = callbacks.keyAt(i); local
118 final PlaylistEventCallback callback = callbacks.keyAt(i); local
    [all...]
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3OutputStream.cpp 752 sp<Camera3StreamBufferFreedListener> callback = mBufferFreedListener.promote(); local
753 if (callback != nullptr) {
755 callback->onBufferFreed(mId, gb->handle);
  /frameworks/base/core/java/android/animation/
AnimationHandler.java 91 * Register to get a callback on the next frame after the delay.
93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) {
97 if (!mAnimationCallbacks.contains(callback)) {
98 mAnimationCallbacks.add(callback);
102 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay));
107 * Register to get a one shot callback for frame commit timing. Frame commit timing is the
114 * animation frame callbacks. This callback will be guaranteed to happen *after* the next
115 * animation frame callback.
117 public void addOneShotCommitCallback(final AnimationFrameCallback callback) {
118 if (!mCommitCallbacks.contains(callback)) {
141 final AnimationFrameCallback callback = mAnimationCallbacks.get(i); local
    [all...]
  /frameworks/base/core/java/android/app/job/
JobParameters.java 67 private final IBinder callback; field in class:JobParameters
77 public JobParameters(IBinder callback, int jobId, PersistableBundle extras,
86 this.callback = callback;
277 return IJobCallback.Stub.asInterface(callback);
291 callback = in.readStrongBinder();
327 dest.writeStrongBinder(callback);
  /frameworks/base/core/java/android/content/pm/permission/
RuntimePermissionPresenter.java 107 * @param callback Callback to receive the result.
108 * @param handler Handler on which to invoke the callback.
111 @NonNull OnResultCallback callback, @Nullable Handler handler) {
114 args.arg2 = callback;
200 final OnResultCallback callback = (OnResultCallback) args.arg2; local
228 callback.onGetAppPermissions(reportedPermissions);
232 callback.onGetAppPermissions(reportedPermissions);
  /frameworks/base/core/java/android/os/
Message.java 107 /*package*/ Runnable callback; field in class:Message
158 m.callback = orig.callback;
176 * Same as {@link #obtain(Handler)}, but assigns a callback Runnable on
179 * @param callback Runnable that will execute when the message is handled.
182 public static Message obtain(Handler h, Runnable callback) {
185 m.callback = callback;
307 callback = null;
322 * target/callback of the original message
    [all...]
  /frameworks/base/core/java/android/printservice/
PrinterDiscoverySession.java 134 * destroyed, that is after the {@link #onDestroy()} callback, will be ignored.
157 * destroyed, that is after the {@link #onDestroy()} callback, will be ignored.
221 * destroyed, that is after the {@link #onDestroy()} callback, will be ignored.
326 * Callback asking you to start printer discovery. Discovered printers should be
358 * Callback notifying you that you should stop printer discovery.
366 * Callback asking you to validate that the given printers are valid, that
383 * Callback asking you to start tracking the state of a printer. Tracking
417 * @param callback Callback for returning the icon to the system.
423 @NonNull CustomPrinterIconCallback callback) {
537 CustomPrinterIconCallback callback = new CustomPrinterIconCallback(printerId, local
    [all...]
  /frameworks/base/core/java/android/service/carrier/
CarrierMessagingService.java 54 * The default bitmask value passed to the callback of {@link #onReceiveTextSms} with all
64 * Used to set the flag in the bitmask passed to the callback of {@link #onReceiveTextSms} to
70 * Used to set the flag in the bitmask passed to the callback of {@link #onReceiveTextSms} to
121 * @param callback result callback. Call with {@code true} to keep an inbound SMS message and
127 int subId, @NonNull ResultCallback<Boolean> callback) {
130 callback.onReceiveResult(true);
138 * <p>This method will be called once for every incoming text SMS. You can invoke the callback
143 * set when invoking the callback.
149 * @param callback result callback. Call with a bitmask integer to indicate how the incomin
    [all...]
  /frameworks/base/core/java/android/view/
AccessibilityInteractionController.java 154 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
164 args.arg1 = callback;
275 Slog.e(LOG_TAG, "Surprising AccessibilityRequestPreparer callback (likely late)");
314 final IAccessibilityInteractionConnectionCallback callback = local
341 infos, callback, interactionId, spec, interactiveRegion);
347 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
356 args.arg1 = callback;
371 final IAccessibilityInteractionConnectionCallback callback = local
406 infos, callback, interactionId, spec, interactiveRegion);
412 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid
436 final IAccessibilityInteractionConnectionCallback callback = local
527 final IAccessibilityInteractionConnectionCallback callback = local
621 final IAccessibilityInteractionConnectionCallback callback = local
681 final IAccessibilityInteractionConnectionCallback callback = local
    [all...]
  /frameworks/base/core/java/android/view/textclassifier/
SystemTextClassifier.java 72 final TextSelectionCallback callback = new TextSelectionCallback(); local
73 mManagerService.onSuggestSelection(mSessionId, request, callback);
74 final TextSelection selection = callback.mReceiver.get();
93 final TextClassificationCallback callback = new TextClassificationCallback(); local
94 mManagerService.onClassifyText(mSessionId, request, callback);
95 final TextClassification classification = callback.mReceiver.get();
120 final TextLinksCallback callback = new TextLinksCallback(); local
121 mManagerService.onGenerateLinks(mSessionId, request, callback);
122 final TextLinks links = callback.mReceiver.get();
  /frameworks/base/core/java/com/android/internal/os/
KernelUidCpuTimeReader.java 42 KernelUidCpuTimeReaderBase<KernelUidCpuTimeReader.Callback> {
48 * Callback interface for processing each line of the proc file.
50 public interface Callback extends KernelUidCpuTimeReaderBase.Callback {
64 * Reads the proc file, calling into the callback with a delta of time for each UID.
66 * @param callback The callback to invoke for each line of the proc file. If null,
71 protected void readDeltaImpl(@Nullable Callback callback) {
87 // Only report if there is a callback and if this is not the first read
    [all...]

Completed in 494 milliseconds

<<21222324252627282930>>