/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
CallbackHandler.java | 44 * @param callbacks 52 void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException;
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
ParcelableCompatHoneycombMR2.java | 23 static <T> Parcelable.Creator<T> instantiate(ParcelableCompatCreatorCallbacks<T> callbacks) { 24 return new ParcelableCompatCreatorHoneycombMR2<T>(callbacks); 31 public ParcelableCompatCreatorHoneycombMR2(ParcelableCompatCreatorCallbacks<T> callbacks) { 32 mCallbacks = callbacks;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebIDBDatabaseCallbacksImpl.cpp | 37 WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl(PassRefPtr<IDBDatabaseCallbacks> callbacks) 38 : m_callbacks(callbacks)
|
IDBDatabaseBackendProxy.cpp | 75 // WebIDBDatabaseImpl holds on to the specific callbacks object for this connection. 89 void IDBDatabaseBackendProxy::openCursor(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr<IDBKeyRange> keyRange, IndexedDB::CursorDirection direction, bool keyOnly, TaskType taskType, PassRefPtr<IDBCallbacks> callbacks) 91 m_webIDBDatabase->openCursor(transactionId, objectStoreId, indexId, keyRange, static_cast<WebIDBCursor::Direction>(direction), keyOnly, static_cast<WebIDBDatabase::TaskType>(taskType), new WebIDBCallbacksImpl(callbacks)); 94 void IDBDatabaseBackendProxy::count(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr<IDBKeyRange> keyRange, PassRefPtr<IDBCallbacks> callbacks) 97 m_webIDBDatabase->count(transactionId, objectStoreId, indexId, keyRange, new WebIDBCallbacksImpl(callbacks)); 100 void IDBDatabaseBackendProxy::get(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr<IDBKeyRange> keyRange, bool keyOnly, PassRefPtr<IDBCallbacks> callbacks) 103 m_webIDBDatabase->get(transactionId, objectStoreId, indexId, keyRange, keyOnly, new WebIDBCallbacksImpl(callbacks)); 106 void IDBDatabaseBackendProxy::put(int64_t transactionId, int64_t objectStoreId, PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, PutMode putMode, PassRefPtr<IDBCallbacks> callbacks, const Vector<int64_t>& indexIds, const Vector<IndexKeys>& indexKeys) 109 m_webIDBDatabase->put(transactionId, objectStoreId, WebData(value), key, static_cast<WebIDBDatabase::PutMode>(putMode), new WebIDBCallbacksImpl(callbacks), indexIds, indexKeys); 125 void IDBDatabaseBackendProxy::deleteRange(int64_t transactionId, int64_t objectStoreId, PassRefPtr<IDBKeyRange> keyRange, PassRefPtr<IDBCallbacks> callbacks) [all...] |
IDBFactoryBackendProxy.cpp | 112 bool IDBFactoryBackendProxy::allowIndexedDB(ScriptExecutionContext* context, const String& name, const WebSecurityOrigin& origin, PassRefPtr<IDBCallbacks> callbacks) 140 callbacks->onError(WebIDBDatabaseError(UnknownError, "The user denied permission to access the database.")); 147 RefPtr<IDBCallbacks> callbacks(prpCallbacks); 149 if (!allowIndexedDB(context, "Database Listing", origin, callbacks)) 152 m_webIDBFactory->getDatabaseNames(new WebIDBCallbacksImpl(callbacks), databaseIdentifier); 157 RefPtr<IDBCallbacks> callbacks(prpCallbacks); 160 if (!allowIndexedDB(context, name, origin, callbacks)) 163 m_webIDBFactory->open(name, version, transactionId, new WebIDBCallbacksImpl(callbacks), new WebIDBDatabaseCallbacksImpl(databaseCallbacks), databaseIdentifier); 168 RefPtr<IDBCallbacks> callbacks(prpCallbacks); 170 if (!allowIndexedDB(context, name, origin, callbacks)) [all...] |
LocalFileSystemClient.cpp | 68 void LocalFileSystemClient::openFileSystem(ScriptExecutionContext* context, WebCore::FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, FileSystemSynchronousType, long long size, OpenFileSystemMode openMode) 73 webFrame->client()->openFileSystem(webFrame, static_cast<WebFileSystemType>(type), size, openMode == CreateFileSystemIfNotPresent, new WebFileSystemCallbacksImpl(callbacks)); 76 void LocalFileSystemClient::deleteFileSystem(ScriptExecutionContext* context, WebCore::FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) 81 webFrame->client()->deleteFileSystem(webFrame, static_cast<WebFileSystemType>(type), new WebFileSystemCallbacksImpl(callbacks));
|
/external/elfutils/tests/ |
dwfl-bug-report.c | 35 static const Dwfl_Callbacks callbacks = variable 44 Dwfl *dwfl = dwfl_begin (&callbacks);
|
/external/chromium_org/media/audio/ |
fake_audio_consumer_unittest.cc | 57 void TimeCallbacksOnAudioThread(int callbacks) { 60 if (source_.callbacks() == 0) { 65 // Keep going until we've seen the requested number of callbacks. 66 if (source_.callbacks() < callbacks) { 69 base::Unretained(this), callbacks), time_between_callbacks_ / 2); 72 EndTest(callbacks); 76 void EndTest(int callbacks) { 79 EXPECT_LE(callbacks, source_.callbacks()); [all...] |
/external/ppp/pppd/ |
fsm.c | 69 #define PROTO_NAME(f) ((f)->callbacks->proto_name) 138 if( f->callbacks->starting ) 139 (*f->callbacks->starting)(f); 156 if( f->callbacks->down ) 157 (*f->callbacks->down)(f); 177 if( f->callbacks->starting ) 178 (*f->callbacks->starting)(f); 217 else if( f->callbacks->down ) 218 (*f->callbacks->down)(f); /* Inform upper layers we're down */ 232 if( f->callbacks->finished [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
image_util.js | 9 function loadImageData(imageSpec, callbacks) { 12 if (typeof callbacks.onerror === 'function') { 14 callbacks.onerror({ problem: 'could_not_load', path: path }); 21 callbacks.onerror({ problem: 'image_size_invalid', path: path}); 44 if (typeof callbacks.oncomplete === 'function') { 45 callbacks.oncomplete( 49 if (typeof callbacks.onerror === 'function') { 50 callbacks.onerror({ problem: 'data_url_unavailable', path: path }); 57 function on_complete_index(index, err, loading, finished, callbacks) { 62 callbacks.onerror(index) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/ |
VideoRenderer.java | 35 * define their own rendering behavior (by passing in a Callbacks object), this 100 public static interface Callbacks { 105 // |this| either wraps a native (GUI) renderer or a client-supplied Callbacks 108 private final Callbacks callbacks; field in class:VideoRenderer 118 public VideoRenderer(Callbacks callbacks) { 119 nativeVideoRenderer = nativeWrapVideoRenderer(callbacks); 120 this.callbacks = callbacks; [all...] |
/external/smack/src/org/apache/qpid/management/common/sasl/ |
UsernameHashedPasswordCallbackHandler.java | 45 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException 47 for (int i = 0; i < callbacks.length; i++) 49 if (callbacks[i] instanceof NameCallback) 51 NameCallback ncb = (NameCallback) callbacks[i]; 54 else if (callbacks[i] instanceof PasswordCallback) 56 PasswordCallback pcb = (PasswordCallback) callbacks[i]; 61 throw new UnsupportedCallbackException(callbacks[i]);
|
/external/chromium_org/content/child/fileapi/ |
webfilesystem_impl.cc | 77 int RegisterCallbacks(WebFileSystemCallbacks* callbacks) { 78 return callbacks_.Add(callbacks); 83 WebFileSystemCallbacks* callbacks = callbacks_.Lookup(callbacks_id); local 85 return callbacks; 101 WebKit::WebFileSystemCallbacks* callbacks) { 102 if (callbacks->shouldBlockUntilCompletion()) 166 WebFileSystemCallbacks* callbacks = 168 DCHECK(callbacks); 169 DispatchToMethod(callbacks, method, params); 247 WebFileSystemCallbacks* callbacks [all...] |
/external/android-clat/ |
netlink_msg.c | 122 * sends a netlink message, reads a response, and hands the response(s) to the callbacks 124 * callbacks - callbacks to use on responses 126 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { 142 nl_recvmsgs(nl_sk, callbacks); 150 * sends a netlink/ifaddrmsg message and hands the responses to the callbacks 154 * callbacks - callbacks to use with the responses 156 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { 163 send_netlink_msg(msg, callbacks); 173 struct nl_cb *callbacks = NULL; local [all...] |
getaddr.c | 99 struct nl_cb *callbacks = NULL; local 113 callbacks = nl_cb_alloc(NL_CB_DEFAULT); 114 if(!callbacks) { 117 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ); 118 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ); 121 send_ifaddrmsg(RTM_GETADDR, NLM_F_REQUEST | NLM_F_ROOT, &ifa, callbacks); 133 if(callbacks) 134 nl_cb_put(callbacks);
|
getroute.c | 107 struct nl_cb *callbacks = NULL; local 120 callbacks = nl_cb_alloc(NL_CB_DEFAULT); 121 if(!callbacks) { 126 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, get_default_route_cb, default_route); 127 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &retval); 134 send_netlink_msg(nlmsg, callbacks); 137 if(callbacks) 138 nl_cb_put(callbacks);
|
netlink_msg.h | 25 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks); 26 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
DOMFileSystemBase.cpp | 143 OwnPtr<MetadataCallbacks> callbacks(MetadataCallbacks::create(successCallback, errorCallback)); 144 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 145 m_asyncFileSystem->readMetadata(createFileSystemURL(entry), callbacks.release()); 197 OwnPtr<EntryCallbacks> callbacks(EntryCallbacks::create(successCallback, errorCallback, parent->filesystem(), destinationPath, source->isDirectory())); 198 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 200 m_asyncFileSystem->move(createFileSystemURL(source), parent->filesystem()->createFileSystemURL(destinationPath), callbacks.release()); 210 OwnPtr<EntryCallbacks> callbacks(EntryCallbacks::create(successCallback, errorCallback, parent->filesystem(), destinationPath, source->isDirectory())); 211 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 213 m_asyncFileSystem->copy(createFileSystemURL(source), parent->filesystem()->createFileSystemURL(destinationPath), callbacks.release()); 224 OwnPtr<VoidCallbacks> callbacks(VoidCallbacks::create(successCallback, errorCallback)) [all...] |
/external/chromium_org/content/child/indexed_db/ |
indexed_db_dispatcher.cc | 55 // Clear any pending callbacks - which may result in dispatch requests - 177 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 179 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); 191 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 193 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); 202 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 204 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); 224 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 230 params.ipc_callbacks_id = pending_callbacks_.Add(callbacks.release()); 244 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr) 458 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 475 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 487 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 498 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 515 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 531 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 541 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 559 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 584 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 613 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 623 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 631 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(p.ipc_callbacks_id); local 651 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local 667 WebIDBDatabaseCallbacks* callbacks = local 681 WebIDBDatabaseCallbacks* callbacks = local 691 WebIDBDatabaseCallbacks* callbacks = local 703 WebIDBDatabaseCallbacks* callbacks = local [all...] |
proxy_webidbcursor_impl.cc | 31 // It's not possible for there to be pending callbacks that address this 50 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 53 count, callbacks.release(), ipc_cursor_id_); 61 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); 69 CachedContinue(callbacks.get()); 77 prefetch_amount_, callbacks.release(), ipc_cursor_id_); 92 IndexedDBKeyBuilder::Build(key), callbacks.release(), ipc_cursor_id_); 120 void RendererWebIDBCursorImpl::CachedContinue(WebIDBCallbacks* callbacks) { 137 callbacks->onSuccess(WebIDBKeyBuilder::Build(key),
|
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt.c | 64 static bt_status_t btif_gatt_init( const btgatt_callbacks_t* callbacks ) 66 bt_gatt_callbacks = callbacks;
|
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 107 memset(&callbacks, 0, sizeof(callbacks)); 115 if (callbacks.onDestroy != NULL) { 116 callbacks.onDestroy(this); 143 ANativeActivityCallbacks callbacks; member in struct:android::NativeCode 295 code->ANativeActivity::callbacks = &code->callbacks; 360 if (code->callbacks.onStart != NULL) { 361 code->callbacks.onStart(code); 372 if (code->callbacks.onResume != NULL) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
CustomElementDefinition.h | 49 CustomElementLifecycleCallbacks* callbacks() const { return m_callbacks.get(); } function in class:WebCore::CustomElementDefinition
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.h | 29 const OMX_CALLBACKTYPE *callbacks,
|
/hardware/libhardware/include/hardware/ |
bt_gatt.h | 27 /** BT-GATT callbacks */ 32 /** GATT Client callbacks */ 35 /** GATT Server callbacks */ 47 bt_status_t (*init)( const btgatt_callbacks_t* callbacks );
|