/frameworks/base/core/java/android/webkit/ |
CacheManager.java | 463 public static CacheResult createCacheFile(String url, int statusCode, 470 return createCacheFile(url, statusCode, headers, mimeType, 0, 474 static CacheResult createCacheFile(String url, int statusCode, 486 if (statusCode == 303) { 494 if (isCachableRedirect(statusCode) && !headers.getSetCookie().isEmpty()) { 500 CacheResult ret = parseHeaders(statusCode, headers, mimeType); 687 private static boolean isCachableRedirect(int statusCode) { 688 if (statusCode == 301 || statusCode == 302 || statusCode == 307) [all...] |
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
PostNotification.java | 146 int statusCode = response.getStatusCode(); 147 return statusCode >= 200 && statusCode < 300;
|
/external/chromium/net/tools/flip_server/ |
balsa_enums.h | 39 // RESP: version statuscode reason
|
/external/webkit/Source/WebCore/websockets/ |
WebSocketHandshake.h | 88 int readStatusLine(const char* header, size_t headerLength, int& statusCode, String& statusText);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
WebArchiveDumpSupportMac.mm | 65 RetainPtr<CFHTTPMessageRef> httpMessage(AdoptCF, CFHTTPMessageCreateResponse(kCFAllocatorDefault, [httpResponse statusCode], 0, kCFHTTPVersion1_1));
|
HistoryDelegate.mm | 45 bool wasFailure = [navigationData hasSubstituteData] || (httpResponse && [httpResponse statusCode] >= 400);
|
/external/webkit/Tools/DumpRenderTree/win/ |
ResourceLoadDelegate.cpp | 113 int statusCode = 0; 116 httpResponse->statusCode(&statusCode); 118 return L"<NSURLResponse " + url + L", http status code " + wstringFromInt(statusCode) + L">";
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 478 int statusCode = pDrmInfoStatus->statusCode; 502 drmInfoStatus = env->NewObject(localRef, constructorId, statusCode, infoType, 653 int statusCode = pDrmConvertedStatus->statusCode; 668 statusCode, dataArray, pDrmConvertedStatus->offset); 691 int statusCode = pDrmConvertedStatus->statusCode; 706 statusCode, dataArray, pDrmConvertedStatus->offset);
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRedirectHandler.java | 81 int statusCode = response.getStatusLine().getStatusCode(); 82 switch (statusCode) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DrmConvertSession.java | 96 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && 130 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK ||
|
/external/webkit/Source/WebCore/platform/network/qt/ |
QNetworkReplyHandler.cpp | 480 int statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); 490 response.setHTTPStatusCode(statusCode); 514 int statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); 530 if ((statusCode >= 301 && statusCode <= 303) && m_resourceHandle->firstRequest().httpMethod() == "POST")
|
/packages/apps/Email/src/com/android/email/ |
Controller.java | [all...] |
/frameworks/base/drm/common/ |
IDrmManagerService.cpp | 276 const int statusCode = reply.readInt32(); 290 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType); 516 const int statusCode = reply.readInt32(); 529 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 548 const int statusCode = reply.readInt32(); 561 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 926 reply->writeInt32(drmInfoStatus->statusCode); [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 258 final int statusCode = response.getStatusLine().getStatusCode(); 259 if (statusCode != HttpStatus.SC_OK) { 260 Log.w("ImageDownloader", "Error " + statusCode +
|
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 275 int statuscode = 0; local 277 while (response == null || statuscode < HttpStatus.SC_OK) { 283 statuscode = response.getStatusLine().getStatusCode();
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
AsecTests.java | 520 int statusCode; 532 public void onShutDownComplete(int statusCode) throws RemoteException { 533 this.statusCode = statusCode;
|
/frameworks/base/tests/CoreTests/android/core/ |
RequestAPITest.java | 311 public void verifyRedirect(int statusCode, String testName) throws Exception { 322 testEventHandler.expectStatus(statusCode); 327 mTestWebServer.setRedirect(REDIRECT_TO, statusCode); 343 requestHandle.setupRedirect(REDIRECT_TO, statusCode, new HashMap<String, String>());
|
/external/webkit/Source/WebCore/platform/network/mac/ |
ResourceHandleMac.mm | 780 LOG(Network, "Handle %p delegate connection:%p willSendRequest:%@ redirectResponse:%d, Location:<%@>", m_handle, connection, [newRequest description], static_cast<int>([(id)redirectResponse statusCode]), [[(id)redirectResponse allHeaderFields] objectForKey:@"Location"]); 785 if ([redirectResponse isKindOfClass:[NSHTTPURLResponse class]] && [(NSHTTPURLResponse *)redirectResponse statusCode] == 307) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPResponse.java | 302 *@param statusCode is the status code to set. 305 public void setStatusCode(int statusCode) throws ParseException { 307 // RFC3261 defines statuscode as 3DIGIT, 606 is the highest officially 310 if (statusCode < 100 || statusCode > 699) 314 this.statusLine.setStatusCode(statusCode);
|
SIPRequest.java | 654 * @param statusCode Status code for the response. Reason phrase is generated. 660 public SIPResponse createResponse(int statusCode) { 662 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); 663 return this.createResponse(statusCode, reasonPhrase); 676 * @param statusCode Status code for the response. 684 public SIPResponse createResponse(int statusCode, String reasonPhrase) { 691 newResponse.setStatusCode(statusCode); 693 throw new IllegalArgumentException("Bad code " + statusCode); 698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode)); 706 || (nextHeader instanceof RecordRouteList && mustCopyRR(statusCode)) [all...] |
/external/webkit/Source/WebCore/platform/network/soup/ |
ResourceHandleSoup.cpp | 194 static gboolean statusWillBeHandledBySoup(guint statusCode) 196 if (SOUP_STATUS_IS_TRANSPORT_ERROR(statusCode) 197 || (SOUP_STATUS_IS_REDIRECTION(statusCode) && (statusCode != SOUP_STATUS_NOT_MODIFIED)) 198 || (statusCode == SOUP_STATUS_UNAUTHORIZED))
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 419 int statusCode = 0; 421 statusCode = 436 return createStatusLine(ver, statusCode, reasonPhrase);
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginStream.mm | 316 long statusCode = [httpResponse statusCode]; 317 snprintf(statusStr, sizeof(statusStr), "%ld", statusCode);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
NetworkManager.js | 92 resource.statusCode = response.status; 274 resource.statusCode = response.status;
|