OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isAssignableFrom
(Results
51 - 75
of
482
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
ThrowsExceptionClass.java
27
if(throwableClass == null || !Throwable.class.
isAssignableFrom
(throwableClass)) {
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
TriesToReturnSelf.java
22
if (methodReturnType.
isAssignableFrom
(mockType)) {
/external/vogar/src/vogar/target/junit/junit3/
AlternateTestCaseBuilder.java
44
if (junit.framework.TestCase.class.
isAssignableFrom
(testClass)) {
/frameworks/base/test-runner/src/android/test/
ActivityTestCase.java
70
if (testCaseClass.
isAssignableFrom
(fieldClass) && !field.getType().isPrimitive()
AndroidTestRunner.java
72
if (TestSuite.class.
isAssignableFrom
(testClass)) {
135
return testMethodName != null && TestCase.class.
isAssignableFrom
(testClass);
139
if (TestSuiteProvider.class.
isAssignableFrom
(clazz)) {
200
if (AndroidTestCase.class.
isAssignableFrom
(test.getClass())) {
212
if (InstrumentationTestCase.class.
isAssignableFrom
(test.getClass())) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
AppCompatTintableViewActions.java
19
import static android.support.test.espresso.matcher.ViewMatchers.
isAssignableFrom
;
98
return anyOf(
isAssignableFrom
(ImageView.class));
124
return anyOf(
isAssignableFrom
(ImageView.class));
207
isAssignableFrom
(ImageView.class));
/libcore/ojluni/src/main/java/java/net/
ProxySelector.java
73
if (c != null && ProxySelector.class.
isAssignableFrom
(c)) {
/art/test/988-method-trace/src/art/
Test988.java
101
if ((new Object[0]).getClass().
isAssignableFrom
(klass)) {
108
} else if ((new byte[0]).getClass().
isAssignableFrom
(klass)) {
110
} else if ((new char[0]).getClass().
isAssignableFrom
(klass)) {
112
} else if ((new short[0]).getClass().
isAssignableFrom
(klass)) {
114
} else if ((new int[0]).getClass().
isAssignableFrom
(klass)) {
116
} else if ((new long[0]).getClass().
isAssignableFrom
(klass)) {
118
} else if ((new float[0]).getClass().
isAssignableFrom
(klass)) {
120
} else if ((new double[0]).getClass().
isAssignableFrom
(klass)) {
/cts/common/host-side/util/src/com/android/compatibility/common/util/
BusinessLogicHostExecutor.java
73
} else if (ITestDevice.class.
isAssignableFrom
(paramType)) {
75
} else if (IBuildInfo.class.
isAssignableFrom
(paramType)) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java
78
if (keySpec.
isAssignableFrom
(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8"))
82
else if (keySpec.
isAssignableFrom
(X509EncodedKeySpec.class) && key.getFormat().equals("X.509"))
/external/jcommander/src/main/java/com/beust/jcommander/
ParameterDescription.java
58
if (! Map.class.
isAssignableFrom
(parameterized.getType())) {
132
if (Enum.class.
isAssignableFrom
(parameterized.getType())
243
boolean isCollection = Collection.class.
isAssignableFrom
(type);
301
if (IParameterValidator2.class.
isAssignableFrom
(validator)) {
324
if (SortedSet.class.
isAssignableFrom
(type)) return new TreeSet();
325
else if (LinkedHashSet.class.
isAssignableFrom
(type)) return new LinkedHashSet();
326
else if (Set.class.
isAssignableFrom
(type)) return new HashSet();
327
else if (List.class.
isAssignableFrom
(type)) return new ArrayList();
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
JavaTypeUtil.java
76
if (Object.class.
isAssignableFrom
(klass)) {
79
if (Array.class.
isAssignableFrom
(klass)) {
JavaClass.java
64
return Object.class.
isAssignableFrom
(mClass);
198
public boolean
isAssignableFrom
(ModelClass that) {
200
return mClass.
isAssignableFrom
(thatClass);
/external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECKeyFactory.java
90
if (key instanceof ECPublicKey && ECPublicKeySpec.class.
isAssignableFrom
(keySpec)) {
95
} else if (key instanceof PublicKey && ECPublicKeySpec.class.
isAssignableFrom
(keySpec)) {
105
&& ECPrivateKeySpec.class.
isAssignableFrom
(keySpec)) {
110
} else if (key instanceof PrivateKey && ECPrivateKeySpec.class.
isAssignableFrom
(keySpec)) {
121
&& PKCS8EncodedKeySpec.class.
isAssignableFrom
(keySpec)) {
131
} else if (key instanceof PublicKey && X509EncodedKeySpec.class.
isAssignableFrom
(keySpec)) {
/libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java
52
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf.getClass()));
146
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf1.getClass()));
158
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf4.getClass()));
169
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf3.getClass()));
178
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf2.getClass()));
251
assertTrue(SSLSocket.class.
isAssignableFrom
(ssl.getClass()));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
ModelClass.java
56
if (listType.
isAssignableFrom
(this)) {
68
return ModelAnalyzer.getInstance().getMapType().
isAssignableFrom
(erasure());
167
return ModelAnalyzer.getInstance().getViewDataBindingType().
isAssignableFrom
(this);
174
return ModelAnalyzer.getInstance().getViewStubType().
isAssignableFrom
(this);
183
return modelAnalyzer.getObservableType().
isAssignableFrom
(this) ||
184
modelAnalyzer.getObservableListType().
isAssignableFrom
(this) ||
185
modelAnalyzer.getObservableMapType().
isAssignableFrom
(this);
196
if (observableField.
isAssignableFrom
(erasure)) {
235
public abstract boolean
isAssignableFrom
(ModelClass that);
/frameworks/support/design/tests/src/android/support/design/widget/
SnackbarTest.java
25
import static android.support.test.espresso.matcher.ViewMatchers.
isAssignableFrom
;
92
isDescendantOfA(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
98
isDescendantOfA(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
203
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
217
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
228
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
244
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
255
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
295
onView(
isAssignableFrom
(Snackbar.SnackbarLayout.class)),
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
Constructor.java
153
if (Properties.class.
isAssignableFrom
(node.getType())) {
161
} else if (SortedMap.class.
isAssignableFrom
(node.getType())) {
167
} else if (Map.class.
isAssignableFrom
(node.getType())) {
173
} else if (SortedSet.class.
isAssignableFrom
(node.getType())) {
180
} else if (Collection.class.
isAssignableFrom
(node.getType())) {
197
if (Map.class.
isAssignableFrom
(node.getType())) {
199
} else if (Set.class.
isAssignableFrom
(node.getType())) {
285
} else if (property.getType().
isAssignableFrom
(Map.class)) {
376
if (type.isPrimitive() || type == String.class || Number.class.
isAssignableFrom
(type)
377
|| type == Boolean.class || Date.class.
isAssignableFrom
(type
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java
36
if (spec.
isAssignableFrom
(RSAPublicKeySpec.class) && key instanceof RSAPublicKey)
42
else if (spec.
isAssignableFrom
(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces.RSAPrivateKey)
48
else if (spec.
isAssignableFrom
(RSAPrivateCrtKeySpec.class) && key instanceof RSAPrivateCrtKey)
/external/junit/src/main/java/org/junit/experimental/theories/
ParameterSignature.java
71
return type.
isAssignableFrom
(candidate) ||
76
return candidate.
isAssignableFrom
(type) ||
84
return targetType.
isAssignableFrom
(wrapperClass);
/external/junit-params/src/main/java/junitparams/internal/parameters/
ParamsFromMethodCommon.java
65
if (Object[].class.
isAssignableFrom
(result.getClass())) {
70
if (Iterable.class.
isAssignableFrom
(result.getClass())) {
85
if (Iterator.class.
isAssignableFrom
(result.getClass())) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java
36
if (spec.
isAssignableFrom
(DHPrivateKeySpec.class) && key instanceof DHPrivateKey)
42
else if (spec.
isAssignableFrom
(DHPublicKeySpec.class) && key instanceof DHPublicKey)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyFactorySpi.java
32
if (spec.
isAssignableFrom
(DSAPublicKeySpec.class) && key instanceof DSAPublicKey)
38
else if (spec.
isAssignableFrom
(DSAPrivateKeySpec.class) && key instanceof java.security.interfaces.DSAPrivateKey)
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java
44
assertTrue(SSLSocketFactory.class.
isAssignableFrom
(sf.getClass()));
91
assertTrue(SSLSocket.class.
isAssignableFrom
(ssl.getClass()));
/external/nist-sip/java/gov/nist/javax/sip/message/
MessageObject.java
110
GenericObject.class.
isAssignableFrom
(
120
} else if (GenericObjectList.class.
isAssignableFrom
(
Completed in 1975 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>