Home
last modified time | relevance | path

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

/external/android-mock/src/com/google/android/testing/mocking/
DFileUtils.java33 static String getInterfaceNameFor(Class<?> clazz, SdkVersion sdkVersion) { in getInterfaceNameFor() argument
34 return sdkVersion.getPackagePrefix() + "genmocks." + clazz.getName() + "DelegateInterface"; in getInterfaceNameFor()
41 static String getSubclassNameFor(Class<?> clazz, SdkVersion sdkVersion) { in getSubclassNameFor() argument
42 return sdkVersion.getPackagePrefix() + "genmocks." + clazz.getName() + "DelegateSubclass"; in getSubclassNameFor()
DAndroidMockGenerator.java91 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion sdkVersion) in createMocksForClass() argument
97 CtClass newInterfaceCtClass = generateInterface(clazz, sdkVersion); in createMocksForClass()
100 CtClass mockDelegateCtClass = generateSubClass(clazz, newInterfaceCtClass, sdkVersion); in createMocksForClass()
161 CtClass generateInterface(Class<?> originalClass, SdkVersion sdkVersion) { in generateInterface() argument
164 return classPool.getCtClass(FileUtils.getInterfaceNameFor(originalClass, sdkVersion)); in generateInterface()
167 classPool.makeInterface(FileUtils.getInterfaceNameFor(originalClass, sdkVersion)); in generateInterface()
234 CtClass generateSubClass(Class<?> superClass, CtClass newInterface, SdkVersion sdkVersion) in generateSubClass() argument
236 if (classExists(FileUtils.getSubclassNameFor(superClass, sdkVersion))) { in generateSubClass()
238 return getClassPool().get(FileUtils.getSubclassNameFor(superClass, sdkVersion)); in generateSubClass()
244 CtClass newClass = generateSkeletalClass(superClass, newInterface, sdkVersion); in generateSubClass()
[all …]
DAndroidFrameworkMockGenerator.java79 for (SdkVersion sdkVersion : versions) { in getPrebuiltClassesFor()
80 classes.add(Class.forName(FileUtils.getSubclassNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor()
81 classes.add(Class.forName(FileUtils.getInterfaceNameFor(clazz, sdkVersion))); in getPrebuiltClassesFor()
/external/qemu/android/avd/
Dutil.c291 char* sdkVersion = _getBuildProperty(androidOut, "ro.build.version.sdk"); in path_getBuildTargetApiLevel() local
293 if (sdkVersion != NULL) { in path_getBuildTargetApiLevel()
296 value = strtol(sdkVersion, &end, 10); in path_getBuildTargetApiLevel()
298 D("Invalid SDK version build property: '%s'", sdkVersion); in path_getBuildTargetApiLevel()
308 AFREE(sdkVersion); in path_getBuildTargetApiLevel()
/external/replicaisland/src/com/replica/replicaisland/
DMainMenuActivity.java202 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in onResume() local
203 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in onResume()
DGame.java82 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in bootstrap() local
83 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in bootstrap()