/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 69 return (mod & PUBLIC) != 0; in isPublic() 247 if ((mod & PUBLIC) != 0) sj.add("public"); in toString() 274 public static final int PUBLIC = 0x00000001; field in Modifier 397 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 406 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 415 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE; 422 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 431 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE | 446 Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE;
|
D | Member.java | 47 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()
|
/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/test/java/security/KeyAgreement/ |
D | KeySpecTest.java | 133 : getCompatibleKeySpecs(kpgAlgo, KeyType.PUBLIC)) { in testKeySpecs() 197 PUBLIC, PRIVATE; enumConstant 209 if (type == KeyType.PUBLIC) { in getCompatibleKeySpecs() 217 if (type == KeyType.PUBLIC) { in getCompatibleKeySpecs() 225 if (type == KeyType.PUBLIC) { in getCompatibleKeySpecs()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 73 PUBLIC, enumConstant 169 } 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/test/java/lang/invoke/ |
D | MethodHandlesTest.java | 408 static final Lookup PUBLIC = MethodHandles.publicLookup(); field in MethodHandlesTest 485 …{ { false, PUBLIC }, { false, SUBCLASS }, { false, PACKAGE }, { false, PRIVATE }, { false, EXAMPLE… 486 …{ { false, PUBLIC }, { false, SUBCLASS }, { false, PACKAGE }, { true, PRIVATE }, { true, EXAMPLE }… 487 …{ { false, PUBLIC }, { false, SUBCLASS }, { true, PACKAGE }, { true, PRIVATE }, { true, EXAMPLE } … 488 …{ { false, PUBLIC }, { true, SUBCLASS }, { true, PACKAGE }, { true, PRIVATE }, { true, EXAMPLE } }… 489 …{ { true, PUBLIC }, { true, SUBCLASS }, { true, PACKAGE }, { true, PRIVATE }, { true, EXAMPLE } },… 518 if (lookup == PUBLIC || lookup == SUBCLASS || lookup == PACKAGE)
|
D | MethodHandlesGeneralTest.java | 184 testFindVirtual(false, PUBLIC, Object.class, Object.class, "clone"); in testFindVirtualClone() 284 for (Lookup lookup : new Lookup[]{ PRIVATE, EXAMPLE, PACKAGE, PUBLIC }) { in testFindSpecial() 301 testFindSpecial(false, PUBLIC, specialCaller, defc, ret, name, params); in testFindSpecial() 308 testFindSpecial(false, PUBLIC, specialCaller, defc, ret, name, params); in testFindSpecial()
|
/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/lang/invoke/ |
D | MethodHandles.java | 573 public static final int PUBLIC = Modifier.PUBLIC; field in MethodHandles.Lookup 596 private static final int ALL_MODES = (PUBLIC | PRIVATE | PROTECTED | PACKAGE); 702 if ((newModes & PUBLIC) != 0 in in() 721 static final Lookup PUBLIC_LOOKUP = new Lookup(Object.class, PUBLIC); 786 case PUBLIC: in toString() 788 case PUBLIC|PACKAGE: in toString() 2109 mods ^= Modifier.PROTECTED | Modifier.PUBLIC; in checkAccess()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1443 return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? in getExternalizableConstructor() 1466 ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && in getSerializableConstructor() 1543 } else if ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { in getInheritableMethod() 1820 (Modifier.PUBLIC | Modifier.FINAL | in computeDefaultSUID() 1865 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID() 1916 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID() 1943 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 41 private static final int ALL_LOOKUP_MODES = (PUBLIC | PRIVATE | PACKAGE | PROTECTED); 46 assertEquals(PUBLIC, publicLookup.lookupModes()); in test_publicLookupClassAndModes() 66 assertEquals(PUBLIC, nonSibling.lookupModes()); in test_LookupIn() 70 assertEquals(PUBLIC | PRIVATE | PACKAGE, inner2.lookupModes()); in test_LookupIn()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 2487 return getConstructor0(parameterTypes, Member.PUBLIC); in getConstructor() 3393 … if (result == null || which == Member.PUBLIC && !Modifier.isPublic(result.getAccessFlags())) { in getConstructor0()
|
/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
|
/libcore/ojluni/src/test/ |
D | LICENSE | 1 GNU GENERAL PUBLIC LICENSE 59 GNU GENERAL PUBLIC LICENSE
|