HomeSort by relevance Sort by last modified time
    Searched refs:isInstance (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
Platform.java 29 * Calls {@link Class#isInstance(Object)}.
33 static boolean isInstance(Class<?> clazz, Object obj) {
34 return clazz.isInstance(obj);
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Platform.java 29 * Calls {@link Class#isInstance(Object)}.
33 static boolean isInstance(Class<?> clazz, Object obj) {
34 return clazz.isInstance(obj);
  /external/nist-sip/java/gov/nist/javax/sip/parser/ims/
SecurityAgreeParser.java 86 if (header.getClass().isInstance(new SecurityClient())) {
88 } else if (header.getClass().isInstance(new SecurityServer())) {
90 } else if (header.getClass().isInstance(new SecurityVerify())) {
127 if (header.getClass().isInstance(new SecurityClient())) {
129 } else if (header.getClass().isInstance(new SecurityServer())) {
131 } else if (header.getClass().isInstance(new SecurityVerify())) {
  /external/smack/src/org/jivesoftware/smack/filter/
PacketTypeFilter.java 55 return packetType.isInstance(packet);
  /libcore/luni/src/main/java/java/net/
ContentHandler.java 61 if (types[i].isInstance(content)) {
  /art/test/031-class-attributes/src/
ClassAttrs.java 180 assertTrue(String.class.isInstance("hello"));
183 assertTrue(Object.class.isInstance(new Object()));
184 assertTrue(Object.class.isInstance(Class.class));
185 assertTrue(Object.class.isInstance("hello"));
188 assertTrue(CharSequence.class.isInstance("hello"));
189 assertFalse(CharSequence.class.isInstance(new Object()));
192 assertTrue(AccessibleObject.class.isInstance(Method.class.getDeclaredMethods()[0]));
193 assertFalse(Method.class.isInstance(Method.class.getDeclaredFields()[0]));
196 assertTrue(int[].class.isInstance(new int[0]));
197 assertFalse(int[].class.isInstance(new char[0]))
    [all...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
PaneTracker.java 51 if (listener.getFilterType().isInstance(pane)) {
61 if (listener.getFilterType().isInstance(pane)) {
70 if (paneClass.isInstance(pane)) {
  /external/hamcrest/src/org/hamcrest/core/
IsInstanceOf.java 28 return theClass.isInstance(item);
  /frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
BoundedMatcher.java 67 if (expectedType.isInstance(item)) {
69 if (!intfType.isInstance(item)) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
Platform.java 31 * Calls {@link Class#isInstance(Object)}. Factored out so that it can be
37 return clazz.isInstance(obj);
  /external/hamcrest/library/src/org/hamcrest/
TypeSafeMatcher.java 55 && expectedType.isInstance(item)
  /external/hamcrest/library/src/org/hamcrest/object/
IsEventFrom.java 26 return eventClass.isInstance(item)
  /external/javassist/sample/duplicate/
DuplicatedObject.java 14 if (clazz.isInstance(args[0]))
  /external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java 57 && expectedType.isInstance(item)
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageDetailFragment.java 87 if (ImageDetailActivity.class.isInstance(getActivity())) {
93 if (OnClickListener.class.isInstance(getActivity()) && Utils.hasHoneycomb()) {
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
ImageDetailFragment.java 87 if (ImageDetailActivity.class.isInstance(getActivity())) {
93 if (OnClickListener.class.isInstance(getActivity()) && Utils.hasHoneycomb()) {
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
ImageDetailFragment.java 87 if (ImageDetailActivity.class.isInstance(getActivity())) {
93 if (OnClickListener.class.isInstance(getActivity()) && Utils.hasHoneycomb()) {
  /external/junit/src/org/junit/experimental/theories/
ParameterSignature.java 73 if (annotationType.isInstance(each))
86 if (annotationType.isInstance(each))
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericReflectionTestsBase.java 67 .isInstance(actual));
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicLongFieldUpdater.java 286 if (!tclass.isInstance(obj))
318 if (cclass.isInstance(obj)) {
380 if (!tclass.isInstance(obj))
420 if (cclass.isInstance(obj)) {
AtomicReferenceFieldUpdater.java 241 if (!tclass.isInstance(obj))
248 if (!tclass.isInstance(obj) ||
249 (update != null && vclass != null && !vclass.isInstance(update)))
296 if (cclass.isInstance(obj)) {
  /external/guava/guava/src/com/google/common/base/
Throwables.java 58 // Check for null is needed to avoid frequent JNI calls to isInstance().
59 if (throwable != null && declaredType.isInstance(throwable)) {
  /external/mockito/src/org/mockito/internal/matchers/apachecommons/
EqualsBuilder.java 236 if (lhsClass.isInstance(rhs)) {
238 if (!rhsClass.isInstance(lhs)) {
242 } else if (rhsClass.isInstance(lhs)) {
244 if (!lhsClass.isInstance(rhs)) {
  /libcore/luni/src/test/java/tests/security/spec/
ECFieldF2mTest.java 142 if (tp.x == null || !e.getClass().isInstance(tp.x)) {
267 if (tp.x == null || !e.getClass().isInstance(tp.x)) {
306 if (tp.x == null || !e.getClass().isInstance(tp.x)) {
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
ECFieldF2m_ImplTest.java 207 if (tp.x == null || !e.getClass().isInstance(tp.x)) {

Completed in 1982 milliseconds

1 2 3 4 5 6