/external/chromium_org/remoting/webapp/ |
D | host_daemon_facade.js | 73 remoting.HostDaemonFacade.PendingReply = function(type, onDone, onError) { argument 76 this.onError = onError; 128 function(message, onDone, onError) { argument 130 onError(this.error_); 136 message.type + 'Response', onDone, onError); 171 reply.onError(remoting.Error.UNEXPECTED); 293 pendingReplies[/** @type {number} */(id)].onError(this.error_); 305 function(onDone, onError) { argument 306 this.postMessage_({type: 'getHostName'}, onDone, onError); 320 function(hostId, pin, onDone, onError) { argument [all …]
|
D | host_controller.js | 110 remoting.HostController.prototype.getConsent = function(onDone, onError) { argument 111 this.hostDaemonFacade_.getUsageStatsConsent(onDone, onError); 125 onError) { argument 149 onError(error); 214 onError); 249 onError); 257 onError); 262 onError(remoting.Error.REGISTRATION_FAILED); 311 null, hostName, privateKey, publicKey, hostClientId), onError); 324 onHostClientId.bind(null, hostName, privateKey, publicKey), onError); [all …]
|
D | identity.js | 47 remoting.Identity.prototype.callWithToken = function(onOk, onError) { argument 48 this.pendingCallbacks_.push(new remoting.Identity.Callbacks(onOk, onError)); 83 remoting.Identity.prototype.getEmail = function(onOk, onError) { argument 93 remoting.OAuth2Api.getEmail.bind(null, onResponse, onError), onError); 132 callback.onError(remoting.Error.NOT_AUTHENTICATED); 161 remoting.Identity.Callbacks = function(onOk, onError) { argument 165 this.onError = onError;
|
D | oauth2_api.js | 72 onDone, onError, clientId, clientSecret, refreshToken) { argument 85 onError(remoting.Error.UNEXPECTED); 90 onError(remoting.OAuth2Api.interpretXhrStatus_(xhr.status)); 120 onDone, onError, clientId, clientSecret, code, redirectUri) { argument 134 onError(remoting.Error.UNEXPECTED); 139 onError(remoting.OAuth2Api.interpretXhrStatus_(xhr.status)); 164 remoting.OAuth2Api.getEmail = function(onDone, onError, token) { argument 174 onError(remoting.Error.UNEXPECTED); 179 onError(remoting.OAuth2Api.interpretXhrStatus_(xhr.status));
|
D | third_party_host_permissions.js | 40 onOk, onError) { argument 54 that.showPermissionConfirmation_(onOk, onError); 67 function(onOk, onError) { argument 80 that.requestPermission_(onOk, onError); 96 onOk, onError) { argument 104 onError();
|
D | wcs_loader.js | 53 remoting.WcsLoader.prototype.start = function(token, onReady, onError) { argument 57 onError(remoting.Error.UNEXPECTED); 80 onError(error); 118 remoting.WcsLoader.prototype.validateToken = function(token, onOk, onError) { argument 138 onError(error);
|
D | oauth2.js | 303 var onError = function(error) { function 308 this.onTokens_.bind(this, onDone), onError, 323 remoting.OAuth2.prototype.callWithToken = function(onOk, onError) { argument 328 this.onAccessToken_.bind(this, onOk), onError, 335 onError(remoting.Error.NOT_AUTHENTICATED); 348 remoting.OAuth2.prototype.getEmail = function(onOk, onError) { argument 363 remoting.OAuth2Api.getEmail.bind(null, onResponse, onError), onError);
|
D | host_setup_dialog.js | 199 function onError(error) { function 210 this.hostController_.getConsent(onGetConsent, onError); 351 var onError = function(error) { function 377 hostInstallDialog.show(onDone, onError); 407 function onError(error) { function 415 onError); 442 function onError(error) { function 449 this.hostController_.updatePin(flow.pin, onPinUpdated, onError); 479 function onError(error) { function 486 this.hostController_.stop(onHostStopped, onError);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/ |
D | background.js | 35 function onUnmountRequested(options, onSuccess, onError) { argument 37 onError('IN_USE'); 49 onError('FAILED'); 53 function onGetMetadataRequested(options, onSuccess, onError) { argument 61 }, onError); 64 function onReadDirectoryRequested(options, onSuccess, onError) { argument 69 onError('NOT_FOUND'); 73 onError('NOT_A_DIRECTORY'); 93 }, onError); 96 function onOpenFileRequested(options, onSuccess, onError) { argument [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fileSystemProvider/basic/ |
D | background.js | 30 function onGetMetadataRequested(options, onSuccess, onError) { argument 32 onError('NOT_FOUND'); 37 function onReadDirectoryRequested(options, onSuccess, onError) { argument 39 onError('NOT_FOUND'); 43 onError('NOT_A_DIRECTORY'); 65 function onOpenFileRequested(options, onSuccess, onError) { argument 67 onError('INVALID_OPERATION'); 74 function onCloseFileRequested(options, onSuccess, onError) { argument 76 onError('INVALID_OPERATION'); 83 function onReadFileRequested(options, onSuccess, onError) { argument [all …]
|
/external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
D | test.js | 42 function waitForLog(logMessage, onLogChanged, onError) { argument 61 if (onError) { 63 onError(); 80 function clickExecuteButtonAndWaitForLog(logMessage, onLogChanged, onError) { argument 81 waitForLog(logMessage, onLogChanged, onError); 102 function saveFile(filename, fileText, onFileSaved, onError) { argument 106 clickExecuteButtonAndWaitForLog('Save success', onFileSaved, onError); 109 function loadFile(filename, onFileLoaded, onError) { argument 113 clickExecuteButtonAndWaitForLog('Load success', onFileLoaded, onError); 116 function deleteFile(filename, onFileDeleted, onError) { argument [all …]
|
/external/chromium_org/remoting/webapp/unittests/ |
D | xmpp_stream_parser_unittest.js | 10 var onError = null; 16 onError = sinon.spy(); 21 parser.setCallbacks(onStanza, onError); 58 sinon.assert.calledWith(onError); 64 sinon.assert.calledWith(onError); 69 sinon.assert.calledWith(onError); 77 sinon.assert.calledWith(onError); 86 sinon.assert.calledWith(onError);
|
D | xmpp_login_handler_unittest.js | 16 var onError = null; 25 onError = sinon.spy(); 31 onHandshakeDone, onError); 135 sinon.assert.calledWith(onError, remoting.Error.AUTHENTICATION_FAILED); 143 sinon.assert.calledWith(onError, remoting.Error.UNEXPECTED);
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | insert.c | 327 int onError, /* How to handle constraint errors */ 439 int onError /* How to handle constraint errors */ in sqlite3Insert() argument 552 if( pColumn==0 && xferOptimization(pParse, pTab, pSelect, onError, iDb) ){ in sqlite3Insert() 871 pTab, regCols-pTab->nCol-1, onError, endOfLoop); in sqlite3Insert() 978 keyColumn>=0, 0, onError, endOfLoop, &isReplace in sqlite3Insert() 996 pTab, regData-2-pTab->nCol, onError, endOfLoop); in sqlite3Insert() 1152 int onError; /* Conflict resolution strategy */ in sqlite3GenerateConstraintChecks() local 1173 onError = pTab->aCol[i].notNull; in sqlite3GenerateConstraintChecks() 1174 if( onError==OE_None ) continue; in sqlite3GenerateConstraintChecks() 1176 onError = overrideError; in sqlite3GenerateConstraintChecks() [all …]
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Connector.java | 107 onError(e); in accept() 154 public void onError(MojoException exception) { in onError() method in Connector.AsyncWaiterCallback 155 Connector.this.onError(exception); in onError() 168 onError(new MojoException(result)); in onAsyncWaiterResult() 172 private void onError(MojoException exception) { in onError() method in Connector 189 onError(new MojoException(MojoResult.INVALID_ARGUMENT)); in registerAsyncWaiterForRead() 202 onError(e); in readOutstandingMessages() 209 onError(new MojoException(result)); in readOutstandingMessages()
|
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/ |
D | screenshot.js | 28 function addCallback(onSuccess, onError) { argument 30 callbackMap[id] = [onSuccess, onError]; 144 function captureTab(onSuccess, onError) { argument 145 var id = addCallback(onSuccess, onError); 161 function captureElement(element, onSuccess, onError) { argument 188 var id = addCallback(onScreenCaptured, onError);
|
/external/chromium_org/ui/file_manager/video_player/js/cast/ |
D | caster.js | 52 var onError = function() { function 53 script.removeEventListener('error', onError); 81 script.addEventListener('error', onError); 125 var onError = function(error) { function 133 chrome.cast.initialize(apiConfig, onInitSuccess, onError);
|
/external/chromium_org/remoting/webapp/browser_test/ |
D | mock_session_connector.js | 20 remoting.MockSessionConnector = function(clientContainer, onConnected, onError, argument 24 this.onError = onError; 117 function(clientContainer, onConnected, onError, onExtensionMessage) { argument 119 clientContainer, onConnected, onError, onExtensionMessage);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
D | metadata_dispatcher.js | 171 function onError(err, stepName) { function 189 onError('unsupported format'); 197 onError); 202 entry.file(function(file) { nextStep(file, parser) }, onError); 209 parser.parse(file, metadata, callback, onError); 211 onError(e.stack);
|
D | mpeg_parser.js | 151 MpegParser.prototype.parse = function(file, metadata, callback, onError) { argument 156 onError, callback.bind(null, metadata)); 243 rootParser, file, filePos, size, name, onError, onSuccess) { argument 246 reader.onerror = onError; 250 onError, onSuccess); 267 buf, rootParser, file, filePos, size, name, onError, onSuccess) { argument 310 onError, onSuccess); 317 onError(e.toString());
|
D | id3_parser.js | 257 Id3Parser.prototype.parse = function(file, metadata, callback, onError) { argument 273 this.nextStep, this.onError, this); 316 util.readFileBytes(file, 0, 10, this.nextStep, this.onError, 336 this.onError, this); 426 onError); 431 id3v1Parser.setFailureCallback(metadataParser.onError); 432 id3v2Parser.setFailureCallback(metadataParser.onError);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | file_watcher.js | 151 FileWatcher.prototype.resetWatchedEntry_ = function(onSuccess, onError) { argument 163 onError(); 185 entry, onSuccess, onError) { argument 194 onError(); 220 this.resetWatchedEntry_(setEntryClosure, onError);
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
D | media_action.js | 42 function onError(e) { function 46 element.addEventListener('error', onError); 47 element.addEventListener('abort', onError);
|
/external/chromium_org/ui/file_manager/gallery/js/ |
D | gallery_item.js | 257 var onError = function(error) { function 271 onError(error); 282 }, onError); 291 onError('NotFound'); 295 }.bind(this), onError); 319 this.entry_.getParent(saveToDir, onError);
|
/external/chromium_org/extensions/test/data/ |
D | data_receiver_unittest.js | 34 var onError = receiver.onError; 35 receiver.onError = function() { function 36 $Function.apply(onError, receiver, arguments);
|