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

1 2 3 4 56 7 8 91011>>

  /packages/apps/Email/src/com/android/email/activity/setup/
SecurityRequiredDialogFragment.java 45 public interface Callback {
48 * Callback for the result of this dialog fragment
84 final Callback callback = (Callback) getActivity();
85 callback.onSecurityRequiredDialogResult(true);
102 final Callback callback = (Callback) getActivity();
103 if (callback != null)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
FormatAsPrivateStepFragment.java 35 public interface Callback {
77 final Callback callback = (Callback) getActivity(); local
78 callback.onCancelFormatDialog();
80 final Callback callback = (Callback) getActivity(); local
81 callback.onRequestFormatAsPrivate(getArguments().getString(DiskInfo.EXTRA_DISK_ID));
  /external/libchrome/base/
bind_unittest.cc 11 #include "base/callback.h"
312 void TakesACallback(const Closure& callback) {
313 callback.Run();
349 // Sanity check that we can instantiate a callback for each arity.
351 Callback<int()> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1);
354 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2);
357 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4);
360 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8);
363 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16);
366 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32)
814 Callback<TypeParam()> callback = Bind(&PassThru<TypeParam>, Passed(&ptr)); local
825 Callback<TypeParam()> callback = Bind( local
838 Callback<TypeParam()> callback = local
    [all...]
  /cts/tests/tests/view/jni/
android_view_cts_ChoreographerNativeTest.cpp 45 struct Callback {
52 Callback* cb = static_cast<Callback*>(data);
91 Callback* cb1 = new Callback();
92 Callback* cb2 = new Callback();
100 ASSERT(cb1->count == 1, "Choreographer failed to invoke callback 1");
102 "Callback 1 has incorect frame time on first invokation");
103 ASSERT(cb2->count == 1, "Choreographer failed to invoke callback 2")
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_quarantine.h 38 // The callback interface is:
39 // void Callback::Recycle(Node *ptr);
42 template<typename Callback, typename Node>
45 typedef QuarantineCache<Callback> Cache;
60 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
66 void NOINLINE Drain(Cache *c, Callback cb) {
87 void NOINLINE Recycle(Callback cb) {
101 void NOINLINE DoRecycle(Cache *c, Callback cb) {
118 template<typename Callback>
133 void Enqueue(Callback cb, void *ptr, uptr size)
    [all...]
  /frameworks/base/media/java/android/media/projection/
MediaProjection.java 51 private final Map<Callback, CallbackRecord> mCallbacks;
55 mCallbacks = new ArrayMap<Callback, CallbackRecord>();
68 * @param callback The callback to call.
69 * @param handler The handler on which the callback should be invoked, or
70 * null if the callback should be invoked on the calling thread's looper.
74 public void registerCallback(Callback callback, Handler handler) {
75 if (callback == null) {
76 throw new IllegalArgumentException("callback should not be null")
    [all...]
  /external/libbrillo/brillo/dbus/
dbus_object_internal_impl.h 7 // values from D-Bus message buffer then invoking a native C++ callback with
8 // those parameters passed in. If the callback returns a value, that value is
14 // and calls the provided native C++ callback with those arguments.
15 // However it expects the callback with a simple signature like this:
16 // void callback(Args...);
24 // To make this all work, we craft a simple callback suitable for
47 // This is an abstract base class to allow dispatching a native C++ callback
68 // The signature of the callback handler is expected to be:
77 const base::Callback<R(Args...)>& handler) : handler_(handler) {}
97 // C++ callback to be called when a DBus method is dispatched
    [all...]
dbus_signal_handler.h 38 base::Callback<void(Args...)> signal_callback,
45 const base::Callback<void(Args...)>& signal_callback,
47 // DBusParamReader::Invoke() needs a functor object, not a base::Callback.
48 // Wrap the callback with lambda so we can redirect the call.
  /external/webrtc/webrtc/base/
callback.h.pump 11 // To generate callback.h from callback.h.pump, execute:
12 // /home/build/google3/third_party/gtest/scripts/pump.py callback.h.pump
23 // callback does nothing. A callback can be made empty by assigning it from
24 // a default-constructed callback.
72 class Callback$i {
75 Callback$i() {}
76 template <class T> Callback$i(const T& functor)
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyguardMonitorImpl.java 31 private final ArrayList<Callback> mCallbacks = new ArrayList<Callback>();
61 public void addCallback(Callback callback) {
62 mCallbacks.add(callback);
72 public void removeCallback(Callback callback) {
73 if (mCallbacks.remove(callback) && mCallbacks.size() == 0 && mListening) {
119 // Copy the list to allow removal during callback.
120 new ArrayList<Callback>(mCallbacks).forEach(Callback::onKeyguardShowingChanged)
    [all...]
  /system/bt/stack/include/
ble_advertiser.h 30 using MultiAdvCb = base::Callback<void(uint8_t /* status */)>;
32 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
77 * callback, with assigned id, if operation succeeds. Instance is freed when
90 * callback, with assigned id, if operation succeeds. Instance is freed when
98 base::Callback<void(uint8_t /* inst_id */, int8_t /* tx_power */,
106 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>
110 * callback, with assigned id, if operation succeeds. Instance is freed when
114 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>) = 0;
155 base::Callback<void(uint8_t /* address_type*/, bt_bdaddr_t /*address*/)>;
  /bionic/libc/private/
CachedProperty.h 66 __system_property_read_callback(prop_info_, &CachedProperty::Callback, this);
82 static void Callback(void* data, const char*, const char* value, uint32_t serial) {
  /cts/tests/tests/location/src/android/location/cts/
TestLocationManager.java 59 * (GnssMeasurementsEvent.Callback callback)}
61 * @param callback the listener to add
63 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) {
64 Log.i(TAG, "Add Gnss Measurement Callback.");
66 mLocationManager.registerGnssMeasurementsCallback(callback);
75 * See {@link android.location.LocationManager#registerGnssMeasurementsCallback(GnssMeasurementsEvent.Callback callback)}
77 * @param callback the listener to ad
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaCodecWrapper.java 21 import android.media.MediaCodec.Callback;
71 void setCallback(Callback mCallback);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/
PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.h 38 Register the callback function for ReportStatusCode() notification.
41 ReportStatusCode() will be forwarded to the Callback function.
43 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
47 @retval EFI_INVALID_PARAMETER The callback function was NULL.
56 IN EFI_SMM_RSC_HANDLER_CALLBACK Callback
60 Remove a previously registered callback function from the notification list.
62 ReportStatusCode() messages will no longer be forwarded to the Callback function.
64 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be
68 @retval EFI_INVALID_PARAMETER The callback function was NULL.
69 @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/
ReportStatusCodeRouterPei.h 30 Register the callback function for ReportStatusCode() notification.
33 ReportStatusCode() will be forwarded to the Callback function.
35 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
39 @retval EFI_INVALID_PARAMETER The callback function was NULL.
48 IN EFI_PEI_RSC_HANDLER_CALLBACK Callback
52 Remove a previously registered callback function from the notification list.
54 ReportStatusCode() messages will no longer be forwarded to the Callback function.
56 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be
60 @retval EFI_INVALID_PARAMETER The callback function was NULL.
61 @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/
ReportStatusCodeRouterSmm.h 39 Register the callback function for ReportStatusCode() notification.
42 ReportStatusCode() will be forwarded to the Callback function.
44 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
48 @retval EFI_INVALID_PARAMETER The callback function was NULL.
57 IN EFI_SMM_RSC_HANDLER_CALLBACK Callback
61 Remove a previously registered callback function from the notification list.
63 ReportStatusCode() messages will no longer be forwarded to the Callback function.
65 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be
69 @retval EFI_INVALID_PARAMETER The callback function was NULL.
70 @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
ReportStatusCodeHandler.h 35 Register the callback function for ReportStatusCode() notification.
38 ReportStatusCode() will be forwarded to the Callback function.
40 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
44 @retval EFI_INVALID_PARAMETER The callback function was NULL.
53 IN EFI_PEI_RSC_HANDLER_CALLBACK Callback
57 Remove a previously registered callback function from the notification list.
59 ReportStatusCode() messages will no longer be forwarded to the Callback function.
61 @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be
65 @retval EFI_INVALID_PARAMETER The callback function was NULL.
66 @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
    [all...]
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.h 34 struct Callback : DDCallback {
37 Callback(Thread *thr);
  /external/libchrome/base/files/
file_path_watcher_fsevents.h 33 const FilePathWatcher::Callback& callback) override;
76 // Callback to notify upon changes.
78 FilePathWatcher::Callback callback_;
83 // Target path to watch (passed to callback).
  /external/libmojo/mojo/common/
data_pipe_utils.h 25 // |callback| is run upon completion. File writes will be scheduled to the
31 const base::Callback<void(bool /*success*/)>& callback);
38 const base::Callback<void(bool /*success*/)>& callback);
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 29 ATTRIBUTE Login-Callback-Number 19 string
30 ATTRIBUTE Framed-Callback-Id 20 string
35 VALUE Service-Type Callback-Login 3
36 VALUE Service-Type Callback-Framed 4
  /external/v8/src/base/
ring-buffer.h 30 template <typename Callback>
31 T Sum(Callback callback, const T& initial) const {
36 result = callback(result, elements_[j]);
  /external/webrtc/webrtc/modules/desktop_capture/win/
screen_capturer_win_gdi.h 36 void Start(Callback* callback) override;
54 Callback* callback_;
  /frameworks/base/core/java/com/android/internal/view/
SurfaceCallbackHelper.java 46 public void dispatchSurfaceRedrawNeededAsync(SurfaceHolder holder, SurfaceHolder.Callback callbacks[]) {
57 for (SurfaceHolder.Callback c : callbacks) {

Completed in 570 milliseconds

1 2 3 4 56 7 8 91011>>