Searched refs:vmRuntimeClass (Results 1 – 1 of 1) sorted by relevance
258 private static Class<?> vmRuntimeClass; field in TestAnnotations.VMRuntime268 vmRuntimeClass = Class.forName("dalvik.system.VMRuntime"); in init()273 getRuntimeMethod = vmRuntimeClass.getDeclaredMethod("getRuntime"); in init()275 vmRuntimeClass.getDeclaredMethod("getTargetSdkVersion"); in init()277 vmRuntimeClass.getDeclaredMethod("setTargetSdkVersion", Integer.TYPE); in init()284 return vmRuntimeClass != null; in isAndroid()