Home
last modified time | relevance | path

Searched refs:isAtLeastR (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/packages/modules/Connectivity/tests/common/java/android/net/
H A DRouteInfoTest.java203 if (isAtLeastR()) { in testHostAndDefaultRoutes()
213 if (isAtLeastR()) { in testHostAndDefaultRoutes()
223 if (isAtLeastR()) { in testHostAndDefaultRoutes()
233 if (isAtLeastR()) { in testHostAndDefaultRoutes()
243 if (isAtLeastR()) { in testHostAndDefaultRoutes()
253 if (isAtLeastR()) { in testHostAndDefaultRoutes()
263 if (isAtLeastR()) { in testHostAndDefaultRoutes()
273 if (isAtLeastR()) { in testHostAndDefaultRoutes()
283 if (isAtLeastR()) { in testHostAndDefaultRoutes()
293 if (isAtLeastR()) { in testHostAndDefaultRoutes()
[all …]
H A DNetworkCapabilitiesTest.java50 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
318 if (isAtLeastR()) { in testParcelNetworkCapabilities()
333 if (isAtLeastR()) { in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
600 if (isAtLeastR()) { in testCombineCapabilities()
797 if (isAtLeastR()) { in testSet()
804 if (isAtLeastR()) { in testSet()
H A DLinkPropertiesTest.java104 private static boolean isAtLeastR() { in isAtLeastR() method in LinkPropertiesTest
106 return Build.VERSION.SDK_INT > Build.VERSION_CODES.Q || BuildCompat.isAtLeastR(); in isAtLeastR()
129 if (isAtLeastR()) { in checkEmpty()
156 if (isAtLeastR()) { in makeTestObject()
200 if (isAtLeastR()) { in assertLinkPropertiesEqual()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DRenameDocumentUiTest.java52 if (VersionUtils.isAtLeastR()) { in testNoRenameSupport_SingleSelection()
63 if (VersionUtils.isAtLeastR()) { in testOneHasRenameSupport_MultipleSelection()
75 if (VersionUtils.isAtLeastR()) { in testRenameDisabled_MultipleSelection()
H A DPermissionsTest.java42 if (VersionUtils.isAtLeastR()) { in testPermissionGranted_interactAcrossUsersOnR()
H A DPickActivityTest.java92 if (VersionUtils.isAtLeastR()) { in testOnDocumentPicked_otherUser()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
H A DDocumentInfoTest.java164 if (VersionUtils.isAtLeastR()) { in testGetTreeDocumentUri_otherUser_shouldHaveDifferentUri()
176 if (VersionUtils.isAtLeastR()) { in testGetTreeDocumentUri_otherUser_sameHostAndPath()
191 if (VersionUtils.isAtLeastR()) { in testGetTreeDocumentUri_otherUser_userInfo()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/util/
H A DVersionUtils.java32 public static boolean isAtLeastR() { in isAtLeastR() method in VersionUtils
H A DCrossProfileUtils.java39 if (VersionUtils.isAtLeastR()) { in isCrossProfileIntentForwarderActivity()
/aosp12/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
H A DShimUtils.java49 public static boolean isAtLeastR() { in isAtLeastR() method in ShimUtils
/aosp12/frameworks/libs/modules-utils/java/com/android/modules/utils/build/
H A DSdkLevel.java36 public static boolean isAtLeastR() { in isAtLeastR() method in SdkLevel
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A DConfig.java36 if (VersionUtils.isAtLeastR() && root != null && root.isExternalStorage()) { in managedModeEnabled()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
H A DDirectoryAddonsAdapterTest.java143 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild()
170 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
H A DInetDiagSocketIntegrationTest.java185 assumeTrue(ShimUtils.isAtLeastR()); in testGetConnectionOwnerUid()
200 assumeTrue(ShimUtils.isAtLeastR()); in testB141603906()
/aosp12/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java270 return isAtLeastR() in isDismissPortalEnabled()
275 private boolean isAtLeastR() { in isAtLeastR() method in CaptivePortalLoginActivity
699 if (hasVpnNetwork() || (isAtLeastR() && isAlwaysOnVpnEnabled())) { in getVpnMsgOrLinkToBrowser()
1004 if (!isAtLeastR()) { in getVenueFriendlyName()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DUserIdManager.java216 return VersionUtils.isAtLeastR() in isDeviceSupported()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
H A DAudioGroupTest.java69 mGroup = Build.VERSION.SDK_INT > Build.VERSION_CODES.Q || BuildCompat.isAtLeastR() in setUp()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
H A DSearchChipViewManagerTest.java98 if (VersionUtils.isAtLeastR()) { in testUpdateChips_documentsFilterOnlyAvailableAboveR()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DUserIdManagerTest.java143 if (VersionUtils.isAtLeastR()) { in testGetUserIds_deviceWithoutPermission()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DShared.java178 if (!VersionUtils.isAtLeastR()) { in shouldRestrictStorageAccessFramework()
H A DDocumentInfo.java313 if (VersionUtils.isAtLeastR()) { in isBlockedFromTree()
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
H A DNetworkMonitorTest.java1013 if (ShimUtils.isAtLeastR()) { in makeCellIdentityGsm()
1028 if (ShimUtils.isAtLeastR()) { in makeCellIdentityLte()
2411 assumeTrue(ShimUtils.isAtLeastR());
2418 assumeTrue(ShimUtils.isAtLeastR());
2425 assumeTrue(ShimUtils.isAtLeastR());
2431 assumeFalse(ShimUtils.isAtLeastR());
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DAppsRowManagerTest.java173 if (!VersionUtils.isAtLeastR()) { in testUpdateView_showSelectedUserItems_otherUser()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
H A DSearchChipViewManager.java101 if (VersionUtils.isAtLeastR()) {
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DPickActivity.java269 } else if (Features.CROSS_PROFILE_TABS && VersionUtils.isAtLeastR()) { in includeState()

12