HomeSort by relevance Sort by last modified time
    Searched full:getclass (Results 1 - 25 of 2163) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/runtime/mirror/
object-inl.h 34 inline Class* Object::GetClass() const {
76 DCHECK(GetClass() != NULL);
82 DCHECK(GetClass() != NULL);
83 return klass->IsAssignableFrom(GetClass());
87 Class* java_lang_Class = GetClass()->GetClass();
88 return GetClass() == java_lang_Class;
102 return IsArrayInstance() && !GetClass()->GetComponentType()->IsPrimitive();
118 return GetClass()->IsArrayClass();
122 return GetClass()->IsArtFieldClass()
    [all...]
  /external/objenesis/main/test/org/objenesis/
ObjenesisTest.java 41 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass());
46 assertEquals(getClass(), o.newInstance(getClass()).getClass());
51 ObjectInstantiator i1 = o.getInstantiatorOf(getClass());
53 assertEquals(getClass(), i1.newInstance().getClass());
56 ObjectInstantiator i2 = o.getInstantiatorOf(getClass());
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/support/
A.java 7 pp.setClazz(getClass());
  /libcore/luni/src/main/java/libcore/util/
Objects.java 43 Class<?> c = o.getClass();
62 if (value.getClass().isArray()) {
63 if (value.getClass() == boolean[].class) {
65 } else if (value.getClass() == byte[].class) {
67 } else if (value.getClass() == char[].class) {
69 } else if (value.getClass() == double[].class) {
71 } else if (value.getClass() == float[].class) {
73 } else if (value.getClass() == int[].class) {
75 } else if (value.getClass() == long[].class) {
77 } else if (value.getClass() == short[].class)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
RuntimeExceptionTest.java 49 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
50 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage());
57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
IllegalArgumentExceptionTest.java 51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
57 assertEquals(exception.getClass().getName() + ": " + "msg", e.getMessage());
58 assertEquals(exception.getClass().getName(), emptyException.getLocalizedMessage());
59 assertEquals(exception.getClass().getName(), emptyException.getCause().toString());
IllegalStateExceptionTest.java 51 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
58 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage());
59 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
70 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception
UnsupportedOperationExceptionTest.java 52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getMessage());
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage());
54 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
59 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage());
60 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
72 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString());
79 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception
TypeNotPresentExceptionTest.java 32 e = new TypeNotPresentException(getClass().getName(), null);
38 e = new TypeNotPresentException(getClass().getName(), npe);
50 e = new TypeNotPresentException(getClass().getName(), null);
51 assertEquals(getClass().getName(), e.typeName());
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DateFormatTest.java 56 f1.format(new Date()).getClass() == String.class);
76 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class);
82 f2.format(new Date()).getClass() == String.class);
94 assertTrue("Wrong class1", f2.getClass() == SimpleDateFormat.class);
100 f2.format(new Date()).getClass() == String.class);
103 assertTrue("Wrong class2", f2.getClass() == SimpleDateFormat.class);
109 f2.format(new Date()).getClass() == String.class);
112 assertTrue("Wrong class3", f2.getClass() == SimpleDateFormat.class);
118 f2.format(new Date()).getClass() == String.class);
121 assertTrue("Wrong class4", f2.getClass() == SimpleDateFormat.class)
    [all...]
  /external/mockito/src/org/mockito/internal/util/reflection/
LenientCopyTool.java 16 copy(from, mock, from.getClass(), mock.getClass().getSuperclass());
20 copy(from, to, from.getClass(), to.getClass());
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
ChunkOffsetBox.java 18 return this.getClass().getSimpleName() + "[entryCount=" + getChunkOffsets().length + "]";
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
TemporaryBindingsTest.java 18 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
22 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(),
28 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
32 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(),
  /libcore/luni/src/test/java/libcore/java/lang/
PackageTest.java 29 assertEquals(0, getClass().getPackage().getAnnotations().length);
30 assertEquals(0, getClass().getPackage().getDeclaredAnnotations().length);
36 assertEquals(getClass().getPackage(), libcoreJavaLang);
41 assertTrue(packages.contains(getClass().getPackage()));
  /external/mockito/src/org/mockito/internal/matchers/
Equals.java 54 if (o == null || !this.getClass().equals(o.getClass())) {
69 description.appendText(describe("("+ wanted.getClass().getSimpleName() +") " + wanted));
74 return wanted != null && object != null && object.getClass() == wanted.getClass();
  /external/proguard/src/proguard/evaluation/value/
TopValue.java 46 return this.getClass() == other.getClass() ? this : null;
65 this.getClass() == object.getClass();
71 return this.getClass().hashCode();
Value.java 48 throw new IllegalArgumentException("Value is not a Category 1 value [" + this.getClass().getName() + "]");
56 throw new IllegalArgumentException("Value is not a Category 2 value [" + this.getClass().getName() + "]");
65 throw new IllegalArgumentException("Value is not an integer value [" + this.getClass().getName() + "]");
73 throw new IllegalArgumentException("Value is not a long value [" + this.getClass().getName() + "]");
81 throw new IllegalArgumentException("Value is not a float value [" + this.getClass().getName() + "]");
89 throw new IllegalArgumentException("Value is not a double value [" + this.getClass().getName() + "]");
97 throw new IllegalArgumentException("Value is not a reference value [" + this.getClass().getName() + "]");
105 throw new IllegalArgumentException("Value is not an instruction offset value [" + this.getClass().getName() + "]");
  /external/guava/guava-tests/test/com/google/common/collect/
ObjectArraysTest.java 48 assertEquals(String[].class, empty.getClass());
55 assertEquals(String[].class, array.getClass());
63 assertEquals(String[][].class, array.getClass());
76 assertEquals(String[].class, array.getClass());
83 assertEquals(String[][].class, array.getClass());
92 assertEquals(String[].class, result.getClass());
100 assertEquals(String[].class, result.getClass());
108 assertEquals(String[].class, result.getClass());
116 assertEquals(String[].class, result.getClass());
124 assertEquals(Serializable[].class, result.getClass());
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
ResourcesTest.java 48 URL url = getClass().getResource("/com/google/common/io/Resources.class");
56 URL resource = getClass().getResource("testdata/i18n.txt");
63 URL url = getClass().getResource("/com/google/common/io/Resources.class");
71 URL resource = getClass().getResource("testdata/i18n.txt");
77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
101 URL resource = getClass().getResource("testdata/i18n.txt");
123 getClass(), "com/google/common/io/testdata/i18n.txt");
133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt"));
  /external/junit/src/org/junit/internal/runners/statements/
ExpectException.java 27 if (!fExpected.isAssignableFrom(e.getClass())) {
30 + e.getClass().getName() + ">";
  /external/mockito/src/org/mockito/internal/stubbing/answers/
Returns.java 26 return value.getClass().getSimpleName();
30 return value.getClass();
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowColorDrawable.java 22 if (o == null || realObject.getClass() != o.getClass()) return false;
ShadowContentProviderResult.java 16 Field field = realResult.getClass().getField("uri");
22 Field field = realResult.getClass().getField("count");
  /packages/experimental/TestBack/src/foo/bar/testback/
Foo.java 21 if (getClass() != obj.getClass())
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
ConstructorTest.java 54 ctor1 = new ConstructorTestHelper().getClass().getConstructor(
59 parms[0] = new Object().getClass();
60 ctor2 = new ConstructorTestHelper().getClass().getConstructor(parms);
73 Class pclass = new ConstructorTestHelper().getClass();
86 Constructor ctor = new ConstructorTestHelper().getClass()
89 ex = new IndexOutOfBoundsException().getClass();
102 Constructor ctor = new ConstructorTestHelper().getClass()
113 Constructor ctor = new ConstructorTestHelper().getClass()
124 Constructor ctor = new ConstructorTestHelper().getClass()
139 Constructor ctor = new ConstructorTestHelper().getClass()
    [all...]

Completed in 3626 milliseconds

1 2 3 4 5 6 7 8 91011>>