Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/cts/hostsidetests/statsd/
DPROCSTATSQ_PROCS_STATE_TOP_DURATION.pbtxt8 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
DPROCSTATSQ_PROCS_STATE_CACHED_EMPTY_DURATION.pbtxt8 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
DPROCSTATSQ_PROCS_STATE_PSS_VALUE.pbtxt7 field: 18
9 field: 4
13 field: 18
15 field: 2
18 field: 3
21 field: 9
DBATTERYSTATS_SERVICE_START_COUNT.pbtxt6 field: 99
8 field: 1
11 field: 2
14 field: 3
25 field: 4
DBATTERYSTATS_SERVICE_LAUNCH_COUNT.pbtxt6 field: 100
8 field: 1
11 field: 2
14 field: 3
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java56 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/
DSetObjectTest.java72 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 …]
DSmallStructsTest.java155 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/
DEntity.java49 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/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java188 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testFinalField() local
190 clz.addField(field); in testFinalField()
192 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); in testFinalField()
198 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testStaticField() local
200 clz.addField(field); in testStaticField()
202 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); in testStaticField()
208 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testVolatileFiled() local
210 clz.addField(field); in testVolatileFiled()
212 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); in testVolatileFiled()
218 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testTransientField() local
[all …]
/cts/tests/signature/lib/common/src/android/signature/cts/
DAbstractApiChecker.java130 for (JDiffClassDescription.JDiffField field : classDescription.getFields()) { in checkFieldsCompliance()
132 Field f = classFieldMap.get(field.mName); in checkFieldsCompliance()
135 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance()
137 field.toSignatureString()); in checkFieldsCompliance()
139 checkField(classDescription, runtimeClass, field, f); in checkFieldsCompliance()
145 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance()
169 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap()
170 fieldMap.put(field.getName(), field); in buildFieldMap() local
178 JDiffClassDescription.JDiffField fieldDescription, Field field); in checkField() argument
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DHiddenApiUsedActivity.java31 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/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java71 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/lib/android/src/android/signature/cts/
DDexMemberChecker.java32 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/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java108 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/signature/api-check/src/java/android/signature/cts/api/
DBaseKillswitchTest.java87 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()
DHiddenApiTest.java92 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/tests/autofillservice/src/android/autofillservice/cts/
DFieldsClassificationTest.java185 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/tools/vm-tests-tf/src/dot/junit/opcodes/iput/d/
DT_iput_13.smali19 .field public st_i1:I
20 .field protected st_p1:I
21 .field private st_pvt1:I
DT_iput_1.smali19 .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/
DT_sput_char_1.smali19 .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/d/
DT_sput_1.smali19 .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/sput_short/d/
DT_sput_short_1.smali19 .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_byte/d/
DT_sput_byte_1.smali19 .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/iput_boolean/d/
DT_iput_boolean_1.smali19 .field public st_i1:Z
20 .field protected st_p1:Z
21 .field private st_pvt1:Z

12345678910>>...23