Home
last modified time | relevance | path

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

12345678

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java43 public static final boolean AT_LEAST_16 = Build.VERSION.SDK_INT >= 16;
46 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
49 Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
61 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
64 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
67 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
77 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
80 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1;
83 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
86 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
[all …]
DAsyncTaskUtil.java33 if (Build.VERSION.SDK_INT >= 11) {
50 if (Build.VERSION.SDK_INT < 11) { in executeInParallel()
/packages/apps/Camera2/src/com/android/camera/util/
DApiHelper.java27 public static final boolean AT_LEAST_16 = Build.VERSION.SDK_INT >= 16;
30 Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1;
33 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
35 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
37 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
39 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
41 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
43 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
45 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
50 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1;
[all …]
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/
DModuleNetworkStackClient.java19 import static android.os.Build.VERSION.SDK_INT;
48 if (SDK_INT < Build.VERSION_CODES.Q in getInstance()
49 || (SDK_INT == Build.VERSION_CODES.Q && "REL".equals(Build.VERSION.CODENAME))) { in getInstance()
52 "ModuleNetworkStackClient is not supported on API " + SDK_INT); in getInstance()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java120 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in assertEnUsDvorak()
122 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in assertEnUsDvorak()
124 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in assertEnUsDvorak()
143 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in assertAzerty()
145 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in assertAzerty()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java45 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in AudioManagerHelper()
86 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N in setVolumeByAudioFocusStatus()
116 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in requestAudioFocus()
133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in abandonAudioFocus()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DInputMethodSubtypeCompatUtils.java44 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
66 || Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in newInputMethodSubtype()
90 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in getLocaleObject()
DBuildCompatUtils.java34 ? Build.VERSION.SDK_INT
35 : Build.VERSION.SDK_INT + 1;
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java42 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in hasMmsApi()
51 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1; in supportMSim()
60 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; in hasUserAgentApi()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java153 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in DotsPageIndicator()
322 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in clearAnimation()
356 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in drawUnselected()
370 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in drawUnselected()
439 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in getUnselectedPath()
470 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in getUnselectedPath()
566 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setSelectedPage()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt161 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in showLowPriorityNotification()
216 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in showHighPriorityNotification()
294 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in updateUpcomingAlarmGroupNotification()
338 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in updateMissedAlarmGroupNotification()
356 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in updateMissedAlarmGroupNotification()
421 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in showSnoozeNotification()
481 if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) { in showMissedNotification()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.kt108 get() = Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP
116 val sdkInt = Build.VERSION.SDK_INT
125 get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
131 get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1
137 get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
155 get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DSearchWidescreenController.java134 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) { in initializeWindowInsetsListener()
203 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R && mTextView != null) { in initializeWindowInsetsListener()
310 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) { in onSurfaceInfo()
333 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) { in reLayout()
409 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.R;
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionDbHelper.java66 Assert.checkState(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O); in getTranscriptionAndState()
86 Assert.checkState(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O); in getUntranscribedVoicemails()
113 Assert.checkState(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O); in getTranscribingVoicemails()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DVersionUtils.java35 || Build.VERSION.SDK_INT >= 30; in isAtLeastR()
43 || Build.VERSION.SDK_INT >= 31; in isAtLeastS()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DDvrRecordingService.java78 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in startForegroundService()
193 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O in startForegroundInternal()
205 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in createNotificationChannel()
/packages/apps/Contacts/src/com/android/contacts/list/
DAutoScrollListView.java124 if (android.os.Build.VERSION.SDK_INT == Build.VERSION_CODES.N in onLayout()
125 || android.os.Build.VERSION.SDK_INT == Build.VERSION_CODES.N_MR1) { in onLayout()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DDefaultWallpaperInfo.java137 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT in get()
200 return new File(context.getFilesDir(), Build.VERSION.SDK_INT in getDefaultThumbFile()
209 for (int i = Build.VERSION_CODES.JELLY_BEAN; i < Build.VERSION.SDK_INT; i++) { in saveDefaultWallpaperThumb()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DValuesDeltaTests.java51 final boolean isInsert = Build.VERSION.SDK_INT >= Build.VERSION_CODES.M in testValuesDiffInsert()
84 final boolean isUpdate = Build.VERSION.SDK_INT >= Build.VERSION_CODES.M in testValuesDiffUpdate()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DPeriodicJobService.java60 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1 && UserManagerCompat.isUserUnlocked(context)) { in schedulePeriodicJob()
94 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1) { in onStartJob()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DNotificationUtils.java47 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
48 static final boolean DIRECT_REPLY_SUPPORTED = Build.VERSION.SDK_INT >= Build.VERSION_CODES.N;
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DTestUtils.java54 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in createTvInputInfo()
58 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in createTvInputInfo()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java44 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in saveWallpaperDimensions()
155 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 && in isRtl()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DWallpaper.java75 if (Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.HONEYCOMB_MR2) { in getDefaultDisplaySize()
103 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in onResume()
/packages/apps/TV/src/com/android/tv/util/
DTvProviderUtils.java69 boolean canCreateColumn = (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O); in checkSeriesIdColumn()
117 boolean canCreateColumn = (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O); in checkStateColumn()

12345678