/external/webkit/Source/WebCore/bindings/js/ |
JSDirectoryEntryCustom.cpp | 81 RefPtr<ErrorCallback> errorCallback; 87 errorCallback = JSErrorCallback::create(asObject(exec->argument(3)), globalObject()); 90 imp->getFile(path, flags, successCallback, errorCallback); 127 RefPtr<ErrorCallback> errorCallback; 133 errorCallback = JSErrorCallback::create(asObject(exec->argument(3)), globalObject()); 136 imp->getDirectory(path, flags, successCallback, errorCallback);
|
JSSQLTransactionCustom.cpp | 101 RefPtr<SQLStatementErrorCallback> errorCallback; 109 errorCallback = JSSQLStatementErrorCallback::create(object, static_cast<JSDOMGlobalObject*>(globalObject())); 113 m_impl->executeSQL(sqlStatement, sqlValues, callback.release(), errorCallback.release(), ec);
|
JSNavigatorCustom.cpp | 53 // Arguments: Options, successCallback, (optional)errorCallback 63 RefPtr<NavigatorUserMediaErrorCallback> errorCallback = createFunctionOnlyCallback<JSNavigatorUserMediaErrorCallback>(exec, static_cast<JSDOMGlobalObject*>(exec->lexicalGlobalObject()), exec->argument(2), CallbackAllowUndefined); 67 m_impl->webkitGetUserMedia(options, successCallback.release(), errorCallback.release());
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DirectoryEntryCustom.cpp | 82 RefPtr<ErrorCallback> errorCallback; 86 errorCallback = V8ErrorCallback::create(args[3], getScriptExecutionContext()); 88 imp->getDirectory(path, flags, successCallback, errorCallback); 125 RefPtr<ErrorCallback> errorCallback; 129 errorCallback = V8ErrorCallback::create(args[3], getScriptExecutionContext()); 131 imp->getFile(path, flags, successCallback, errorCallback);
|
V8SQLTransactionCustom.cpp | 104 RefPtr<SQLStatementErrorCallback> errorCallback; 108 errorCallback = V8SQLStatementErrorCallback::create(args[3], scriptExecutionContext); 112 transaction->executeSQL(statement, sqlValues, callback, errorCallback, ec);
|
V8NavigatorCustom.cpp | 62 RefPtr<NavigatorUserMediaErrorCallback> errorCallback = createFunctionOnlyCallback<V8NavigatorUserMediaErrorCallback>(args[2], succeeded, CallbackAllowUndefined); 67 navigator->webkitGetUserMedia(options, successCallback.release(), errorCallback.release());
|
/external/webkit/Source/WebCore/html/ |
AsyncImageResizer.h | 80 static PassRefPtr<AsyncImageResizer> create(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption); 89 AsyncImageResizer(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption);
|
/external/webkit/Source/WebCore/fileapi/ |
DOMFileSystemSync.cpp | 40 #include "ErrorCallback.h" 214 class LocalErrorCallback : public ErrorCallback { 250 RefPtr<LocalErrorCallback> errorCallback = LocalErrorCallback::create(); 252 OwnPtr<FileWriterBaseCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, successCallback, errorCallback); 258 if (errorCallback->error()) { 260 ec = FileException::ErrorCodeToExceptionCode(errorCallback->error()->code());
|
SyncCallbackHelper.h | 40 #include "ErrorCallback.h" 89 PassRefPtr<ErrorCallback> errorCallback() { return m_errorCallback; } 118 class ErrorCallbackImpl : public ErrorCallback {
|
FileSystemCallbacks.h | 49 class ErrorCallback; 78 // For ErrorCallback. 82 FileSystemCallbacksBase(PassRefPtr<ErrorCallback> errorCallback); 83 RefPtr<ErrorCallback> m_errorCallback; 90 static PassOwnPtr<EntryCallbacks> create(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DOMFileSystemBase>, const String& expectedPath, bool isDirectory); 94 EntryCallbacks(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DOMFileSystemBase>, const String& expectedPath, bool isDirectory); 103 static PassOwnPtr<EntriesCallbacks> create(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath); 108 EntriesCallbacks(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath); 117 static PassOwnPtr<FileSystemCallbacks> create(PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCallback>, ScriptExecutionContext*) [all...] |
/frameworks/base/media/java/android/media/ |
AudioSystem.java | 133 /* Command sucessful or Media server restarted. see ErrorCallback */ 135 /* Command failed or unspecified audio error. see ErrorCallback */ 137 /* Media server died. see ErrorCallback */ 140 private static ErrorCallback mErrorCallback; 145 public interface ErrorCallback 161 public static void setErrorCallback(ErrorCallback cb) 175 ErrorCallback errorCallback = null; 178 errorCallback = mErrorCallback; 181 if (errorCallback != null) [all...] |
/external/webkit/Source/WebCore/workers/ |
WorkerContext.cpp | 75 #include "ErrorCallback.h" 353 void WorkerContext::webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 356 DOMFileSystem::scheduleCallback(this, errorCallback, FileError::create(FileError::SECURITY_ERR)); 362 DOMFileSystem::scheduleCallback(this, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR)); 366 LocalFileSystem::localFileSystem().requestFileSystem(this, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, this), false); 384 LocalFileSystem::localFileSystem().requestFileSystem(this, fileSystemType, size, FileSystemCallbacks::create(helper.successCallback(), helper.errorCallback(), this), true); 388 void WorkerContext::webkitResolveLocalFileSystemURL(const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 392 DOMFileSystem::scheduleCallback(this, errorCallback, FileError::create(FileError::SECURITY_ERR)) [all...] |
WorkerContext.idl | 111 [EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 113 [EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
util.js | 88 * found. The errorCallback will be invoked once for each 101 * @param {function(string, FileError)} errorCallback The function to invoke 105 errorCallback) { 126 errorCallback(path, err);
|
harness.js | 143 getOrCreateFile: function(path, successCallback, errorCallback) { 149 successCallback, errorCallback); 163 this.getOrCreatePath(dirname, onDirFound, errorCallback); 170 getOrCreatePath: function(path, successCallback, errorCallback) { 183 errorCallback);
|
file_manager.js | 268 * this callback. If not provided, the default errorCallback will throw [all...] |
/external/webkit/Source/WebCore/storage/ |
Database.cpp | 258 PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, 262 SQLTransaction::create(this, callback, errorCallback, successCallback, ChangeVersionWrapper::create(oldVersion, newVersion)); 269 void Database::transaction(PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, PassRefPtr<VoidCallback> successCallback) 271 runTransaction(callback, errorCallback, successCallback, false); 274 void Database::readTransaction(PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, PassRefPtr<VoidCallback> successCallback) 276 runTransaction(callback, errorCallback, successCallback, true); 279 void Database::runTransaction(PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, 283 SQLTransaction::create(this, callback, errorCallback, successCallback, 0, readOnly);
|
SQLTransaction.cpp | 62 PassRefPtr<SQLTransaction> SQLTransaction::create(Database* db, PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, 65 return adoptRef(new SQLTransaction(db, callback, errorCallback, successCallback, wrapper, readOnly)); 68 SQLTransaction::SQLTransaction(Database* db, PassRefPtr<SQLTransactionCallback> callback, PassRefPtr<SQLTransactionErrorCallback> errorCallback, 76 , m_errorCallbackWrapper(errorCallback, db->scriptExecutionContext()) 553 RefPtr<SQLTransactionErrorCallback> errorCallback = m_errorCallbackWrapper.unwrap(); 554 if (errorCallback) 555 errorCallback->handleEvent(m_transactionError.get());
|
/external/webkit/Source/WebCore/page/ |
Geolocation.cpp | 86 Geolocation::GeoNotifier::GeoNotifier(Geolocation* geolocation, PassRefPtr<PositionCallback> successCallback, PassRefPtr<PositionErrorCallback> errorCallback, PassRefPtr<PositionOptions> options) 89 , m_errorCallback(errorCallback) 283 void Geolocation::getCurrentPosition(PassRefPtr<PositionCallback> successCallback, PassRefPtr<PositionErrorCallback> errorCallback, PassRefPtr<PositionOptions> options) 288 RefPtr<GeoNotifier> notifier = startRequest(successCallback, errorCallback, options); 294 int Geolocation::watchPosition(PassRefPtr<PositionCallback> successCallback, PassRefPtr<PositionErrorCallback> errorCallback, PassRefPtr<PositionOptions> options) 299 RefPtr<GeoNotifier> notifier = startRequest(successCallback, errorCallback, options); 310 PassRefPtr<Geolocation::GeoNotifier> Geolocation::startRequest(PassRefPtr<PositionCallback> successCallback, PassRefPtr<PositionErrorCallback> errorCallback, PassRefPtr<PositionOptions> options) 312 RefPtr<GeoNotifier> notifier = GeoNotifier::create(this, successCallback, errorCallback, options);
|
Navigator.idl | 69 in [Callback=FunctionOnly, Optional] NavigatorUserMediaErrorCallback errorCallback);
|
Navigator.cpp | 289 PassRefPtr<NavigatorUserMediaErrorCallback> errorCallback)
|
DOMWindow.cpp | 105 #include "ErrorCallback.h" 747 void DOMWindow::webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 754 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); 760 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR)); 764 LocalFileSystem::localFileSystem().requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document), false); 767 void DOMWindow::webkitResolveLocalFileSystemURL(const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 776 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); 783 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR)) [all...] |
DOMWindow.idl | 197 [EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); 198 [EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback); [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseAgent.cpp | 172 RefPtr<SQLStatementErrorCallback> errorCallback(StatementErrorCallback::create(m_transactionId, m_frontendProvider)); 174 transaction->executeSQL(m_sqlStatement, sqlValues, callback.release(), errorCallback.release(), ec); 326 RefPtr<SQLTransactionErrorCallback> errorCallback(TransactionErrorCallback::create(*transactionId, m_frontendProvider)); 328 database->transaction(callback.release(), errorCallback.release(), successCallback.release());
|
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 167 void errorCallback(FLAC__StreamDecoderErrorStatus status); 262 ((FLACParser *) client_data)->errorCallback(status); 374 void FLACParser::errorCallback(FLAC__StreamDecoderErrorStatus status) 376 ALOGE("FLACParser::errorCallback status=%d", status);
|