Searched refs:vmRuntimeClass (Results 1 – 1 of 1) sorted by relevance
257 private static Class<?> vmRuntimeClass; field in TestAnnotations.VMRuntime267 vmRuntimeClass = Class.forName("dalvik.system.VMRuntime"); in init()272 getRuntimeMethod = vmRuntimeClass.getDeclaredMethod("getRuntime"); in init()274 vmRuntimeClass.getDeclaredMethod("getTargetSdkVersion"); in init()276 vmRuntimeClass.getDeclaredMethod("setTargetSdkVersion", Integer.TYPE); in init()283 return vmRuntimeClass != null; in isAndroid()