/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 68 return (mod & PUBLIC) != 0; in isPublic() 247 if ((mod & PUBLIC) != 0) sb.append("public "); in toString() 276 public static final int PUBLIC = 0x00000001; field in Modifier 399 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 408 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 417 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE; 424 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 433 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 448 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE;
|
D | Member.java | 46 public static final int PUBLIC = 0; field
|
D | Proxy.java | 647 int accessFlags = Modifier.PUBLIC | Modifier.FINAL; in apply()
|
/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 | 77 assertTrue(Modifier.isPublic(Modifier.PUBLIC)); in test_isPublicI() 78 assertTrue(!Modifier.isPublic(-1 & ~Modifier.PUBLIC)); in test_isPublicI() 110 Modifier.toString(Modifier.PUBLIC | Modifier.ABSTRACT | Modifier.STRICT)); in test_toStringI()
|
D | MethodTest.java | 359 assertEquals(Modifier.PUBLIC | Modifier.STATIC, method.getModifiers()); in testStaticInterfaceMethod_getMethod() 366 assertEquals(Modifier.PUBLIC | Modifier.STATIC, declaredMethod.getModifiers()); in testStaticInterfaceMethod_getDeclaredMethod()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 43 private static final int ALL_ACCESS_MODES = (PUBLIC|PRIVATE|PROTECTED|PACKAGE_ONLY); 91 assert((allowedModes & PUBLIC) != 0 && in isMemberAccessible() 102 case PUBLIC: in isMemberAccessible()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 73 PUBLIC, enumConstant 173 } else if (type == Type.PUBLIC && X509.equals(format)) { in readResolve()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Member.annotated.java | 43 public static final int PUBLIC = 0; // 0x0 field
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
D | ReflectUtil.java | 64 mods = mods | Modifier.PUBLIC; in ensureMemberAccess() 78 mods = mods & (~Modifier.PUBLIC); in ensureMemberAccess()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 519 public static final int PUBLIC = Modifier.PUBLIC; field in MethodHandles.Lookup 542 private static final int ALL_MODES = (PUBLIC | PRIVATE | PROTECTED | PACKAGE); 648 if ((newModes & PUBLIC) != 0 in in() 667 static final Lookup PUBLIC_LOOKUP = new Lookup(Object.class, PUBLIC); 726 case PUBLIC: in toString() 728 case PUBLIC|PACKAGE: in toString() 1890 mods ^= Modifier.PROTECTED | Modifier.PUBLIC; in checkAccess()
|
/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 | 1400 return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? in getExternalizableConstructor() 1423 ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && in getSerializableConstructor() 1469 } else if ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { in getInheritableMethod() 1743 (Modifier.PUBLIC | Modifier.FINAL | in computeDefaultSUID() 1788 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID() 1839 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID() 1866 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
|
D | ObjectInputStream.java | 755 if ((cl.getModifiers() & Modifier.PUBLIC) == 0) { in resolveProxyClass()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 1728 return getConstructor0(parameterTypes, Member.PUBLIC); in getConstructor() 2330 … if (result == null || which == Member.PUBLIC && !Modifier.isPublic(result.getAccessFlags())) { in getConstructor0()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 40 private static final int ALL_LOOKUP_MODES = (PUBLIC | PRIVATE | PACKAGE | PROTECTED); 45 assertEquals(PUBLIC, publicLookup.lookupModes()); in test_publicLookupClassAndModes() 65 assertEquals(PUBLIC, nonSibling.lookupModes()); in test_LookupIn() 69 assertEquals(PUBLIC | PRIVATE | PACKAGE, inner2.lookupModes()); in test_LookupIn()
|
/libcore/xml/src/main/java/com/android/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()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 620 public static final int PUBLIC = 1; // 0x1 field in MethodHandles.Lookup
|