/frameworks/base/core/java/android/os/ |
Handler.java | 74 * Callback interface you can use when instantiating a Handler to avoid 77 public interface Callback { 91 if (msg.callback != null) { 116 * current thread and takes a callback interface in which you can handle 122 * @param callback The callback interface in which to handle messages, or null. 124 public Handler(Callback callback) { 125 this(callback, false); 138 * Use the provided {@link Looper} instead of the default one and take a callback [all...] |
/external/chromium/net/socket/ |
client_socket_pool_base_unittest.cc | 7 #include "base/callback.h" 52 IOBuffer* /* buf */, int /* len */, CompletionCallback* /* callback */) { 57 IOBuffer* /* buf */, int len, CompletionCallback* /* callback */) { 66 virtual int Connect(CompletionCallback* callback) { 393 CompletionCallback* callback, 398 handle, callback, net_log); 519 have_result_ = false; // auto-reset for next callback 670 TestCompletionCallback callback; local 678 &callback, 708 TestCompletionCallback callback; local 952 TestCompletionCallback callback; local 963 TestCompletionCallback callback; local 998 TestCompletionCallback callback; local 1026 TestCompletionCallback callback; local 1038 TestCompletionCallback callback; local 1074 TestCompletionCallback callback; local 1078 TestCompletionCallback callback; local 1117 TestCompletionCallback callback; local 1133 TestCompletionCallback callback; local 1211 TestCompletionCallback callback; local 1226 TestCompletionCallback callback; local 1458 TestCompletionCallback callback; local 1524 TestCompletionCallback callback; local 1561 TestCompletionCallback callback; local 1599 TestCompletionCallback callback; local 1768 TestCompletionCallback callback; local 1797 TestCompletionCallback callback; local 1813 TestCompletionCallback callback; local 1833 TestCompletionCallback callback; local 1853 TestCompletionCallback callback; local 1883 TestOldCompletionCallback callback; local 1957 TestCompletionCallback callback; local 2031 TestCompletionCallback callback; local 2273 TestCompletionCallback callback; local 2292 TestCompletionCallback callback; local 2389 TestCompletionCallback callback; local 2401 TestCompletionCallback callback; local 2431 TestCompletionCallback callback; local 2460 TestCompletionCallback callback; local 2498 TestCompletionCallback callback; local 2556 TestCompletionCallback callback; local 2616 TestCompletionCallback callback; local [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_service.cc | 50 scoped_ptr<ClientReportPhishingRequestCallback> callback; member in struct:safe_browsing::ClientSideDetectionService::ClientReportInfo 113 void ClientSideDetectionService::GetModelFile(OpenModelDoneCallback* callback) { 118 &ClientSideDetectionService::StartGetModelFile, callback)); 123 ClientReportPhishingRequestCallback* callback) { 129 verdict, callback)); 255 OpenModelDoneCallback* callback) { 258 // Store the callback which will be called once we know the status of the 260 open_callbacks_.push_back(callback); 263 // call the callback right away. 264 callback->Run(model_file_) [all...] |
/external/chromium/net/base/ |
dnsrr_resolver_unittest.cc | 7 #include "base/callback.h" 31 TestCompletionCallback callback; local 36 &callback, &response, 0, BoundNetLog()); 38 ASSERT_EQ(OK, callback.WaitForResult()); 46 TestCompletionCallback callback; local 51 &callback, &response, 0, BoundNetLog()); 53 ASSERT_EQ(OK, callback.WaitForResult()); 62 TestCompletionCallback callback; local 67 &callback, &response, 0, BoundNetLog()); 69 ASSERT_EQ(OK, callback.WaitForResult()) [all...] |
/external/chromium/webkit/glue/media/ |
buffered_data_source_unittest.cc | 76 net::CompletionCallback* callback)); 161 // "callback" parameter. 222 net::CompletionCallback* callback, 225 callback->RunWithParams(Tuple1<int>(error_)); 226 delete callback; 227 // TODO(hclam): Save this callback. 232 net::CompletionCallback* callback) { 235 callback->RunWithParams(Tuple1<int>(error_)); 236 delete callback; 249 // The read has succeeded, so read callback will be called [all...] |
/external/qemu/telephony/ |
sysdeps_posix.c | 93 SysChannelCallback callback; member in struct:SysChannelRec_ 133 channel->callback = NULL; 201 SysChannelCallback callback, 208 channel->callback = callback; 318 SysCallback callback; member in struct:SysTimerRec_ 356 if (timer->callback != NULL) { 370 timer->callback = NULL; 378 SysCallback callback, 381 if (timer->callback != NULL [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
UIControllerOnePane.java | 57 // MailboxListFragment.Callback 65 // MailboxListFragment.Callback 74 // MailboxListFragment.Callback 80 // MessageListFragment.Callback 86 // MessageListFragment.Callback 90 if (type == MessageListFragment.Callback.TYPE_DRAFT) { 97 // MessageListFragment.Callback 104 // MessageListFragment.Callback 110 // MessageViewFragment.Callback 116 // MessageViewFragment.Callback [all...] |
/device/generic/goldfish/camera/ |
EmulatedCameraFactory.h | 69 * This method is called in response to hw_module_methods_t::open callback. 74 * This method is called in response to camera_module_t::get_camera_info callback. 79 * This method is called in response to camera_module_t::set_callbacks callback. 88 /* camera_module_t::get_number_of_cameras callback entry point. */ 91 /* camera_module_t::get_camera_info callback entry point. */ 94 /* camera_module_t::set_callbacks callback entry point. */ 98 /* hw_module_methods_t::open callback entry point. */
|
/external/chromium/chrome/browser/ |
browsing_data_database_helper.cc | 7 #include "base/callback.h" 59 Callback1<const std::vector<DatabaseInfo>& >::Type* callback) { 62 DCHECK(callback); 65 completion_callback_.reset(callback); 196 Callback1<const std::vector<DatabaseInfo>& >::Type* callback) { 199 DCHECK(callback); 201 completion_callback_.reset(callback);
|
/external/chromium/net/spdy/ |
spdy_proxy_client_socket.h | 72 virtual int Connect(CompletionCallback* callback, bool wait_for_connect, 75 virtual int Connect(CompletionCallback* callback); 87 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 88 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 104 virtual void set_chunk_callback(ChunkCallback* /*callback*/); 137 // Stores the callback to the layer above, called on completing Read() or 140 // Stores the callback to the layer above, called on completing Write().
|
spdy_stream_unittest.cc | 36 CompletionCallback* callback) 39 callback_(callback), 79 CompletionCallback* callback = callback_; local 81 callback->Run(OK); 219 TestCompletionCallback callback; local 222 new TestSpdyStreamDelegate(stream.get(), buf.get(), &callback)); 239 EXPECT_EQ(OK, callback.WaitForResult());
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
PlainSaslClient.java | 23 import org.apache.harmony.javax.security.auth.callback.Callback; 24 import org.apache.harmony.javax.security.auth.callback.CallbackHandler; 25 import org.apache.harmony.javax.security.auth.callback.NameCallback; 26 import org.apache.harmony.javax.security.auth.callback.PasswordCallback; 27 import org.apache.harmony.javax.security.auth.callback.UnsupportedCallbackException; 186 cbh.handle(new Callback[] { nameCb, passwordCb });
|
/external/svox/pico/compat/src/com/android/tts/compat/ |
CompatTtsService.java | 118 protected void onSynthesizeText(SynthesisRequest request, SynthesisCallback callback) { 120 callback.error(); 130 callback.error(); 138 callback.error(); 146 callback.error(); 151 if (mNativeSynth.speak(request, callback) != TextToSpeech.SUCCESS) { 152 callback.error();
|
/external/webkit/Source/WebCore/storage/ |
DatabaseSync.cpp | 71 LOG(StorageAPI, "Invoking the creation callback for database %p\n", database.get()); 132 void DatabaseSync::transaction(PassRefPtr<SQLTransactionSyncCallback> callback, ExceptionCode& ec) 134 runTransaction(callback, false, ec); 137 void DatabaseSync::readTransaction(PassRefPtr<SQLTransactionSyncCallback> callback, ExceptionCode& ec) 139 runTransaction(callback, true, ec); 142 void DatabaseSync::runTransaction(PassRefPtr<SQLTransactionSyncCallback> callback, bool readOnly, ExceptionCode& ec) 151 RefPtr<SQLTransactionSync> transaction = SQLTransactionSync::create(this, callback, readOnly);
|
/external/webkit/Source/WebKit2/WebProcess/IconDatabase/ |
WebIconDatabaseProxy.cpp | 112 void WebIconDatabaseProxy::loadDecisionForIconURL(const String& iconURL, PassRefPtr<WebCore::IconLoadDecisionCallback> callback) 114 uint64_t id = callback->callbackID(); 115 m_iconLoadDecisionCallbacks.add(id, callback); 122 RefPtr<WebCore::IconLoadDecisionCallback> callback = m_iconLoadDecisionCallbacks.take(callbackID); local 123 if (callback) 124 callback->performCallback(static_cast<WebCore::IconLoadDecision>(decision)); 127 void WebIconDatabaseProxy::iconDataForIconURL(const String& iconURL, PassRefPtr<WebCore::IconDataCallback> callback)
|
/frameworks/av/include/media/ |
AudioTrack.h | 52 /* Events used by AudioTrack callback function (audio_track_cblk_t). 57 // If this event is delivered but the callback handler 90 /* As a convenience, if a callback is supplied, a handler thread 92 * invokes the callback when a new buffer becomes available or various conditions occur. 96 * user: Pointer to context for use by the callback receiver. 98 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write 130 * Data to be rendered is supplied by write() or by the callback EVENT_MORE_DATA. 147 * cbf: Callback function. If not null, this function is called periodically 149 * user: Context for use by the callback receiver. 150 * notificationFrames: The callback function is called each time notificationFrames PC [all...] |
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 53 * The callback used to indicate the user is done filling in the date. 69 * @param callBack How the parent is notified that the date is set. 75 OnDateSetListener callBack, 79 this(context, 0, callBack, year, monthOfYear, dayOfMonth); 85 * @param callBack How the parent is notified that the date is set. 92 OnDateSetListener callBack, 98 mCallBack = callBack;
|
TimePickerDialog.java | 40 * The callback interface used to indicate the user is done filling in 66 * @param callBack How parent is notified. 72 OnTimeSetListener callBack, 74 this(context, 0, callBack, hourOfDay, minute, is24HourView); 80 * @param callBack How parent is notified. 87 OnTimeSetListener callBack, 90 mCallback = callBack;
|
/frameworks/base/core/java/android/webkit/ |
GeolocationPermissions.java | 35 * {@link WebChromeClient#onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) WebChromeClient.onGeolocationPermissionsShowPrompt()} 46 * A callback interface used by the host application to set the Geolocation 49 public interface Callback { 76 * @param callback a {@link ValueCallback} to receive the result of this 87 public void getOrigins(ValueCallback<Set<String> > callback) { 95 * @param callback a {@link ValueCallback} to receive the result of this 102 public void getAllowed(String origin, ValueCallback<Boolean> callback) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPresenter.java | 32 public interface Callback { 46 * @return true if the Callback will handle presenting the submenu, false if 80 * Set a callback object that will be notified of menu events 82 * @param cb Callback that will be notified of future events 84 public void setCallback(Callback cb); 88 * has been selected. An active Callback should be notified, and 99 * of the menu indicated as necessary and notify a registered callback.
|
/frameworks/base/media/jni/mediaeditor/ |
VideoBrowserMain.h | 71 * @note This callback mechanism must be used to wait the completion of an asynchronous 78 * A frame is ready to be displayed, it should be displayed in the callback function 90 * @param notificationID (IN) Id of the callback which generated the error 92 * @param pCbData (IN) pointer to data associated wit the callback. 94 * @note This callback mechanism is used to request display of an image 109 * @param pfCallback (IN) : Callback function to be called when a frame must be displayed 110 * @param pCallbackData (IN) : User defined data that will be passed as parameter of the callback
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuPresenter.java | 36 public interface Callback { 48 * @return true if the Callback will handle presenting the submenu, false if the presenter 82 * Set a callback object that will be notified of menu events related to this specific 85 * @param cb Callback that will be notified of future events 87 public void setCallback(Callback cb); 91 * Callback should be notified, and if applicable the presenter should present the submenu. 101 * a registered callback.
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
gcc-plugin.h | 111 /* Function type for a plugin callback routine. 118 /* Called from the plugin's initialization code. Register a single callback. 122 EVENT - which event the callback is for 123 CALLBACK - the callback to be called at the event 133 /* This is also called without a callback routine for the 140 plugin_callback_func callback,
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
gcc-plugin.h | 111 /* Function type for a plugin callback routine. 118 /* Called from the plugin's initialization code. Register a single callback. 122 EVENT - which event the callback is for 123 CALLBACK - the callback to be called at the event 133 /* This is also called without a callback routine for the 140 plugin_callback_func callback,
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
gcc-plugin.h | 111 /* Function type for a plugin callback routine. 118 /* Called from the plugin's initialization code. Register a single callback. 122 EVENT - which event the callback is for 123 CALLBACK - the callback to be called at the event 133 /* This is also called without a callback routine for the 140 plugin_callback_func callback,
|