/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 26 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/base/cmds/statsd/src/ |
D | FieldValue.h | 26 struct Field; 81 struct Field { struct 87 Field() {} in Field() function 89 Field(int32_t tag, int32_t pos[], int32_t depth) : mTag(tag) { in Field() function 93 Field(const Field& from) : mTag(from.getTag()), mField(from.getField()) { in Field() function 96 Field(int32_t tag, int32_t field) : mTag(tag), mField(field){}; in Field() argument 164 inline bool operator==(const Field& that) const { argument 168 inline bool operator!=(const Field& that) const { 172 bool operator<(const Field& that) const { 218 Matcher(const Field& matcher, int32_t mask) : mMatcher(matcher), mMask(mask){}; in Matcher() [all …]
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 70 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.uids[i]))); in LogEvent() 72 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.tags[i]))); in LogEvent() 79 Field field(statsLogEventWrapper.getTagId(), getSimpleField(i + 1 + workChainPosOffset)); in LogEvent() 147 mValues.push_back(FieldValue(Field(mTagId, pos, 0 /* depth */), Value(uid))); in LogEvent() 151 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.first))); in LogEvent() 153 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.second))); in LogEvent() 160 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.first))); in LogEvent() 162 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.second))); in LogEvent() 169 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.first))); in LogEvent() 171 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.second))); in LogEvent() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetUtils.java | 22 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/libs/input/tests/ |
D | PointerController_test.cpp | 41 using ::testing::Field; 203 Field(&SpriteIcon::style, CURSOR_TYPE_DEFAULT), in TEST_F() 204 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 205 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F() 219 Field(&SpriteIcon::style, type), in TEST_F() 220 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 221 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F() 242 Field(&SpriteIcon::style, style), in TEST_F() 243 Field(&SpriteIcon::hotSpotX, hotSpotX), in TEST_F() 244 Field(&SpriteIcon::hotSpotY, hotSpotY)))); in TEST_F()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | InputPort.java | 19 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/cmds/statsd/tests/ |
D | FieldValue_test.cpp | 142 Field field1(10, pos1, 2); in TEST() 143 Field field2(10, pos2, 2); in TEST() 145 Field field3(10, pos3, 2); in TEST() 146 Field field4(10, pos4, 0); in TEST() 301 Field field1(10, pos1, 2); in TEST() 302 Field field2(10, pos2, 2); in TEST() 303 Field field3(10, pos3, 2); in TEST() 304 Field field4(10, pos4, 0); in TEST() 327 Field field1(10, pos1, 2); in TEST() 328 Field field2(10, pos2, 2); in TEST() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerTest.java | 35 import java.lang.reflect.Field; 84 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 100 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged() 113 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingCallEmergencyNumberChanged() 136 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerOutgoingSmsEmergencyNumberChanged()
|
D | PhoneStateListenerExecutorTest.java | 30 import java.lang.reflect.Field; 73 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerServiceStateChanged() 88 Field field = PhoneStateListener.class.getDeclaredField("callback"); in testTriggerUserMobileDataStateChanged()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityTestCase.java | 21 import java.lang.reflect.Field; 67 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() 68 for (Field field : fields) { in scrubClass()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 30 import java.lang.reflect.Field; 389 Field field; in builderSetSelectionArgsBackReferences() 398 Field field; in builderSetValuesBackReferences() 407 Field field; in builderSetSelection() 416 Field field; in builderSetSelectionArgs() 425 Field field; in builderSetValues() 434 Field field; in builderSetExpectedCount() 442 final Field field = CLASS_OPERATION.getDeclaredField("mType"); in operationGetType() 449 final Field field = CLASS_OPERATION.getDeclaredField("mUri"); in operationGetUri() 456 final Field field = CLASS_OPERATION.getDeclaredField("mSelection"); in operationGetSelection() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ipmemorystore/ |
D | NetworkAttributesTest.java | 29 import java.lang.reflect.Field; 47 final Field[] fieldList = NetworkAttributes.class.getDeclaredFields(); in testTotalWeight() 48 for (final Field field : fieldList) { in testTotalWeight()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FieldPort.java | 20 import java.lang.reflect.Field; 27 protected Field mField; 32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { in FieldPort()
|
D | FinalPort.java | 20 import java.lang.reflect.Field; 27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { in FinalPort()
|
D | ProgramPort.java | 20 import java.lang.reflect.Field; 32 Field field, in ProgramPort()
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooper.java | 30 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/base/core/java/com/android/internal/util/ |
D | MessageUtils.java | 23 import java.lang.reflect.Field; 58 Field[] fields; in findMessageNames() 66 for (Field field : fields) { in findMessageNames()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | Looper_Accessor.java | 18 import java.lang.reflect.Field; 29 Field sMainLooper = Looper.class.getDeclaredField("sMainLooper"); in cleanupThread()
|
/frameworks/base/test-base/src/android/test/ |
D | AndroidTestCase.java | 27 import java.lang.reflect.Field; 165 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() 166 for (Field field : fields) { in scrubClass()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 25 import java.lang.reflect.Field; 98 final Field[] fields = clazz.getDeclaredFields(); in Constants() 109 final Field field = fields[i]; in Constants()
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 54 import java.lang.reflect.Field; 335 private static HashMap<Class<?>, Field[]> mCapturedViewFieldsForClasses = null; 349 private static HashMap<Class<?>, Field[]> sFieldsForClasses; 1292 private static Field[] getExportedPropertyFields(Class<?> klass) { 1294 sFieldsForClasses = new HashMap<Class<?>, Field[]>(); 1300 final HashMap<Class<?>, Field[]> map = sFieldsForClasses; 1302 Field[] fields = map.get(klass); 1308 final Field[] declaredFields = klass.getDeclaredFieldsUnchecked(false); 1309 final ArrayList<Field> foundFields = new ArrayList<Field>(); 1310 for (final Field field : declaredFields) { [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | NotificationVisibilityTest.java | 30 import java.lang.reflect.Field; 40 Field locationField = MetricsEvent.class.getField(location.name()); in testNotificationLocation_sameValuesAsMetricsProto()
|
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/ |
D | ParcelableTestSupport.java | 24 import java.lang.reflect.Field; 40 Field creatorField = parcelable.getClass().getField("CREATOR"); in roundTripParcelable()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | GradientDrawable_Delegate.java | 24 import java.lang.reflect.Field; 45 Field mLevel = null; in buildRing()
|
/frameworks/base/core/java/android/util/ |
D | DebugUtils.java | 23 import java.lang.reflect.Field; 220 for (Field field : clazz.getDeclaredFields()) { in valueToString() 245 for (Field field : clazz.getDeclaredFields()) { in flagsToString() 270 private static String constNameWithoutPrefix(String prefix, Field field) { in constNameWithoutPrefix()
|