Home
last modified time | relevance | path

Searched refs:PRIVATE (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java67 return (mod & PRIVATE) != 0; in isPrivate()
235 if ((mod & PRIVATE) != 0) sb.append("private "); in toString()
268 public static final int PRIVATE = 0x00000002; 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/nio/channels/
DMapModeTest.java32 assertNotNull(FileChannel.MapMode.PRIVATE); in test_PRIVATE_READONLY_READWRITE()
36 assertFalse(FileChannel.MapMode.PRIVATE in test_PRIVATE_READONLY_READWRITE()
38 assertFalse(FileChannel.MapMode.PRIVATE in test_PRIVATE_READONLY_READWRITE()
48 assertNotNull(FileChannel.MapMode.PRIVATE.toString()); in test_toString()
DFileChannelTest.java1740 writeOnlyFileChannel.map(MapMode.PRIVATE, 0, CONTENT_LENGTH); in test_map_AbnormalMode()
1760 readOnlyFileChannel.map(MapMode.PRIVATE, 0, CONTENT_LENGTH); in test_map_AbnormalMode()
1831 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.PRIVATE, 0, in test_map_Private_CloseChannel()
1887 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.PRIVATE, 0, in test_map_Private()
1911 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.PRIVATE, 10, in test_map_Private_NonZeroPosition()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyRepTest.java42 assertNotNull(new KeyRep(KeyRep.Type.PRIVATE, "", "", new byte[] {})); in testKeyRep01()
57 new KeyRep(KeyRep.Type.PRIVATE, "", null, new byte[] {}); in testKeyRep02()
115 KeyRepChild kr = new KeyRepChild(KeyRep.Type.PRIVATE, "", "", new byte[] {}); in testReadResolve03()
122 kr = new KeyRepChild(KeyRep.Type.PRIVATE, "", "RAW", new byte[] {}); in testReadResolve03()
129 kr = new KeyRepChild(KeyRep.Type.PRIVATE, "bla-bla", "PKCS#8", new byte[] {}); in testReadResolve03()
151 KeyRepChild kr = new KeyRepChild(KeyRep.Type.PRIVATE, algorithm, "PKCS#8", in testReadResolve05()
DKeyRepTypeTest.java50 assertEquals(KeyRep.Type.PRIVATE, KeyRep.Type in testValueOf()
51 .valueOf(KeyRep.Type.PRIVATE.toString())); in testValueOf()
63 KeyRep.Type.PUBLIC, KeyRep.Type.PRIVATE }; in testValues()
/libcore/support/src/test/java/tests/resources/x509/
Decpriv.pem1 -----BEGIN EC PRIVATE KEY-----
5 -----END EC PRIVATE KEY-----
Dcakey.pem1 -----BEGIN PRIVATE KEY-----
16 -----END PRIVATE KEY-----
Ddsapriv.pem1 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
Dprivkey.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java87 .isPrivate(Modifier.PRIVATE)); in test_isPrivateI()
198 assertEquals(2, Modifier.PRIVATE); in test_Constants_Value()
322 assertEquals(Modifier.PRIVATE, PrivateClazz.class.getModifiers()); in test_Class_Modifier()
328 assertEquals(Modifier.PRIVATE + Modifier.ABSTRACT, in test_Class_Modifier()
335 assertEquals(Modifier.PRIVATE + Modifier.FINAL, PrivateFinalClazz.class in test_Class_Modifier()
342 assertEquals(Modifier.PRIVATE + Modifier.STATIC, in test_Class_Modifier()
349 assertEquals(Modifier.PRIVATE + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()
358 assertEquals(Modifier.PRIVATE + Modifier.STATIC + Modifier.ABSTRACT, in test_Class_Modifier()
367 assertEquals(Modifier.PRIVATE + Modifier.STATIC + Modifier.FINAL, in test_Class_Modifier()
377 assertEquals(Modifier.PRIVATE + Modifier.INTERFACE + Modifier.STATIC in test_Class_Modifier()
[all …]
DConstructorTest.java228 && ((mod & Modifier.PRIVATE) == 0)); in test_getModifiers()
238 ((mod & Modifier.PRIVATE) == Modifier.PRIVATE) in test_getModifiers()
DMethodTest.java307 mask = Modifier.PRIVATE | Modifier.STATIC; in test_getModifiers()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java75 PRIVATE, enumConstant
175 } else if (type == Type.PRIVATE && PKCS8.equals(format)) { in readResolve()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java63 assertTrue(Modifier.isPrivate(Modifier.PRIVATE)); in test_isPrivateI()
64 assertTrue(!Modifier.isPrivate(-1 & ~Modifier.PRIVATE)); in test_isPrivateI()
/libcore/ojluni/src/main/java/java/nio/channels/
DFileChannel.java629 public static final MapMode PRIVATE field in FileChannel.MapMode
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1359 if ((mods & Modifier.PRIVATE) != 0 || in getSerializableConstructor()
1405 } else if ((mods & Modifier.PRIVATE) != 0) { in getInheritableMethod()
1427 ((mods & Modifier.PRIVATE) != 0)) ? meth : null; in getPrivateMethod()
1578 int mask = Modifier.PRIVATE | Modifier.STATIC | Modifier.FINAL; in getDeclaredSerialFields()
1722 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
1725 if (((mods & Modifier.PRIVATE) == 0) || in computeDefaultSUID()
1755 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
1759 if ((mods & Modifier.PRIVATE) == 0) { in computeDefaultSUID()
1782 (Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED | in computeDefaultSUID()
1786 if ((mods & Modifier.PRIVATE) == 0) { in computeDefaultSUID()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java47 public static final int PRIVATE = 0; field in MethodHandles.Lookup
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DMappedByteBufferTest.java113 mmb = fc.map(FileChannel.MapMode.PRIVATE, 0, fc.size()); in testEmptyBuffer()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS8Key.java371 return new KeyRep(KeyRep.Type.PRIVATE, in writeReplace()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java856 else if (mode == MapMode.PRIVATE) in map()