Home
last modified time | relevance | path

Searched refs:versionClass (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/shadows/versioning/src/main/java/org/robolectric/versioning/
DAndroidVersions.java759 Class<?> versionClass = null;
762 versionClass = c;
763 System.out.println("Version class " + versionClass);
767 if (versionClass != null) {
769 int sdkInt = (int) ReflectionHelpers.getStaticField(versionClass, "SDK_INT");
771 String release = ReflectionHelpers.getStaticField(versionClass, "RELEASE");
773 String codename = ReflectionHelpers.getStaticField(versionClass, "CODENAME");
774 List<String> activeCodeNames = getActiveCodeNamesIfAny(versionClass);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DAndroidSandboxClassLoaderTest.java29 Class<?> versionClass = loadClass(Build.VERSION.class); in shouldMakeBuildVersionIntsNonFinal() local
30 int modifiers = versionClass.getDeclaredField("SDK_INT").getModifiers(); in shouldMakeBuildVersionIntsNonFinal()
/external/objenesis/main/src/main/java/org/objenesis/strategy/
DPlatformDescription.java178 private static int getOldAndroidVersion(Class<?> versionClass) { in getOldAndroidVersion() argument
181 field = versionClass.getField("SDK"); in getOldAndroidVersion()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp309 const char* const versionClass = "android/os/Build$VERSION"; in describePlatform() local
329 { versionClass, "Build.VERSION", "RELEASE" }, in describePlatform()
337 dst << "Build.VERSION.SDK_INT: " << getStaticField<int>(env, versionClass, "SDK_INT") << "\n"; in describePlatform()
/external/doclava/src/com/google/doclava/
DSinceTagger.java124 versionClass(versionName, classSpec, classDoc); in applyVersionsFromSpec()
143 private void versionClass(String versionName, ClassInfo spec, ClassInfo doc) { in versionClass() method in SinceTagger