Home
last modified time | relevance | path

Searched refs:PROTECTED (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java79 return (mod & PROTECTED) != 0; in isProtected()
234 if ((mod & PROTECTED) != 0) sb.append("protected "); in toString()
274 public static final int PROTECTED = 0x00000004; field in Modifier
366 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |
374 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |
382 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE;
388 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |
396 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java99 .isProtected(Modifier.PROTECTED)); in test_isProtectedI()
199 assertEquals(4, Modifier.PROTECTED); in test_Constants_Value()
321 assertEquals(Modifier.PROTECTED, ProtectedClazz.class.getModifiers()); in test_Class_Modifier()
326 assertEquals(Modifier.PROTECTED + Modifier.ABSTRACT, in test_Class_Modifier()
333 assertEquals(Modifier.PROTECTED + Modifier.FINAL, in test_Class_Modifier()
340 assertEquals(Modifier.PROTECTED + Modifier.STATIC, in test_Class_Modifier()
356 assertEquals(Modifier.PROTECTED + Modifier.STATIC + Modifier.ABSTRACT, in test_Class_Modifier()
365 assertEquals(Modifier.PROTECTED + Modifier.STATIC + Modifier.FINAL, in test_Class_Modifier()
374 assertEquals(Modifier.PROTECTED + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()
386 assertEquals(Modifier.PROTECTED + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()
DConstructorTest.java249 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) in test_getModifiers()
DFieldTest.java966 int mask = (Modifier.PROTECTED | Modifier.STATIC) in test_getModifiers()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java68 assertTrue(Modifier.isProtected(Modifier.PROTECTED)); in test_isProtectedI()
69 assertTrue(!Modifier.isProtected(-1 & ~Modifier.PROTECTED)); in test_isProtectedI()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java49 public static final int PROTECTED = 0; field in MethodHandles.Lookup
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1360 ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && in getSerializableConstructor()
1403 } else if ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { in getInheritableMethod()
1722 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
1755 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
1782 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()