Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/
DSdkVersionTest.java32 SdkUtil.ApiChecker apiChecker = SdkUtil.sApiChecker; in testApiVersionsFromResources()
33 int minSdk = SdkUtil.sMinSdk; in testApiVersionsFromResources()
35 SdkUtil.sApiChecker = new SdkUtil.ApiChecker(null); in testApiVersionsFromResources()
38 assertEquals(14, SdkUtil.getMinApi(isSuggestionsEnabled)); in testApiVersionsFromResources()
40 SdkUtil.sMinSdk = minSdk; in testApiVersionsFromResources()
41 SdkUtil.sApiChecker = apiChecker; in testApiVersionsFromResources()
49 assertEquals(21, SdkUtil.getMinApi(setElevation)); in testNewApiMethod()
57 assertEquals(1, SdkUtil.getMinApi(setElevation)); in testCustomCode()
65 assertEquals(1, SdkUtil.getMinApi(setForeground)); in testSetForeground()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaMethod.java20 import android.databinding.tool.reflection.SdkUtil;
87 return SdkUtil.getMinApi(this); in getMinApi()
DJavaAnalyzer.java23 import android.databinding.tool.reflection.SdkUtil;
187 SdkUtil.initialize(8, new File(androidHome)); in initForTests()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationMethod.java21 import android.databinding.tool.reflection.SdkUtil;
147 mApiLevel = SdkUtil.getMinApi(this); in getMinApi()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessExpressions.java27 import android.databinding.tool.reflection.SdkUtil;
61 SdkUtil.initialize(buildInfo.minSdk(), new File(buildInfo.sdkRoot())); in onHandleStep()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DSdkUtil.java41 public class SdkUtil { class
DModelClass.java354 return SdkUtil.getMinApi(this); in getMinApi()