/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
tmpCallbackHandler.java | 27 import javax.security.auth.callback.Callback; 28 import javax.security.auth.callback.CallbackHandler; 29 import javax.security.auth.callback.UnsupportedCallbackException; 37 public void handle(Callback[] callback) throws IOException, 39 if (callback == null) { 40 throw new UnsupportedCallbackException(null, "callback is null"); 42 if (callback.length == 0) { 43 throw new UnsupportedCallbackException(null, "callback is empty") [all...] |
/external/chromium/net/base/ |
network_delegate.cc | 12 CompletionCallback* callback, 16 DCHECK(callback); 17 return OnBeforeURLRequest(request, callback, new_url); 21 CompletionCallback* callback, 25 DCHECK(callback); 26 return OnBeforeSendHeaders(request_id, callback, headers);
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
delayed-permission-allowed-for-multiple-requests.js | 17 testPassed('Success callback invoked'); 22 testFailed('Success callback invoked unexpectedly'); 25 testFailed('Error callback invoked unexpectedly'); 31 testPassed('Success callback invoked'); 36 testFailed('Success callback invoked unexpectedly'); 39 testFailed('Error callback invoked unexpectedly');
|
callback-exception.js | 1 description("Tests that when an exception is thrown in the success callback, the error callback is not invoked. Note that this test throws an exception which is not caught."); 22 // Yield to allow for the error callback to be invoked. The timer 25 throw new Error('Exception in success callback'); 27 testFailed('Error callback invoked unexpectedly');
|
callback-to-deleted-context.js | 1 description("Tests that when a Geolocation request is made from a remote frame, and that frame's script context goes away before the Geolocation callback is made, the callback is not made. If the callback is attempted, a crash will occur."); 4 iframe.src = 'resources/callback-to-deleted-context-inner2.html'; 16 iframe.src = 'resources/callback-to-deleted-context-inner1.html';
|
/external/webkit/LayoutTests/platform/android/fast/dom/Geolocation/ |
callback-to-deleted-context-expected.txt | 1 Tests that when a Geolocation request is made from a remote frame, and that frame's script context goes away before the Geolocation callback is made, the callback is not made. If the callback is attempted, a crash will occur.
|
/external/webkit/Source/WebCore/storage/ |
Database.idl | 37 [RequiresAllArguments=Raise] void changeVersion(in DOMString oldVersion, in DOMString newVersion, in [Callback, Optional] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCallback successCallback); 38 [RequiresAllArguments=Raise] void transaction(in [Callback] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCallback successCallback); 39 [RequiresAllArguments=Raise] void readTransaction(in [Callback] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCa (…) [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_LockAudio.3 | 3 SDL_LockAudio \- Lock out the callback function 11 The lock manipulated by these functions protects the callback function\&. During a LockAudio period, you can be guaranteed that the callback function is not running\&. Do not call these from the callback function or you will cause deadlock\&.
|
/external/chromium/chrome/browser/chromeos/login/ |
cryptohome_op.cc | 18 AuthAttemptStateResolver* callback) 20 resolver_(callback) { 43 AuthAttemptStateResolver* callback, 45 : CryptohomeOp(current_attempt, callback), 68 AuthAttemptStateResolver* callback) 69 : CryptohomeOp(current_attempt, callback) { 88 AuthAttemptStateResolver* callback, 91 : CryptohomeOp(current_attempt, callback), 124 AuthAttemptStateResolver* callback) 125 : CryptohomeOp(current_attempt, callback) { [all...] |
signed_settings_helper.cc | 49 // Cancels the callback. 54 // Cancels the callback and cancels the op if it is not executing. 67 SignedSettingsHelper::Callback* callback() const { function in class:chromeos::__anon3946::OpContext 76 OpContext(SignedSettingsHelper::Callback* callback, 80 callback_(callback) { 86 // Callback on op completion. 98 SignedSettingsHelper::Callback* callback_; 112 SignedSettingsHelper::Callback* callback [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraTest.java | 110 TestPreviewCallback callback = new TestPreviewCallback(); local 111 assertThat(callback.camera, nullValue()); 112 assertThat(callback.data, nullValue()); 114 camera.setPreviewCallback(callback); 117 assertThat(callback.camera, sameInstance(camera)); 118 assertThat(callback.data, equalTo("foobar".getBytes())); 123 TestPreviewCallback callback = new TestPreviewCallback(); local 124 assertThat(callback.camera, nullValue()); 125 assertThat(callback.data, nullValue()); 127 camera.setOneShotPreviewCallback(callback); 136 TestPreviewCallback callback = new TestPreviewCallback(); local 149 TestPreviewCallback callback = new TestPreviewCallback(); local [all...] |
/external/chromium/base/ |
file_util_proxy.h | 11 #include "base/callback.h" 32 // This callback is used by methods that report only an error code. It is 33 // valid to pass NULL as the callback parameter to any function that takes a 57 // for the callback. 64 CreateOrOpenCallback* callback); 67 // are returned. It is invalid to pass NULL for the callback. 70 CreateTemporaryCallback* callback); 75 StatusCallback* callback); 80 // |created| of the callback argument is set true and |error code| 89 EnsureFileExistsCallback* callback); [all...] |
/frameworks/wilhelm/src/android/ |
CallbackProtector.cpp | 42 SL_LOGE("Callback protector detected an active callback after destroy"); 53 SL_LOGE("Callback protector is missing"); 65 SL_LOGV("Callback protector allowed multiple or nested callback entry: %u", mCbCount); 73 SL_LOGV("Callback protector denied callback entry by thread %p tid %d during destroy" 78 SL_LOGV("Callback protector denied callback entry during destroy"); 94 SL_LOGV("Callback protector detected return from callback by thread %p tid %d during [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 39 * Callback.onQuickResponseSelected() with the selected QuickResponse text. 50 * Callback interface for when user selects a QuickResponse. 52 public interface Callback { 62 * @param callbackFragment fragment that implements {@link Callback}. Or null, in which case 63 * the parent activity must implement {@link Callback}. 69 // If a target is set, it MUST implement Callback. Fail-fast if not. 70 final Callback callback; local 73 callback = (Callback) callbackFragment 92 final Callback callback; local [all...] |
/external/chromium/chrome/browser/chromeos/notifications/ |
balloon_view_host.cc | 20 MessageCallback* callback) { 22 ret = message_callbacks_.insert(std::make_pair(message, callback)); 24 delete callback; 32 // Look up the callback for this message. 33 MessageCallbackMap::const_iterator callback = local 35 if (callback == message_callbacks_.end()) 38 // Run callback. 39 callback->second->Run(¶ms.arguments);
|
balloon_view_host.h | 14 #include "base/callback.h" 29 // Adds a callback for WebUI message. Returns true if the callback 31 // a callback for given message already exists. The callback object 34 MessageCallback* callback); 41 // A map of message name -> message handling callback.
|
/external/javasqlite/src/main/java/SQLite/ |
Profile.java | 4 * Callback interface for SQLite's profile function. 10 * Callback to profile (ie log) one SQL statement
|
/external/webkit/LayoutTests/fast/dom/Geolocation/ |
delayed-permission-allowed-for-multiple-requests-expected.txt | 6 PASS Success callback invoked 7 PASS Success callback invoked
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCustomFunction.java | 27 public final SQLiteDatabase.CustomFunction callback; field in class:SQLiteCustomFunction 35 * @param callback The callback to invoke when the function is executed. 38 SQLiteDatabase.CustomFunction callback) { 45 this.callback = callback; 51 callback.callback(args);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
NativeActionModeAwareLayout.java | 41 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { 43 callback = mActionModeForChildListener.onActionModeForChild(callback); 45 return super.startActionModeForChild(originalView, callback); 52 ActionMode.Callback onActionModeForChild(ActionMode.Callback callback);
|
/external/webkit/LayoutTests/storage/ |
change-version-handle-reuse.js | 16 log("changeVersion: transaction callback"); 18 log("changeVersion: error callback: " + error.message); 20 log("changeVersion: success callback"); 35 log("transaction: statement callback"); 38 log("transaction: statement error callback: " + error.message);
|
/frameworks/base/core/java/android/webkit/ |
WebStorageClassic.java | 48 private static final String CALLBACK = "callback"; 71 ValueCallback<Map> callback = (ValueCallback<Map>) values.get(CALLBACK); 72 callback.onReceiveValue(origins); 77 ValueCallback<Long> callback = (ValueCallback<Long>) values.get(CALLBACK); 78 callback.onReceiveValue((Long)values.get(USAGE)); 83 ValueCallback<Long> callback = (ValueCallback<Long>) values.get(CALLBACK); [all...] |
/device/samsung/manta/bubblelevel/ |
BubbleLevel.h | 20 // Callback for level measurements. isLevel is true when the device lies flat. 35 // Set a callback called every time level measurement is complete 36 virtual int setCallback(BubbleLevel_CallBack_t callback, void *userData) = 0; 37 // Set the callback interval in seconds 39 // Start polling for level: the callback will be called every poll interval 41 // Start polling for level: the callback will not be called any more and the accelerometer 44 // The callback will be called once with current level measurement 56 // Set a callback called every time level measurement is complete 58 BubbleLevel_CallBack_t callback, void *userData); 59 // Set the callback interval in second [all...] |
/external/chromium/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 104 TestCompletionCallback callback; local 106 &text, &callback); 108 EXPECT_EQ(ERR_FILE_NOT_FOUND, callback.WaitForResult()); 113 TestCompletionCallback callback; local 115 &text, &callback); 117 EXPECT_EQ(OK, callback.WaitForResult()); 133 TestCompletionCallback callback; local 134 int result = pac_fetcher.Fetch(url, &text, &callback); 136 EXPECT_EQ(OK, callback.WaitForResult()); 142 TestCompletionCallback callback; local 151 TestCompletionCallback callback; local 168 TestCompletionCallback callback; local 177 TestCompletionCallback callback; local 195 TestCompletionCallback callback; local 212 TestCompletionCallback callback; local 227 TestCompletionCallback callback; local 254 TestCompletionCallback callback; local 267 TestCompletionCallback callback; local 289 TestCompletionCallback callback; local 302 TestCompletionCallback callback; local 323 TestCompletionCallback callback; local 335 TestCompletionCallback callback; local 362 TestCompletionCallback callback; local 375 TestCompletionCallback callback; local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CheckCloseSupplier.java | 33 * call {@code callback.delegateClosed()}. 38 private final Set<Callback> open = Sets.newHashSet(); 66 public final class Callback { 72 protected Callback newCallback() { 73 Callback callback = new Callback(); local 74 open.add(callback); 75 return callback; 80 * {@link Callback#delegateClosed} when the close method of the delegate i [all...] |