Home
last modified time | relevance | path

Searched refs:setAccessible (Results 1 – 25 of 33) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DAccessibleObjectTest.java97 ao.setAccessible(true); in test_isAccessible()
99 ao.setAccessible(false); in test_isAccessible()
114 AccessibleObject.setAccessible(aoa, true); in test_setAccessible$Ljava_lang_reflect_AccessibleObjectZ()
116 AccessibleObject.setAccessible(aoa, false); in test_setAccessible$Ljava_lang_reflect_AccessibleObjectZ()
128 ao.setAccessible(true); in test_setAccessible()
130 ao.setAccessible(false); in test_setAccessible()
/libcore/ojluni/src/main/java/sun/nio/ch/
DReflect.java45 private static void setAccessible(final AccessibleObject ao) { in setAccessible() method in Reflect
48 ao.setAccessible(true); in setAccessible()
59 setAccessible(c); in lookupConstructor()
87 setAccessible(m); in lookupMethod()
124 setAccessible(f); in lookupField()
/libcore/luni/src/test/java/libcore/java/lang/
DCharacterTest.java198 m.setAccessible(true); in test_isDigit_against_icu4c()
207 m.setAccessible(true); in test_isIdentifierIgnorable_against_icu4c()
216 m.setAccessible(true); in test_isLetter_against_icu4c()
225 m.setAccessible(true); in test_isLetterOrDigit_against_icu4c()
234 m.setAccessible(true); in test_isLowerCase_against_icu4c()
243 m.setAccessible(true); in test_isSpaceChar_against_icu4c()
259 m.setAccessible(true); in test_isUpperCase_against_icu4c()
268 m.setAccessible(true); in test_isWhitespace_against_icu4c()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java86 public static void setAccessible(AccessibleObject[] array, boolean flag) in setAccessible() method in AccessibleObject
118 public void setAccessible(boolean flag) throws SecurityException { in setAccessible() method in AccessibleObject
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectByteBufferTest.java121 buf.setAccessible(false); in testIsAccessible()
128 buf.setAccessible(true); in testIsAccessible()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamClassTest.java226 getConstructorId.setAccessible(true); in testBug28106822()
233 newInstance.setAccessible(true); in testBug28106822()
264 hasStaticInitializer.setAccessible(true); in testHasClinit()
DConsoleTest.java51 constructor.setAccessible(true); in setUp()
/libcore/luni/src/test/java/sun/misc/
DUnsafeTest.java62 f.setAccessible(true); in getUnsafe()
/libcore/benchmarks/src/benchmarks/
DReferenceGetBenchmark.java32 intrinsicDisabledField.setAccessible(true); in setUp()
/libcore/luni/src/main/java/libcore/util/
DObjects.java51 f.setAccessible(true); in toString()
/libcore/luni/src/test/java/libcore/java/net/
DURLStreamHandlerFactoryTest.java37 factoryField.setAccessible(true); in setUp()
DOldSocketImplFactoryTest.java78 factoryField.setAccessible(true); in setUp()
DOldDatagramSocketImplFactoryTest.java97 factoryField.setAccessible(true); in setUp()
DNetworkInterfaceTest.java158 nameField.setAccessible(true); in testInterfaceRemoval()
/libcore/ojluni/src/main/java/java/lang/
DEnum.java266 method.setAccessible(true);
/libcore/ojluni/src/main/java/java/security/
DSecurity.java719 f.setAccessible(true); in invalidateSMCache()
723 f.setAccessible(true); in invalidateSMCache()
726 f.setAccessible(accessible); in invalidateSMCache()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java56 f.setAccessible(true);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java40 field.setAccessible(true);
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1336 cons.setAccessible(true); in getExternalizableConstructor()
1368 cons.setAccessible(true); in getSerializableConstructor()
1399 meth.setAccessible(true); in getInheritableMethod()
1423 meth.setAccessible(true); in getPrivateMethod()
1580 f.setAccessible(true); in getDeclaredSerialFields()
1653 f.setAccessible(true); in getDeclaredSUID()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java211 el.definingMethod.setAccessible(true); in equals()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java195 field_secprops.setAccessible(true); in resetSslProvider()
/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java1514 public void setAccessible(boolean value) { in setAccessible() method in ByteBuffer
/libcore/ojluni/src/main/java/sun/security/x509/
DX500Name.java1413 cons.setAccessible(true);
1415 field.setAccessible(true);
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java275 f_impl.setAccessible(true); in test_Socket_impl_notNull()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java410 field.setAccessible(true); in test24846()

12