/external/wpa_supplicant_8/src/wps/ |
httpread.h | 13 /* event types (passed to callback) */ 22 * available to callback via call to httpread_reply_code_get() 51 * call of the application's callback and may be called 63 * the callback fnc is called to handle httpread_event events. 73 void *cookie, /* pass to callback */
|
/frameworks/base/core/java/android/view/ |
InputQueue.java | 93 FinishedInputEventCallback callback) { 94 ActiveInputEvent event = obtainActiveInputEvent(token, callback); 115 FinishedInputEventCallback callback) { 121 e.mCallback = callback; 144 public static interface Callback {
|
/frameworks/base/core/java/com/android/internal/view/ |
StandaloneActionMode.java | 33 public class StandaloneActionMode extends ActionMode implements MenuBuilder.Callback { 36 private ActionMode.Callback mCallback; 44 ActionMode.Callback callback, boolean isFocusable) { 47 mCallback = callback;
|
/packages/apps/Email/src/com/android/email/activity/ |
UIControllerTwoPane.java | 49 class UIControllerTwoPane extends UIControllerBase implements ThreePaneLayout.Callback { 90 // MailboxListFragment$Callback 100 * Handles the {@link android.app.Activity#onCreateOptionsMenu} callback. 129 // MailboxListFragment$Callback 137 // MailboxListFragment$Callback 143 // MessageListFragment$Callback 147 if (type == MessageListFragment.Callback.TYPE_DRAFT) { 157 // MessageListFragment$Callback 202 // MessageListFragment$Callback 218 // MessageListFragment$Callback [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
P2pEventManager.java | 27 public class P2pEventManager implements P2pEventListener, SendUi.Callback { 35 final P2pEventListener.Callback mCallback; 46 public P2pEventManager(Context context, P2pEventListener.Callback callback) { 49 mCallback = callback;
|
/system/core/include/cutils/ |
hashmap.h | 77 * value and creates an entry using the given callback. 79 * If memory allocation fails, the callback is not called, this function 97 * Invokes the given callback on each entry in the map. Stops iterating if 98 * the callback returns false. 101 bool (*callback)(void* key, void* value, void* context),
|
/external/chromium/chrome/browser/extensions/ |
extension_file_browser_private_api.cc | 776 FileDialogFunction::Callback 777 FileDialogFunction::Callback::null_(NULL, NULL, NULL); 780 FileDialogFunction::Callback::Map FileDialogFunction::Callback::map_; 783 void FileDialogFunction::Callback::Add(int32 tab_id, 788 map_.insert(std::make_pair(tab_id, Callback(listener, dialog, params))); 795 void FileDialogFunction::Callback::Remove(int32 tab_id) { 800 const FileDialogFunction::Callback& 801 FileDialogFunction::Callback::Find(int32 tab_id) { 802 Callback::Map::const_iterator it = map_.find(tab_id) 907 const Callback& callback = GetCallback(); local 1006 const Callback& callback = GetCallback(); local 1018 const Callback& callback = GetCallback(); local [all...] |
/external/chromium/net/base/ |
cert_verifier.h | 94 // |callback| must not be null. ERR_IO_PENDING is returned if the operation 96 // be passed to the callback when available. 105 CompletionCallback* callback, 109 // After a request is canceled, its completion callback will not be called. 188 // If a completion callback is pending when the verifier is destroyed, the 189 // certificate verification is canceled, and the completion callback will 199 CompletionCallback* callback); 202 // Callback for when the request to |cert_verifier_| completes, so we 203 // dispatch to the user's callback. 213 // Completion callback for when request to |cert_verifier_| completes [all...] |
/external/chromium/net/socket/ |
socket_test_util.cc | 679 void MockClientSocket::RunCallbackAsync(net::CompletionCallback* callback, 683 &MockClientSocket::RunCallback, callback, result)); 686 void MockClientSocket::RunCallback(net::CompletionCallback* callback, 688 if (callback) 689 callback->Run(result); 711 net::CompletionCallback* callback) { 721 pending_callback_ = callback; 734 DCHECK(callback); // We need to be using async IO in this case. 744 net::CompletionCallback* callback) { 757 RunCallbackAsync(callback, write_result.result) 818 net::CompletionCallback* callback = pending_callback_; local 832 net::CompletionCallback* callback = pending_callback_; local 1232 CompletionCallback* callback = user_callback_; local [all...] |
ssl_server_socket_unittest.cc | 52 CompletionCallback* callback) { 54 read_callback_ = callback; 63 CompletionCallback* callback) { 75 net::CompletionCallback* callback = read_callback_; local 79 callback->Run(copied); 115 CompletionCallback* callback) { 116 return incoming_->Read(buf, buf_len, callback); 120 CompletionCallback* callback) { 121 return outgoing_->Write(buf, buf_len, callback); 132 virtual int Connect(CompletionCallback* callback) { 203 TestCompletionCallback callback; local [all...] |
/external/chromium/webkit/glue/media/ |
buffered_resource_loader.h | 10 #include "base/callback.h" 61 // server, success or fail |callback| is called with the result. 62 // |callback| is called with the following values: 73 virtual void Start(net::CompletionCallback* callback, 81 // the operation is done invoke |callback| with number of bytes read or an 83 // |callback| is called with the following values: 91 uint8* buffer, net::CompletionCallback* callback); 198 // Done with read. Invokes the read callback and reset parameters for the 202 // Done with start. Invokes the start callback and reset it. 239 // Callback method that listens to network events [all...] |
/external/qemu/android/ |
looper.h | 60 * callback, or no more watchers are registered. 62 * You can register/unregister watchers from a callback, or call various 92 void (*timer_init)(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque); 93 void (*io_init) (Looper* looper, LoopIo* io, int fd, LoopIoFunc callback, void* opaque); 125 /* Initialize a LoopTimer with a callback and an 'opaque' value. 131 LoopTimerFunc callback, 134 looper->timer_init(looper, timer, callback, opaque); 223 loopIo_init(LoopIo* io, Looper* looper, int fd, LoopIoFunc callback, void* opaque) 225 looper->io_init(looper, io, fd, callback, opaque); 236 /* The following functions are used to indicate whether you want the callback [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
CallLogAsync.java | 119 OnLastOutgoingCallComplete callback) { 121 this.callback = callback; 124 public final OnLastOutgoingCallComplete callback; field in class:CallLogAsync.GetLastOutgoingCallArgs 147 return new GetLastOutgoingCallTask(args.callback).execute(args); 200 public GetLastOutgoingCallTask(OnLastOutgoingCallComplete callback) { 201 mCallback = callback; 204 // Happens on a background thread. We cannot run the callback 207 // callback is ran rom the post execute method. 219 // Happens on the UI thread, it is safe to run the callback [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
LoginContextTest.java | 33 import javax.security.auth.callback.Callback; 34 import javax.security.auth.callback.CallbackHandler; 127 * default callback handler is specified via security 153 * default callback handler is specified via security 177 * Expected: creation of default callback handler 181 // checks initialization of specified callback handler 203 * Expected: not null subject, null callback handler or 204 * wrapped default callback handler, not null shared 230 // login context doesn't have callback handle [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
CSSStyleModel.js | 51 function callback(userCallback, error, payload) 94 CSSAgent.getStylesForNode(nodeId, callback.bind(null, userCallback)); 99 function callback(userCallback, error, stylePayload) 107 CSSAgent.getComputedStyleForNode(nodeId, callback.bind(null, userCallback)); 112 function callback(userCallback, error, stylePayload) 120 CSSAgent.getInlineStyleForNode(nodeId, callback.bind(null, userCallback)); 135 function callback(nodeId, successCallback, failureCallback, error, newSelector, rulePayload) 149 CSSAgent.setRuleSelector(ruleId, newSelector, callback.bind(this, nodeId, successCallback, failureCallback, newSelector)); 164 function callback(successCallback, failureCallback, selector, error, rulePayload) 178 CSSAgent.addRule(nodeId, selector, callback.bind(this, successCallback, failureCallback, selector)) 520 function callback(error, stylePayload) function [all...] |
InjectedFakeWorker.js | 48 function onmessageSetter(callback) 50 impl.channel.port1.onmessage = callback; 145 function onmessageSetter(callback) 147 var wrappedCallback = bind(self._callbackWrapper, self, callback); 148 wrappedCallback.originalCallback = callback; 162 _addEventListener: function(type, callback, useCapture) 164 var wrappedCallback = bind(this._callbackWrapper, this, callback); 165 wrappedCallback.originalCallback = callback; 173 _removeEventListener: function(type, callback, useCapture) 177 if (listeners[i].originalCallback === callback & [all...] |
/external/chromium/chrome/browser/chromeos/ |
user_cros_settings_provider.cc | 166 class UserCrosSettingsTrust : public SignedSettingsHelper::Callback { 191 bool RequestTrustedEntity(const std::string& name, Task* callback) { 193 delete callback; 196 if (callback) 197 callbacks_[name].push_back(callback); 304 // Implementation of SignedSettingsHelper::Callback. 373 // Implementation of SignedSettingsHelper::Callback. 385 // Implementation of SignedSettingsHelper::Callback. 395 // Implementation of SignedSettingsHelper::Callback. 445 bool UserCrosSettingsProvider::RequestTrustedAllowGuest(Task* callback) { [all...] |
/external/chromium/third_party/libevent/ |
evrpc.h | 59 * when the server receives an appropriately formatted RPC, the user callback 60 * is invokved. The callback needs to fill in the reply structure. 101 /* the callback invoked for each received rpc */ 138 * callback to reply and finish answering this rpc 219 * @param rpc_req the rpc request structure provided to the server callback 231 * @param rpc_req the rpc request structure provided to the server callback 289 * @param callback the callback that should be invoked when the RPC 290 * is received. The callback has the following prototype 291 * void (*callback)(EVRPC_STRUCT(Message)* rpc, void *arg [all...] |
/frameworks/native/libs/utils/ |
Looper.cpp | 13 // Debugs callback registration and invocation. 46 SimpleLooperCallback::SimpleLooperCallback(ALooper_callbackFunc callback) : 47 mCallback(callback) { 318 ALOGD("%p ~ pollOnce - invoking fd event callback %p: fd=%d, events=0x%x, data=%p", 319 this, response.request.callback.get(), fd, events, data); 321 int callbackResult = response.request.callback->handleEvent(fd, events, data); 325 // Clear the callback reference in the response structure promptly because we 327 response.request.callback.clear(); 396 int Looper::addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data) { 397 return addFd(fd, ident, events, callback ? new SimpleLooperCallback(callback) : NULL, data) [all...] |
/external/chromium/net/spdy/ |
spdy_http_stream.cc | 53 CompletionCallback* callback) { 71 stream_net_log, callback); 85 int SpdyHttpStream::ReadResponseHeaders(CompletionCallback* callback) { 86 CHECK(callback); 100 user_callback_ = callback; 105 IOBuffer* buf, int buf_len, CompletionCallback* callback) { 109 CHECK(callback); 142 user_callback_ = callback; 185 void SpdyHttpStream::set_chunk_callback(ChunkCallback* callback) { 187 request_body_stream_->set_chunk_callback(callback); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewClient.java | 36 * @param view The WebView that is initiating the callback. 52 * @param view The WebView that is initiating the callback. 66 * @param view The WebView that is initiating the callback. 76 * @param view The WebView that is initiating the callback. 108 * @param view The WebView that is initiating the callback. 156 * @param view The WebView that is initiating the callback. 170 * @param view The WebView that is initiating the callback. 182 * @param view The WebView that is initiating the callback. 197 * @param view The WebView that is initiating the callback. 213 * @param view the WebView that is initiating the callback [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RotateDrawable.java | 49 public class RotateDrawable extends Drawable implements Drawable.Callback { 120 final Callback callback = getCallback(); local 121 if (callback != null) { 122 callback.invalidateDrawable(this); 127 final Callback callback = getCallback(); local 128 if (callback != null) { 129 callback.scheduleDrawable(this, what, when); 134 final Callback callback = getCallback() local [all...] |
/external/libnfc-nxp/src/ |
phHal4Nfc.h | 25 * and the actual result will be returned through specific callback functions 134 * callback. It contains either discovery information or other event 149 * Prototype for Generic callback type provided by upper layer. This is used 162 * Disconnect callback type provided by upper layer to called on completion 175 * Notification callback type used by HAL to provide a Discovery or 190 * Callback type used to provide a Connect Success or Failure indication to 204 * This callback type is used to provide received data and it's size to the 221 * This callback type is used to provide received data and it's size to the 236 * Callback type to inform success or failure of the Ioctl calls 253 /** Same as general callback type, used to inform the completion o [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | 27 import android.view.KeyEvent.Callback; 112 MockCallback callback = new MockCallback(); local 114 callback.reset(); 115 assertFalse(callback.isKeyDown()); 116 assertTrue(mKeyEvent.dispatch(callback)); 117 assertTrue(callback.isKeyDown()); 118 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode()); 119 assertSame(mKeyEvent, callback.getKeyEvent()); 122 callback.reset(); 123 assertFalse(callback.isKeyUp()) [all...] |
/frameworks/base/services/java/com/android/server/ |
TelephonyRegistry.java | 71 IPhoneStateListener callback; field in class:TelephonyRegistry.Record 190 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, 207 IBinder b = callback.asBinder(); 217 r.callback = callback; 228 r.callback.onServiceStateChanged(new ServiceState(mServiceState)); 236 r.callback.onSignalStrengthChanged((gsmSignalStrength == 99 ? -1 244 r.callback.onMessageWaitingIndicatorChanged(mMessageWaiting); 251 r.callback.onCallForwardingIndicatorChanged(mCallForwarding); 259 r.callback.onCellLocationChanged(new Bundle(mCellLocation)) [all...] |