Import GingerCal 1.0 source
This commit is contained in:
commit
01f49852ab
116 files changed
+5079
No files matched your search
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface Header { String getValue(); }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface HttpEntity { java.io.InputStream getContent() throws java.io.IOException; void consumeContent() throws java.io.IOException; }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface HttpMessage { void addHeader(String name, String value); Header getFirstHeader(String name); }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface HttpRequest extends HttpMessage {}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface HttpResponse extends HttpMessage { StatusLine getStatusLine(); HttpEntity getEntity(); }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http;
|
||||
|
||||
public interface StatusLine { int getStatusCode(); }
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.client;
|
||||
|
||||
public interface HttpClient {
|
||||
org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request) throws java.io.IOException;
|
||||
org.apache.http.conn.ClientConnectionManager getConnectionManager();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.client.methods;
|
||||
|
||||
public abstract class HttpEntityEnclosingRequestBase extends HttpRequestBase {
|
||||
public HttpEntityEnclosingRequestBase() { throw new RuntimeException("Stub!"); }
|
||||
public void setEntity(org.apache.http.HttpEntity entity) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.client.methods;
|
||||
|
||||
public abstract class HttpRequestBase extends org.apache.http.message.AbstractHttpMessage implements HttpUriRequest {
|
||||
public HttpRequestBase() { throw new RuntimeException("Stub!"); }
|
||||
public abstract String getMethod();
|
||||
public void setURI(java.net.URI uri) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.client.methods;
|
||||
|
||||
public interface HttpUriRequest extends org.apache.http.HttpRequest {}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn;
|
||||
|
||||
public interface ClientConnectionManager { void shutdown(); }
|
||||
@@ -0,0 +1,6 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn.scheme;
|
||||
|
||||
public interface LayeredSocketFactory extends SocketFactory {
|
||||
java.net.Socket createSocket(java.net.Socket socket, String host, int port, boolean autoClose) throws java.io.IOException;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn.scheme;
|
||||
|
||||
public final class PlainSocketFactory implements SocketFactory {
|
||||
PlainSocketFactory() { throw new RuntimeException("Stub!"); }
|
||||
public static PlainSocketFactory getSocketFactory() { throw new RuntimeException("Stub!"); }
|
||||
public java.net.Socket createSocket() { throw new RuntimeException("Stub!"); }
|
||||
public java.net.Socket connectSocket(java.net.Socket sock, String host, int port, java.net.InetAddress localAddress, int localPort, org.apache.http.params.HttpParams params) { throw new RuntimeException("Stub!"); }
|
||||
public final boolean isSecure(java.net.Socket sock) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn.scheme;
|
||||
|
||||
public final class Scheme { public Scheme(String name, SocketFactory factory, int port) { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,5 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn.scheme;
|
||||
|
||||
public final class SchemeRegistry { public SchemeRegistry() { throw new RuntimeException("Stub!"); }
|
||||
public final synchronized Scheme register(Scheme sch) { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.conn.scheme;
|
||||
|
||||
public interface SocketFactory {
|
||||
java.net.Socket createSocket() throws java.io.IOException;
|
||||
java.net.Socket connectSocket(java.net.Socket sock, String host, int port, java.net.InetAddress localAddress, int localPort, org.apache.http.params.HttpParams params) throws java.io.IOException;
|
||||
boolean isSecure(java.net.Socket sock);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.entity;
|
||||
|
||||
public abstract class AbstractHttpEntity implements org.apache.http.HttpEntity {
|
||||
protected AbstractHttpEntity() { throw new RuntimeException("Stub!"); }
|
||||
public void setContentType(String ctString) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.entity;
|
||||
|
||||
public class StringEntity extends AbstractHttpEntity {
|
||||
public StringEntity(String s, String charset) throws java.io.UnsupportedEncodingException { throw new RuntimeException("Stub!"); }
|
||||
public java.io.InputStream getContent() throws java.io.IOException { throw new RuntimeException("Stub!"); }
|
||||
public void consumeContent() throws java.io.IOException { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.impl.client;
|
||||
|
||||
public abstract class AbstractHttpClient implements org.apache.http.client.HttpClient {
|
||||
protected AbstractHttpClient() { throw new RuntimeException("Stub!"); }
|
||||
public final org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request) throws java.io.IOException { throw new RuntimeException("Stub!"); }
|
||||
public final org.apache.http.conn.ClientConnectionManager getConnectionManager() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.impl.client;
|
||||
|
||||
public class DefaultHttpClient extends AbstractHttpClient {
|
||||
public DefaultHttpClient(org.apache.http.conn.ClientConnectionManager conman, org.apache.http.params.HttpParams params) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.impl.conn.tsccm;
|
||||
|
||||
public class ThreadSafeClientConnManager implements org.apache.http.conn.ClientConnectionManager {
|
||||
public ThreadSafeClientConnManager(org.apache.http.params.HttpParams params, org.apache.http.conn.scheme.SchemeRegistry schreg) { throw new RuntimeException("Stub!"); }
|
||||
public void shutdown() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.message;
|
||||
|
||||
public abstract class AbstractHttpMessage implements org.apache.http.HttpMessage {
|
||||
protected AbstractHttpMessage() { throw new RuntimeException("Stub!"); }
|
||||
public void addHeader(String name, String value) { throw new RuntimeException("Stub!"); }
|
||||
public org.apache.http.Header getFirstHeader(String name) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.params;
|
||||
|
||||
public final class BasicHttpParams implements HttpParams {
|
||||
public BasicHttpParams() { throw new RuntimeException("Stub!"); }
|
||||
public HttpParams setBooleanParameter(String name, boolean value) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.params;
|
||||
|
||||
public final class HttpConnectionParams {
|
||||
HttpConnectionParams() { throw new RuntimeException("Stub!"); }
|
||||
public static void setConnectionTimeout(HttpParams params, int timeout) { throw new RuntimeException("Stub!"); }
|
||||
public static void setSoTimeout(HttpParams params, int timeout) { throw new RuntimeException("Stub!"); }
|
||||
public static void setStaleCheckingEnabled(HttpParams params, boolean value) { throw new RuntimeException("Stub!"); }
|
||||
public static int getConnectionTimeout(HttpParams params) { throw new RuntimeException("Stub!"); }
|
||||
public static int getSoTimeout(HttpParams params) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.params;
|
||||
|
||||
public interface HttpParams { HttpParams setBooleanParameter(String name, boolean value); }
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package org.apache.http.params;
|
||||
|
||||
public final class HttpProtocolParams {
|
||||
HttpProtocolParams() { throw new RuntimeException("Stub!"); }
|
||||
public static void setUseExpectContinue(HttpParams params, boolean b) { throw new RuntimeException("Stub!"); }
|
||||
public static void setUserAgent(HttpParams params, String useragent) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
Reference in new issue
Block a user