/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 | HttpClientFactory.java | 124 Build.VERSION.SDK_INT, in getUserAgent() 125 Build.VERSION.RELEASE, in getUserAgent() 126 Build.VERSION.INCREMENTAL); in getUserAgent()
|
/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/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 116 state.version = CallLogBackupAgent.VERSION; in testWriteState_NoCalls() 122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_NoCalls() 128 state.version = CallLogBackupAgent.VERSION; in testWriteState_OneCall() 135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_OneCall() 142 state.version = CallLogBackupAgent.VERSION; in testWriteState_MultipleCalls() 151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls() 160 state.version = CallLogBackupAgent.VERSION; in testRunBackup_NoCalls() 171 state.version = CallLogBackupAgent.VERSION; in testRunBackup_OneNewCall() 183 state.version = CallLogBackupAgent.VERSION; in testRunBackup_MultipleCall() 203 state.version = CallLogBackupAgent.VERSION; in testRunBackup_PartialMultipleCall()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessage.java | 34 public static final byte VERSION = (0xF0 & (VERSION_MAJOR << 4)) | (0x0F & VERSION_MINOR); field in SnepMessage 71 return new SnepMessage(VERSION, REQUEST_GET, 4 + ndef.toByteArray().length, in getGetRequest() 76 return new SnepMessage(VERSION, REQUEST_PUT, ndef.toByteArray().length, 0, ndef); in getPutRequest() 80 return new SnepMessage(VERSION, field, 0, 0, null); in getMessage() 85 return new SnepMessage(VERSION, RESPONSE_SUCCESS, 0, 0, null); in getSuccessResponse() 87 return new SnepMessage(VERSION, RESPONSE_SUCCESS, ndef.toByteArray().length, 0, ndef); in getSuccessResponse()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 37 private static final byte VERSION = 1; field in NdefPushProtocol 79 if(version != VERSION) { in NdefPushProtocol() 80 Log.w(TAG, "Got version " + version + ", expected " + VERSION); in NdefPushProtocol() 81 throw new FormatException("Got version " + version + ", expected " + VERSION); in NdefPushProtocol() 153 output.writeByte(VERSION); in toByteArray()
|
/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Constants.java | 89 final boolean validRelease = !TextUtils.isEmpty(Build.VERSION.RELEASE); 91 final boolean includeModel = "REL".equals(Build.VERSION.CODENAME) 96 builder.append("/").append(Build.VERSION.RELEASE); 100 builder.append(" ").append(Build.VERSION.RELEASE);
|
/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 | BuildCompatUtils.java | 26 private static final boolean IS_RELEASE_BUILD = Build.VERSION.CODENAME.equals("REL"); 34 ? Build.VERSION.SDK_INT 35 : Build.VERSION.SDK_INT + 1;
|
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()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/ |
D | BuildCompat.java | 19 import android.os.Build.VERSION; 31 private static int sSdk = Build.VERSION.SDK_INT; 73 || (sSdk == N_MR1_SDK_VERSION && VERSION.RELEASE.equals("7.1.2")); in isAtLeastNMR2()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 98 private static final int VERSION = 6; field in ChannelDataManager 166 Log.d(TAG, "ChannelDataManager.VERSION=" + VERSION + " (current=" + version + ")"); in checkDataVersion() 167 if (version == VERSION) { in checkDataVersion() 182 TunerPreferences.setChannelDataVersion(context, VERSION); in setCurrentVersion() 553 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in buildContentProviderOperation() 594 values.put(TvContract.Channels.COLUMN_INTERNAL_PROVIDER_FLAG1, VERSION); in handleChannel() 650 new String[] {Integer.toString(VERSION)}, in checkVersion() argument 671 if (version != VERSION) { in checkVersion()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | PeriodicJobService.java | 26 import android.os.Build.VERSION; 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberBackupAgent.java | 54 private static final int VERSION = 1; field in BlockedNumberBackupAgent 96 int version = VERSION; in readState() 134 dataOutputStream.writeInt(VERSION); in addToBackup() 192 dataOutputStream.writeInt(VERSION); in writeNewState()
|
/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/Dialer/java/com/android/dialer/app/voicemail/ |
D | LegacyVoicemailNotificationReceiver.java | 64 + Build.VERSION.SDK_INT in onReceive() 66 + Build.VERSION.PREVIEW_SDK_INT in onReceive() 68 + Build.VERSION.RELEASE); in onReceive()
|
/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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 34 static final boolean ATLEAST_OREO = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O; 35 static final boolean ATLEAST_P = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P; 320 user, Build.VERSION.SDK_INT); in makeDefaultIcon() 325 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O in getFullResDefaultActivityIcon()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | Utils.java | 133 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN; in isRunningJellybeanOrLater() 137 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1; in isRunningJBMR1OrLater() 141 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; in isRunningKitkatOrLater() 145 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in isRunningLOrLater() 149 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.N; in isRunningNOrLater() 1022 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in traceBeginSection() 1034 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in traceEndSection()
|
/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/compat/ |
D | SdkVersionOverride.java | 19 import android.os.Build.VERSION; 43 return ALLOW_OVERRIDE_VERSION ? overrideVersion : VERSION.SDK_INT; in getSdkVersion()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 112 return Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP; in isPreL() 120 final int sdkInt = Build.VERSION.SDK_INT; in isLOrLMR1() 128 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in isLOrLater() 135 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1; in isLMR1OrLater() 142 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M; in isMOrLater()
|