/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 );
|
/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/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/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()) 66 std::vector<RetrievePolicyCallback> callbacks; local [all...] |
/external/chromium_org/content/child/indexed_db/ |
webidbdatabase_impl.cc | 39 // It's not possible for there to be pending callbacks that address this 75 WebIDBDatabaseCallbacks* callbacks, 81 ipc_database_id_, transaction_id, callbacks, object_store_ids, mode); 96 WebIDBCallbacks* callbacks) { 105 callbacks); 113 WebIDBCallbacks* callbacks, 124 callbacks, 172 WebIDBCallbacks* callbacks) { 184 callbacks); 191 WebIDBCallbacks* callbacks) { [all...] |
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_factory_unittest.cc | 214 scoped_refptr<LookingForQuotaErrorMockCallbacks> callbacks = local 222 callbacks, 236 scoped_refptr<MockIndexedDBCallbacks> callbacks(new MockIndexedDBCallbacks()); 243 callbacks, local 248 EXPECT_TRUE(callbacks->connection()); 253 callbacks->connection()->ForceClose(); 267 scoped_refptr<MockIndexedDBCallbacks> callbacks(new MockIndexedDBCallbacks()); 274 callbacks, local 279 EXPECT_TRUE(callbacks->connection()); 281 callbacks->connection()->database()->backing_store() 369 callbacks, local [all...] |
indexed_db_database.cc | 35 PendingOpenCall(scoped_refptr<IndexedDBCallbacks> callbacks, 39 : callbacks_(callbacks), 43 scoped_refptr<IndexedDBCallbacks> Callbacks() { return callbacks_; } 61 PendingUpgradeCall(scoped_refptr<IndexedDBCallbacks> callbacks, 65 : callbacks_(callbacks), 69 scoped_refptr<IndexedDBCallbacks> Callbacks() { return callbacks_; } 86 PendingSuccessCall(scoped_refptr<IndexedDBCallbacks> callbacks, 89 : callbacks_(callbacks), connection_(connection), version_(version) {} 90 scoped_refptr<IndexedDBCallbacks> Callbacks() { return callbacks_; } 102 explicit PendingDeleteCall(scoped_refptr<IndexedDBCallbacks> callbacks) 702 scoped_refptr<IndexedDBCallbacks> callbacks; member in struct:content::IndexedDBDatabase::PutOperationParams 973 scoped_refptr<IndexedDBCallbacks> callbacks; member in struct:content::IndexedDBDatabase::OpenCursorOperationParams [all...] |
indexed_db_database.h | 75 scoped_refptr<IndexedDBCallbacks> callbacks, 80 scoped_refptr<IndexedDBCallbacks> callbacks, 86 void DeleteDatabase(scoped_refptr<IndexedDBCallbacks> callbacks); 135 scoped_refptr<IndexedDBCallbacks> callbacks); 141 scoped_refptr<IndexedDBCallbacks> callbacks, 159 scoped_refptr<IndexedDBCallbacks> callbacks); 164 scoped_refptr<IndexedDBCallbacks> callbacks); 168 scoped_refptr<IndexedDBCallbacks> callbacks); 171 scoped_refptr<IndexedDBCallbacks> callbacks); 197 scoped_refptr<IndexedDBCallbacks> callbacks, [all...] |
indexed_db_connection.cc | 11 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks) 12 : database_(database), callbacks_(callbacks) {}
|
indexed_db_connection.h | 19 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks); 28 IndexedDBDatabaseCallbacks* callbacks() { return callbacks_; } function in class:content::IndexedDBConnection
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
DOMFileSystemBase.cpp | 190 OwnPtr<AsyncFileSystemCallbacks> callbacks(MetadataCallbacks::create(successCallback, errorCallback, this)); 191 callbacks->setShouldBlockUntilCompletion(synchronousType == Synchronous); 192 fileSystem()->readMetadata(createFileSystemURL(entry), callbacks.release()); 232 OwnPtr<AsyncFileSystemCallbacks> callbacks(EntryCallbacks::create(successCallback, errorCallback, 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, 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, this)) [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/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/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.
|
/external/chromium_org/tools/json_schema_compiler/test/ |
callbacks.json | 3 "namespace": "callbacks", 4 "description": "The callbacks API.",
|