/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | ApiHelper.java | 43 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 …]
|
D | AsyncTaskUtil.java | 33 if (Build.VERSION.SDK_INT >= 11) { 50 if (Build.VERSION.SDK_INT < 11) { in executeInParallel()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ApiHelper.java | 27 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/ |
D | ModuleNetworkStackClient.java | 19 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/ |
D | AdditionalSubtypeUtilsTests.java | 120 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/ |
D | AudioManagerHelper.java | 45 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/ |
D | InputMethodSubtypeCompatUtils.java | 44 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()
|
D | BuildCompatUtils.java | 34 ? Build.VERSION.SDK_INT 35 : Build.VERSION.SDK_INT + 1;
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 42 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/ |
D | DotsPageIndicator.java | 153 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/ |
D | AlarmNotifications.kt | 161 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/ |
D | Utils.kt | 108 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/ |
D | SearchWidescreenController.java | 134 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/ |
D | TranscriptionDbHelper.java | 66 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/ |
D | VersionUtils.java | 35 || Build.VERSION.SDK_INT >= 30; in isAtLeastR() 43 || Build.VERSION.SDK_INT >= 31; in isAtLeastS()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingService.java | 78 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/ |
D | AutoScrollListView.java | 124 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/ |
D | DefaultWallpaperInfo.java | 137 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/ |
D | ValuesDeltaTests.java | 51 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/ |
D | PeriodicJobService.java | 60 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/ |
D | NotificationUtils.java | 47 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/ |
D | TestUtils.java | 54 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/ |
D | WallpaperUtils.java | 44 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/ |
D | Wallpaper.java | 75 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/ |
D | TvProviderUtils.java | 69 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()
|