/external/chromium_org/content/shell/renderer/test_runner/ |
mock_web_push_client.cc | 40 blink::WebPushRegistrationCallbacks* callbacks) { 41 DCHECK(callbacks); 47 callbacks->onError(error.release()); 54 callbacks->onSuccess(registration.release()); 57 delete callbacks;
|
/external/chromium_org/content/browser/indexed_db/ |
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,
|
indexed_db_factory_unittest.cc | 244 scoped_refptr<LookingForQuotaErrorMockCallbacks> callbacks = local 249 IndexedDBPendingConnection connection(callbacks, 259 EXPECT_TRUE(callbacks->error_called()); 268 scoped_refptr<MockIndexedDBCallbacks> callbacks(new MockIndexedDBCallbacks()); 273 callbacks, 284 EXPECT_TRUE(callbacks->connection()); 289 callbacks->connection()->ForceClose(); 301 scoped_refptr<MockIndexedDBCallbacks> callbacks(new MockIndexedDBCallbacks()); 306 callbacks, 317 EXPECT_TRUE(callbacks->connection()) [all...] |
indexed_db_cursor.cc | 38 scoped_refptr<IndexedDBCallbacks> callbacks) { 47 callbacks)); 51 scoped_refptr<IndexedDBCallbacks> callbacks) { 57 &IndexedDBCursor::CursorAdvanceOperation, this, count, callbacks)); 62 scoped_refptr<IndexedDBCallbacks> callbacks, 71 callbacks->OnSuccess(static_cast<IndexedDBValue*>(NULL)); 75 callbacks->OnSuccess(key(), primary_key(), Value()); 81 scoped_refptr<IndexedDBCallbacks> callbacks, 93 callbacks->OnSuccess(static_cast<IndexedDBValue*>(NULL)); 97 callbacks->OnSuccess(this->key(), this->primary_key(), Value()) [all...] |
indexed_db_database.h | 82 void DeleteDatabase(scoped_refptr<IndexedDBCallbacks> callbacks); 129 scoped_refptr<IndexedDBCallbacks> callbacks); 136 scoped_refptr<IndexedDBCallbacks> callbacks, 152 scoped_refptr<IndexedDBCallbacks> callbacks); 157 scoped_refptr<IndexedDBCallbacks> callbacks); 161 scoped_refptr<IndexedDBCallbacks> callbacks); 164 scoped_refptr<IndexedDBCallbacks> callbacks); 187 scoped_refptr<IndexedDBCallbacks> callbacks, 206 scoped_refptr<IndexedDBCallbacks> callbacks, 219 scoped_refptr<IndexedDBCallbacks> callbacks, [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
CallbackInfo.java | 30 public static Type[] determineTypes(Callback[] callbacks) { 31 Type[] types = new Type[callbacks.length]; 33 types[i] = determineType(callbacks[i]); 52 private static final CallbackInfo[] CALLBACKS = { 77 for (int i = 0; i < CALLBACKS.length; i++) { 78 CallbackInfo info = CALLBACKS[i]; 93 for (int i = 0; i < CALLBACKS.length; i++) { 94 CallbackInfo info = CALLBACKS[i];
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
ChangeLabelsSpan.java | 17 public ChangeLabelsSpan(ConversationViewHeaderCallbacks callbacks) { 18 mCallbacks = callbacks;
|
/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...] |
/external/chromium_org/content/child/service_worker/ |
service_worker_dispatcher.cc | 80 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks) { 81 DCHECK(callbacks); 86 owned_callbacks(callbacks); 89 callbacks->onError(error.release()); 93 int request_id = pending_callbacks_.Add(callbacks); 101 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks) { 102 DCHECK(callbacks); 106 owned_callbacks(callbacks); 109 callbacks->onError(error.release()); 113 int request_id = pending_callbacks_.Add(callbacks); 206 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local 219 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local 234 WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = local [all...] |
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 109 memset(&callbacks, 0, sizeof(callbacks)); 117 if (callbacks.onDestroy != NULL) { 118 callbacks.onDestroy(this); 145 ANativeActivityCallbacks callbacks; member in struct:android::NativeCode 309 code->ANativeActivity::callbacks = &code->callbacks; 374 if (code->callbacks.onStart != NULL) { 375 code->callbacks.onStart(code); 386 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/third_party/WebKit/Source/modules/filesystem/ |
LocalFileSystem.cpp | 53 void fileSystemNotAllowed(ExecutionContext*, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) 55 callbacks->didFail(FileError::ABORT_ERR); 85 void LocalFileSystem::resolveURL(ExecutionContext* context, const KURL& fileSystemURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) 87 RefPtr<CallbackWrapper> wrapper = adoptRef(new CallbackWrapper(callbacks)); 93 void LocalFileSystem::requestFileSystem(ExecutionContext* context, FileSystemType type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) 96 RefPtr<CallbackWrapper> wrapper = adoptRef(new CallbackWrapper(callbacks)); 102 void LocalFileSystem::deleteFileSystem(ExecutionContext* context, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) 108 RefPtr<CallbackWrapper> wrapper = adoptRef(new CallbackWrapper(callbacks)); 133 PassRefPtr<CallbackWrapper> callbacks) 135 context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks->release())) [all...] |
DOMFileSystemBase.cpp | 190 OwnPtr<AsyncFileSystemCallbacks> callbacks(MetadataCallbacks::create(successCallback, errorCallback, m_context, this)); 191 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 192 fileSystem()->readMetadata(createFileSystemURL(entry), callbacks.release()); 232 OwnPtr<AsyncFileSystemCallbacks> callbacks(EntryCallbacks::create(successCallback, errorCallback, m_context, parent->filesystem(), destinationPath, source->isDirectory())); 233 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 235 fileSystem()->move(createFileSystemURL(source), parent->filesystem()->createFileSystemURL(destinationPath), callbacks.release()); 246 OwnPtr<AsyncFileSystemCallbacks> callbacks(EntryCallbacks::create(successCallback, errorCallback, m_context, parent->filesystem(), destinationPath, source->isDirectory())); 247 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 249 fileSystem()->copy(createFileSystemURL(source), parent->filesystem()->createFileSystemURL(destinationPath), callbacks.release()); 261 OwnPtr<AsyncFileSystemCallbacks> callbacks(VoidCallbacks::create(successCallback, errorCallback, m_context, this)) [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/deqp/framework/platform/android/ |
tcuAndroidNativeActivity.cpp | 120 activity->callbacks->onStart = onStartCallback; 121 activity->callbacks->onResume = onResumeCallback; 122 activity->callbacks->onSaveInstanceState = onSaveInstanceStateCallback; 123 activity->callbacks->onPause = onPauseCallback; 124 activity->callbacks->onStop = onStopCallback; 125 activity->callbacks->onDestroy = onDestroyCallback; 126 activity->callbacks->onWindowFocusChanged = onWindowFocusChangedCallback; 127 activity->callbacks->onNativeWindowCreated = onNativeWindowCreatedCallback; 128 activity->callbacks->onNativeWindowResized = onNativeWindowResizedCallback; 129 activity->callbacks->onNativeWindowRedrawNeeded = onNativeWindowRedrawNeededCallback [all...] |
/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;
|
/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 );
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherProviderChangeListener.java | 6 * standard data change callbacks.
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 29 private Callbacks mCallbacks = sDummyCallbacks; 32 public interface Callbacks { 37 private static Callbacks sDummyCallbacks = new Callbacks() { 64 if (!(activity instanceof Callbacks)) { 65 throw new IllegalStateException("Activity must implement fragment's callbacks."); 68 mCallbacks = (Callbacks) activity;
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
UserPasswordCallbackHandler.java | 40 public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException 42 for (int i = 0; i < callbacks.length; i++) 44 if (callbacks[i] instanceof NameCallback) 46 NameCallback ncb = (NameCallback) callbacks[i]; 49 else if (callbacks[i] instanceof PasswordCallback) 51 PasswordCallback pcb = (PasswordCallback) callbacks[i]; 56 throw new UnsupportedCallbackException(callbacks[i]);
|
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/base/metrics/ |
user_metrics.cc | 15 // A helper class for tracking callbacks and ensuring thread-safety. 16 class Callbacks { 18 Callbacks() {} 50 DISALLOW_COPY_AND_ASSIGN(Callbacks); 53 base::LazyInstance<Callbacks> g_callbacks = LAZY_INSTANCE_INITIALIZER;
|
/external/chromium_org/mojo/tools/ |
generate_java_callback_interfaces.py | 1 """Generate the org.chromium.mojo.bindings.Callbacks interface""" 31 * Contains a generic interface for callbacks. 33 public interface Callbacks { 49 description="Generate org.chromium.mojo.bindings.Callbacks") 51 help="maximal number of arguments to generate callbacks for")
|
/external/qemu/include/block/ |
aio.h | 23 /* Runs all currently allowed AIO callbacks of completed requests in the 35 * result of executing I/O completion or bh callbacks. */ 39 * Runs all currently allowed AIO callbacks of completed requests. Returns 0 45 /* Register a file descriptor and associated callbacks. Behaves very similarly 46 * to qemu_set_fd_handler2. Unlike qemu_set_fd_handler2, these callbacks will
|
/external/android-clat/ |
netlink_msg.c | 123 * sends a netlink message, reads a response, and hands the response(s) to the callbacks 125 * callbacks - callbacks to use on responses 127 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { 143 nl_recvmsgs(nl_sk, callbacks); 151 * sends a netlink/ifaddrmsg message and hands the responses to the callbacks 155 * callbacks - callbacks to use with the responses 157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { 164 send_netlink_msg(msg, callbacks); 174 struct nl_cb *callbacks = NULL; local [all...] |