HomeSort by relevance Sort by last modified time
    Searched refs:Callback (Results 76 - 100 of 2033) sorted by null

1 2 34 5 6 7 8 91011>>

  /libcore/support/src/test/java/tests/util/
ForEachRunner.java 20 * Runner which executes the provided code under test (via a callback) for each provided input
26 * Callback parameterized with a value.
28 public interface Callback<T> {
30 * Invokes the callback for the provided value.
38 * Invokes the provided callback for each of the provided named values.
44 public static <T> void runNamed(Callback<T> callback, Iterable<Pair<String, T>> namesAndValues)
48 callback.run(nameAndValue.getSecond());
  /external/libchrome/base/
callback_unittest.cc 5 #include "base/callback.h"
19 // White-box testpoints to inject into a Callback<> object for checking
54 Callback<void()> callback_a_;
55 const Callback<void()> callback_b_; // Ensure APIs work with const.
56 Callback<void()> null_callback_;
62 Callback<void()> c0;
63 Callback<void(int)> c1;
64 Callback<void(int,int)> c2;
65 Callback<void(int,int,int)> c3;
66 Callback<void(int,int,int,int)> c4
    [all...]
cancelable_callback.h 5 // CancelableCallback is a wrapper around base::Callback that allows
6 // cancellation of a callback. CancelableCallback takes a reference on the
7 // wrapped callback until this object is destroyed or Reset()/Cancel() are
13 // default-constructed state, i.e., CancelableCallback::callback() will return
14 // a null callback.
25 // Quit()s the message loop within 4 seconds. The cancelable callback is posted
27 // then the callback is cancelled.
35 // MessageLoop::current()->PostDelayedTask(FROM_HERE, timeout.callback(),
39 // timeout.Cancel(); // Hopefully this is hit before the timeout callback runs.
49 #include "base/callback.h
102 const base::Callback<void(A...)>& callback() const { function in class:base::CancelableCallback
    [all...]
bind.h 14 // See base/callback.h for documentation.
28 inline base::Callback<MakeUnboundRunType<Functor, Args...>> Bind(
35 using CallbackType = Callback<UnboundRunType>;
  /packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
InCallServiceImpl.java 38 private CopyOnWriteArrayList<Callback> mCallbacks = new CopyOnWriteArrayList<>();
58 for (Callback callback : mCallbacks) {
59 callback.onTelecomCallAdded(telecomCall);
68 for (Callback callback : mCallbacks) {
69 callback.onTelecomCallRemoved(telecomCall);
86 private final Call.Callback mCallListener = new Call.Callback() {
118 for (Callback callback : mCallbacks)
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
TestGnssNavigationMessageListener.java 32 class TestGnssNavigationMessageListener extends GnssNavigationMessage.Callback {
62 if (mStatus != GnssNavigationMessage.Callback.STATUS_READY) {
87 case GnssNavigationMessage.Callback.STATUS_NOT_SUPPORTED:
91 case GnssNavigationMessage.Callback.STATUS_READY:
93 case GnssNavigationMessage.Callback.STATUS_LOCATION_DISABLED:
97 Assert.fail("GnssNavigationMessage status callback was not received.");
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
ZenModeControllerImplTest.java 28 import com.android.systemui.statusbar.policy.ZenModeController.Callback;
38 private Callback mCallback;
43 mCallback = new Callback() {
50 Callback mockCallback = mock(Callback.class);
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDelegateImplV23.java 30 AppCompatDelegateImplV23(Context context, Window window, AppCompatCallback callback) {
31 super(context, window, callback);
37 Window.Callback wrapWindowCallback(Window.Callback callback) {
38 // Override the window callback so that we can intercept onWindowStartingActionMode(type)
40 return new AppCompatWindowCallbackV23(callback);
56 AppCompatWindowCallbackV23(Window.Callback callback) {
57 super(callback);
    [all...]
AppCompatDelegateImplN.java 30 AppCompatDelegateImplN(Context context, Window window, AppCompatCallback callback) {
31 super(context, window, callback);
35 Window.Callback wrapWindowCallback(Window.Callback callback) {
36 return new AppCompatWindowCallbackN(callback);
40 AppCompatWindowCallbackN(Window.Callback callback) {
41 super(callback);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
CtsVisualVoicemailService.java 29 public abstract static class Callback {
38 private static Callback sCallback;
40 public static void setCallback(Callback callback) {
41 sCallback = callback;
  /external/clang/unittests/Analysis/
CFGTest.cpp 45 } Callback;
48 Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback);
53 EXPECT_TRUE(Callback.SawFunctionBody);
  /external/libmojo/mojo/edk/test/
multiprocess_test_helper.h 10 #include "base/callback.h"
28 using HandlerCallback = base::Callback<void(ScopedMessagePipeHandle)>;
46 void set_process_error_callback(const ProcessErrorCallback& callback) {
47 process_error_callback_ = callback;
68 static int RunClientMain(const base::Callback<int(MojoHandle)>& main);
69 static int RunClientTestMain(const base::Callback<void(MojoHandle)>& main);
  /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/desktop_capture/
cropping_window_capturer.h 25 public DesktopCapturer::Callback {
31 void Start(DesktopCapturer::Callback* callback) override;
40 // DesktopCapturer::Callback implementation, passed to |screen_capturer_| to
64 DesktopCapturer::Callback* callback_;
window_capturer_null.cc 32 void Start(Callback* callback) override;
36 Callback* callback_;
63 void WindowCapturerNull::Start(Callback* callback) {
65 assert(callback);
67 callback_ = callback;
  /frameworks/base/media/java/android/media/
VolumeProvider.java 64 private Callback mCallback;
147 * Sets a callback to receive volume changes.
150 public void setCallback(Callback callback) {
151 mCallback = callback;
158 public static abstract class Callback {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BluetoothController.java 21 import com.android.systemui.statusbar.policy.BluetoothController.Callback;
25 public interface BluetoothController extends CallbackController<Callback>, Dumpable {
44 public interface Callback {
ZenModeController.java 25 import com.android.systemui.statusbar.policy.ZenModeController.Callback;
27 public interface ZenModeController extends CallbackController<Callback> {
39 public static interface Callback {
  /packages/apps/Settings/src/com/android/settings/notification/
AlarmVolumePreferenceController.java 23 import com.android.settings.notification.VolumeSeekBarPreference.Callback;
32 public AlarmVolumePreferenceController(Context context, Callback callback,
34 this(context, callback, lifecycle, new AudioHelper(context));
38 AlarmVolumePreferenceController(Context context, Callback callback, Lifecycle lifecycle,
40 super(context, callback, lifecycle);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
ObjectCache.java 30 public interface Callback<T> {
37 private final Callback<T> mCallback;
42 * @param callbacks Callback object that that will return a new instance of the object, and
45 public ObjectCache(Callback<T> callbacks, int maxSize) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
FindFiles.c 55 FIND_FILE_CALLBACK Callback
63 FIND_FILE_CALLBACK Callback
74 Callback - function to call for each file found
110 return ProcessDirectory (FullPath, FileMask, Callback);
118 FIND_FILE_CALLBACK Callback
129 Callback - function to call for each file found
155 if (Callback (TempName) != 0) {
191 if (ProcessDirectory (TempName, FileMask, Callback) != 0) {
  /frameworks/base/telecomm/java/android/telecom/
RemoteConference.java 38 * {@link RemoteConnection.Callback}.
45 * Callback base class for {@link RemoteConference}.
47 public abstract static class Callback {
137 private final Set<CallbackRecord<Callback>> mCallbackRecords = new CopyOnWriteArraySet<>();
167 for (CallbackRecord<Callback> record : mCallbackRecords) {
169 final Callback callback = record.getCallback(); local
173 callback.onDestroyed(conference);
192 for (CallbackRecord<Callback> record : mCallbackRecords) {
194 final Callback callback = record.getCallback() local
212 final Callback callback = record.getCallback(); local
230 final Callback callback = record.getCallback(); local
247 final Callback callback = record.getCallback(); local
265 final Callback callback = record.getCallback(); local
283 final Callback callback = record.getCallback(); local
301 final Callback callback = record.getCallback(); local
340 final Callback callback = record.getCallback(); local
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
ReportStatusCodeHandler.h 35 Register the callback function for ReportStatusCode() notification.
38 ReportStatusCode() will be forwarded to the Callback function. During the bootservices,
39 this is the callback for which this service can be invoked. The report status code router
40 will create an event such that the callback function is only invoked at the TPL for which it was
41 registered. The entity that registers for the callback should also register for an event upon
43 If the handler does not have a TPL dependency, it should register for a callback at TPL high. The
47 2. not unregister at exit boot services so that the router will still have its callback address
51 @param[in] Callback A pointer to a function of type EFI_RSC_HANDLER_CALLBACK that is called when
53 @param[in] Tpl TPL at which callback can be safely invoked.
56 @retval EFI_INVALID_PARAMETER The callback function was NULL.
    [all...]
SmmReportStatusCodeHandler.h 34 Register the callback function for ReportStatusCode() notification.
37 ReportStatusCode() will be forwarded to the Callback function.
39 @param[in] Callback A pointer to a function of type EFI_RSC_HANDLER_CALLBACK that is called when
43 @retval EFI_INVALID_PARAMETER The callback function was NULL.
51 IN EFI_SMM_RSC_HANDLER_CALLBACK Callback
55 Remove a previously registered callback function from the notification list.
57 A callback function must be unregistered before it is deallocated. It is important that any registered
60 @param[in] Callback A pointer to a function of type EFI_SMM_RSC_HANDLER_CALLBACK that is to be
64 @retval EFI_INVALID_PARAMETER The callback function was NULL.
65 @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
ArchiveOpenCallback.cpp 21 if (!Callback)
23 return Callback->Open_SetTotal(files, bytes);
32 if (!Callback)
34 return Callback->Open_SetCompleted(files, bytes);
88 if (Callback)
90 RINOK(Callback->Open_CheckBreak());
148 if (!Callback)
151 return Callback->Open_CryptoGetTextPassword(password);

Completed in 719 milliseconds

1 2 34 5 6 7 8 91011>>