Home
last modified time | relevance | path

Searched refs:SDK_INT (Results 1 – 25 of 58) sorted by relevance

123

/external/libmojo/base/android/java/src/org/chromium/base/
DApiCompatibilityUtils.java52 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in isLayoutRtl()
64 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in getLayoutDirection()
76 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; in isPrintingSupported()
84 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in isElevationSupported()
91 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setLayoutDirection()
102 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setTextAlignment()
113 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setTextDirection()
124 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setLabelFor()
135 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setMarginEnd()
146 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in getMarginEnd()
[all …]
DBuildInfo.java142 return Build.VERSION.SDK_INT; in getSdkInt()
149 return Build.VERSION.SDK_INT > 24 || Build.VERSION.CODENAME.equals("NMR1"); in isGreaterThanN()
DJavaHandlerThread.java46 final boolean quitSafely = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2; in stop()
DResourceExtractor.java188 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR2) return; in beginTraceSection()
194 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR2) return; in endTraceSection()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioUtils.java134 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD; in runningOnGingerBreadOrHigher()
139 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN; in runningOnJellyBeanOrHigher()
144 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1; in runningOnJellyBeanMR1OrHigher()
149 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2; in runningOnJellyBeanMR2OrHigher()
154 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in runningOnLollipopOrHigher()
184 Logging.d(tag, "Android SDK: " + Build.VERSION.SDK_INT + ", " in logDeviceInfo()
DBuildInfo.java50 return Integer.toString(Build.VERSION.SDK_INT); in getSdkVersion()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java202 if (Build.VERSION.SDK_INT >= 24) { in setSSLParameters()
220 if (Build.VERSION.SDK_INT >= 24) { in setSSLParameters()
267 if (Build.VERSION.SDK_INT >= 24) { in getSSLParameters()
293 if (Build.VERSION.SDK_INT >= 24) { in getSSLParameters()
410 if (Build.VERSION.SDK_INT >= 17) { in wrapRsaKey()
530 if (Build.VERSION.SDK_INT < 19) { in wrapSocketFactoryIfNeeded()
532 } else if (Build.VERSION.SDK_INT < 22) { in wrapSocketFactoryIfNeeded()
604 if (Build.VERSION.SDK_INT < 14) { in closeGuardGet()
612 if (Build.VERSION.SDK_INT < 14) { in closeGuardOpen()
621 if (Build.VERSION.SDK_INT < 14) { in closeGuardClose()
[all …]
/external/libmojo/base/android/javatests/src/org/chromium/base/
DApiCompatibilityUtilsTest.java30 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) mIsFinishing = true; in finishAndRemoveTask()
50 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) { in testFinishAndRemoveTask()
53 } else if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP) { in testFinishAndRemoveTask()
/external/droiddriver/src/io/appium/droiddriver/util/
DEvents.java43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { in newTouchDownEvent()
56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { in newTouchUpEvent()
69 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { in newTouchMoveEvent()
79 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { in newKeyEvent()
DFileUtils.java45 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { in open()
78 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { in mkdirs()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DRootFinder.java41 Build.VERSION.SDK_INT >= 17 ? "android.view.WindowManagerGlobal"
43 String instanceMethod = Build.VERSION.SDK_INT >= 17 ? "getInstance" : "getDefault";
81 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in getRootViews()
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLogTime.java12 Build.VERSION_CODES.JELLY_BEAN_MR1 <= Build.VERSION.SDK_INT ? 1d / Math.pow(10, 6) : 1d;
24 if (Build.VERSION_CODES.JELLY_BEAN_MR1 <= Build.VERSION.SDK_INT) { in getLogTime()
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java272 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setUp()
367 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { in testLoopbackVp8DecodeToTexture()
375 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { in DISABLED_testLoopbackVp9DecodeToTexture()
383 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { in testLoopbackH264DecodeToTexture()
391 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { in testLoopbackVp8CaptureToTexture()
405 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { in testLoopbackH264CaptureToTexture()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCProximitySensor.java154 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { in logProximitySensorInfo()
158 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT_WATCH) { in logProximitySensorInfo()
162 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in logProximitySensorInfo()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DDownsampler.java196 …if ((options.inSampleSize == 1 || Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) && shouldUs… in downsampleWithSize()
207 if (Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) { in shouldUsePool()
235 …if (format == DecodeFormat.ALWAYS_ARGB_8888 || Build.VERSION.SDK_INT == Build.VERSION_CODES.JELLY_… in getConfig()
325 if (Build.VERSION_CODES.HONEYCOMB <= Build.VERSION.SDK_INT) { in setInBitmap()
360 if (Build.VERSION_CODES.HONEYCOMB <= Build.VERSION.SDK_INT) { in resetOptions()
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestManagerRetriever.java124 if (Util.isOnBackgroundThread() || Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) { in get()
135 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 && activity.isDestroyed()) { in assertNotDestroyed()
145 … if (Util.isOnBackgroundThread() || Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in get()
156 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2 && fragment.isDetached()) { in assertNotDetached()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DBundleTest.java125 int previousApiLevel = Build.VERSION.SDK_INT; in testStringApi1()
142 int previousApiLevel = Build.VERSION.SDK_INT; in testStringApi12HasKey()
157 int previousApiLevel = Build.VERSION.SDK_INT; in testStringApi12DoesNotHaveKey()
172 int previousApiLevel = Build.VERSION.SDK_INT; in testStringApi12NullKey()
187 int previousApiLevel = Build.VERSION.SDK_INT; in testStringApi12NullValue()
/external/objenesis/main/src/test/java/android/os/
DBuild.java26 public static final int SDK_INT = 42; field in Build.VERSION
/external/glide/library/src/main/java/com/bumptech/glide/load/
DDecodeFormat.java33 public static final DecodeFormat DEFAULT = Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java121 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { in getDirty()
171 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in getDefaultStrategy()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAppRTCUtils.java57 Log.d(tag, "Android SDK: " + Build.VERSION.SDK_INT + ", " in logDeviceInfo()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DDroidDrivers.java63 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2; in hasUiAutomation()
/external/volley/src/main/java/com/android/volley/toolbox/
DVolley.java54 if (Build.VERSION.SDK_INT >= 9) { in newRequestQueue()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawable.java152 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) { in stop()
252 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && getCallback() == null) { in onFrameRead()
/external/droiddriver/src/io/appium/droiddriver/actions/
DTextAction.java36 Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB

123