/system/update_engine/include/debugd/ |
dbus-proxies.h | 10 #include <base/callback.h> 54 const base::Callback<void(const std::string& /*handle*/)>& success_callback, 55 const base::Callback<void(brillo::Error*)>& error_callback, 67 const base::Callback<void()>& success_callback, 68 const base::Callback<void(brillo::Error*)>& error_callback, 84 const base::Callback<void()>& success_callback, 85 const base::Callback<void(brillo::Error*)>& error_callback, 97 const base::Callback<void()>& success_callback, 98 const base::Callback<void(brillo::Error*)>& error_callback, 111 const base::Callback<void(const std::string& /*status*/)>& success_callback [all...] |
/external/libbrillo/brillo/streams/ |
stream.h | 11 #include <base/callback.h> 23 // seek within a stream. It has methods for asynchronous (callback-based) as 91 // Standard error callback for asynchronous operations. 92 using ErrorCallback = base::Callback<void(const Error*)>; 193 // callback. 206 const base::Callback<void(size_t)>& success_callback, 279 // for the duration of the error callback. 292 const base::Callback<void(size_t)>& success_callback, 354 // scheduling the flush operation, it returns false and neither callback will 370 // data availability for the stream. Calls |callback| when data can be rea [all...] |
/external/libbrillo/brillo/ |
asynchronous_signal_handler_interface.h | 10 #include <base/callback.h> 17 // execute the associated callback. 22 // The callback called when a signal is received. 23 using SignalHandler = base::Callback<bool(const struct signalfd_siginfo&)>; 26 // registered handler. |callback| will be called on the thread the 29 // |callback|. |callback| must returns |true| if the signal handler must be 34 virtual void RegisterHandler(int signal, const SignalHandler& callback) = 0;
|
/external/libbrillo/brillo/message_loops/ |
message_loop_utils.h | 8 #include <base/callback.h> 21 base::Callback<bool()> terminate);
|
/external/libchrome/base/ |
callback.h | 12 // NOTE: Header files that do not require the full definition of Callback or 19 // The templated Callback class is a generalized function object. Together 29 // A callback with no unbound input parameters (base::Callback<void()>) 36 // The Callback objects themselves should be passed by const-reference, and 51 // base::Callback<int()> func_cb = base::Bind(&Return5); 65 // base::Callback<void()> ref_cb = base::Bind(&Ref::Foo, ref); 73 // RUNNING A CALLBACK 76 // signature as the template argument to the callback. 78 // void DoSomething(const base::Callback<void(int, std::string)>& callback) [all...] |
bind_unittest.cc | 10 #include "base/callback.h" 225 void TakesACallback(const Closure& callback) { 226 callback.Run(); 262 // Sanity check that we can instantiate a callback for each arity. 264 Callback<int()> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); 267 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); 270 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); 273 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); 276 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); 279 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32) 743 Callback<scoped_ptr<DeleteCounter>()> callback = local 786 Callback<std::unique_ptr<DeleteCounter>()> callback = local [all...] |
/external/libchrome/base/prefs/ |
pref_filter.h | 23 // A callback to be invoked when |prefs| have been read (and possibly 24 // pre-modified) and are now ready to be handed back to this callback's 27 typedef base::Callback<void(scoped_ptr<base::DictionaryValue> prefs,
|
/external/libweave/third_party/chromium/base/ |
callback.h | 12 // NOTE: Header files that do not require the full definition of Callback or 19 // The templated Callback class is a generalized function object. Together 29 // A callback with no unbound input parameters (base::Callback<void()>) 36 // The Callback objects themselves should be passed by const-reference, and 51 // base::Callback<int()> func_cb = base::Bind(&Return5); 65 // base::Callback<void()> ref_cb = base::Bind(&Ref::Foo, ref); 73 // RUNNING A CALLBACK 76 // signature as the template argument to the callback. 78 // void DoSomething(const base::Callback<void(int, std::string)>& callback) [all...] |
bind_unittest.cc | 13 #include "base/callback.h" 226 void TakesACallback(const Closure& callback) { 227 callback.Run(); 263 // Sanity check that we can instantiate a callback for each arity. 265 Callback<int()> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); 268 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); 271 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); 274 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); 277 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); 280 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32) 744 Callback<scoped_ptr<DeleteCounter>()> callback = local 787 Callback<std::unique_ptr<DeleteCounter>()> callback = local [all...] |
/external/webrtc/webrtc/common_audio/ |
lapped_transform.h | 28 // is supplied to the given callback for processing. The processed output is 33 class Callback { 35 virtual ~Callback() {} 47 // |shift_amount| is in samples. |callback| is the caller-owned audio 55 Callback* callback); 59 // blocks, transforms them to frequency domain, calls the callback for each 90 // Internal middleware callback, given to the blocker. Transforms each block 112 Callback* const block_processor_;
|
/frameworks/base/core/java/com/android/internal/view/ |
RootViewSurfaceTaker.java | 27 InputQueue.Callback willYouTakeTheInputQueue();
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
WindowCallback.java | 20 import android.view.ActionMode.Callback; 27 * An empty implementation of {@link Window.Callback} that always returns null/false. 29 public class WindowCallback implements Window.Callback { 126 public ActionMode onWindowStartingActionMode(Callback callback) { 131 public ActionMode onWindowStartingActionMode(Callback callback, int type) {
|
/frameworks/native/services/surfaceflinger/ |
DispSync.h | 58 class Callback: public virtual RefBase { 60 virtual ~Callback() {}; 110 // addEventListener registers a callback to be called repeatedly at the 111 // given phase offset from the hardware vsync events. The callback is 115 const sp<Callback>& callback); 117 // removeEventListener removes an already-registered event callback. Once 118 // this method returns that callback will no longer be called by the 120 status_t removeEventListener(const sp<Callback>& callback); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatCallback.java | 23 * Implemented this in order for AppCompat to be able to callback in certain situations. 46 * callback an opportunity to handle the action mode in its own unique and 50 * @param callback Callback to control the lifecycle of this action mode 54 ActionMode onWindowStartingSupportActionMode(ActionMode.Callback callback);
|
/system/connectivity/shill/cellular/ |
mm1_modem_time_proxy_interface.h | 29 typedef base::Callback<void(const std::string&)> 41 const StringCallback& callback, 45 const NetworkTimeChangedSignalCallback& callback) = 0;
|
/system/connectivity/shill/ |
mock_external_task.cc | 25 const base::Callback<void(pid_t, int)>& death_callback)
|
mock_process_manager.h | 44 const base::Callback<void(int)>& exit_callback)); 52 const base::Callback<void(int)>& exit_callback)); 60 const base::Callback<void(int)>& exit_callback, 67 bool(pid_t pid, const base::Callback<void(int)>& new_callback));
|
/system/connectivity/shill/wimax/ |
wimax_manager_proxy_interface.h | 22 #include <base/callback.h> 34 typedef base::Callback<void(const RpcIdentifiers&)> DevicesChangedCallback; 39 const DevicesChangedCallback& callback) = 0;
|
/system/tpm/trunks/ |
command_transceiver.h | 30 typedef base::Callback<void(const std::string& response)> ResponseCallback; 35 // |callback| will be called with the |response| data from the TPM. If a 36 // transmission error occurs |callback| will be called with a well-formed 40 const ResponseCallback& callback) = 0;
|
/system/update_engine/ |
dbus_test_utils.h | 51 const base::Callback<T>& signal_callback() { return *signal_callback_.get(); } 54 const base::Callback<T>& signal_callback, 56 signal_callback_.reset(new base::Callback<T>(signal_callback)); 59 // Notify from the main loop that the callback was connected. 75 std::unique_ptr<base::Callback<T>> signal_callback_;
|
/system/webservd/libwebserv/ |
request_handler_callback.cc | 20 const base::Callback<HandlerSignature>& callback) : callback_(callback) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
ForegroundUtils.java | 40 private final SparseArray<List<Callback>> mBackgroundCallbacks = 41 new SparseArray<List<Callback>>(); 57 public interface Callback { 67 * and if it does, registers a callback for when that UID no longer has any foreground 69 * get a callback if this method returns true. 71 * @param callback Callback to be called 73 * @return true when the UID has an Activity in the foreground and the callback 76 public boolean registerUidToBackgroundCallback(Callback callback, int uid) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ListenerCallQueue.java | 33 * executor. Each callback task can be enqueued and executed as separate phases. 42 abstract static class Callback<L> { 45 Callback(String methodCall) { 51 /** Helper method to add this callback to all the queues. */ 62 @GuardedBy("this") private final Queue<Callback<L>> waitQueue = Queues.newArrayDeque(); 71 synchronized void add(Callback<L> callback) { 72 waitQueue.add(callback); 105 Callback<L> nextToRun; 122 "Exception while executing callback: " + listener + "." + nextToRun.methodCall, [all...] |
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/wizard/ |
GuidedStepAttributesTestFragment.java | 29 static class Callback { 34 static HashMap<Long, Callback> sCallbacks = new HashMap(); 58 Callback callback = sCallbacks.get(action.getId()); local 59 if (callback != null) { 60 callback.onActionClicked(this, action.getId()); 82 Callback callback = sCallbacks.get(action.getId()); local 83 if (callback != null) { 84 callback.onActionClicked(this, action.getId()) [all...] |
/frameworks/support/v4/kitkat/android/support/v4/media/session/ |
MediaSessionCompatApi19.java | 38 public static Object createMetadataUpdateListener(Callback callback) { 39 return new OnMetadataUpdateListener<Callback>(callback); 85 static class OnMetadataUpdateListener<T extends Callback> implements 89 public OnMetadataUpdateListener(T callback) { 90 mCallback = callback; 101 interface Callback extends MediaSessionCompatApi18.Callback {
|