/ndk/docs/openmaxal/ |
index.html | 378 Application callback handlers generally run in a restricted context, 380 as soon as possible. Do not do complex operations within a callback 381 handler. For example, within a buffer queue completion callback, 384 Callback handlers should be prepared to be called more or less 392 not depend on specific hard-coded fill levels or callback sequence. 463 provided by the implementation during a completion callback. 467 application in synchrony with the completion callback. 468 <li>The completion callback receives additional parameters: 471 <li>The callback returns a value, which must be <code>XA_RESULT_SUCCESS</code>. 519 Upon notification of completion via a registered callback, the no [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeNfcTag.cpp | 47 /* Report the callback status and wake up the caller */ 59 /* Report the callback status and wake up the caller */ 62 // Store the remote dev info ptr in the callback context 95 /* Report the callback status and wake up the caller */ 113 /* Report the callback status and wake up the caller */ 141 /* Report the callback status and wake up the caller */ 151 /* Report the callback status and wake up the caller */ 161 /* Report the callback status and wake up the caller */ 171 /* Report the callback status and wake up the caller */ 212 /* Wait for callback response * [all...] |
/frameworks/base/media/java/android/media/ |
MediaRouter.java | 317 * Flag for {@link #addCallback}: Actively scan for routes while this callback 337 * When this flag is specified, the callback will be invoked for event that affect any 338 * route event if they do not match the callback's associated media route selector. 413 * Add a callback to listen to events about specific kinds of media routes. 414 * If the specified callback is already registered, its registration will be updated for any 418 * {@link #addCallback(int, Callback, int)} without flags. 421 * @param types Types of routes this callback is interested in 422 * @param cb Callback to add 424 public void addCallback(int types, Callback cb) { 429 * Add a callback to listen to events about specific kinds of media routes [all...] |
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 999 final ITransientNotification callback; field in class:ToastRecord [all...] |
/external/chromium/net/spdy/ |
spdy_network_transaction_unittest.cc | 151 output_.rv = trans_->Start(&request_, &callback, log_); 158 output_.rv = callback.WaitForResult(); 325 TestCompletionCallback callback; member in class:net::SpdyNetworkTransactionTest::NormalSpdyTransactionHelper 409 TestCompletionCallback callback; local 411 int rv = trans->Read(buf, kSize, &callback); 414 // reads until we complete our callback. 415 while (!callback.have_result()) { 419 rv = callback.WaitForResult(); 459 TestCompletionCallback callback; local 460 int rv = trans->Start(&CreateGetRequest(), &callback, BoundNetLog()) 1758 TestCompletionCallback callback; local 1814 TestCompletionCallback callback; local 1909 TestCompletionCallback callback; local 1966 TestCompletionCallback callback; local 2072 TestCompletionCallback callback; local 2180 TestCompletionCallback callback; local 2225 TestCompletionCallback callback; local 2264 TestCompletionCallback callback; local 2290 TestCompletionCallback callback; local 2351 TestCompletionCallback callback; local 2409 TestCompletionCallback callback; local 2816 TestCompletionCallback callback; local 3070 TestCompletionCallback callback; local 3131 TestCompletionCallback callback; local 3188 TestCompletionCallback callback; local 3779 TestCompletionCallback callback; local 3876 TestCompletionCallback callback; local 3971 TestCompletionCallback callback; local 4059 TestCompletionCallback callback; local 4138 TestCompletionCallback callback; local 4443 TestCompletionCallback callback; local 4536 TestCompletionCallback callback; local 4596 TestCompletionCallback callback; local 4779 TestCompletionCallback callback; local 5119 TestCompletionCallback callback; local 5268 TestCompletionCallback callback; local 5582 TestCompletionCallback callback; local [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 24 import android.os.Handler.Callback; 48 Callback cb = new Callback() { 136 // Test remove a callback 145 // test remove a wrong callback 209 // test remove with right callback and wrong token 397 MockRunnable callback = new MockRunnable(); local 398 Message msg = Message.obtain(handler, callback); 403 assertTrue(callback.isRun());
|
/external/chromium/chrome/browser/chromeos/ |
audio_mixer_alsa.cc | 88 void AudioMixerAlsa::Init(InitDoneCallback* callback) { 89 DCHECK(callback); 91 callback->Run(false); 92 delete callback; 105 NewRunnableMethod(this, &AudioMixerAlsa::DoInit, callback)); 209 void AudioMixerAlsa::DoInit(InitDoneCallback* callback) { 232 if (callback) { 233 callback->Run(success); 234 delete callback;
|
/external/chromium/chrome/browser/web_applications/ |
web_app.cc | 150 // file thread and schedules the callback (if any) on the calling thread 156 web_app::CreateShortcutCallback* callback); 161 CreateShortcutCallbackTask(web_app::CreateShortcutCallback* callback, 163 : callback_(callback), 192 // Callback when task is finished. 202 web_app::CreateShortcutCallback* callback) 208 callback_(callback), 481 CreateShortcutCallback* callback) { 483 new CreateShortcutTask(data_dir, shortcut_info, callback));
|
/external/chromium/net/http/ |
partial_data.cc | 94 // The callback will not be invoked. Lets cleanup. 162 CompletionCallback* callback) { 179 callback_ = callback; 417 int data_len, CompletionCallback* callback) { 425 callback); 431 data, read_len, callback); 437 int data_len, CompletionCallback* callback) { 441 callback); 447 data, data_len, callback, true);
|
/external/chromium/net/proxy/ |
proxy_service.h | 56 // callback is run. The callback is run on the thread that calls 59 // The caller is responsible for ensuring that |results| and |callback| 60 // remain valid until the callback is run or until |pac_request| is cancelled 62 // callback is still pending. NULL can be passed for |pac_request| if 75 CompletionCallback* callback, 93 CompletionCallback* callback, 253 // Callback for when the proxy resolver has been initialized with a 323 // Callback for when |init_proxy_resolver_| is done.
|
/external/chromium/net/socket/ |
client_socket_pool_manager.cc | 72 CompletionCallback* callback) { 198 request_info.priority, callback, ssl_pool, 213 request_info.priority, callback, 227 request_info.priority, callback, pool, 241 request_info.priority, callback, 622 CompletionCallback* callback) { 635 callback); 647 CompletionCallback* callback) { 663 callback);
|
tcp_client_socket_libevent.cc | 154 int TCPClientSocketLibevent::Connect(CompletionCallback* callback 189 DCHECK(callback); 190 write_callback_ = callback; 382 CompletionCallback* callback) { 388 DCHECK(callback); 415 read_callback_ = callback; 421 CompletionCallback* callback) { 427 DCHECK(callback); 452 write_callback_ = callback;
|
/external/libnfc-nxp/src/ |
phFriNfc_LlcpTransport_Connection.c | 67 /* Call the Accept Callback */ 81 /* Call the Reject Callback */ 709 /* Call the Connect CB and reset callback info */ 763 /* Perform callback */ 775 /* Perform callback */ [all...] |
phLlcNfc_Interface.c | 160 callback function 223 callback function 288 1. Call the send callback, which has been registered by upper 327 in the callback */ 345 in the callback. Send the notification to the 387 /* N(S) shall be incremented now, because, this callback 410 /* Don't call the upper layer send completion callback, 413 store the callback info, call send completion shall 442 the PN544 in the read response callback, so the received I 444 callback for sent S frame is in progress. * [all...] |
/external/llvm/lib/Target/ARM/ |
ARMJITInfo.cpp | 60 // whole compilation callback doesn't exist as far as the caller is 67 // pass it as the argument to the C part of the callback 70 // Call the C portion of the callback 207 // The compilation callback will overwrite the first two words of this 212 // Branch and link to the compilation callback. 219 // Save LR so the callback can determine which stub called it. 220 // The compilation callback is responsible for popping this prior 225 // Invoke the compilation callback. 227 // The address of the compilation callback.
|
/external/protobuf/src/google/protobuf/ |
service.h | 184 // service->CallMethod(method, *request, response, callback); 227 // canceled, the "done" callback will still be called and the RpcController 244 // final "done" callback. 247 // Asks that the given callback be called when the RPC is canceled. The 248 // callback will always be called exactly once. If the RPC completes without 249 // being canceled, the callback will be called after completion. If the RPC 250 // has already been canceled when NotifyOnCancel() is called, the callback 254 virtual void NotifyOnCancel(Closure* callback) = 0; 267 // service->MyMethod(request, &response, callback);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 65 * Bluetooth LE devices with {@link #startLeScan(LeScanCallback callback)}. 162 * {@link android.app.Activity#onActivityResult} callback. The 191 * {@link android.app.Activity#onActivityResult} callback. The [all...] |
/frameworks/wilhelm/tests/native-media/jni/ |
native-media-jni.c | 63 // note this memory is re-used by the buffer queue callback 75 // for mutual exclusion between callback thread and application thread(s) 84 // Callback for XAPlayItf through which we receive the XA_PLAYEVENT_HEADATEND event */ 91 // AndroidBufferQueueItf callback for an audio player 418 // use the play interface to set up a callback for the XA_PLAYEVENT_HEADATEND event */ 422 PlayCallback /*callback*/, NULL /*pContext*/); 425 // register the callback from which OpenMAX AL can retrieve the data to play 429 // we want to be notified of the video size once it's found, so we register a callback for that 533 // wait for discontinuity request to be observed by buffer queue callback
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceProxy.java | 41 * new EmailServiceProxy(context, class).loadAttachment(attachmentId, callback) 131 * non-background loading. The service MUST use the loadAttachmentStatus callback when 150 // Try to send a callback (if set) 163 * Request the sync of a mailbox; the service MUST send the syncMailboxStatus callback 183 * acknowledge this request, it MUST send a "finished" (or error) syncMailboxStatus callback if 265 * MUST use the syncMailboxListStatus callback to indicate "starting" and "finished" 298 * Set the global callback object to be used by the service; the service MUST always use the 299 * most recently set callback object 301 * @param cb a callback object through which all service callbacks are executed
|
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 157 ** Description HID security check complete callback function. 303 hh_cb.callback( (UINT8) p_tle->param, HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_tries, NULL ) ; 337 hh_cb.callback( dhandle, HID_HDEV_EVT_CLOSE, reason, NULL ) ; 421 hh_cb.callback( dhandle, HID_HDEV_EVT_CLOSE, reason, NULL ) ; 505 hh_cb.callback( dhandle, HID_HDEV_EVT_OPEN, 0, NULL ) ; 543 hh_cb.callback( dhandle, HID_HDEV_EVT_CLOSE, reason, NULL ) ; 559 hh_cb.callback( dhandle, HID_HDEV_EVT_OPEN, 0, NULL ) ; 639 hh_cb.callback( dhandle, HID_HDEV_EVT_CLOSE, hid_close_evt_reason, NULL ) ; 680 hh_cb.callback( dhandle, HID_HDEV_EVT_CLOSE, p_hcon->disc_reason, NULL ) ; 769 hh_cb.callback(dhandle, HID_HDEV_EVT_HANDSHAKE, param, NULL) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_webrequest_api.cc | 196 // The callback to call when we get a response from all event handlers. 197 net::CompletionCallback* callback; member in struct:ExtensionWebRequestEventRouter::BlockedRequest 205 BlockedRequest() : num_handlers_blocking(0), callback(NULL), new_url(NULL) {} 295 net::CompletionCallback* callback, 331 if (DispatchEvent(profile_id, event_router, request, callback, listeners, 343 net::CompletionCallback* callback, 371 if (DispatchEvent(profile_id, event_router, request, callback, listeners, 387 net::CompletionCallback* callback, 401 if (callback && (*it)->extra_info_spec & ExtraInfoSpec::BLOCKING) { 412 blocked_requests_[request->identifier()].callback = callback [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
SourceFrame.js | 126 requestContent: function(callback) 128 this._delegate.requestContent(callback); 361 performSearch: function(query, callback) 383 callback(this, this._searchResults.length); 846 _editBreakpointCondition: function(lineNumber, condition, callback) 856 callback(committed, newText); 894 commitEditing: function(callback) 899 callback(); 910 callback(error); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.h | 246 * new_psk_cb - Callback for new PSK 253 * This callback is called when a new per-device PSK is provisioned. 259 * set_ie_cb - Callback for WPS IE changes 265 * This callback is called whenever the WPS IE in Beacon or Probe 273 * pin_needed_cb - Callback for requesting a PIN 278 * This callback is called whenever an unknown Enrollee requests to use 286 * reg_success_cb - Callback for reporting successful registration 293 * This callback is called whenever an Enrollee completes registration 301 * set_sel_reg_cb - Callback for reporting selected registrar changes 308 * This callback is called whenever the Selected Registrar stat [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LayerDrawable.java | 49 public class LayerDrawable extends Drawable implements Drawable.Callback { 315 // overrides from Drawable.Callback 318 final Callback callback = getCallback(); local 319 if (callback != null) { 320 callback.invalidateDrawable(this); 325 final Callback callback = getCallback(); local 326 if (callback != null) { 327 callback.scheduleDrawable(this, what, when) 332 final Callback callback = getCallback(); local [all...] |