/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Entity.java | 35 private final List<Field> mFields; 36 private final Map<String, Field> mFieldMap; 49 for (Field field : mFields) { in createEntitySql() 59 Field getField(String fieldName) { in getField() 68 private final List<Field> mFields = new ArrayList<>(); 69 private final Map<String, Field> mFieldMap = new HashMap<>(); 105 final Field field = Field.newInstance(mPos++, name, fieldType); in addFieldInternal()
|
D | Field.java | 25 public abstract class Field { class 36 static Field newInstance(int pos, String name, int fieldType) { in newInstance() 47 private Field(int pos, String name, int fieldType) { in Field() method in Field 118 private static final class IntegerField extends Field { 138 private static final class StringField extends Field {
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | AnnotationChecker.java | 20 import java.lang.reflect.Field; 39 private final Map<String, Set<Field>> annotatedFieldsMap = new HashMap<>(); 67 Set<Field> fields = ReflectionHelper.getAnnotatedFields(clazz, annotationSpec); in AnnotationChecker() 82 public boolean skip(Field f); in skip() 108 for (Set<Field> set : annotatedFieldsMap.values()) { in checkDeferred() 109 for (Field f : set) { in checkDeferred() 127 JDiffClassDescription.JDiffField fieldDescription, Field field) { in checkField() 136 Set<Field> annotatedFields = annotatedFieldsMap.get(runtimeClass.getName()); in checkField()
|
D | ApiPresenceChecker.java | 19 import java.lang.reflect.Field; 114 Map<String, Field> classFieldMap = buildFieldMap(runtimeClass); in checkFieldsCompliance() 117 Field f = classFieldMap.get(field.mName); in checkFieldsCompliance() 141 private static Map<String, Field> buildFieldMap(Class<?> testClass) { in buildFieldMap() 150 private static Map<String, Field> buildFieldMapImpl(Class<?> testClass) { in buildFieldMapImpl() 151 Map<String, Field> fieldMap = new HashMap<>(); in buildFieldMapImpl() 163 for (Field field : testClass.getDeclaredFields()) { in buildFieldMapImpl() 172 JDiffClassDescription.JDiffField fieldDescription, Field field) { in checkField()
|
/cts/hostsidetests/appcompat/hiddenapi/app/src/android/compat/hiddenapi/cts/ |
D | HiddenApiUsedActivity.java | 22 import java.lang.reflect.Field; 31 Field field = Activity.class.getDeclaredField("mWindow"); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature_warm/src/com/android/cts/splitapp/ |
D | FeatureProvider.java | 25 import java.lang.reflect.Field; 41 final Field touched = test.getDeclaredField("sFeatureTouched"); in onCreate() 48 final Field value = test.getDeclaredField("sFeatureValue"); in onCreate()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ApiLevelUtil.java | 21 import java.lang.reflect.Field; 83 Field versionField = VersionCodes.class.getField(versionString.toUpperCase()); in resolveVersionString() 88 Field versionField = Build.VERSION_CODES.class.getField(versionString.toUpperCase()); in resolveVersionString()
|
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/ |
D | UsesLibraryTest.java | 26 import java.lang.reflect.Field; 97 Field pathListField = BaseDexClassLoader.class.getDeclaredField("pathList"); in getDexElementsFromClassLoader() 101 Field dexElementsField = pathList.getClass().getDeclaredField("dexElements"); in getDexElementsFromClassLoader() 109 Field dexFileField = dexElement.getClass().getDeclaredField("dexFile"); in getDexFileFromDexElement()
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | ParcelableTestSupport.java | 24 import java.lang.reflect.Field; 40 Field creatorField = parcelable.getClass().getField("CREATOR"); in roundTripParcelable()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | VehicleGearTest.java | 27 import java.lang.reflect.Field; 71 Field[] fields = clazz.getDeclaredFields(); in getIntegersFromDataEnums() 73 for (Field f : fields) { in getIntegersFromDataEnums()
|
/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/ |
D | Authenticator.java | 31 import java.lang.reflect.Field; 116 Field mAccountAuthenticatorResponseField = in addAccount() 137 Field TRANSACTION_onResultField = in addAccount() 151 Field mRemoteField = proxyClass.getDeclaredField("mRemote"); in addAccount()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/ |
D | Authenticator.java | 17 import java.lang.reflect.Field; 107 …Field mAccountAuthenticatorResponseField = AccountAuthenticatorResponseClass.getDeclaredField("mAc… in addAccount() 119 Field TRANSACTION_onResultField = stubClass.getDeclaredField("TRANSACTION_onResult"); in addAccount() 131 Field mRemoteField = proxyClass.getDeclaredField("mRemote"); in addAccount()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 24 import java.lang.reflect.Field; 85 Field[] fields = PackageManager.class.getFields(); in getPackageManagerFeatures() 86 for (Field field : fields) { in getPackageManagerFeatures()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 71 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomDexClassLoader() 89 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomPathClassLoader()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ParcelableExceptionTest.java | 31 import java.lang.reflect.Field; 54 Field parcelledDataField = BaseBundle.class.getDeclaredField("mParcelledData"); in createBundle()
|
D | AndroidFutureTest.java | 34 import java.lang.reflect.Field; 65 Field parcelledDataField = BaseBundle.class.getDeclaredField("mParcelledData"); in createBundle()
|
D | IsolatedService.java | 24 import java.lang.reflect.Field; 41 Field cacheField = serviceManager.getDeclaredField(SERVICE_MANAGER_INTERNAL_CACHE_NAME); in getServicesCachedInServiceManager()
|
D | CVE_2021_0521.java | 25 import java.lang.reflect.Field; 45 Field field = c.getDeclaredField("TRANSACTION_getAllPackages"); in getFunctionCode()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | DexMemberChecker.java | 22 import java.lang.reflect.Field; 183 Field ifield = getField_JNI(klass, dexField.getName(), dexField.getDexType()); in hasMatchingField_JNI() 192 Field sfield = getStaticField_JNI(klass, dexField.getName(), dexField.getDexType()); in hasMatchingField_JNI() 286 private static native Field getField_JNI(Class<?> klass, String name, String type); in getField_JNI() 287 private static native Field getStaticField_JNI(Class<?> klass, String name, String type); in getStaticField_JNI()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ |
D | DeviceEvent.java | 34 import android.inputmethodservice.cts.db.Field; 184 private final Field mSender; 185 private final Field mType; 186 private final Field mTime;
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | Versions.java | 26 import java.lang.reflect.Field; 57 for (Field field : Build.VERSION_CODES.class.getFields()) { in versionToLetter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
D | TimeoutResetActivity.java | 27 import java.lang.reflect.Field; 54 private static Field getUserActivityTimeoutField(WindowManager.LayoutParams params) in getUserActivityTimeoutField()
|
/cts/tests/signature/api-check/system-annotation/src/java/android/signature/cts/api/ |
D | AnnotationTest.java | 32 import java.lang.reflect.Field; 94 public boolean skip(Field f) { in testAnnotation()
|
/cts/hostsidetests/appsecurity/test-apps/RoleSecurityTestApp/src/com/android/cts/rolesecuritytest/ |
D | DeviceTest.java | 36 import java.lang.reflect.Field; 66 final Field serviceField = roleManager.getClass().getDeclaredField("mService"); in cannotGetSmsRoleHolderForAnotherUser()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextMoreTest.java | 25 import java.lang.reflect.Field; 113 final Field f; in readField()
|