Home
last modified time | relevance | path

Searched refs:Field (Results 1 – 25 of 156) sorted by relevance

1234567

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DStructTest.java35 import com.android.net.module.util.Struct.Field;
96 @Field(order = 0, type = Type.U8, padding = 1)
98 @Field(order = 1, type = Type.U16)
100 @Field(order = 2, type = Type.S32)
102 @Field(order = 3, type = Type.U8)
104 @Field(order = 4, type = Type.U8, padding = 6)
140 @Field(order = 0, type = Type.U8, padding = 1)
142 @Field(order = 1, type = Type.U16)
144 @Field(order = 2, type = Type.S32)
146 @Field(order = 3, type = Type.U8)
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java26 import java.lang.reflect.Field;
113 @interface Field { annotation in RawBatteryStats
158 @Field(index=-4)
161 @Field(index=-3)
164 @Field(index=-2)
167 @Field(index=-1)
175 @Field(index=0)
178 @Field(index=1)
181 @Field(index=2)
184 @Field(index=3)
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DPrefixInformationOption.java25 import com.android.net.module.util.Struct.Field;
55 @Field(order = 0, type = Type.S8)
57 @Field(order = 1, type = Type.S8)
59 @Field(order = 2, type = Type.S8)
61 @Field(order = 3, type = Type.S8)
64 @Field(order = 4, type = Type.U32)
66 @Field(order = 5, type = Type.U32)
68 @Field(order = 6, type = Type.S32)
70 @Field(order = 7, type = Type.ByteArray, arraysize = 16)
DIpv6Header.java20 import com.android.net.module.util.Struct.Field;
53 @Field(order = 0, type = Type.S32)
55 @Field(order = 1, type = Type.U16)
57 @Field(order = 2, type = Type.S8)
59 @Field(order = 3, type = Type.U8)
61 @Field(order = 4, type = Type.Ipv6Address)
63 @Field(order = 5, type = Type.Ipv6Address)
DRaHeader.java20 import com.android.net.module.util.Struct.Field;
42 @Field(order = 0, type = Type.S8)
45 @Field(order = 1, type = Type.S8)
47 @Field(order = 2, type = Type.U16)
49 @Field(order = 3, type = Type.U32)
51 @Field(order = 4, type = Type.U32)
DMtuOption.java22 import com.android.net.module.util.Struct.Field;
40 @Field(order = 0, type = Type.S8)
42 @Field(order = 1, type = Type.S8)
44 @Field(order = 2, type = Type.S16)
46 @Field(order = 3, type = Type.U32)
DIcmpv6Header.java20 import com.android.net.module.util.Struct.Field;
33 @Field(order = 0, type = Type.U8)
35 @Field(order = 1, type = Type.U8)
37 @Field(order = 2, type = Type.S16)
DEthernetHeader.java22 import com.android.net.module.util.Struct.Field;
47 @Field(order = 0, type = Type.EUI48)
49 @Field(order = 1, type = Type.EUI48)
51 @Field(order = 2, type = Type.U16)
DRdnssOption.java24 import com.android.net.module.util.Struct.Field;
47 @Field(order = 0, type = Type.S8)
49 @Field(order = 1, type = Type.S8)
51 @Field(order = 2, type = Type.S16)
53 @Field(order = 3, type = Type.U32)
DLlaOption.java22 import com.android.net.module.util.Struct.Field;
38 @Field(order = 0, type = Type.S8)
40 @Field(order = 1, type = Type.S8)
42 @Field(order = 2, type = Type.EUI48)
DNsHeader.java20 import com.android.net.module.util.Struct.Field;
48 @Field(order = 0, type = Type.S32)
50 @Field(order = 1, type = Type.Ipv6Address)
DNaHeader.java20 import com.android.net.module.util.Struct.Field;
48 @Field(order = 0, type = Type.S32)
50 @Field(order = 1, type = Type.Ipv6Address)
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetUtils.java22 import java.lang.reflect.Field;
29 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKey()
43 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKeyRefCount()
57 Field ksField = ksms.getClass().getDeclaredField("mKeySets"); in getKeySetRefCount()
71 Field ksField = ksms.getClass().getDeclaredField("mKeySetMapping"); in getKeySetMapping()
78 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeyId"); in getLastIssuedKeyId()
85 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeySetId"); in getLastIssuedKeySetId()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsPersistenceTest.java30 import java.lang.reflect.Field;
58 final Field[] fields = stats.getClass().getDeclaredFields(); in testUsageStatsFields()
59 for (Field field : fields) { in testUsageStatsFields()
95 final Field[] fields = event.getClass().getDeclaredFields(); in testUsageEventsFields()
96 for (Field field : fields) { in testUsageEventsFields()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp41 using ::testing::Field;
200 Field(&SpriteIcon::style, CURSOR_TYPE_DEFAULT), in TEST_F()
201 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
202 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
217 Field(&SpriteIcon::style, type), in TEST_F()
218 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F()
219 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F()
240 Field(&SpriteIcon::style, style), in TEST_F()
241 Field(&SpriteIcon::hotSpotX, hotSpotX), in TEST_F()
242 Field(&SpriteIcon::hotSpotY, hotSpotY)))); in TEST_F()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DInputPort.java19 import java.lang.reflect.Field;
52 private Field mField;
54 public FieldBinding(Field field) { in FieldBinding()
121 public void bindToField(Field field) { in bindToField()
142 Field field = findFieldNamed(fieldName, mFilter.getClass()); in bindToFieldNamed()
313 private Field findFieldNamed(String fieldName, Class<?> clazz) { in findFieldNamed()
314 Field field = null; in findFieldNamed()
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java21 import java.lang.reflect.Field;
67 final Field[] fields = getClass().getDeclaredFields(); in scrubClass()
68 for (Field field : fields) { in scrubClass()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerTest.java36 import java.lang.reflect.Field;
86 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged()
102 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged()
115 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingCallEmergencyNumberChanged()
138 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingSmsEmergencyNumberChanged()
DPhoneStateListenerExecutorTest.java30 import java.lang.reflect.Field;
73 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged()
88 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged()
/frameworks/libs/net/common/device/com/android/net/module/util/
DStruct.java141 public @interface Field { annotation in Struct
150 public final Field annotation;
152 public final java.lang.reflect.Field field;
154 FieldInfo(final Field annotation, final java.lang.reflect.Field field) { in FieldInfo()
161 private static void checkAnnotationType(final Field annotation, final Class fieldType) { in checkAnnotationType()
209 private static int getFieldLength(final Field annotation) { in getFieldLength()
257 for (java.lang.reflect.Field field : clazz.getDeclaredFields()) { in getAnnotationFieldCount()
258 if (field.isAnnotationPresent(Field.class)) count++; in getAnnotationFieldCount()
433 private Object getFieldValue(@NonNull java.lang.reflect.Field field) { in getFieldValue()
532 for (java.lang.reflect.Field field : clazz.getDeclaredFields()) { in getClassFieldInfo()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFieldPort.java20 import java.lang.reflect.Field;
27 protected Field mField;
32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { in FieldPort()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAnrHelperTest.java43 import java.lang.reflect.Field;
88 Field field = clazz.getDeclaredField(fieldName); in setFieldValue()
90 Field mfield = Field.class.getDeclaredField("accessFlags"); in setFieldValue()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java30 import java.lang.reflect.Field;
44 private static final Field THREAD_LOCAL_LOOPER_FIELD;
45 private static final Field MESSAGE_QUEUE_MESSAGES_FIELD;
46 private static final Field MESSAGE_NEXT_FIELD;
47 private static final Field MESSAGE_WHEN_FIELD;
/frameworks/layoutlib/bridge/src/android/os/
DLooper_Accessor.java18 import java.lang.reflect.Field;
29 Field sMainLooper = Looper.class.getDeclaredField("sMainLooper"); in cleanupThread()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java23 import java.lang.reflect.Field;
58 Field[] fields; in findMessageNames()
66 for (Field field : fields) { in findMessageNames()

1234567