Home
last modified time | relevance | path

Searched refs:Build (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/frameworks/base/core/tests/coretests/src/android/os/
DBuildTest.java19 import android.os.Build;
56 assertNotEmpty("ID", Build.ID); in testBuildFields()
57 assertNotEmpty("DISPLAY", Build.DISPLAY); in testBuildFields()
58 assertNotEmpty("PRODUCT", Build.PRODUCT); in testBuildFields()
59 assertNotEmpty("DEVICE", Build.DEVICE); in testBuildFields()
60 assertNotEmpty("BOARD", Build.BOARD); in testBuildFields()
61 assertNotEmpty("BRAND", Build.BRAND); in testBuildFields()
62 assertNotEmpty("MODEL", Build.MODEL); in testBuildFields()
63 assertNotEmpty("VERSION.INCREMENTAL", Build.VERSION.INCREMENTAL); in testBuildFields()
64 assertNotEmpty("VERSION.RELEASE", Build.VERSION.RELEASE); in testBuildFields()
[all …]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DDrawableLayoutDirectionHelperTest.java26 import android.os.Build;
44 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableLtr()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableRtl()
78 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableViewRtl()
84 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableViewRtl()
97 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableContextRtl()
111 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
DListViewRequireScrollHelperTest.java20 import android.os.Build;
50 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testRequireScroll()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testScrolledToBottom()
86 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testClickScrollButton()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperFactory.java20 import android.os.Build;
36 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenu()
43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in wrapSupportMenuItem()
45 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenuItem()
52 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportSubMenu()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DViewBindingAdapterTest.java22 import android.os.Build;
64 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testPaddingStartEnd()
88 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testBackgroundTint()
118 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testNextFocus()
128 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testNextFocus()
148 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testScrollbar()
158 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testScrollbar()
168 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testTransformPivot()
DViewGroupBindingAdapterTest.java21 import android.os.Build;
59 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testSplitMotionEvents()
71 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testAnimateLayoutChanges()
DTextViewBindingAdapterTest.java24 import android.os.Build;
69 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testDrawables()
94 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testDrawableStartEnd()
122 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testSimpleProperties()
131 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testSimpleProperties()
147 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testSimpleProperties()
156 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testSimpleProperties()
211 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
DAbsSpinnerBindingAdapterTest.java20 import android.os.Build;
45 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testEntries()
56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testList()
/frameworks/support/v4/java/android/support/v4/app/
DActivityCompat.java27 import android.os.Build;
108 if (Build.VERSION.SDK_INT >= 11) { in invalidateOptionsMenu()
133 if (Build.VERSION.SDK_INT >= 16) { in startActivity()
162 if (Build.VERSION.SDK_INT >= 16) { in startActivityForResult()
198 if (Build.VERSION.SDK_INT >= 16) { in startIntentSenderForResult()
201 } else if (Build.VERSION.SDK_INT >= 5) { in startIntentSenderForResult()
215 if (Build.VERSION.SDK_INT >= 16) { in finishAffinity()
232 if (Build.VERSION.SDK_INT >= 21) { in finishAfterTransition()
245 if (Build.VERSION.SDK_INT >= 22) { in getReferrer()
270 if (Build.VERSION.SDK_INT >= 21) { in setEnterSharedElementCallback()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java4 import android.os.Build;
13 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in isTouchExplorationEnabled()
32 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in announceForAccessibility()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in announceForAccessibility()
DTrace.java19 import android.os.Build;
34 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in beginSection()
46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in endSection()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DTrace.java19 import android.os.Build;
34 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in beginSection()
46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in endSection()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java26 import android.os.Build;
176 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in setDrawableStart()
187 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in setDrawableEnd()
222 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setLineSpacingExtra()
231 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setLineSpacingMultiplier()
252 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in setMaxLength()
283 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowColor()
293 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowDx()
303 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowDy()
313 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowRadius()
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DRecyclerViewRequireScrollHelperTest.java20 import android.os.Build;
46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testRequireScroll()
57 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testScrolledToBottom()
75 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testClickScrollButton()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java34 import android.os.Build;
337 if (Build.SUPPORTED_32_BIT_ABIS.length > 0) { in copyNativeBinariesWithOverride()
339 Build.SUPPORTED_32_BIT_ABIS, true /* use isa specific subdirs */); in copyNativeBinariesWithOverride()
347 if (Build.SUPPORTED_64_BIT_ABIS.length > 0) { in copyNativeBinariesWithOverride()
349 Build.SUPPORTED_64_BIT_ABIS, true /* use isa specific subdirs */); in copyNativeBinariesWithOverride()
365 new String[] { cpuAbiOverride } : Build.SUPPORTED_ABIS; in copyNativeBinariesWithOverride()
366 if (Build.SUPPORTED_64_BIT_ABIS.length > 0 && cpuAbiOverride == null && in copyNativeBinariesWithOverride()
368 abiList = Build.SUPPORTED_32_BIT_ABIS; in copyNativeBinariesWithOverride()
397 if (Build.SUPPORTED_32_BIT_ABIS.length > 0) { in sumNativeBinariesWithOverride()
398 sum += sumNativeBinariesForSupportedAbi(handle, Build.SUPPORTED_32_BIT_ABIS); in sumNativeBinariesWithOverride()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DChipsUtil.java22 import android.os.Build;
45 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH; in supportsChipsUi()
55 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M; in isRunningMOrLater()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSystemBuildProperties.java19 import android.os.Build;
24 return Build.TYPE.equals("eng"); in isEngBuild()
29 return Build.TYPE.equals("userdebug"); in isUserdebugBuild()
34 return Build.TYPE.equals("user"); in isUserBuild()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DListViewRequireScrollHelper.java19 import android.os.Build;
48 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in requireScroll()
62 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in pageScrollDown()
DDrawableLayoutDirectionHelper.java22 import android.os.Build;
36 boolean isRtl = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 in createRelativeInsetDrawable()
49 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in createRelativeInsetDrawable()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java28 import android.os.Build;
48 if (Build.VERSION.SDK_INT >= 18) {
113 if (Build.VERSION.SDK_INT == 21 in fixDrawable()
124 if (Build.VERSION.SDK_INT < 8 && drawable instanceof StateListDrawable) { in canSafelyMutateDrawable()
127 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof InsetDrawable) { in canSafelyMutateDrawable()
129 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof GradientDrawable) { in canSafelyMutateDrawable()
133 } else if (Build.VERSION.SDK_INT < 17 && drawable instanceof LayerDrawable) { in canSafelyMutateDrawable()
188 case 16: return Build.VERSION.SDK_INT >= 11 in parseTintMode()
DViewUtils.java20 import android.os.Build;
37 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
87 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in makeOptionalFitsSystemWindows()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java25 import android.os.Build;
112 final int version = Build.VERSION.SDK_INT; in startActivities()
191 final int version = Build.VERSION.SDK_INT; in getObbDirs()
251 final int version = Build.VERSION.SDK_INT; in getExternalFilesDirs()
311 final int version = Build.VERSION.SDK_INT; in getExternalCacheDirs()
350 final int version = Build.VERSION.SDK_INT; in getDrawable()
387 final int version = Build.VERSION.SDK_INT; in getColorStateList()
409 final int version = Build.VERSION.SDK_INT; in getColor()
452 final int version = Build.VERSION.SDK_INT; in getNoBackupFilesDir()
477 final int version = Build.VERSION.SDK_INT; in getCodeCacheDir()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java11 import android.os.Build;
210 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) { in PhotoViewController()
216 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && in PhotoViewController()
314 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onCreate()
602 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onLoadFinished()
614 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onLoadFinished()
1011 final int version = android.os.Build.VERSION.SDK_INT; in runEnterAnimation()
1012 if (version >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in runEnterAnimation()
1033 if (version >= Build.VERSION_CODES.JELLY_BEAN) { in runEnterAnimation()
1100 final int version = android.os.Build.VERSION.SDK_INT; in runExitAnimation()
[all …]
/frameworks/support/v4/java/android/support/v4/view/animation/
DPathInterpolatorCompat.java20 import android.os.Build;
47 if (Build.VERSION.SDK_INT >= 21) { in create()
62 if (Build.VERSION.SDK_INT >= 21) { in create()
80 if (Build.VERSION.SDK_INT >= 21) { in create()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompat.java22 import android.os.Build;
86 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in getExtender()
88 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in getExtender()
90 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getExtender()

12345678910>>...28