OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newInstance
(Results
1 - 25
of
1257
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/jsilver/src/com/google/clearsilver/jsilver/data/
ParserFactory.java
27
Parser
newInstance
();
/external/objenesis/main/src/org/objenesis/instantiator/
NullInstantiator.java
28
public Object
newInstance
() {
ObjectInstantiator.java
31
Object
newInstance
();
/external/apache-http/src/org/apache/http/auth/
AuthSchemeFactory.java
44
AuthScheme
newInstance
(HttpParams params);
/external/apache-http/src/org/apache/http/cookie/
CookieSpecFactory.java
44
CookieSpec
newInstance
(HttpParams params);
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
UnsafeAllocator.java
30
public abstract <T> T
newInstance
(Class<T> c) throws Exception;
46
public <T> T
newInstance
(Class<T> c) throws Exception {
55
// private static native Object
newInstance
(
59
final Method
newInstance
= ObjectInputStream.class
60
.getDeclaredMethod("
newInstance
", Class.class, Class.class);
61
newInstance
.setAccessible(true);
65
public <T> T
newInstance
(Class<T> c) throws Exception {
66
return (T)
newInstance
.invoke(null, c, Object.class);
75
// private static native Object
newInstance
(Class<?> instantiationClass, int methodId);
82
final Method
newInstance
= ObjectStreamClass.clas
[
all
...]
/external/objenesis/main/src/org/objenesis/instantiator/basic/
NewInstanceInstantiator.java
22
* The simplest instantiator - simply calls Class.
newInstance
(). This can deal with default public
36
public Object
newInstance
() {
38
return type.
newInstance
();
ConstructorInstantiator.java
24
* Instantiates a class by grabbing the no args constructor and calling Constructor.
newInstance
().
43
public Object
newInstance
() {
45
return constructor.
newInstance
((Object[]) null);
/external/chromium_org/third_party/WebKit/Source/core/animation/
CompositorAnimations.h
59
static void setInstanceForTesting(CompositorAnimations*
newInstance
) { instance(
newInstance
); }
72
static CompositorAnimations* instance(CompositorAnimations*
newInstance
)
75
if (
newInstance
) {
76
instance =
newInstance
;
/libcore/benchmarks/src/benchmarks/regression/
EqualsHashCodeBenchmark.java
27
@Override Object
newInstance
(String text) throws Exception {
32
@Override Object
newInstance
(String text) throws Exception {
36
abstract Object
newInstance
(String text) throws Exception;
47
a1 = type.
newInstance
("https://mail.google.com/mail/u/0/?shva=1#inbox");
48
a2 = type.
newInstance
("https://mail.google.com/mail/u/0/?shva=1#inbox");
49
b1 = type.
newInstance
("http://developer.android.com/reference/java/net/URI.html");
50
b2 = type.
newInstance
("http://developer.android.com/reference/java/net/URI.html");
/external/objenesis/main/src/org/objenesis/
ObjenesisHelper.java
42
public static Object
newInstance
(Class clazz) {
43
return OBJENESIS_STD.
newInstance
(clazz);
54
return (Serializable) OBJENESIS_SERIALIZER.
newInstance
(clazz);
60
* ObjectInstantiator than calling {@link #
newInstance
(Class)}.
Objenesis.java
33
Object
newInstance
(Class clazz);
38
* ObjectInstantiator than calling {@link #
newInstance
(Class)}.
/external/mockito/src/org/mockito/internal/stubbing/answers/
ClonesArguments.java
20
Object
newInstance
= ObjenesisHelper.
newInstance
(from.getClass());
21
new LenientCopyTool().copyToRealObject(from,
newInstance
);
22
arguments[i] =
newInstance
;
/frameworks/base/core/tests/coretests/src/android/net/http/
AndroidHttpClientProxyTest.java
24
return AndroidHttpClient.
newInstance
(AbstractProxyTest.class.getName());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerSessionFactory.java
22
public static Session
newInstance
(AndroidSpellCheckerService service) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
LocalServices.java
38
return WifiP2pUpnpServiceInfo.
newInstance
(
52
return WifiP2pDnsSdServiceInfo.
newInstance
("MyPrinter",
61
return WifiP2pDnsSdServiceInfo.
newInstance
("Example",
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
WifiP2pDnsSdServiceRequest.java
32
* This constructor is only used in
newInstance
().
42
* This constructor is only used in
newInstance
().
61
public static WifiP2pDnsSdServiceRequest
newInstance
() {
75
public static WifiP2pDnsSdServiceRequest
newInstance
(String serviceType) {
96
public static WifiP2pDnsSdServiceRequest
newInstance
(String instanceName,
WifiP2pUpnpServiceRequest.java
34
* This constructor is only used in
newInstance
().
44
* This constructor is only used in
newInstance
().
56
public static WifiP2pUpnpServiceRequest
newInstance
() {
73
public static WifiP2pUpnpServiceRequest
newInstance
(String st) {
/libcore/luni/src/test/java/libcore/java/lang/reflect/
OldAndroidArrayTest.java
28
Object intArray = Array.
newInstance
(Integer.TYPE, 2);
54
intArray = Array.
newInstance
(Integer.TYPE, 0);
59
Object strArray = Array.
newInstance
(String.class, 2);
76
Object intIntIntArray = Array.
newInstance
(Integer.TYPE, dimensions);
94
Object strStrStrArray = Array.
newInstance
(String.class, dimensions);
117
strStrStrArray = Array.
newInstance
(String[].class, dimensions2);
/external/objenesis/main/src/org/objenesis/instantiator/sun/
SunReflectionFactoryInstantiator.java
43
public Object
newInstance
() {
45
return mungedConstructor.
newInstance
((Object[]) null);
/libcore/luni/src/main/java/java/nio/charset/
CharsetICU.java
23
return CharsetDecoderICU.
newInstance
(this, icuCanonicalName);
27
return CharsetEncoderICU.
newInstance
(this, icuCanonicalName);
/external/apache-http/src/org/apache/http/conn/
ClientConnectionManagerFactory.java
46
ClientConnectionManager
newInstance
(
/external/apache-http/src/org/apache/http/impl/auth/
BasicSchemeFactory.java
46
public AuthScheme
newInstance
(final HttpParams params) {
DigestSchemeFactory.java
46
public AuthScheme
newInstance
(final HttpParams params) {
/external/objenesis/main/test/org/objenesis/
SerializingInstantiatorTest.java
39
o.
newInstance
(Object.class);
Completed in 751 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>