HomeSort by relevance Sort by last modified time
    Searched full:callbacks (Results 1 - 25 of 3607) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
Application.java 105 Object[] callbacks = collectComponentCallbacks(); local
106 if (callbacks != null) {
107 for (int i=0; i<callbacks.length; i++) {
108 ((ComponentCallbacks)callbacks[i]).onConfigurationChanged(newConfig);
114 Object[] callbacks = collectComponentCallbacks(); local
115 if (callbacks != null) {
116 for (int i=0; i<callbacks.length; i++) {
117 ((ComponentCallbacks)callbacks[i]).onLowMemory();
123 Object[] callbacks = collectComponentCallbacks(); local
124 if (callbacks != null)
186 Object[] callbacks = collectActivityLifecycleCallbacks(); local
196 Object[] callbacks = collectActivityLifecycleCallbacks(); local
205 Object[] callbacks = collectActivityLifecycleCallbacks(); local
214 Object[] callbacks = collectActivityLifecycleCallbacks(); local
223 Object[] callbacks = collectActivityLifecycleCallbacks(); local
232 Object[] callbacks = collectActivityLifecycleCallbacks(); local
242 Object[] callbacks = collectActivityLifecycleCallbacks(); local
251 Object[] callbacks = null; local
261 Object[] callbacks = null; local
271 Object[] callbacks; local
    [all...]
  /external/chromium_org/tools/json_schema_compiler/test/
idl_callback_arrays.idl 5 // Tests the case of an array of callbacks as an a argument
11 static void whatever(MyCallback[] callbacks);
  /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/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/chromium/chrome/browser/resources/bookmark_manager/js/
bmm_test.html 40 var callbacks = {};
44 callbacks[id] = callbacks[id] || [];
45 callbacks[id].push(callback);
46 callbacks[id].$calls = callbacks[id].$calls ? callbacks[id].$calls++ : 1;
54 for (var i = 0; i < callbacks[id].length; i++) {
55 callbacks[id][i].call(null, [node]);
60 callbacks = {
    [all...]
  /external/chromium_org/chrome/browser/resources/bookmark_manager/js/
bmm_test.html 39 var callbacks = {};
42 callbacks[id] = callbacks[id] || [];
43 callbacks[id].push(callback);
44 callbacks[id].$calls = callbacks[id].$calls ? callbacks[id].$calls++ : 1;
52 for (var i = 0; i < callbacks[id].length; i++) {
53 callbacks[id][i].call(null, [node]);
58 callbacks = {
    [all...]
  /external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/
bmm_test.html 39 var callbacks = {};
42 callbacks[id] = callbacks[id] || [];
43 callbacks[id].push(callback);
44 callbacks[id].$calls = callbacks[id].$calls ? callbacks[id].$calls++ : 1;
52 for (var i = 0; i < callbacks[id].length; i++) {
53 callbacks[id][i].call(null, [node]);
58 callbacks = {
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteCallbackList.java 15 private HashMap<IBinder, Callback> callbacks = new HashMap<IBinder, Callback>(); field in class:ShadowRemoteCallbackList
30 synchronized (callbacks) {
31 callbacks.remove(callback.asBinder());
44 synchronized (callbacks) {
52 callbacks.put(binder, cb);
62 synchronized (callbacks) {
63 Callback cb = callbacks.remove(callback.asBinder());
74 synchronized (callbacks) {
75 for (Callback cb : callbacks.values()) {
78 callbacks.clear()
    [all...]
  /external/chromium_org/content/child/service_worker/
service_worker_dispatcher.cc 65 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks) {
66 DCHECK(callbacks);
67 int request_id = pending_callbacks_.Add(callbacks);
74 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks) {
75 DCHECK(callbacks);
76 int request_id = pending_callbacks_.Add(callbacks);
100 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local
102 DCHECK(callbacks);
103 if (!callbacks)
114 callbacks->onSuccess(worker.release())
121 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local
136 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local
    [all...]
web_service_worker_provider_impl.cc 47 WebServiceWorkerCallbacks* callbacks) {
49 ->RegisterServiceWorker(pattern, script_url, callbacks);
54 WebServiceWorkerCallbacks* callbacks) {
56 ->UnregisterServiceWorker(pattern, callbacks);
  /frameworks/support/v4/java/android/support/v4/os/
ParcelableCompat.java 31 * @param callbacks Creator callbacks implementation.
35 ParcelableCompatCreatorCallbacks<T> callbacks) {
37 ParcelableCompatCreatorHoneycombMR2Stub.instantiate(callbacks);
39 return new CompatCreator<T>(callbacks);
45 public CompatCreator(ParcelableCompatCreatorCallbacks<T> callbacks) {
46 mCallbacks = callbacks;
  /external/android-clat/
netlink_callbacks.c 16 * netlink_callbacks.c - generic callbacks for netlink responses
53 * allocates a set of netlink callbacks. returns NULL on failure. callbacks will modify retval with <0 meaning failure
57 struct nl_cb *callbacks; local
59 callbacks = nl_cb_alloc(NL_CB_DEFAULT);
60 if(!callbacks) {
63 nl_cb_set(callbacks, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, retval);
64 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, retval);
65 return callbacks;
  /external/chromium_org/third_party/WebKit/Source/core/dom/custom/
CustomElementCallbackInvocation.cpp 41 CreatedInvocation(PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
42 : CustomElementCallbackInvocation(callbacks)
54 CustomElementCallbackScheduler::scheduleAttachedCallback(callbacks(), element);
55 callbacks()->created(element);
68 AttachedDetachedInvocation::AttachedDetachedInvocation(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, CustomElementLifecycleCallbacks::CallbackType which)
69 : CustomElementCallbackInvocation(callbacks)
79 callbacks()->attached(element);
82 callbacks()->detached(element);
101 AttributeChangedInvocation::AttributeChangedInvocation(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue)
102 : CustomElementCallbackInvocation(callbacks)
    [all...]
CustomElementCallbackScheduler.cpp 40 void CustomElementCallbackScheduler::scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue)
42 if (!callbacks->hasAttributeChangedCallback())
46 queue->append(CustomElementCallbackInvocation::createAttributeChangedInvocation(callbacks, name, oldValue, newValue));
49 void CustomElementCallbackScheduler::scheduleCreatedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element)
51 if (!callbacks->hasCreatedCallback())
55 queue->append(CustomElementCallbackInvocation::createInvocation(callbacks, CustomElementLifecycleCallbacks::Created));
58 void CustomElementCallbackScheduler::scheduleAttachedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element)
60 if (!callbacks->hasAttachedCallback())
64 queue->append(CustomElementCallbackInvocation::createInvocation(callbacks, CustomElementLifecycleCallbacks::Attached));
67 void CustomElementCallbackScheduler::scheduleDetachedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element
    [all...]
  /external/chromium_org/content/child/indexed_db/
webidbfactory_impl.cc 24 void WebIDBFactoryImpl::getDatabaseNames(WebIDBCallbacks* callbacks,
28 dispatcher->RequestIDBFactoryGetDatabaseNames(callbacks,
35 WebIDBCallbacks* callbacks,
43 callbacks,
49 WebIDBCallbacks* callbacks,
54 name, callbacks, database_identifier.utf8());
indexed_db_dispatcher.cc 53 // Clear any pending callbacks - which may result in dispatch requests -
175 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
177 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
190 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
192 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
201 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
203 int32 ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
223 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
229 params.ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
243 scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr)
457 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
480 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
492 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
503 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
520 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
536 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
546 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
564 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
589 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
618 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
628 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
636 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(p.ipc_callbacks_id); local
657 WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(ipc_callbacks_id); local
673 WebIDBDatabaseCallbacks* callbacks = local
687 WebIDBDatabaseCallbacks* callbacks = local
697 WebIDBDatabaseCallbacks* callbacks = local
709 WebIDBDatabaseCallbacks* callbacks = local
    [all...]
  /external/chromium_org/content/browser/indexed_db/
indexed_db_cursor.cc 35 scoped_refptr<IndexedDBCallbacks> callbacks) {
44 callbacks));
48 scoped_refptr<IndexedDBCallbacks> callbacks) {
54 &IndexedDBCursor::CursorAdvanceOperation, this, count, callbacks));
59 scoped_refptr<IndexedDBCallbacks> callbacks,
64 callbacks->OnSuccess(static_cast<std::string*>(NULL));
68 callbacks->OnSuccess(key(), primary_key(), Value());
74 scoped_refptr<IndexedDBCallbacks> callbacks,
81 callbacks->OnSuccess(static_cast<std::string*>(NULL));
85 callbacks->OnSuccess(this->key(), this->primary_key(), Value())
    [all...]
indexed_db_cursor.h 29 void Advance(uint32 count, scoped_refptr<IndexedDBCallbacks> callbacks);
32 scoped_refptr<IndexedDBCallbacks> callbacks);
34 scoped_refptr<IndexedDBCallbacks> callbacks);
47 scoped_refptr<IndexedDBCallbacks> callbacks,
50 scoped_refptr<IndexedDBCallbacks> callbacks,
54 scoped_refptr<IndexedDBCallbacks> callbacks,
  /external/chromium_org/content/child/fileapi/
webfilesystem_impl.cc 46 const WebFileSystemCallbacks& callbacks) {
47 if (callbacks.shouldBlockUntilCompletion())
113 WebFileSystemCallbacks callbacks =
115 DispatchToMethod(&callbacks, method, params);
143 // Callback adapters. Callbacks must be called on the original calling thread,
225 WebFileSystemCallbacks callbacks =
229 callbacks.didFail(blink::WebFileErrorInvalidState);
233 callbacks.shouldBlockUntilCompletion() ?
235 callbacks.didCreateFileWriter(
264 WebFileSystemCallbacks callbacks
609 WebFileSystemCallbacks callbacks = found->second; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
LocalFileSystem.cpp 49 void fileSystemNotAllowed(ExecutionContext*, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
51 callbacks->didFail(FileError::ABORT_ERR);
65 void LocalFileSystem::resolveURL(ExecutionContext* context, const KURL& fileSystemURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
68 context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks));
71 blink::Platform::current()->fileSystem()->resolveURL(fileSystemURL, callbacks);
74 void LocalFileSystem::requestFileSystem(ExecutionContext* context, FileSystemType type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
77 context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks));
81 blink::Platform::current()->fileSystem()->openFileSystem(storagePartition, static_cast<blink::WebFileSystemType>(type), callbacks);
84 void LocalFileSystem::deleteFileSystem(ExecutionContext* context, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
90 context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebFileSystemCallbacks.cpp 51 static PassRefPtr<WebFileSystemCallbacksPrivate> create(const PassOwnPtr<AsyncFileSystemCallbacks>& callbacks)
53 return adoptRef(new WebFileSystemCallbacksPrivate(callbacks));
56 AsyncFileSystemCallbacks* callbacks() { return m_callbacks.get(); } function in class:blink::WebFileSystemCallbacksPrivate
59 WebFileSystemCallbacksPrivate(const PassOwnPtr<AsyncFileSystemCallbacks>& callbacks) : m_callbacks(callbacks) { }
63 WebFileSystemCallbacks::WebFileSystemCallbacks(const PassOwnPtr<AsyncFileSystemCallbacks>& callbacks)
65 m_private = WebFileSystemCallbacksPrivate::create(callbacks);
81 m_private->callbacks()->didSucceed();
93 m_private->callbacks()->didReadMetadata(fileMetadata);
111 m_private->callbacks()->didCreateSnapshotFile(fileMetadata, snapshotBlob)
    [all...]
  /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/ppapi/shared_impl/
callback_tracker.h 20 // Pepper callbacks have the following semantics (unless otherwise specified;
21 // in particular, the below apply to all completion callbacks):
22 // - Callbacks are always run on the main thread.
23 // - Callbacks are always called from the main message loop. In particular,
28 // result |PP_ERROR_ABORTED| (in the case of completion callbacks).
31 // - Callbacks are usually associated to a resource, whose "deletion" provides
33 // - When a plugin releases its last reference to resource, all callbacks
57 // |CallbackTracker| tracks pending Pepper callbacks for a single module. It
58 // also tracks, for each resource ID, which callbacks are pending. When a
60 // use |CallbackTracker| for two things: (1) to ensure that all callbacks ar
    [all...]
  /external/chromium_org/v8/test/mjsunit/
number-string-index-call.js 28 var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ];
29 assertEquals('foo', callbacks['0']());
30 assertThrows("callbacks['1']()");
31 assertThrows("callbacks['2']('abcdefg')");
  /external/v8/test/mjsunit/
number-string-index-call.js 28 var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ];
29 assertEquals('foo', callbacks['0']());
30 assertThrows("callbacks['1']()");
31 assertThrows("callbacks['2']('abcdefg')");

Completed in 856 milliseconds

1 2 3 4 5 6 7 8 91011>>