/external/chromium_org/ui/keyboard/resources/webui/ |
api_adapter.js | 29 * An incremental integer that represents a unique requestId. 32 var requestId = 0; 55 var id = requestId; 58 requestId++; 63 * Cancel the callback specified by requestId. 64 * @param {number} requestId The requestId of the callback that about to 67 function CancelRequest(requestId) { 68 requestIdCallbackMap[requestId] = undefined; 74 * inputContext.requestId == id [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
NetworkManager.js | 199 networkRequest.requestId)); 245 * @param {!NetworkAgent.RequestId} requestId 254 requestWillBeSent: function(requestId, frameId, loaderId, documentURL, request, time, initiator, redirectResponse) 256 var networkRequest = this._inflightRequestsById[requestId]; 261 this.responseReceived(requestId, frameId, loaderId, time, PageAgent.ResourceType.Other, redirectResponse); 262 networkRequest = this._appendRedirect(requestId, time, request.url); 264 networkRequest = this._createNetworkRequest(requestId, frameId, loaderId, request.url, documentURL, initiator); 273 * @param {!NetworkAgent.RequestId} requestId [all...] |
FileSystemProjectDelegate.js | 291 var requestId = ++WebInspector.FileSystemProjectDelegate._lastRequestId; 292 this._searchCallbacks[requestId] = innerCallback.bind(this); 293 InspectorFrontendHost.searchInPath(requestId, this._fileSystem.path(), query); 320 * @param {number} requestId 323 searchCompleted: function(requestId, files) 325 if (!this._searchCallbacks[requestId]) 327 var callback = this._searchCallbacks[requestId]; 328 delete this._searchCallbacks[requestId]; 338 var requestId = ++WebInspector.FileSystemProjectDelegate._lastRequestId; 339 this._indexingCallbacks[requestId] = callback [all...] |
InspectorFrontendAPI.js | 155 indexingTotalWorkCalculated: function(requestId, fileSystemPath, totalWork) 158 projectDelegate.indexingTotalWorkCalculated(requestId, totalWork); 161 indexingWorked: function(requestId, fileSystemPath, worked) 164 projectDelegate.indexingWorked(requestId, worked); 167 indexingDone: function(requestId, fileSystemPath) 170 projectDelegate.indexingDone(requestId); 173 searchCompleted: function(requestId, fileSystemPath, files) 176 projectDelegate.searchCompleted(requestId, files);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
NetworkResourcesData.cpp | 68 NetworkResourcesData::ResourceData::ResourceData(const String& requestId, const String& loaderId) 69 : m_requestId(requestId) 151 void NetworkResourcesData::resourceCreated(const String& requestId, const String& loaderId) 153 ensureNoDataForRequestId(requestId); 154 m_requestIdToResourceDataMap.set(requestId, new ResourceData(requestId, loaderId)); 172 void NetworkResourcesData::responseReceived(const String& requestId, const String& frameId, const ResourceResponse& response) 174 ResourceData* resourceData = resourceDataForRequestId(requestId); 183 void NetworkResourcesData::setResourceType(const String& requestId, InspectorPageAgent::ResourceType type) 185 ResourceData* resourceData = resourceDataForRequestId(requestId); [all...] |
NetworkResourcesData.h | 80 ResourceData(const String& requestId, const String& loaderId); 82 String requestId() const { return m_requestId; } 151 void resourceCreated(const String& requestId, const String& loaderId); 152 void responseReceived(const String& requestId, const String& frameId, const ResourceResponse&); 153 void setResourceType(const String& requestId, InspectorPageAgent::ResourceType); 154 InspectorPageAgent::ResourceType resourceType(const String& requestId); 155 void setResourceContent(const String& requestId, const String& content, bool base64Encoded = false); 156 void maybeAddResourceData(const String& requestId, const char* data, size_t dataLength); 157 void maybeDecodeDataToContent(const String& requestId); 158 void addResource(const String& requestId, Resource*) [all...] |
InspectorResourceAgent.cpp | 292 String requestId = IdentifiersFactory::requestId(identifier); 293 m_resourcesData->resourceCreated(requestId, m_pageAgent->loaderId(loader)); 324 m_frontend->requestWillBeSent(requestId, frameId, m_pageAgent->loaderId(loader), urlWithoutFragment(loader->url()).string(), buildObjectForResourceRequest(request), currentTime(), initiatorObject, buildObjectForResourceResponse(redirectResponse, loader)); 329 m_frontend->requestServedFromCache(IdentifiersFactory::requestId(identifier)); 337 String requestId = IdentifiersFactory::requestId(identifier); 352 m_resourcesData->addResource(requestId, cachedResource); 357 if (m_resourcesData->resourceType(requestId) == InspectorPageAgent::ScriptResource) 363 m_resourcesData->responseReceived(requestId, m_pageAgent->frameId(loader->frame()), response) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
SpeechInputClientImpl.cpp | 66 bool SpeechInputClientImpl::startRecognition(int requestId, const WebCore::IntRect& elementRect, const AtomicString& language, const String& grammar, WebCore::SecurityOrigin* origin) 69 return m_controller->startRecognition(requestId, elementRect, language, grammar, WebSecurityOrigin(origin)); 72 void SpeechInputClientImpl::stopRecording(int requestId) 75 m_controller->stopRecording(requestId); 78 void SpeechInputClientImpl::cancelRecognition(int requestId) 81 m_controller->cancelRecognition(requestId); 84 void SpeechInputClientImpl::didCompleteRecording(int requestId) 87 m_listener->didCompleteRecording(requestId); 90 void SpeechInputClientImpl::didCompleteRecognition(int requestId) 93 m_listener->didCompleteRecognition(requestId); [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderService.java | 137 private boolean onRegisterClient(Messenger messenger, int requestId, int version) { 147 if (requestId != 0) { 150 requestId, SERVICE_VERSION_CURRENT, 160 private boolean onUnregisterClient(Messenger messenger, int requestId) { 168 sendGenericSuccess(messenger, requestId); 185 private boolean onCreateRouteController(Messenger messenger, int requestId, 194 sendGenericSuccess(messenger, requestId); 201 private boolean onReleaseRouteController(Messenger messenger, int requestId, 210 sendGenericSuccess(messenger, requestId); 217 private boolean onSelectRoute(Messenger messenger, int requestId, [all...] |
RegisteredMediaRouteProvider.java | 438 public boolean onGenericFailure(int requestId) { 439 if (requestId == mPendingRegisterRequestId) { 443 ControlRequestCallback callback = mPendingCallbacks.get(requestId); 445 mPendingCallbacks.remove(requestId); 451 public boolean onGenericSuccess(int requestId) { 455 public boolean onRegistered(int requestId, int serviceVersion, 458 && requestId == mPendingRegisterRequestId 479 public boolean onControlRequestSucceeded(int requestId, Bundle data) { 480 ControlRequestCallback callback = mPendingCallbacks.get(requestId); 482 mPendingCallbacks.remove(requestId); [all...] |
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
channel.js | 67 var requestId = this.nextInternalRequestId_++; 68 this.internalRequestCallbacks_[requestId] = callback; 71 requestId: requestId, 99 requestId: msg.requestId, 103 var callback = this.internalRequestCallbacks_[msg.requestId]; 104 delete this.internalRequestCallbacks_[msg.requestId];
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
tts_engine_custom_bindings.js | 15 var requestId = args[2]; 17 chrome.ttsEngine.sendTtsEvent(requestId, event);
|
pepper_request.js | 32 function startRequest(targetName, requestId) { 41 SendResponse(requestId, $Array.slice(arguments), error); 47 SendResponse(requestId, [result], null);
|
/system/netd/ |
MDnsSdListener.cpp | 63 const int requestId, 66 ALOGD("discover(%s, %s, %s, %d, %d)", iface, regType, domain, requestId, 69 Context *context = new Context(requestId, mListener); 70 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); 72 ALOGE("requestId %d already in use during discover call", requestId); 74 "RequestId already in use during discover call", false); 84 ALOGE("Discover request %d got an error from DNSServiceBrowse %d", requestId, result); 85 mMonitor->freeServiceRef(requestId); 90 mMonitor->startMonitoring(requestId); [all...] |
/external/chromium/chrome/browser/resources/gpu_internals/ |
browser_bridge.js | 61 var requestId = this.nextRequestId_; 63 this.pendingCallbacks_[requestId] = callback; 65 chrome.send('callAsync', [requestId.toString(), submessage]); 67 var allArgs = [requestId.toString(), submessage].concat(args); 75 onCallAsyncReply: function(requestId, args) { 76 if (this.pendingCallbacks_[requestId] === undefined) { 77 throw new Error('requestId ' + requestId + ' is not pending'); 79 var callback = this.pendingCallbacks_[requestId]; 81 delete this.pendingCallbacks_[requestId]; [all...] |
/external/chromium_org/content/browser/resources/gpu/ |
browser_bridge.js | 59 var requestId = this.nextRequestId_; 61 this.pendingCallbacks_[requestId] = callback; 63 chrome.send('callAsync', [requestId.toString(), submessage]); 65 var allArgs = [requestId.toString(), submessage].concat(args); 73 onCallAsyncReply: function(requestId, args) { 74 if (this.pendingCallbacks_[requestId] === undefined) { 75 throw new Error('requestId ' + requestId + ' is not pending'); 77 var callback = this.pendingCallbacks_[requestId]; 79 delete this.pendingCallbacks_[requestId]; [all...] |
/external/chromium_org/chrome/browser/extensions/api/desktop_capture/ |
desktop_capture_api.h | 95 struct RequestId { 96 RequestId(int process_id, int request_id); 98 // Need to use RequestId as a key in std::map<>. 99 bool operator<(const RequestId& other) const; 105 typedef std::map<RequestId,
|
desktop_capture_api.cc | 209 DesktopCaptureRequestsRegistry::RequestId::RequestId(int process_id, 215 bool DesktopCaptureRequestsRegistry::RequestId::operator<( 216 const RequestId& other) const { 252 RequestsMap::value_type(RequestId(process_id, request_id), handler)); 257 requests_.erase(RequestId(process_id, request_id)); 262 RequestsMap::iterator it = requests_.find(RequestId(process_id, request_id));
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/live-headers/ |
headers.js | 23 var requestDiv = requests[params.requestId]; 27 requests[params.requestId] = requestDiv; 34 appendResponse(params.requestId, params.redirectResponse); 42 appendResponse(params.requestId, params.response); 46 function appendResponse(requestId, response) { 47 var requestDiv = requests[requestId];
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
MockWebSpeechInputController.cpp | 103 bool MockWebSpeechInputController::startRecognition(int requestId, const WebRect& elementRect, const WebString& language, const WebString& grammar, const WebSecurityOrigin& origin) 108 m_requestId = requestId; 119 void MockWebSpeechInputController::cancelRecognition(int requestId) 122 BLINK_ASSERT(requestId == m_requestId); 131 void MockWebSpeechInputController::stopRecording(int requestId) 133 BLINK_ASSERT(requestId == m_requestId); 150 // We take a copy of the requestId here so that if scripts destroyed the input element 151 // inside one of the callbacks below, we'll still know what this session's requestId was. 152 int requestId = m_requestId; 156 m_listener->setRecognitionResult(requestId, makeRectResult(m_requestRect)) [all...] |
/frameworks/av/camera/camera2/ |
ICameraDeviceCallbacks.cpp | 68 void onCaptureStarted(int32_t requestId, int64_t timestamp) 73 data.writeInt32(requestId); 80 void onResultReceived(int32_t requestId, const CameraMetadata& result) { 84 data.writeInt32(requestId); 121 int32_t requestId = data.readInt32(); 123 onCaptureStarted(requestId, timestamp); 130 int32_t requestId = data.readInt32(); 137 onResultReceived(requestId, result);
|
/frameworks/base/core/java/android/hardware/camera2/ |
ICameraDeviceCallbacks.aidl | 30 oneway void onCaptureStarted(int requestId, long timestamp); 31 oneway void onResultReceived(int requestId, in CameraMetadataNative result);
|
ICameraDeviceUser.aidl | 33 // non-negative value is the requestId. negative value is status_t 36 int cancelRequest(int requestId);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServerCallback.java | 58 * @param requestId The Id of the request 62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, 73 * @param requestId The Id of the request 81 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, 94 * @param requestId The Id of the request 98 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, 109 * @param requestId The Id of the request 117 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, 130 * @param requestId The Id of the request 134 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) [all...] |
/external/chromium/chrome/browser/ui/webui/ |
chrome_url_data_manager_backend.h | 33 typedef int RequestID; 45 void DataAvailable(RequestID request_id, RefCountedMemory* bytes); 55 typedef std::map<RequestID, URLRequestChromeJob*> PendingRequestMap; 78 RequestID next_request_id_;
|