Home
last modified time | relevance | path

Searched refs:osf (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldObjectStreamFieldTest.java71 ObjectStreamField osf = new ObjectStreamField("aField", int.class); in test_ConstructorLjava_lang_StringLjava_lang_Class() local
73 osf.getName().equals("aField")); in test_ConstructorLjava_lang_StringLjava_lang_Class()
75 osf.getType().equals(int.class)); in test_ConstructorLjava_lang_StringLjava_lang_Class()
79 osf = new ObjectStreamField("anotherField", String.class); in test_ConstructorLjava_lang_StringLjava_lang_Class()
81 osf.getName().equals("anotherField")); in test_ConstructorLjava_lang_StringLjava_lang_Class()
83 osf.getType().equals(String.class)); in test_ConstructorLjava_lang_StringLjava_lang_Class()
87 osf = new ObjectStreamField(null, boolean.class); in test_ConstructorLjava_lang_StringLjava_lang_Class()
93 osf = new ObjectStreamField("thisField", null); in test_ConstructorLjava_lang_StringLjava_lang_Class()
101 ObjectStreamField osf = new ObjectStreamField("aField", int.class, false); in test_ConstructorLjava_lang_StringLjava_lang_ClassB() local
103 osf.getName().equals("aField")); in test_ConstructorLjava_lang_StringLjava_lang_ClassB()
[all …]
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java196 Field checkAndGetReflectionField(ObjectStreamField osf) { in checkAndGetReflectionField() argument
198 Field field = reflectionFields.get(osf); in checkAndGetReflectionField()
201 if (field != null || reflectionFields.containsKey(osf)) { in checkAndGetReflectionField()
209 field = declaringClass.getDeclaredField(osf.getName()); in checkAndGetReflectionField()
225 reflectionFields.put(osf, field); in checkAndGetReflectionField()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamFieldTest.java141 ObjectStreamField osf = new ObjectStreamField("s", String.class, true); in test_getTypeString() local
142 assertTrue(osf.getTypeString() == "Ljava/lang/String;"); in test_getTypeString()