/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 63 GeomagneticField field = new GeomagneticField(lat, lon, altitude, time); in assertMagneticField() local 64 assertEquals(dec, field.getDeclination(), DECLINATION_THRESHOLD); in assertMagneticField() 65 assertEquals(inc, field.getInclination(), INCLINATION_THRESHOLD); in assertMagneticField() 66 assertEquals(strength, field.getFieldStrength(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField() 69 assertEquals(horizontalFieldStrengthNanoTesla, field.getHorizontalStrength(), in assertMagneticField() 72 assertEquals(verticalFieldStrengthNanoTesla, field.getZ(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField() 74 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in assertMagneticField() 77 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in assertMagneticField()
|
/cts/hostsidetests/statsd/ |
D | PROCSTATSQ_PROCS_STATE_TOP_DURATION.pbtxt | 8 field: 3 10 field: 2 13 field: 3 16 field: 5 35 field: 4 46 field: 4 67 field: 3 69 field: 2 72 field: 3 75 field: 5
|
D | PROCSTATSQ_PROCS_STATE_CACHED_EMPTY_DURATION.pbtxt | 8 field: 3 10 field: 2 13 field: 3 16 field: 5 35 field: 4 47 field: 3 49 field: 2 52 field: 3 55 field: 5
|
D | PROCSTATSQ_PROCS_STATE_PSS_VALUE.pbtxt | 7 field: 18 9 field: 4 13 field: 18 15 field: 2 18 field: 3 21 field: 9
|
D | BATTERYSTATS_SERVICE_START_COUNT.pbtxt | 6 field: 99 8 field: 1 11 field: 2 14 field: 3 25 field: 4
|
D | BATTERYSTATS_SERVICE_LAUNCH_COUNT.pbtxt | 6 field: 100 8 field: 1 11 field: 2 14 field: 3
|
/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/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiComplianceCheckerTest.java | 189 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testFinalField() local 191 clz.addField(field); in testFinalField() 193 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); in testFinalField() 199 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testStaticField() local 201 clz.addField(field); in testStaticField() 203 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); in testStaticField() 209 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testVolatileFiled() local 211 clz.addField(field); in testVolatileFiled() 213 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); in testVolatileFiled() 219 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testTransientField() local [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Entity.java | 49 for (Field field : mFields) { in createEntitySql() 50 if (field.mPos > 0) sb.append(", "); in createEntitySql() 51 sb.append(field.mName).append(" ").append(field.mSqLiteType); in createEntitySql() 52 if (field.mName.equals(BaseColumns._ID)) { in createEntitySql() 105 final Field field = Field.newInstance(mPos++, name, fieldType); in addFieldInternal() local 106 mFields.add(field); in addFieldInternal() 107 mFieldMap.put(field.mName, field); in addFieldInternal()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | AbstractApiChecker.java | 132 for (JDiffClassDescription.JDiffField field : classDescription.getFields()) { in checkFieldsCompliance() 134 Field f = classFieldMap.get(field.mName); in checkFieldsCompliance() 137 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance() 139 field.toSignatureString()); in checkFieldsCompliance() 141 checkField(classDescription, runtimeClass, field, f); in checkFieldsCompliance() 147 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance() 171 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap() 172 fieldMap.put(field.getName(), field); in buildFieldMap() local 180 JDiffClassDescription.JDiffField fieldDescription, Field field); in checkField() argument
|
D | AnnotationChecker.java | 117 JDiffClassDescription.JDiffField fieldDescription, Field field) { in checkField() argument 119 if (!ReflectionHelper.isAnnotatedOrInAnnotatedClass(field, annotationSpec)) { in checkField() 121 field.toString(), in checkField() 128 annotatedFields.remove(field); in checkField()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FieldsClassificationTest.java | 185 final EditText field = mActivity.getCell(1, 1); in testMiss_exactMatchAlgorithm() local 195 callback.assertUiUnavailableEvent(field); in testMiss_exactMatchAlgorithm() 219 final EditText field = mActivity.getCell(1, 1); in testHit_exactMatchLast4Algorithm() local 232 callback.assertUiUnavailableEvent(field); in testHit_exactMatchLast4Algorithm() 257 final EditText field = mActivity.getCell(1, 1); in testHit_useDefaultAlgorithm() local 270 callback.assertUiUnavailableEvent(field); in testHit_useDefaultAlgorithm() 294 final EditText field = mActivity.getCell(1, 1); in simpleHitTest() local 307 callback.assertUiUnavailableEvent(field); in simpleHitTest() 331 final EditText field = mActivity.getCell(1, 1); in testHit_sameValueForMultipleCategories() local 344 callback.assertUiUnavailableEvent(field); in testHit_sameValueForMultipleCategories() [all …]
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | DexMemberChecker.java | 32 void fieldAccessibleViaReflection(boolean accessible, DexField field); in fieldAccessibleViaReflection() argument 33 void fieldAccessibleViaJni(boolean accessible, DexField field); in fieldAccessibleViaJni() argument 91 DexField field = (DexField) dexMember; in checkSingleMember() local 94 hasMatchingField_Reflection(klass, field), in checkSingleMember() 95 field); in checkSingleMember() local 99 observer.fieldAccessibleViaJni(hasMatchingField_JNI(klass, field), 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/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/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | HiddenApiUsedActivity.java | 31 Field field = Activity.class.getDeclaredField("mWindow"); in onCreate() local 32 field.setAccessible(true); in onCreate() 33 Object object = field.get(this); in onCreate()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BaseKillswitchTest.java | 87 public void fieldAccessibleViaReflection(boolean accessible, DexField field) { in doTestKillswitchMechanism() 91 field.toString(), in doTestKillswitchMechanism() 98 public void fieldAccessibleViaJni(boolean accessible, DexField field) { in doTestKillswitchMechanism() 102 field.toString(), in doTestKillswitchMechanism()
|
D | HiddenApiTest.java | 92 public void fieldAccessibleViaReflection(boolean accessible, DexField field) { in doTestSignature() 97 field.toString(), in doTestSignature() 104 public void fieldAccessibleViaJni(boolean accessible, DexField field) { in doTestSignature() 109 field.toString(), in doTestSignature()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 512 for (Field field : allFields) { in serialize() 513 if (Modifier.isPublic(field.getModifiers()) && in serialize() 514 Modifier.isStatic(field.getModifiers()) && in serialize() 515 (field.getType() == CaptureRequest.Key.class in serialize() 516 || field.getType() == CaptureResult.Key.class in serialize() 517 || field.getType() == TotalCaptureResult.Key.class in serialize() 518 || field.getType() == CameraCharacteristics.Key.class) && in serialize() 519 field.getGenericType() instanceof ParameterizedType) { in serialize() 520 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); in serialize() 525 Object keyObj = field.get(md); in serialize() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | pixel_format_f32.rsh | 8 // value (actual_depth). The actual_depth field is never changed once set. 10 // 2. When processing each layer, we use its field (active) to mark 24 // active, matte, and dilated_depth are reset. However, the field actual_depth 25 // field remains untouched once set initially.
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput/d/ |
D | T_iput_13.smali | 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_byte/d/ |
D | T_sput_byte_1.smali | 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_short/d/ |
D | T_sput_short_1.smali | 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/iput_char/d/ |
D | T_iput_char_1.smali | 19 .field public st_i1:C 20 .field protected st_p1:C 21 .field private st_pvt1:C
|