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

12 3 4 5 6 7 8 91011>>

  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
MenuHelper.java 23 void setPresenterCallback(MenuPresenter.Callback cb);
  /libcore/ojluni/src/main/java/javax/security/auth/callback/
CallbackHandler.java 26 package javax.security.auth.callback;
75 * instance(s) of the {@code Callback} object(s) passed in
83 * public void handle(Callback[] callbacks)
127 * (callbacks[i], "Unrecognized Callback");
138 * @param callbacks an array of {@code Callback} objects provided
148 void handle(Callback[] callbacks)
  /packages/apps/Camera2/src/com/android/camera/async/
FilteredCallback.java 19 import com.android.camera.util.Callback;
28 * Wraps a callback by filtering out duplicate invocations.
31 public final class FilteredCallback<T> implements Callback<T> {
32 private final Callback<T> mCallback;
36 public FilteredCallback(Callback<T> callback) {
37 mCallback = callback;
  /packages/apps/Camera2/src/com/android/camera/util/
Callback.java 22 * Simple callback.
25 public interface Callback<T> {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfilePinDialogFragment.java 32 public interface Callback extends ResultListener {
79 Callback callback = null; local
82 if (f instanceof Callback) {
83 callback = (Callback) f;
86 if (callback == null && getActivity() instanceof Callback) {
87 callback = (Callback) getActivity()
97 Callback callback = null; local
118 Callback callback = null; local
    [all...]
  /system/tpm/attestation/common/
attestation_interface.h 43 base::Callback<void(const CreateGoogleAttestedKeyReply&)>;
46 const CreateGoogleAttestedKeyCallback& callback) = 0;
49 using GetKeyInfoCallback = base::Callback<void(const GetKeyInfoReply&)>;
51 const GetKeyInfoCallback& callback) = 0;
56 base::Callback<void(const GetEndorsementInfoReply&)>;
59 const GetEndorsementInfoCallback& callback) = 0;
64 base::Callback<void(const GetAttestationKeyInfoReply&)>;
67 const GetAttestationKeyInfoCallback& callback) = 0;
72 base::Callback<void(const ActivateAttestationKeyReply&)>;
75 const ActivateAttestationKeyCallback& callback) = 0
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
GnssStatusCallbackTest.java 22 private static class MockCallback extends GnssStatus.Callback {
26 GnssStatus.Callback callback = new MockCallback(); local
27 callback.onStarted();
28 callback.onFirstFix(10);
29 callback.onSatelliteStatusChanged(null);
30 callback.onStopped();
GnssMeasurementsEventCallbackTest.java 24 private static class MockCallback extends GnssMeasurementsEvent.Callback {
28 GnssMeasurementsEvent.Callback callback = new MockCallback(); local
34 callback.onGnssMeasurementsReceived(event);
35 callback.onStatusChanged(GnssMeasurementsEvent.Callback.STATUS_READY);
  /external/libmojo/base/android/
base_jni_onload.h 12 #include "base/callback.h"
19 typedef base::Callback<bool(JNIEnv*)> RegisterCallback;
26 typedef base::Callback<bool(void)> InitCallback;
  /external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
AsyncWaiter.java 21 * or the callback has already been called.
29 * Callback passed to {@link AsyncWaiter#asyncWait}.
31 public interface Callback {
44 * Asynchronously call wait on a background thread. The given {@link Callback} will be notified
48 * should only be used on the current thread, and becomes invalid once the callback has
51 Cancellable asyncWait(Handle handle, HandleSignals signals, long deadline, Callback callback);
  /frameworks/support/design/src/android/support/design/widget/
SnackbarManager.java 52 mHandler = new Handler(Looper.getMainLooper(), new Handler.Callback() {
65 interface Callback {
70 public void show(int duration, Callback callback) {
72 if (isCurrentSnackbarLocked(callback)) {
73 // Means that the callback is already in the queue. We'll just update the duration
81 } else if (isNextSnackbarLocked(callback)) {
86 mNextSnackbar = new SnackbarRecord(duration, callback);
90 Snackbar.Callback.DISMISS_EVENT_CONSECUTIVE)) {
102 public void dismiss(Callback callback, int event)
171 final WeakReference<Callback> callback; field in class:SnackbarManager.SnackbarRecord
190 final Callback callback = mCurrentSnackbar.callback.get(); local
201 final Callback callback = record.callback.get(); local
    [all...]
  /hardware/libhardware/include/hardware/
ble_scanner.h 26 /** Callback invoked when batchscan reports are obtained */
31 /** Callback invoked when batchscan storage threshold limit is crossed */
34 /** Track ADV VSE callback invoked when tracked device is found or lost */
38 /** Callback for scan results */
58 base::Callback<void(uint8_t /* scanner_id */, uint8_t /* status */)>;
60 using Callback = base::Callback<void(uint8_t /* status */)>;
63 base::Callback<void(uint8_t /* action */, uint8_t /* status */)>;
66 base::Callback<void(uint8_t /* avbl_space */, uint8_t /* action_type */,
70 base::Callback<void(uint8_t /* filt_type */, uint8_t /* avbl_space */
    [all...]
  /frameworks/base/location/java/android/location/
GnssMeasurementCallbackTransport.java 23 * A handler class to manage transport callbacks for {@link GnssMeasurementsEvent.Callback}.
28 extends LocalListenerHelper<GnssMeasurementsEvent.Callback> {
53 ListenerOperation<GnssMeasurementsEvent.Callback> operation =
54 new ListenerOperation<GnssMeasurementsEvent.Callback>() {
56 public void execute(GnssMeasurementsEvent.Callback callback)
58 callback.onGnssMeasurementsReceived(event);
66 ListenerOperation<GnssMeasurementsEvent.Callback> operation =
67 new ListenerOperation<GnssMeasurementsEvent.Callback>() {
69 public void execute(GnssMeasurementsEvent.Callback callback
    [all...]
GnssNavigationMessageCallbackTransport.java 23 * A handler class to manage transport callback for {@link GnssNavigationMessage.Callback}.
28 extends LocalListenerHelper<GnssNavigationMessage.Callback> {
55 ListenerOperation<GnssNavigationMessage.Callback> operation =
56 new ListenerOperation<GnssNavigationMessage.Callback>() {
58 public void execute(GnssNavigationMessage.Callback callback)
60 callback.onGnssNavigationMessageReceived(event);
68 ListenerOperation<GnssNavigationMessage.Callback> operation =
69 new ListenerOperation<GnssNavigationMessage.Callback>() {
    [all...]
  /cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
MainRecognitionService.java 36 protected void onStartListening(Intent recognizerIntent, Callback listener) {
41 protected void onCancel(Callback listener) {
46 protected void onStopListening(Callback listener) {
  /cts/tests/tests/assist/service/src/android/voiceinteraction/service/
MainRecognitionService.java 36 protected void onStartListening(Intent recognizerIntent, Callback listener) {
41 protected void onCancel(Callback listener) {
46 protected void onStopListening(Callback listener) {
  /cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
MainRecognitionService.java 36 protected void onStartListening(Intent recognizerIntent, Callback listener) {
41 protected void onCancel(Callback listener) {
46 protected void onStopListening(Callback listener) {
  /cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
MainRecognitionService.java 36 protected void onStartListening(Intent recognizerIntent, Callback listener) {
41 protected void onCancel(Callback listener) {
46 protected void onStopListening(Callback listener) {
  /external/clang/include/clang/Analysis/Analyses/
ReachableCode.h 48 class Callback {
51 virtual ~Callback() {}
65 Callback &CB);
  /external/libchrome/base/
callback_helpers.h 6 // are implemented using templates, with a class per callback signature, adding
7 // methods to Callback<> itself is unattractive (lots of extra code gets
10 // ResetAndReturn(&cb) is like cb.Reset() but allows executing a callback (via a
11 // copy) after the original callback is Reset(). This can be handy if Run()
12 // reads/writes the variable holding the Callback.
17 #include "base/callback.h"
24 base::Callback<Sig> ResetAndReturn(base::Callback<Sig>* cb) {
25 base::Callback<Sig> ret(*cb);
  /external/libchrome/base/profiler/
scoped_tracker.h 47 // Augments a |callback| with provided |location|. This is useful for
48 // instrumenting cases when we know that a jank is in a callback and there are
51 // passes the janky callback.
53 static base::Callback<void(P1)> TrackCallback(
55 const base::Callback<void(P1)>& callback) {
57 callback);
61 // Executes |callback|, augmenting it with provided |location|.
64 const base::Callback<void(P1)>& callback,
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
mouse_cursor_monitor.h 43 // Callback interface used to pass current mouse cursor position and shape.
44 class Callback {
56 virtual ~Callback() {}
75 // Initializes the monitor with the |callback|, which must remain valid until
77 virtual void Init(Callback* callback, Mode mode) = 0;
80 // to Init()). Calls Callback::OnMouseCursor() if cursor shape has
82 // time) and then Callback::OnMouseCursorPosition() if mode is set to
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeHost.java 26 void addCallback(@NonNull Callback callback);
27 void removeCallback(@NonNull Callback callback);
29 void pulseWhileDozing(@NonNull PulseCallback callback, int reason);
41 interface Callback {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSHost.java 31 void addCallback(Callback callback);
32 void removeCallback(Callback callback);
38 interface Callback {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
CastController.java 20 import com.android.systemui.statusbar.policy.CastController.Callback;
24 public interface CastController extends CallbackController<Callback>, Dumpable {
31 public interface Callback {

Completed in 2038 milliseconds

12 3 4 5 6 7 8 91011>>