Searched defs:callback (Results 1 - 25 of 563) sorted by path

1234567891011>>

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
H A DChoiceCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
24 import javax.security.auth.callback.ChoiceCallback;
H A DConfirmationCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
24 import javax.security.auth.callback.ConfirmationCallback;
H A DLanguageCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
27 import javax.security.auth.callback.LanguageCallback;
H A DNameCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
24 import javax.security.auth.callback.NameCallback;
H A DPasswordCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
25 import javax.security.auth.callback.PasswordCallback;
H A DTextInputCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
24 import javax.security.auth.callback.TextInputCallback;
H A DTextOutputCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
24 import javax.security.auth.callback.TextOutputCallback;
H A DUnsupportedCallbackExceptionTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback;
25 import javax.security.auth.callback.NameCallback;
26 import javax.security.auth.callback.UnsupportedCallbackException;
71 * when callback and msg is null
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
H A DChoiceCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.ChoiceCallback;
H A DConfirmationCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.ConfirmationCallback;
H A DLanguageCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.LanguageCallback;
H A DNameCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.NameCallback;
H A DPasswordCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.PasswordCallback;
H A DTextInputCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.TextInputCallback;
H A DTextOutputCallbackTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
26 import javax.security.auth.callback.TextOutputCallback;
H A DUnsupportedCallbackExceptionTest.java22 package org.apache.harmony.auth.tests.javax.security.auth.callback.serialization;
24 import javax.security.auth.callback.LanguageCallback;
25 import javax.security.auth.callback.UnsupportedCallbackException;
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DtmpCallbackHandler.java26 import javax.security.auth.callback.Callback;
27 import javax.security.auth.callback.CallbackHandler;
28 import javax.security.auth.callback.UnsupportedCallbackException;
36 public void handle(Callback[] callback) throws IOException, argument
38 if (callback == null) {
39 throw new UnsupportedCallbackException(null, "callback is null");
41 if (callback.length == 0) {
42 throw new UnsupportedCallbackException(null, "callback is empty");
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_pan.c154 static btpan_callbacks_t callback; variable
161 callback = *callbacks;
239 callback.connection_state_cb(BTPAN_STATE_DISCONNECTING, BT_STATUS_SUCCESS,
523 callback.control_state_cb(state, btpan_role, status, TAP_IF_NAME);
540 callback.connection_state_cb(BTPAN_STATE_CONNECTING, BT_STATUS_SUCCESS,
571 callback.connection_state_cb(state, status, (const bt_bdaddr_t*)p_data->open.bd_addr,
586 callback.connection_state_cb(BTPAN_STATE_DISCONNECTED, 0, (const bt_bdaddr_t*)conn->peer,
H A Dbtif_sock_thread.c99 btsock_signaled_cb callback; member in struct:__anon993
218 ts[h].callback = NULL;
224 int btsock_thread_create(btsock_signaled_cb callback, btsock_cmd_cb cmd_callback) argument
227 asrt(callback || cmd_callback);
238 ts[h].callback = callback;
388 ts[h].callback = NULL;
525 ts[h].callback(pfds[i].fd, type, flags, user_id);
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_api.c326 ** callback - The callback is called when a pin number is requested.
371 ** p_results_cb - Pointer to the callback routine which gets called
375 ** p_cmpl_cb - Pointer to the callback routine which gets called
447 ** p_results_cb - Pointer to the callback routine which gets called
698 ** is passed in the callback when the remote device name has been retrieved.
703 ** callback - pointer to the callback which is called after the
705 ** p_data in the callback points to the structure containing the
708 ** The event field in the callback i
721 GAP_GetRemoteDeviceName(BD_ADDR addr, tGAP_CALLBACK *callback) argument
[all...]
/external/bluetooth/bluedroid/stack/hid/
H A Dhidh_int.h53 tHID_HOST_DEV_CALLBACK *callback; /* Application callbacks */ member in struct:host_ctb
/external/chromium/base/
H A Dfile_util_proxy.cc94 // Called to notify the callback on the origin thread.
123 base::FileUtilProxy::CreateOrOpenCallback* callback)
127 callback_(callback),
130 DCHECK(callback);
170 base::FileUtilProxy::CreateTemporaryCallback* callback)
172 callback_(callback),
174 DCHECK(callback);
217 base::FileUtilProxy::StatusCallback* callback)
218 : callback_(callback) {
219 // It is OK for callback t
119 RelayCreateOrOpen( scoped_refptr<base::MessageLoopProxy> message_loop_proxy, const FilePath& file_path, int file_flags, base::FileUtilProxy::CreateOrOpenCallback* callback) argument
168 RelayCreateTemporary( scoped_refptr<base::MessageLoopProxy> message_loop_proxy, base::FileUtilProxy::CreateTemporaryCallback* callback) argument
216 RelayWithStatusCallback( base::FileUtilProxy::StatusCallback* callback) argument
237 RelayClose(base::PlatformFile file_handle, base::FileUtilProxy::StatusCallback* callback) argument
255 RelayEnsureFileExists( scoped_refptr<base::MessageLoopProxy> message_loop_proxy, const FilePath& file_path, base::FileUtilProxy::EnsureFileExistsCallback* callback) argument
304 RelayDelete(const FilePath& file_path, bool recursive, base::FileUtilProxy::StatusCallback* callback) argument
334 RelayCopy(const FilePath& src_file_path, const FilePath& dest_file_path, base::FileUtilProxy::StatusCallback* callback) argument
360 RelayMove(const FilePath& src_file_path, const FilePath& dest_file_path, base::FileUtilProxy::StatusCallback* callback) argument
385 RelayCreateDirectory( const FilePath& file_path, bool exclusive, bool recursive, base::FileUtilProxy::StatusCallback* callback) argument
425 RelayReadDirectory(const FilePath& file_path, base::FileUtilProxy::ReadDirectoryCallback* callback) argument
469 RelayGetFileInfo(const FilePath& file_path, base::FileUtilProxy::GetFileInfoCallback* callback) argument
499 RelayGetFileInfoFromPlatformFile( base::PlatformFile file, base::FileUtilProxy::GetFileInfoCallback* callback) argument
526 RelayRead(base::PlatformFile file, int64 offset, int bytes_to_read, base::FileUtilProxy::ReadCallback* callback) argument
564 RelayWrite(base::PlatformFile file, int64 offset, const char* buffer, int bytes_to_write, base::FileUtilProxy::WriteCallback* callback) argument
604 RelayTouch(base::PlatformFile file, const base::Time& last_access_time, const base::Time& last_modified_time, base::FileUtilProxy::StatusCallback* callback) argument
628 RelayTouchFilePath(const FilePath& file_path, const base::Time& last_access_time, const base::Time& last_modified_time, base::FileUtilProxy::StatusCallback* callback) argument
653 RelayTruncatePlatformFile(base::PlatformFile file, int64 length, base::FileUtilProxy::StatusCallback* callback) argument
674 RelayTruncate(const FilePath& path, int64 length, base::FileUtilProxy::StatusCallback* callback) argument
707 RelayFlush(base::PlatformFile file, base::FileUtilProxy::StatusCallback* callback) argument
734 CreateOrOpen( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, int file_flags, CreateOrOpenCallback* callback) argument
743 CreateTemporary( scoped_refptr<MessageLoopProxy> message_loop_proxy, CreateTemporaryCallback* callback) argument
751 Close(scoped_refptr<MessageLoopProxy> message_loop_proxy, base::PlatformFile file_handle, StatusCallback* callback) argument
759 EnsureFileExists( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, EnsureFileExistsCallback* callback) argument
769 GetFileInfo( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, GetFileInfoCallback* callback) argument
778 GetFileInfoFromPlatformFile( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, GetFileInfoCallback* callback) argument
787 ReadDirectory( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, ReadDirectoryCallback* callback) argument
796 CreateDirectory( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, bool exclusive, bool recursive, StatusCallback* callback) argument
807 Copy(scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& src_file_path, const FilePath& dest_file_path, StatusCallback* callback) argument
816 Move(scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& src_file_path, const FilePath& dest_file_path, StatusCallback* callback) argument
825 Delete(scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, bool recursive, StatusCallback* callback) argument
834 RecursiveDelete( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, StatusCallback* callback) argument
843 Read( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, int64 offset, int bytes_to_read, ReadCallback* callback) argument
854 Write( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, int64 offset, const char* buffer, int bytes_to_write, WriteCallback* callback) argument
866 Touch( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, const base::Time& last_access_time, const base::Time& last_modified_time, StatusCallback* callback) argument
878 Touch( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& file_path, const base::Time& last_access_time, const base::Time& last_modified_time, StatusCallback* callback) argument
890 Truncate( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, int64 length, StatusCallback* callback) argument
900 Truncate( scoped_refptr<MessageLoopProxy> message_loop_proxy, const FilePath& path, int64 length, StatusCallback* callback) argument
910 Flush( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, StatusCallback* callback) argument
[all...]
H A Dstl_util-inl.h283 // Forward declare some callback classes in callback.h for STLBinaryFunction
287 // STLBinaryFunction is a wrapper for the ResultCallback2 class in callback.h
291 // The client should create callback with NewPermanentCallback, and should
292 // delete callback after it is done using the STLBinaryFunction.
299 STLBinaryFunction(Callback* callback) argument
300 : callback_(callback) {
323 STLBinaryPredicate(Callback* callback) argument
324 : STLBinaryFunction<bool, Arg, Arg>(callback) {
/external/chromium/base/win/
H A Dpe_image.cc23 PEImage::EnumImportsFunction callback; member in struct:base::win::EnumAllImportsStorage
53 return image.EnumOneImportChunk(storage.callback, module, name_table, iat,
66 return image.EnumOneDelayImportChunk(storage.callback, delay_descriptor,
239 bool PEImage::EnumSections(EnumSectionsFunction callback, PVOID cookie) const { argument
248 if (!callback(*this, section, section_start, size, cookie))
255 bool PEImage::EnumExports(EnumExportsFunction callback, PVOID cookie) const { argument
301 if (!callback(*this, ordinal_base + count, hint, name, func, forward,
309 bool PEImage::EnumRelocs(EnumRelocsFunction callback, PVOID cookie) const { argument
327 if (!callback(*this, type, address, cookie))
338 bool PEImage::EnumImportChunks(EnumImportChunksFunction callback, argument
360 EnumOneImportChunk(EnumImportsFunction callback, LPCSTR module_name, PIMAGE_THUNK_DATA name_table, PIMAGE_THUNK_DATA iat, PVOID cookie) const argument
389 EnumAllImports(EnumImportsFunction callback, PVOID cookie) const argument
394 EnumDelayImportChunks(EnumDelayImportChunksFunction callback, PVOID cookie) const argument
449 EnumOneDelayImportChunk(EnumImportsFunction callback, PImgDelayDescr delay_descriptor, LPCSTR module_name, PIMAGE_THUNK_DATA name_table, PIMAGE_THUNK_DATA iat, PIMAGE_THUNK_DATA bound_iat, PIMAGE_THUNK_DATA unload_iat, PVOID cookie) const argument
494 EnumAllDelayImports(EnumImportsFunction callback, PVOID cookie) const argument
[all...]
/external/chromium/chrome/browser/automation/
H A Dautomation_provider_observers.cc12 #include "base/callback.h"
1793 ThumbnailGenerator::ThumbnailReadyCallback* callback = local
1800 generator->AskForSnapshot(render_view_, false, callback,

Completed in 403 milliseconds

1234567891011>>