/external/apache-http/src/org/apache/http/impl/cookie/ |
NetscapeDraftSpecFactory.java | 47 public CookieSpec newInstance(final HttpParams params) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestSetGenerator.java | 36 public static <E> TestSetGenerator<E> newInstance(
|
/external/objenesis/main/src/org/objenesis/instantiator/gcj/ |
GCJInstantiator.java | 34 public Object newInstance() {
|
GCJSerializationInstantiator.java | 37 public Object newInstance() {
|
/external/objenesis/main/src/org/objenesis/instantiator/sun/ |
Sun13Instantiator.java | 34 public Object newInstance() {
|
Sun13SerializationInstantiator.java | 37 public Object newInstance() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
JsPromptResultTest.java | 15 JsPromptResult result = ShadowJsPromptResult.newInstance();
|
AndroidHttpClientTest.java | 24 AndroidHttpClient client = AndroidHttpClient.newInstance("foo"); 30 AndroidHttpClient client = AndroidHttpClient.newInstance("foo", Robolectric.application); 36 AndroidHttpClient client = AndroidHttpClient.newInstance("foo");
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
ParserFactory.java | 123 return (Parser) NewInstance.newInstance ( 124 NewInstance.getClassLoader (), className);
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
MalformedParameterizedTypeExceptionTests.java | 18 assertNotNull(ctor.newInstance());
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8ObjectConstructor.cpp | 37 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::Function> function) 45 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::ObjectTemplate> objectTemplate) 53 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[])
|
V8ObjectConstructor.h | 70 static v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>); 71 static v8::Local<v8::Object> newInstance(v8::Handle<v8::ObjectTemplate>); 72 static v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>, int, v8::Handle<v8::Value> argv[]);
|
/external/objenesis/main/test/org/objenesis/ |
ObjenesisTest.java | 41 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass());
46 assertEquals(getClass(), o.newInstance(getClass()).getClass());
53 assertEquals(getClass(), i1.newInstance().getClass());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KSBuilder_ImplTest.java | 98 * <code>newInstance(KeyStore keyStore, ProtectionParameter protectionParameter)</code> 110 * returns ProtectionParameter which is used in newInstance(...) 118 KeyStore.Builder.newInstance(null, protPass); 129 KeyStore.Builder.newInstance(ks, null); 151 KeyStore.Builder.newInstance(ks, pp[i]); 156 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 161 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 215 * <code>newInstance(String type, Provider provider, File file, 230 * returns ProtectionParameter which is used in newInstance(...) 250 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 93 CodedInputStream input = CodedInputStream.newInstance(data); 96 input = CodedInputStream.newInstance(data); 102 input = CodedInputStream.newInstance( 106 input = CodedInputStream.newInstance( 130 CodedInputStream input = CodedInputStream.newInstance(data); 138 input = CodedInputStream.newInstance(data); 200 CodedInputStream input = CodedInputStream.newInstance(data); 206 input = CodedInputStream.newInstance( 219 CodedInputStream input = CodedInputStream.newInstance(data); 225 input = CodedInputStream.newInstance( [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 93 CodedInputStream input = CodedInputStream.newInstance(data); 96 input = CodedInputStream.newInstance(data); 102 input = CodedInputStream.newInstance( 106 input = CodedInputStream.newInstance( 130 CodedInputStream input = CodedInputStream.newInstance(data); 138 input = CodedInputStream.newInstance(data); 200 CodedInputStream input = CodedInputStream.newInstance(data); 206 input = CodedInputStream.newInstance( 219 CodedInputStream input = CodedInputStream.newInstance(data); 225 input = CodedInputStream.newInstance( [all...] |
/frameworks/base/graphics/java/android/graphics/ |
BitmapRegionDecoder.java | 30 * <p>To create a BitmapRegionDecoder, call newInstance(...). 60 public static BitmapRegionDecoder newInstance(byte[] data, 85 public static BitmapRegionDecoder newInstance( 113 public static BitmapRegionDecoder newInstance(InputStream is, 143 public static BitmapRegionDecoder newInstance(String pathName, 150 decoder = newInstance(stream, isShareable);
|
/art/test/045-reflect-array/src/ |
Main.java | 27 intArray = Array.newInstance(Integer.TYPE, 2); 66 intArray = Array.newInstance(Integer.TYPE, 0); 73 Object charArray = Array.newInstance(Character.TYPE, 7); 126 Object shortArray = Array.newInstance(Short.TYPE, 1); 138 Object longArray = Array.newInstance(Long.TYPE, 2); 165 strArray = Array.newInstance(String.class, 2); 199 intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); 218 strStrStrArray = Array.newInstance(String.class, dimensions); 246 strStrStrArray = Array.newInstance(String[].class, dimensions2); 261 Object arrayOfAbstractClasses = Array.newInstance(Number.class, 1) [all...] |
/prebuilts/tools/common/m2/internal/org/objenesis/objenesis/1.2/ |
objenesis-1.2.jar | |
/prebuilts/tools/common/objenesis/ |
objenesis-1.2.jar | |
/external/robolectric/lib/main/ |
objenesis-1.0.jar | |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlPullParserFactory.java | 24 * <code>newInstance(property, classLoaderCtx)</code> 36 /** used as default class to server as context class in newInstance() */ 181 final XmlPullParser pp = (XmlPullParser) ppClass.newInstance(); 227 final XmlSerializer ser = (XmlSerializer) ppClass.newInstance(); 244 * @return a new instance of a PullParserFactory, as returned by newInstance (null, null); 246 public static XmlPullParserFactory newInstance () throws XmlPullParserException { 247 return newInstance(null, null); 250 public static XmlPullParserFactory newInstance (String classNames, Class context) 288 "parameter classNames to newInstance() that contained '"+classNames+"'"; 310 instance = candidate.newInstance (); [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoCaptureVideoPermissionTest.java | 48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentDialogOrActivity.java | 43 DialogFragment newFragment = MyDialogFragment.newInstance(); 61 DialogFragment newFragment = MyDialogFragment.newInstance(); 68 static MyDialogFragment newInstance() {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentDialogOrActivitySupport.java | 42 DialogFragment newFragment = MyDialogFragment.newInstance(); 60 DialogFragment newFragment = MyDialogFragment.newInstance(); 67 static MyDialogFragment newInstance() {
|