Home
last modified time | relevance | path

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

123

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DEntity.java35 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()
DField.java25 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/
DAnnotationChecker.java20 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()
DApiPresenceChecker.java19 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/
DHiddenApiUsedActivity.java22 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/
DFeatureProvider.java25 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/
DApiLevelUtil.java21 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/
DUsesLibraryTest.java26 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/
DParcelableTestSupport.java24 import java.lang.reflect.Field;
40 Field creatorField = parcelable.getClass().getField("CREATOR"); in roundTripParcelable()
/cts/tests/tests/car/src/android/car/cts/
DVehicleGearTest.java27 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/
DAuthenticator.java31 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/
DAuthenticator.java17 import java.lang.reflect.Field;
107Field 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/
DFeatureDeviceInfo.java24 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/
DCustomClassLoaderTest.java71 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/
DParcelableExceptionTest.java31 import java.lang.reflect.Field;
54 Field parcelledDataField = BaseBundle.class.getDeclaredField("mParcelledData"); in createBundle()
DAndroidFutureTest.java34 import java.lang.reflect.Field;
65 Field parcelledDataField = BaseBundle.class.getDeclaredField("mParcelledData"); in createBundle()
DIsolatedService.java24 import java.lang.reflect.Field;
41 Field cacheField = serviceManager.getDeclaredField(SERVICE_MANAGER_INTERNAL_CACHE_NAME); in getServicesCachedInServiceManager()
DCVE_2021_0521.java25 import java.lang.reflect.Field;
45 Field field = c.getDeclaredField("TRANSACTION_getAllPackages"); in getFunctionCode()
/cts/tests/signature/lib/android/src/android/signature/cts/
DDexMemberChecker.java22 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/
DDeviceEvent.java34 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/
DVersions.java26 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/
DTimeoutResetActivity.java27 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/
DAnnotationTest.java32 import java.lang.reflect.Field;
94 public boolean skip(Field f) { in testAnnotation()
/cts/hostsidetests/appsecurity/test-apps/RoleSecurityTestApp/src/com/android/cts/rolesecuritytest/
DDeviceTest.java36 import java.lang.reflect.Field;
66 final Field serviceField = roleManager.getClass().getDeclaredField("mService"); in cannotGetSmsRoleHolderForAnotherUser()
/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java25 import java.lang.reflect.Field;
113 final Field f; in readField()

123