Home
last modified time | relevance | path

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

/art/test/005-annotations/src/android/test/anno/
DTestAnnotations.java258 private static Class<?> vmRuntimeClass; field in TestAnnotations.VMRuntime
268 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()