/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 55 return (mod & PUBLIC) != 0; in isPublic() 233 if ((mod & PUBLIC) != 0) sb.append("public "); in toString() 262 public static final int PUBLIC = 0x00000001; 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 |
|
D | Member.java | 47 public static final int PUBLIC = 0; field
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ModifierTest.java | 110 assertTrue("PUBLIC returned false", Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI() 179 + Modifier.toString(java.lang.reflect.Modifier.PUBLIC in test_toStringI() 182 java.lang.reflect.Modifier.PUBLIC in test_toStringI() 200 assertEquals(1, Modifier.PUBLIC); in test_Constants_Value() 320 assertEquals(Modifier.PUBLIC, PublicClazz.class.getModifiers()); in test_Class_Modifier() 324 assertEquals(Modifier.PUBLIC + Modifier.ABSTRACT, in test_Class_Modifier() 331 assertEquals(Modifier.PUBLIC + Modifier.FINAL, PublicFinalClazz.class in test_Class_Modifier() 338 assertEquals(Modifier.PUBLIC + Modifier.STATIC, PublicStaticClazz.class in test_Class_Modifier() 345 assertEquals(Modifier.PUBLIC + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier() 354 assertEquals(Modifier.PUBLIC + Modifier.STATIC + Modifier.ABSTRACT, in test_Class_Modifier() [all …]
|
D | ConstructorTest.java | 227 ((mod & Modifier.PUBLIC) == Modifier.PUBLIC) in test_getModifiers() 239 && ((mod & Modifier.PUBLIC) == 0)); in test_getModifiers() 250 && ((mod & Modifier.PUBLIC) == 0)); in test_getModifiers()
|
D | MethodTest.java | 299 mask = Modifier.PUBLIC | Modifier.STATIC; in test_getModifiers() 315 mask = (Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED; in test_getModifiers() 323 mask = ((Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED) in test_getModifiers() 333 mask = Modifier.PUBLIC | Modifier.ABSTRACT; in test_getModifiers()
|
D | FieldTest.java | 968 int nmask = (Modifier.PUBLIC | Modifier.NATIVE); in test_getModifiers()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyRepTest.java | 41 assertNotNull(new KeyRep(KeyRep.Type.PUBLIC, "", "", new byte[] {})); in testKeyRep01() 62 new KeyRep(KeyRep.Type.PUBLIC, "", "", null); in testKeyRep02() 92 KeyRepChild kr = new KeyRepChild(KeyRep.Type.PUBLIC, "", "", new byte[] {}); in testReadResolve02() 99 kr = new KeyRepChild(KeyRep.Type.PUBLIC, "", "RAW", new byte[] {}); in testReadResolve02() 106 kr = new KeyRepChild(KeyRep.Type.PUBLIC, "bla-bla", "X.509", new byte[] {}); in testReadResolve02() 139 KeyRepChild kr = new KeyRepChild(KeyRep.Type.PUBLIC, algorithm, "X.509", in testReadResolve04()
|
D | KeyRepTypeTest.java | 52 assertEquals(KeyRep.Type.PUBLIC, KeyRep.Type.valueOf(KeyRep.Type.PUBLIC in testValueOf() 63 KeyRep.Type.PUBLIC, KeyRep.Type.PRIVATE }; in testValues()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ModifierTest.java | 73 assertTrue(Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI() 74 assertTrue(!Modifier.isPublic(-1 & ~Modifier.PUBLIC)); in test_isPublicI() 106 Modifier.toString(Modifier.PUBLIC | Modifier.ABSTRACT | Modifier.STRICT)); in test_toStringI()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 72 PUBLIC, enumConstant 172 } else if (type == Type.PUBLIC && X509.equals(format)) { in readResolve()
|
/libcore/ojluni/src/main/java/sun/security/ec/ |
D | ECPublicKeyImpl.java | 116 return new KeyRep(KeyRep.Type.PUBLIC, in writeReplace()
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 45 public static final int PUBLIC = 0; field in MethodHandles.Lookup
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1337 return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? in getExternalizableConstructor() 1360 ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && in getSerializableConstructor() 1403 } else if ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { in getInheritableMethod() 1677 (Modifier.PUBLIC | Modifier.FINAL | in computeDefaultSUID() 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()
|
D | ObjectInputStream.java | 699 if ((cl.getModifiers() & Modifier.PUBLIC) == 0) { in resolveProxyClass()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 1683 return getConstructor0(parameterTypes, Member.PUBLIC); in getConstructor() 2203 … if (result == null || which == Member.PUBLIC && !Modifier.isPublic(result.getAccessFlags())) { in getConstructor0()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 71 private static final char[] PUBLIC = { 'P', 'U', 'B', 'L', 'I', 'C' }; field in KXmlParser 629 read(PUBLIC); in readExternalId()
|