/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
BooleanTest.java | 76 System.setProperty(getClass().getName(), "true"); 77 assertTrue(Boolean.getBoolean(getClass().getName())); 79 System.setProperty(getClass().getName(), "TRUE"); 80 assertTrue(Boolean.getBoolean(getClass().getName())); 82 System.setProperty(getClass().getName(), "false"); 83 assertFalse(Boolean.getBoolean(getClass().getName()));
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ReflectionTest.java | 76 assertEquals("libcore.java.lang.reflect.ReflectionTest", getClass().getName()); 77 assertEquals(getClass().getName() + "$A", A.class.getName()); 78 assertEquals(getClass().getName() + "$B", B.class.getName()); 79 assertEquals(getClass().getName() + "$DefinesMember", DefinesMember.class.getName()); 87 assertEquals("libcore.java.lang.reflect.ReflectionTest", getClass().getCanonicalName()); 88 assertEquals(getClass().getName() + ".A", A.class.getCanonicalName()); 89 assertEquals(getClass().getName() + ".B", B.class.getCanonicalName()); 90 assertEquals(getClass().getName() + ".DefinesMember", 310 assertFalse(CLASS_LEVEL_ANONYMOUS.getClass().isLocalClass()); 311 assertFalse(methodLevelAnonymous.getClass().isLocalClass()) [all...] |
/art/runtime/mirror/ |
object_test.cc | 117 EXPECT_TRUE(clone->GetClass() == a1->GetClass()); 140 EXPECT_EQ(aioobe, soa.Self()->GetException(NULL)->GetClass()); 145 EXPECT_EQ(aioobe, soa.Self()->GetException(NULL)->GetClass()); 148 ASSERT_TRUE(oa->GetClass() != NULL); 149 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); 164 EXPECT_TRUE(c == a->GetClass()); 170 EXPECT_TRUE(c == a->GetClass()); 176 EXPECT_TRUE(c == a->GetClass()); 187 EXPECT_TRUE(c == a->GetClass()); [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 392 assertSame(PrivateKeyEntry.class, actual.getClass()); 410 assertSame(SecretKeyEntry.class, actual.getClass()); 424 assertSame(TrustedCertificateEntry.class, actual.getClass()); 472 if (e.getClass() != NullPointerException.class 473 && e.getClass() != KeyStoreException.class) { 549 if (e.getClass() != NullPointerException.class 550 && e.getClass() != IllegalArgumentException.class) { 558 if (e.getClass() != NullPointerException.class 559 && e.getClass() != IllegalArgumentException.class 560 && e.getClass() != KeyStoreException.class) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 101 throw new RuntimeException(invocationPlan.getShadow().getClass().getName() + " is not assignable from " + 151 clazz = Array.newInstance(clazz, 0).getClass(); 165 String shadowClassName = getShadowClassName(instance.getClass()); 168 System.out.println("creating new " + shadowClassName + " as shadow for " + instance.getClass().getName()); 170 Class<?> shadowClass = loadClass(shadowClassName, instance.getClass().getClassLoader()); 227 Class clazz = instance.getClass(); 241 Class clazz = instance.getClass(); 247 throw new RuntimeException(instance.getClass().getName() + " has no shadow field", e); 323 Method m = (annos[i]).getClass().getMethod("i18nSafe"); 350 method = getMethod(shadow.getClass(), methodName, paramClasses) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerStateUnitTestTemplate.java | 181 Log.v(TAG, "setMediaPlayerToIdleStateAfterReset: Exception " + e.getClass().getName() + " was thrown."); 191 Log.v(TAG, "setMediaPlayerToInitializedState: Exception " + e.getClass().getName() + " was thrown."); 202 Log.v(TAG, "setMediaPlayerToPreparedState: Exception " + e.getClass().getName() + " was thrown."); 216 Log.v(TAG, "setMediaPlayerToPreparedStateAfterStop: Exception " + e.getClass().getName() + " was thrown."); 228 Log.v(TAG, "setMediaPlayerToStartedState: Exception " + e.getClass().getName() + " was thrown."); 253 Log.v(TAG, "setMediaPlayerToStartedStateAfterPause: Exception " + e.getClass().getName() + " was thrown."); 266 Log.v(TAG, "setMediaPlayerToPausedState: Exception " + e.getClass().getName() + " was thrown."); 279 Log.v(TAG, "setMediaPlayerToStoppedState: Exception " + e.getClass().getName() + " was thrown."); 299 Log.v(TAG, "setMediaPlayerToPlaybackCompletedState: Exception " + e.getClass().getName() + " was thrown."); 323 Log.v(TAG, "setMediaPlayerToErrorState: Exception " + e.getClass().getName() + " was thrown.") [all...] |
MediaRecorderStateUnitTestTemplate.java | 89 fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was thrown."); 111 fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was thrown."); 122 fail("setMediaRecorderToInitializedState: Exception " + e.getClass().getName() + " was thrown."); 135 fail("setMediaRecorderToPreparedState: Exception " + e.getClass().getName() + " was thrown."); 149 fail("setMediaRecorderToRecordingState: Exception " + e.getClass().getName() + " was thrown."); 171 fail("setMediaRecorderToDataSourceConfiguredState: Exception " + e.getClass().getName() + " was thrown."); 204 fail("setMediaRecorderToErrorState: Exception " + e.getClass().getName() + " was thrown.");
|
/art/runtime/ |
reference_table.cc | 91 if (obj1->GetClass() != obj2->GetClass()) { 92 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); 174 if (ref->GetClass() == NULL) { 187 } else if (ref->GetClass()->IsStringClass()) { 230 } else if (current->GetClass() == prev->GetClass() && GetElementCount(current) == element_count) {
|
class_linker_test.cc | 68 ASSERT_TRUE(primitive->GetClass() != NULL); 69 ASSERT_EQ(primitive->GetClass(), primitive->GetClass()->GetClass()); 70 EXPECT_TRUE(primitive->GetClass()->GetSuperClass() != NULL); 120 ASSERT_TRUE(array->GetClass() != NULL); 121 ASSERT_EQ(array->GetClass(), array->GetClass()->GetClass()); 122 EXPECT_TRUE(array->GetClass()->GetSuperClass() != NULL) [all...] |
/external/chromium_org/base/android/ |
jni_android.cc | 16 using base::android::GetClass; 31 GetClass(env, "java/lang/Throwable"); 39 GetClass(env, "java/io/ByteArrayOutputStream"); 53 GetClass(env, "java/io/PrintStream"); 131 GetClass(env, "java/lang/ClassLoader"); 148 ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, const char* class_name) { 172 clazz.Reset(GetClass(env, class_name));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
ProxyTest.java | 158 assertSame(Support_Proxy_ParentException.class, e.getCause().getClass()); 171 assertSame(IllegalAccessException.class, e.getCause().getClass()); 208 .isProxyClass(fake.getClass())); 243 .newProxyInstance(this.getClass().getClassLoader(), 252 Proxy.newProxyInstance(this.getClass().getClassLoader(), 266 Class<?> c = Proxy.getProxyClass(myImpl.getClass().getClassLoader(), myImpl.getClass().getInterfaces());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilitiesTest.java | 40 getClass().getResourceAsStream(fileName)); 80 getClass().getResourceAsStream(fileName)); 101 getClass().getResourceAsStream(fileName)); 135 getClass().getResourceAsStream(fileName)); 209 getClass().getResourceAsStream(fileName)); 225 getClass().getResourceAsStream(fileName)); 300 getClass().getResourceAsStream(fileName));
|
NinePatchedImageTest.java | 38 NinePatchedImage image = new NinePatchedImage(getClass() 54 NinePatchedImage image = new NinePatchedImage(getClass() 70 NinePatchedImage image = new NinePatchedImage(getClass() 117 NinePatchedImage image = new NinePatchedImage(getClass() 125 image = new NinePatchedImage(getClass() 133 image = new NinePatchedImage(getClass() 141 image = new NinePatchedImage(getClass() 152 NinePatchedImage image = new NinePatchedImage(getClass() 160 image = new NinePatchedImage(getClass() 168 image = new NinePatchedImage(getClass() [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ComparableConstant.java | 239 this.getClass().equals(other.getClass()) && 240 this.getConstant().getClass().equals(((ComparableConstant)other).getConstant().getClass()) && 247 return this.getClass().hashCode();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWranglerTest.java | 38 assertEquals(ShadowFoo_WithDefaultConstructorAndNoConstructorDelegate.class, Robolectric.shadowOf_(foo).getClass()); 100 assertEquals(ShadowFoo.class, Robolectric.shadowOf_(textFoo).getClass()); 114 Class<?> objArrayClass = ShadowWrangler.loadClass("java.lang.Object[]", getClass().getClassLoader()); 118 Class<?> intArrayClass = ShadowWrangler.loadClass("int[]", getClass().getClassLoader()); 136 assertEquals(IOException.class, e.getClass());
|
/frameworks/base/test-runner/src/android/test/ |
InstrumentationCoreTestRunner.java | 105 if (test.getClass() != lastClass) { 106 lastClass = test.getClass(); 107 printMemory(test.getClass()); 111 test.getClass().getClassLoader()); 170 Class<?> clazz = test.getClass();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameValues.java | 32 if (value == null || !value.getClass().isArray()) { 50 if (value == null || value.getClass().isArray()) { 54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); 71 if (value == null || !value.getClass().isArray()) { 121 if (curValue == null || !curValue.getClass().isArray()) {
|
/art/runtime/verifier/ |
reg_type.cc | 438 result << "Reference" << ": " << PrettyDescriptor(GetClass()); 444 result << "Precise Reference" << ": "<< PrettyDescriptor(GetClass()); 450 result << "Uninitialized Reference" << ": " << PrettyDescriptor(GetClass()); 457 result << "Uninitialized This Reference" << ": " << PrettyDescriptor(GetClass()); 619 mirror::Class* super_klass = GetClass()->GetSuperClass(); 646 return GetClass()->CanAccess(other.GetClass()); 648 return other.GetClass()->IsPublic(); // Be conservative, only allow if other is public. 660 return GetClass()->CanAccessMember(klass, access_flags); 672 mirror::Class* type = GetClass(); [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
BatchUpdateExceptionTest.java | 66 assertEquals(i + "Exception mismatch", e.getClass(), 67 theExceptions[i].getClass()); 112 assertEquals(i + "Exception mismatch", e.getClass(), 113 theExceptions[i].getClass()); 167 assertEquals(i + "Exception mismatch", e.getClass(), 168 theExceptions[i].getClass()); 224 assertEquals(i + "Exception mismatch", e.getClass(), 225 theExceptions[i].getClass()); 282 assertEquals(i + "Exception mismatch", e.getClass(), 283 theExceptions[i].getClass()); [all...] |
DataTruncationTest.java | 87 assertEquals(i + "Exception mismatch", e.getClass(), 88 theExceptions[i].getClass()); 172 assertEquals(i + "Exception mismatch", e.getClass(), 173 theExceptions[i].getClass()); 244 assertEquals(i + "Exception mismatch", e.getClass(), 245 theExceptions[i].getClass()); 316 assertEquals(i + "Exception mismatch", e.getClass(), 317 theExceptions[i].getClass()); 388 assertEquals(i + "Exception mismatch", e.getClass(), 389 theExceptions[i].getClass()); [all...] |
/external/easymock/src/org/easymock/internal/ |
ObjectMethodsFilter.java | 80 if (Proxy.isProxyClass(proxy.getClass()))
81 return proxy.getClass().getInterfaces()[0].toString();
83 return proxy.getClass().getSuperclass().toString();
|
/external/guava/guava/src/com/google/common/collect/ |
Platform.java | 76 Class<?> type = reference.getClass().getComponentType(); 79 // result.getClass() == reference.getClass().getComponentType()
|
/external/junit/src/org/junit/internal/runners/ |
JUnit38ClassRunner.java | 53 return test.getClass(); 98 return Description.createTestDescription(tc.getClass(), tc.getName()); 117 return Description.createSuiteDescription(test.getClass());
|
/external/mockito/src/org/mockito/internal/configuration/ |
InjectingAnnotationEngine.java | 55 processIndependentAnnotations(testInstance.getClass(), testInstance);
56 processInjectMocks(testInstance.getClass(), testInstance);
90 Class<?> clazz = testClassInstance.getClass();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
FullContainerBox.java | 53 for (Box boxe : boxes) { //clazz.isInstance(boxe) / clazz == boxe.getClass()? 54 if (clazz == boxe.getClass()) { 123 buffer.append(this.getClass().getSimpleName()).append("[");
|