HomeSort by relevance Sort by last modified time
    Searched full:callbacks (Results 26 - 50 of 3482) sorted by null

12 3 4 5 6 7 8 91011>>

  /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 );
  /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]);
  /frameworks/uiautomator/tests/CtsUiAutomatorTest/testapp/src/com/android/uiautomator/tests/cts/testapp/
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/qemu/
qemu-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 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);
  /external/chromium_org/content/child/indexed_db/
proxy_webidbdatabase_impl.cc 40 // It's not possible for there to be pending callbacks that address this
81 WebIDBDatabaseCallbacks* callbacks,
87 ipc_database_id_, transaction_id, callbacks, object_store_ids, mode);
103 WebIDBCallbacks* callbacks) {
113 callbacks);
122 WebIDBCallbacks* callbacks,
133 callbacks,
182 WebIDBCallbacks* callbacks) {
194 callbacks);
202 WebIDBCallbacks* callbacks) {
    [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/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/chrome/browser/chromeos/settings/
device_settings_test_helper.cc 35 std::vector<StorePolicyCallback> callbacks; local
36 callbacks.swap(device_policy_.store_callbacks_);
37 for (std::vector<StorePolicyCallback>::iterator cb(callbacks.begin());
38 cb != callbacks.end(); ++cb) {
46 callbacks.swap(device_local_account_state->second.store_callbacks_);
47 for (std::vector<StorePolicyCallback>::iterator cb(callbacks.begin());
48 cb != callbacks.end(); ++cb) {
55 std::vector<RetrievePolicyCallback> callbacks; local
56 callbacks.swap(device_policy_.retrieve_callbacks_);
57 for (std::vector<RetrievePolicyCallback>::iterator cb(callbacks.begin())
    [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/remoting/protocol/
pairing_registry_unittest.cc 198 MockPairingRegistryCallbacks callbacks; local
200 EXPECT_CALL(callbacks, GetPairingCallback(EqualsClientName("client1")))
202 EXPECT_CALL(callbacks, GetPairingCallback(EqualsClientName("client2")))
204 EXPECT_CALL(callbacks, DoneCallback(true))
206 EXPECT_CALL(callbacks, GetPairingCallback(EqualsClientName("client1")))
208 EXPECT_CALL(callbacks, GetPairingCallback(EqualsClientName("")))
210 EXPECT_CALL(callbacks, DoneCallback(true))
212 EXPECT_CALL(callbacks, GetAllPairingsCallbackPtr(NoPairings()))
214 EXPECT_CALL(callbacks, GetPairingCallback(EqualsClientName("client3")))
226 base::Unretained(&callbacks)));
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
vtab7.test 27 # certain module callbacks. This includes the xSync(), xCommit() and
28 # xRollback() callbacks. For each of these callback, two elements are
50 # xRollback callbacks.
58 if {[info exists ::callbacks($x,$tablename)]} {
59 eval $::callbacks($x,$tablename)
64 # ::echo_module is providing the expected tcl callbacks.
73 set ::callbacks(xSync,abc) {incr ::counter}
83 set ::callbacks(xSync,abc) {
107 set ::callbacks(xSync,abc) {
121 set ::callbacks(xSync,abc)
    [all...]
  /external/chromium_org/content/browser/indexed_db/
indexed_db_database.h 72 scoped_refptr<IndexedDBCallbacks> callbacks,
77 scoped_refptr<IndexedDBCallbacks> callbacks,
82 void DeleteDatabase(scoped_refptr<IndexedDBCallbacks> callbacks);
127 scoped_refptr<IndexedDBCallbacks> callbacks);
133 scoped_refptr<IndexedDBCallbacks> callbacks,
151 scoped_refptr<IndexedDBCallbacks> callbacks);
156 scoped_refptr<IndexedDBCallbacks> callbacks);
160 scoped_refptr<IndexedDBCallbacks> callbacks);
163 scoped_refptr<IndexedDBCallbacks> callbacks);
188 void RunVersionChangeTransaction(scoped_refptr<IndexedDBCallbacks> callbacks,
    [all...]
indexed_db_connection.h 19 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks);
26 IndexedDBDatabaseCallbacks* callbacks() { return callbacks_; } function in class:content::IndexedDBConnection
  /external/chromium_org/third_party/WebKit/Source/web/
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...]
  /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...]
  /development/ndk/platforms/android-9/include/android/
storage_manager.h 33 * as the status for callbacks made during asynchronous OBB actions.
39 * as the status for callbacks made during asynchronous OBB actions.
45 * mount the OBB. Can be returned as the status for callbacks made
52 * status for callbacks made during asynchronous OBB actions.
59 * callbacks made during asynchronous OBB actions.
65 * returned as the status for callbacks made during asynchronous OBB
72 * callbacks made during asynchronous OBB actions.
79 * package. Can be returned as the status for callbacks made during
  /external/chromium_org/base/
callback_helpers.h 5 // This defines helpful methods for dealing with Callbacks. Because Callbacks
  /external/chromium_org/content/public/app/
android_library_loader_hooks.h 15 // Registers the callbacks that allows the entry point of the library to be
17 // specific callbacks. Any application specific JNI bindings should happen
  /external/chromium_org/ppapi/cpp/
graphics_3d_client.h 12 /// This file defines the API for callbacks related to 3D.
18 // This class provides a C++ interface for callbacks related to 3D. You
  /external/chromium_org/ppapi/thunk/
ppb_message_loop_api.h 27 // to track callbacks and support things like blocking or optional callbacks.

Completed in 1131 milliseconds

12 3 4 5 6 7 8 91011>>