/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 56 GeomagneticField field = in testGeomagneticField() local 58 assertEquals(t.declinationDegree, field.getDeclination(), DECLINATION_THRESHOLD); in testGeomagneticField() 59 assertEquals(t.inclinationDegree, field.getInclination(), INCLINATION_THRESHOLD); in testGeomagneticField() 60 assertEquals(t.fieldStrengthNanoTesla, field.getFieldStrength(), in testGeomagneticField() 65 assertEquals(horizontalFieldStrengthNanoTesla, field.getHorizontalStrength(), in testGeomagneticField() 70 assertEquals(verticalFieldStrengthNanoTesla, field.getZ(), FIELD_STRENGTH_THRESHOLD); in testGeomagneticField() 73 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in testGeomagneticField() 76 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in testGeomagneticField()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | SetObjectTest.java | 72 ScriptField__set_object_element_input field = new ScriptField__set_object_element_input( in testSetObjectElement() local 76 field.set(mItem, 0, true); in testSetObjectElement() 78 mIn = field.getAllocation(); in testSetObjectElement() 93 ScriptField__set_object_type_input field = new ScriptField__set_object_type_input(mRS, 1); in testSetObjectType() local 96 field.set(mItem, 0, true); in testSetObjectType() 98 mIn = field.getAllocation(); in testSetObjectType() 115 … ScriptField__set_object_allocation_input field = new ScriptField__set_object_allocation_input( in testSetObjectAllocation() local 119 field.set(mItem, 0, true); in testSetObjectAllocation() 121 mIn = field.getAllocation(); in testSetObjectAllocation() 137 ScriptField__set_object_sampler_input field = new ScriptField__set_object_sampler_input( in testSetObjectSampler() local [all …]
|
D | SmallStructsTest.java | 155 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfCharArray() local 158 .invoke(field); in testSmallStructsOfCharArray() 170 set_bytes.invoke(field, elem, bytes, true); in testSmallStructsOfCharArray() 215 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfHeterogeneousTypes() local 218 .invoke(field); in testSmallStructsOfHeterogeneousTypes() 226 fieldASetter.invoke(field, elem, initialValueA, true); in testSmallStructsOfHeterogeneousTypes() 232 fieldBSetter.invoke(field, elem, initialValueB, true); in testSmallStructsOfHeterogeneousTypes()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Entity.java | 47 for (final Field field : mFields) { in createEntitySql() 48 if (field.pos > 0) sb.append(", "); in createEntitySql() 49 sb.append(field.name).append(" ").append(field.sqLiteType); in createEntitySql() 50 if (field.name.equals(BaseColumns._ID)) { in createEntitySql() 87 final Field field = Field.newInstance(mPos++, name, fieldType); in addFieldInternal() local 88 mFields.add(field); in addFieldInternal() 89 mFieldMap.put(field.name, field); in addFieldInternal()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiComplianceCheckerTest.java | 167 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testFinalField() local 169 clz.addField(field); in testFinalField() 171 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); in testFinalField() 176 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testStaticField() local 178 clz.addField(field); in testStaticField() 180 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); in testStaticField() 185 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testVolatileFiled() local 187 clz.addField(field); in testVolatileFiled() 189 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); in testVolatileFiled() 194 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testTransientField() local [all …]
|
/cts/tests/signature/src/android/signature/cts/ |
D | AbstractApiChecker.java | 119 for (JDiffClassDescription.JDiffField field : classDescription.getFields()) { in checkFieldsCompliance() 121 Field f = classFieldMap.get(field.mName); in checkFieldsCompliance() 124 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance() 126 field.toSignatureString()); in checkFieldsCompliance() 128 checkField(classDescription, runtimeClass, field, f); in checkFieldsCompliance() 134 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance() 158 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap() 159 fieldMap.put(field.getName(), field); in buildFieldMap() local 167 JDiffClassDescription.JDiffField fieldDescription, Field field); in checkField() argument
|
D | DexMemberChecker.java | 30 void fieldAccessibleViaReflection(boolean accessible, DexField field); in fieldAccessibleViaReflection() argument 31 void fieldAccessibleViaJni(boolean accessible, DexField field); in fieldAccessibleViaJni() argument 84 DexField field = (DexField) dexMember; in checkSingleMember() local 86 hasMatchingField_Reflection(klass, field), in checkSingleMember() 87 field); in checkSingleMember() local 89 hasMatchingField_JNI(klass, field), in checkSingleMember() 90 field); in checkSingleMember() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 71 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomDexClassLoader() local 72 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomDexClassLoader() 89 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomPathClassLoader() local 90 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomPathClassLoader()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BaseKillswitchTest.java | 61 public void fieldAccessibleViaReflection(boolean accessible, DexField field) { in testKillswitchMechanism() 65 field.toString(), in testKillswitchMechanism() 72 public void fieldAccessibleViaJni(boolean accessible, DexField field) { in testKillswitchMechanism() 76 field.toString(), in testKillswitchMechanism()
|
D | HiddenApiTest.java | 72 public void fieldAccessibleViaReflection(boolean accessible, DexField field) { in testSignature() 76 field.toString(), in testSignature() 82 public void fieldAccessibleViaJni(boolean accessible, DexField field) { in testSignature() 86 field.toString(), in testSignature()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 108 for (Field field : allFields) { in getEnableZslValue() 109 if (Modifier.isStatic(field.getModifiers()) && in getEnableZslValue() 110 field.getType() == CaptureRequest.Key.class && in getEnableZslValue() 111 field.getGenericType() instanceof ParameterizedType) { in getEnableZslValue() 112 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); in getEnableZslValue() 115 CaptureRequest.Key key = (CaptureRequest.Key)field.get(request); in getEnableZslValue()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FieldsClassificationTest.java | 174 final EditText field = mActivity.getCell(1, 1); in simpleHitTest() local 175 final AutofillId fieldId = field.getAutofillId(); in simpleHitTest() 185 callback.assertUiUnavailableEvent(field); in simpleHitTest() 216 final EditText field = mActivity.getCell(1, 1); in manyUserData_oneDetectableField() local 217 final AutofillId fieldId = field.getAutofillId(); in manyUserData_oneDetectableField() 227 callback.assertUiUnavailableEvent(field); in manyUserData_oneDetectableField() 404 final EditText field = mActivity.getCell(1, 1); in testMiss() local 405 final AutofillId fieldId = field.getAutofillId(); in testMiss() 415 callback.assertUiUnavailableEvent(field); in testMiss() 436 final EditText field = mActivity.getCell(1, 1); in testNoUserInput() local [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput/d/ |
D | T_iput_13.d | 19 .field public st_i1 I 20 .field protected st_p1 I 21 .field private st_pvt1 I
|
D | T_iput_1.d | 19 .field public st_i1 I 20 .field protected st_p1 I 21 .field private st_pvt1 I
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_char/d/ |
D | T_sput_char_1.d | 19 .field public static st_i1 C 20 .field protected static st_p1 C 21 .field private static st_pvt1 C
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_byte/d/ |
D | T_sput_byte_1.d | 19 .field public static st_i1 B 20 .field protected static st_p1 B 21 .field private static st_pvt1 B
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_boolean/d/ |
D | T_sput_boolean_1.d | 19 .field public static st_i1 Z 20 .field protected static st_p1 Z 21 .field private static st_pvt1 Z
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_short/d/ |
D | T_iput_short_1.d | 19 .field public st_i1 S 20 .field protected st_p1 S 21 .field private st_pvt1 S
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_char/d/ |
D | T_iput_char_1.d | 19 .field public st_i1 C 20 .field protected st_p1 C 21 .field private st_pvt1 C
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_byte/d/ |
D | T_iput_byte_1.d | 19 .field public st_i1 B 20 .field protected st_p1 B 21 .field private st_pvt1 B
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_short/d/ |
D | T_sput_short_1.d | 19 .field public static st_i1 S 20 .field protected static st_p1 S 21 .field private static st_pvt1 S
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput/d/ |
D | T_sput_1.d | 19 .field public static st_i1 I 20 .field protected static st_p1 I 21 .field private static st_pvt1 I
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_boolean/d/ |
D | T_iput_boolean_1.d | 19 .field public st_i1 Z 20 .field protected st_p1 Z 21 .field private st_pvt1 Z
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_wide/d/ |
D | T_iput_wide_1.d | 19 .field public st_i1 J 20 .field protected st_p1 J 21 .field private st_pvt1 J
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_wide/d/ |
D | T_sput_wide_1.d | 19 .field public static st_i1 J 20 .field protected static st_p1 J 21 .field private static st_pvt1 J
|