/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | ApiHelper.java | 46 public static final boolean AT_LEAST_16 = Build.VERSION.SDK_INT >= 16; 49 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; 52 Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; 64 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; 67 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; 70 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; 80 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; 83 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1; 86 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; 89 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/Virtualization/libs/apkverify/tests/ |
D | apkverify_test.rs | 33 const SDK_INT: u32 = 31; constant 71 let res = verify("tests/data/v2-only-truncated-cd.apk", SDK_INT); in test_verify_truncated_cd() 89 let res = verify(format!("tests/data/v3-only-with-dsa-sha256-{}.apk", key_name), SDK_INT); in apks_signed_with_v3_dsa_sha256_are_not_supported() 168 let res = verify(path, SDK_INT); in test_verify_v3_sig_does_not_verify() 177 let res = verify("tests/data/v3-only-with-rsa-pkcs1-sha512-8192-digest-mismatch.apk", SDK_INT); in test_verify_v3_digest_mismatch() 186 verify("tests/data/v3-only-with-ecdsa-sha512-p384-wrong-apk-sig-block-magic.apk", SDK_INT); in test_verify_v3_wrong_apk_sig_block_magic() 196 SDK_INT, in test_verify_v3_apk_sig_block_size_mismatch() 208 let res = verify("tests/data/v3-only-cert-and-public-key-mismatch.apk", SDK_INT); in test_verify_v3_cert_and_public_key_mismatch() 216 let res = verify("tests/data/v3-only-empty.apk", SDK_INT); in test_verify_v3_empty() 224 let res = verify("tests/data/v3-only-no-certs-in-sig.apk", SDK_INT); in test_verify_v3_no_certs_in_sig() [all …]
|
/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/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 135 expectThat(Car.isApiAndPlatformVersionAtLeast(apiVersionMajorInt, Build.VERSION.SDK_INT)) in testApiVersion_deprecated() 138 apiVersionMinorInt, Build.VERSION.SDK_INT)).isTrue(); in testApiVersion_deprecated() 143 Build.VERSION.SDK_INT + 1)).isFalse(); in testApiVersion_deprecated() 145 apiVersionMinorInt, Build.VERSION.SDK_INT + 1)).isFalse(); in testApiVersion_deprecated() 154 assertThat(carVersion.getMajorVersion()).isAtLeast(Build.VERSION.SDK_INT); in testApiVersion_car() 165 CODENAME_REL.equals(Build.VERSION.CODENAME) ? Build.VERSION.SDK_INT in testApiVersion_platform()
|
/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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | MeasurementHttpClientTest.java | 100 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); in testOpenAndSetupConnectionDefaultTimeoutValues_success() 112 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader() 136 Assume.assumeTrue(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU); in testSetup_ForComputeFromMappingsFlagTrueAndExtServices_SetsCorrectHeader() 160 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); 184 Assume.assumeTrue(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU); in testSetup_ForComputeFromMappingsAndVersionAsStartRangeExtS_SetsCorrectHeader() 209 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); 233 Assume.assumeTrue(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU); in testSetup_ForComputeFromMappingsAndVersionAsEndRangeExtS_SetsCorrectHeader() 257 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); 281 Assume.assumeTrue(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU); in testSetup_ForComputeFromMappingsAndVersionNotInRangeExtS_SetsHeaderAsNotFound() 305 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU);
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | AppSearchAttributionSource.java | 89 if (VERSION.SDK_INT >= Build.VERSION_CODES.S && mAttributionSource != null) { in AppSearchAttributionSource() 133 if (VERSION.SDK_INT >= Build.VERSION_CODES.S) { in AppSearchAttributionSource() 138 if (VERSION.SDK_INT >= VERSION_CODES.UPSIDE_DOWN_CAKE) { in AppSearchAttributionSource() 187 if (VERSION.SDK_INT >= Build.VERSION_CODES.S) { in createAttributionSource() 215 if (VERSION.SDK_INT >= Build.VERSION_CODES.S) { in hashCode() 231 if (VERSION.SDK_INT >= Build.VERSION_CODES.S) { in equals()
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/ |
D | MeasurementClient.java | 48 (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) in MeasurementClient() 62 return Build.VERSION.SDK_INT > Build.VERSION_CODES.R in registerSource() 75 return Build.VERSION.SDK_INT > Build.VERSION_CODES.R in registerTrigger() 88 return Build.VERSION.SDK_INT > Build.VERSION_CODES.R in registerWebSource() 102 return Build.VERSION.SDK_INT > Build.VERSION_CODES.R in registerWebTrigger() 115 return Build.VERSION.SDK_INT > Build.VERSION_CODES.R in deleteRegistrations()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/ |
D | ModuleNetworkStackClient.java | 19 import static android.os.Build.VERSION.SDK_INT; 47 if (SDK_INT < Build.VERSION_CODES.R) { in getInstance() 50 "ModuleNetworkStackClient is not supported on API " + SDK_INT); in getInstance()
|
/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/services/Car/tests/carservice_unit_test/src/android/car/oem/ |
D | OemFocusUtils.java | 19 import static android.os.Build.VERSION.SDK_INT; 40 MEDIA_EMPTY_FLAG, SDK_INT); in getAudioFocusEntry()
|
/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 161 get() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | ForegroundCtsTestCase.java | 56 Log.d(TAG, "Not starting activity on device running " + Build.VERSION.SDK_INT); in makeTestProcessForeground() 66 Log.d(TAG, "Not stopping activity on device running " + Build.VERSION.SDK_INT); in shutdownForegroundActivity()
|
D | ProtectedSignalsManagerTest.java | 48 Assume.assumeTrue(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); in testAdSelectionManagerCtor_TPlus() 56 Assume.assumeTrue(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU); in testAdSelectionManagerCtor_SMinus()
|
/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/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/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/ |
D | UwbService.java | 38 .setSkipRangingCapabilitiesCheck(Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2) in onCreate() 40 Build.VERSION.SDK_INT <= Build.VERSION_CODES.TIRAMISU) in onCreate()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapRenderer.java | 33 boolean USE_HARDWARE_BITMAP = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P; 60 if (Build.VERSION.SDK_INT >= VERSION_CODES.O && source.getConfig() == Config.HARDWARE) { in createBitmap()
|
/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/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()
|