Home
last modified time | relevance | path

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

123

/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/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()
DOldRuntimeTest.java533 loadMethod.setAccessible(true); in test_loadDeprecated_targetSdkVersion_24()
549 loadMethod.setAccessible(true); in test_loadDeprecated_targetSdkVersion_25()
565 loadMethod.setAccessible(true); in test_loadLibraryDeprecated_targetSdkVersion_24()
581 loadMethod.setAccessible(true); in test_loadLibraryDeprecated_targetSdkVersion_25()
/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java93 public static void setAccessible(AccessibleObject[] array, boolean flag) in setAccessible() method in AccessibleObject
128 public void setAccessible(boolean flag) throws SecurityException { in setAccessible() method in AccessibleObject
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java38 public static void setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag) in setAccessible() method in AccessibleObject
43 public void setAccessible(boolean flag) throws java.lang.SecurityException { in setAccessible() method in AccessibleObject
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAccessibleObject.annotated.java36 public static void setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag) throws j… in setAccessible() method in AccessibleObject
38 public void setAccessible(boolean flag) throws java.lang.SecurityException { throw new RuntimeExcep… 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/ojluni/src/main/java/jdk/net/
DSockets.java90 siSetOption.setAccessible(true); in initMethods()
95 siGetOption.setAccessible(true); in initMethods()
101 dsiSetOption.setAccessible(true); in initMethods()
106 dsiGetOption.setAccessible(true); in initMethods()
/libcore/benchmarks/src/benchmarks/
DReferenceGetBenchmark.java32 intrinsicDisabledField.setAccessible(true); in setUp()
/libcore/luni/src/test/java/libcore/sun/util/logging/
DPlatformLoggerTest.java49 field.setAccessible(true); in assertLogLevel()
/libcore/luni/src/test/java/libcore/sun/misc/
DUnsafeTest.java64 f.setAccessible(true); in getUnsafe()
/libcore/luni/src/test/java/libcore/java/net/
DDatagramSocketTest.java195 f.setAccessible(true); in forceConnectToThrowSocketException()
198 f.setAccessible(true); in forceConnectToThrowSocketException()
DURLStreamHandlerFactoryTest.java39 factoryField.setAccessible(true); in setUp()
DOldSocketImplFactoryTest.java78 factoryField.setAccessible(true); in setUp()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java116 field.setAccessible(true); in assertSerializedBySer()
176 field.setAccessible(true); in assertNotSerializable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamClassTest.java276 getConstructorId.setAccessible(true); in getConstructorIdMethod()
283 newInstance.setAccessible(true); in getNewInstanceMethod()
DConsoleTest.java51 constructor.setAccessible(true); in setUp()
/libcore/luni/src/main/java/libcore/util/
DObjects.java40 f.setAccessible(true); in toString()
DZoneInfo.java88 mTransitionsField.setAccessible(true); in readObject()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java103 EVP_has_aes_hardware.setAccessible(true); in isAesHardwareAccelerated()
/libcore/luni/src/test/java/libcore/java/io/
DObjectStreamClassTest.java144 computeDefaultSUIDMethod.setAccessible(true); in checkSerialVersionUID()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketFactoryTest.java91 field_secprops.setAccessible(true); in resetSslProvider()
DSSLSocketFactoryTest.java92 field_secprops.setAccessible(true); in resetSslProvider()
/libcore/ojluni/src/main/java/java/security/
DSecurity.java761 f.setAccessible(true); in invalidateSMCache()
765 f.setAccessible(true); in invalidateSMCache()
768 f.setAccessible(accessible); in invalidateSMCache()
/libcore/luni/src/test/java/libcore/java/util/
DHashtableTest.java160 tableField.setAccessible(true); in test_deserializedArrayLength()

123