/frameworks/base/core/tests/coretests/src/android/os/ |
D | BuildTest.java | 19 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/support/compat/java/android/support/v4/app/ |
D | ActivityOptionsCompat.java | 24 import android.os.Build; 63 if (Build.VERSION.SDK_INT >= 24) { in makeCustomAnimation() 66 } else if (Build.VERSION.SDK_INT >= 23) { in makeCustomAnimation() 69 } else if (Build.VERSION.SDK_INT >= 21) { in makeCustomAnimation() 72 } else if (Build.VERSION.SDK_INT >= 16) { in makeCustomAnimation() 101 if (Build.VERSION.SDK_INT >= 24) { in makeScaleUpAnimation() 105 } else if (Build.VERSION.SDK_INT >= 23) { in makeScaleUpAnimation() 109 } else if (Build.VERSION.SDK_INT >= 21) { in makeScaleUpAnimation() 113 } else if (Build.VERSION.SDK_INT >= 16) { in makeScaleUpAnimation() 137 if (Build.VERSION.SDK_INT >= 24) { in makeClipRevealAnimation() [all …]
|
D | ActivityCompat.java | 27 import android.os.Build; 116 if (Build.VERSION.SDK_INT >= 11) { in invalidateOptionsMenu() 145 if (Build.VERSION.SDK_INT >= 16) { in startActivityForResult() 181 if (Build.VERSION.SDK_INT >= 16) { in startIntentSenderForResult() 198 if (Build.VERSION.SDK_INT >= 16) { in finishAffinity() 215 if (Build.VERSION.SDK_INT >= 21) { in finishAfterTransition() 240 if (Build.VERSION.SDK_INT >= 22) { in getReferrer() 265 if (Build.VERSION.SDK_INT >= 23) { in setEnterSharedElementCallback() 267 } else if (Build.VERSION.SDK_INT >= 21) { in setEnterSharedElementCallback() 283 if (Build.VERSION.SDK_INT >= 23) { in setExitSharedElementCallback() [all …]
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | DrawableLayoutDirectionHelperTest.java | 26 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()
|
D | ListViewRequireScrollHelperTest.java | 20 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/ |
D | MenuWrapperFactory.java | 20 import android.os.Build; 40 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenu() 47 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in wrapSupportMenuItem() 49 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenuItem() 56 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/ |
D | ViewBindingAdapterTest.java | 22 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()
|
D | ViewGroupBindingAdapterTest.java | 21 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()
|
D | TextViewBindingAdapterTest.java | 24 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)
|
D | AbsSpinnerBindingAdapterTest.java | 20 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/opt/photoviewer/src/com/android/ex/photo/util/ |
D | Util.java | 4 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()
|
D | Trace.java | 19 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/ |
D | Trace.java | 19 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/ |
D | TextViewBindingAdapter.java | 26 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/support/compat/java/android/support/v4/content/ |
D | ContextCompat.java | 24 import android.os.Build; 121 final int version = Build.VERSION.SDK_INT; in startActivities() 150 if (Build.VERSION.SDK_INT >= 16) { in startActivity() 225 final int version = Build.VERSION.SDK_INT; in getObbDirs() 285 final int version = Build.VERSION.SDK_INT; in getExternalFilesDirs() 338 final int version = Build.VERSION.SDK_INT; in getExternalCacheDirs() 370 final int version = Build.VERSION.SDK_INT; in getDrawable() 407 final int version = Build.VERSION.SDK_INT; in getColorStateList() 430 final int version = Build.VERSION.SDK_INT; in getColor() 471 final int version = Build.VERSION.SDK_INT; in getNoBackupFilesDir() [all …]
|
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/ |
D | RecyclerViewRequireScrollHelperTest.java | 20 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/ |
D | NativeLibraryHelper.java | 34 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/net/wifi/service/java/com/android/server/wifi/ |
D | SystemBuildProperties.java | 19 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/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 22 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/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | ListViewRequireScrollHelper.java | 19 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()
|
D | DrawableLayoutDirectionHelper.java | 22 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/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 11 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/compat/java/android/support/v4/view/animation/ |
D | PathInterpolatorCompat.java | 20 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/widget/ |
D | ViewUtils.java | 20 import android.os.Build; 41 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { 91 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in makeOptionalFitsSystemWindows()
|
D | DrawableUtils.java | 28 import android.os.Build; 52 if (Build.VERSION.SDK_INT >= 18) { 117 if (Build.VERSION.SDK_INT == 21 in fixDrawable() 128 if (Build.VERSION.SDK_INT < 15 && drawable instanceof InsetDrawable) { in canSafelyMutateDrawable() 130 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof GradientDrawable) { in canSafelyMutateDrawable() 134 } else if (Build.VERSION.SDK_INT < 17 && drawable instanceof LayerDrawable) { in canSafelyMutateDrawable() 189 case 16: return Build.VERSION.SDK_INT >= 11 in parseTintMode()
|