HomeSort by relevance Sort by last modified time
    Searched refs:Callback (Results 201 - 225 of 1790) sorted by null

1 2 3 4 5 6 7 891011>>

  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/
ReportStatusCodeRouterPei.c 73 Register the callback function for ReportStatusCode() notification.
76 ReportStatusCode() will be forwarded to the Callback function.
78 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
82 @retval EFI_INVALID_PARAMETER The callback function was NULL.
91 IN EFI_PEI_RSC_HANDLER_CALLBACK Callback
101 if (Callback == NULL) {
120 if (CallbackEntry[Index] == Callback) {
144 CallbackEntry[FreeEntryIndex] = Callback;
148 // If new registered callback is added as a new entry in the packet,
158 Remove a previously registered callback function from the notification list.
    [all...]
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.cc 58 Callback::Callback(Thread *thr)
64 u32 Callback::Unwind() {
115 Callback cb(thr);
128 Callback cb(thr);
141 Callback cb(thr);
152 Callback cb(thr);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ListenerCallQueueTest.java 21 import com.google.common.util.concurrent.ListenerCallQueue.Callback;
35 private static final Callback<Object> THROWING_CALLBACK = new Callback<Object>("throwing()") {
123 private Callback<Object> incrementingCallback(final AtomicInteger counter, final int expected) {
124 return new Callback<Object>("incrementing") {
131 private Callback<Object> countDownCallback(final CountDownLatch latch) {
132 return new Callback<Object>("countDown") {
  /external/v8/src/
splay-tree.h 149 template <class Callback>
150 void ForEach(Callback* callback);
167 template<class Callback>
170 explicit NodeToPairAdaptor(Callback* callback)
171 : callback_(callback) { }
177 Callback* callback_;
191 template <class Callback>
192 void ForEachNode(Callback* callback)
    [all...]
  /frameworks/av/camera/ndk/impl/
ACameraManager.h 51 const ACameraManager_AvailabilityCallbacks *callback);
53 const ACameraManager_AvailabilityCallbacks *callback);
93 struct Callback {
94 explicit Callback(const ACameraManager_AvailabilityCallbacks *callback) :
95 mAvailable(callback->onCameraAvailable),
96 mUnavailable(callback->onCameraUnavailable),
97 mContext(callback->context) {}
99 bool operator == (const Callback& other) const {
104 bool operator != (const Callback& other) const
    [all...]
  /frameworks/base/core/java/android/hardware/location/
ContextHubManager.java 46 private Callback mCallback;
58 public abstract static class Callback {
59 protected Callback() {}
62 * Callback function called on message receipt from context hub.
77 * @deprecated Use {@link Callback} instead.
83 * Callback function called on message receipt from context hub.
131 * string via a call to Callback.onMessageReceipt.
158 * delivered in a byte string via a call to Callback.onMessageReceipt.
239 * Callback.onMessageReceipt).
259 * Set a callback to receive messages from the context hu
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
BaseSurfaceHolder.java 34 public final ArrayList<SurfaceHolder.Callback> mCallbacks
35 = new ArrayList<SurfaceHolder.Callback>();
36 SurfaceHolder.Callback[] mGottenCallbacks;
74 public void addCallback(Callback callback) {
78 if (mCallbacks.contains(callback) == false) {
79 mCallbacks.add(callback);
84 public void removeCallback(Callback callback) {
86 mCallbacks.remove(callback);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
AutoTileManager.java 32 import com.android.systemui.statusbar.policy.HotspotController.Callback;
85 private final ManagedProfileController.Callback mProfileCallback =
86 new ManagedProfileController.Callback() {
116 private final HotspotController.Callback mHotspotCallback = new Callback() {
129 final NightDisplayController.Callback mNightDisplayCallback =
130 new NightDisplayController.Callback() {
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyCallStateListener.java 33 * Helper class that listens to a Phone's radio state and sends a callback when the radio state of
41 interface Callback {
65 EmergencyCallStateListener.Callback callback =
66 (EmergencyCallStateListener.Callback) args.arg2;
67 startSequenceInternal(phone, callback);
86 private Callback mCallback; // The callback to notify upon completion.
104 public void waitForRadioOn(Phone phone, Callback callback) {
    [all...]
EmergencyCallHelper.java 38 public class EmergencyCallHelper implements EmergencyCallStateListener.Callback {
41 private EmergencyCallStateListener.Callback mCallback;
75 public void enableEmergencyCalling(EmergencyCallStateListener.Callback callback) {
77 mCallback = callback;
93 * get an onServiceStateChanged() callback when the radio successfully comes up.
  /frameworks/base/telecomm/java/android/telecom/
RemoteConnection.java 50 * Callback base class for {@link RemoteConnection}.
52 public static abstract class Callback {
282 * Callback class used by the {@link RemoteConnection.VideoProvider} to relay events from
285 public abstract static class Callback {
292 * @see InCallService.VideoCall.Callback#onSessionModifyRequestReceived(VideoProfile)
307 * @see InCallService.VideoCall.Callback#onSessionModifyResponseReceived(int,
324 * @see InCallService.VideoCall.Callback#onCallSessionEvent(int)
336 * @see InCallService.VideoCall.Callback#onPeerDimensionsChanged(int, int)
348 * @see InCallService.VideoCall.Callback#onCallDataUsageChanged(long)
359 * @see InCallService.VideoCall.Callback#onCameraCapabilitiesChanged
1184 final Callback callback = record.getCallback(); local
1205 final Callback callback = record.getCallback(); local
1224 final Callback callback = record.getCallback(); local
1242 final Callback callback = record.getCallback(); local
1259 final Callback callback = record.getCallback(); local
1282 final Callback callback = record.getCallback(); local
1302 final Callback callback = record.getCallback(); local
1318 final Callback callback = record.getCallback(); local
1335 final Callback callback = record.getCallback(); local
1352 final Callback callback = record.getCallback(); local
1367 final Callback callback = record.getCallback(); local
1382 final Callback callback = record.getCallback(); local
1398 final Callback callback = record.getCallback(); local
1414 final Callback callback = record.getCallback(); local
1431 final Callback callback = record.getCallback(); local
1448 final Callback callback = record.getCallback(); local
1487 final Callback callback = record.getCallback(); local
1501 final Callback callback = record.getCallback(); local
1515 final Callback callback = record.getCallback(); local
1525 final Callback callback = record.getCallback(); local
1535 final Callback callback = record.getCallback(); local
1545 final Callback callback = record.getCallback(); local
    [all...]
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseBasicsTestCase.java 133 // Create a mock action mode callback which returns true from onCreateActionMode
134 final ActionMode.Callback callback = mock(ActionMode.Callback.class); local
135 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(true);
138 final ActionMode actionMode = activity.startSupportActionMode(callback);
142 verify(callback).onCreateActionMode(any(ActionMode.class), any(Menu.class));
143 verify(callback).onPrepareActionMode(any(ActionMode.class), any(Menu.class));
148 verify(callback).onDestroyActionMode(any(ActionMode.class));
149 verifyNoMoreInteractions(callback);
158 final ActionMode.Callback callback = mock(ActionMode.Callback.class); local
182 final ActionMode.Callback callback = mock(ActionMode.Callback.class); local
    [all...]
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerSpoofingTest.java 82 final LauncherApps.Callback c0_1 = mock(LauncherApps.Callback.class);
83 final LauncherApps.Callback c0_2 = mock(LauncherApps.Callback.class);
84 final LauncherApps.Callback c0_3 = mock(LauncherApps.Callback.class);
112 // Because of the handlers, callback calls are not synchronous.
  /external/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 11 // over the AST and invokes a given callback on every match.
14 // subtree match on the AST. Next, a callback that is executed every time the
17 // be accessed from the registered callback. The callback can than use the
193 /// \brief Registers a callback to notify the end of parsing.
226 /// Collects the \c BoundNodes of all callback invocations when matching
245 /// \p Context and collects the \c BoundNodes of all callback invocations.
283 internal::CollectMatchesCallback Callback;
285 Finder.addMatcher(Matcher, &Callback);
287 return std::move(Callback.Nodes)
    [all...]
  /external/libchrome/dbus/
object_proxy.h 16 #include "base/callback.h"
71 typedef base::Callback<void(ErrorResponse*)> ErrorCallback;
74 typedef base::Callback<void(Response*)> ResponseCallback;
77 typedef base::Callback<void (Signal*)> SignalCallback;
80 typedef base::Callback<void(
85 typedef base::Callback<void(
93 typedef base::Callback<void (const std::string&, const std::string&, bool)>
115 // |callback| will be called in the origin thread, once the method call
116 // is complete. As it's called in the origin thread, |callback| can
120 // EmptyResponseCallback() can be passed to the |callback| parameter
    [all...]
  /frameworks/base/media/java/android/media/projection/
MediaProjectionManager.java 55 private Map<Callback, CallbackDelegate> mCallbacks;
126 * Add a callback to monitor all of the {@link MediaProjection}s activity.
130 public void addCallback(@NonNull Callback callback, @Nullable Handler handler) {
131 if (callback == null) {
132 throw new IllegalArgumentException("callback must not be null");
134 CallbackDelegate delegate = new CallbackDelegate(callback, handler);
135 mCallbacks.put(callback, delegate);
144 * Remove a MediaProjection monitoring callback.
147 public void removeCallback(@NonNull Callback callback)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
InsertQuickResponseDialog.java 43 * Callback.onQuickResponseSelected() with the selected QuickResponse text.
50 * Callback interface for when user selects a QuickResponse.
52 public interface Callback {
65 * @param callbackFragment fragment that implements {@link Callback}. Or null, in which case
66 * the parent activity must implement {@link Callback}.
72 // If a target is set, it MUST implement Callback. Fail-fast if not.
74 if (!(callbackFragment instanceof Callback)) {
76 + " must implement Callback");
89 // If target not set, the parent activity MUST implement Callback. Fail-fast if not.
92 if (!(getActivity() instanceof Callback)) {
    [all...]
  /frameworks/base/core/java/com/android/server/net/
NetworkPinner.java 70 private static Callback sCallback;
88 private static class Callback extends NetworkCallback {
121 sCallback = new Callback();
125 Log.d(TAG, "Failed to register network callback", e);
139 Log.d(TAG, "Failed to unregister network callback", e);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FilterSurfaceView.java 28 public class FilterSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
35 private SurfaceHolder.Callback mListener;
52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) {
108 // Forward callback to listener
  /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
MainInteractionService.java 23 import android.service.voice.AlwaysOnHotwordDetector.Callback;
35 private final Callback mHotwordCallback = new Callback() {
  /frameworks/support/media-compat/java/android/support/v4/media/
VolumeProviderCompat.java 68 private Callback mCallback;
149 * Sets a callback to receive volume changes.
154 public void setCallback(Callback callback) {
155 mCallback = callback;
189 public static abstract class Callback {
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteDiscoveryFragment.java 27 * This fragment takes care of registering a callback for media route discovery
33 * provide the {@link MediaRouter} callback to register.
35 * Note that the discovery callback makes the application be connected with all the
45 private MediaRouter.Callback mCallback;
116 * Called to create the {@link android.support.v7.media.MediaRouter.Callback callback}
119 * The default callback does nothing. The application may override this method to
120 * supply its own callback.
123 * @return The new callback, or null if no callback should be registered
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
UnsupportedCallbackExceptionTest.java 18 package org.apache.harmony.tests.javax.security.auth.callback;
22 import javax.security.auth.callback.UnsupportedCallbackException;
23 import javax.security.auth.callback.Callback;
38 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#UnsupportedCallbackException(Callback callback)
39 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#getCallback()
43 Callback c = null;
50 * javax.security.auth.callback.UnsupportedCallbackExceptionTest#UnsupportedCallbackException(Callback callback
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/
RepeatFailureDetector.java 24 import com.android.camera.util.Callback;
41 private final Callback<String> mRecoverySuccessCallback;
81 Callback<String> recoverySuccessCallback) {
  /packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
SuggestionDismissController.java 30 public interface Callback {
33 * Returns suggestion tile data from the callback
46 private final Callback mCallback;
49 SuggestionParser parser, Callback callback) {
55 mCallback = callback;

Completed in 2565 milliseconds

1 2 3 4 5 6 7 891011>>