Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt53 import com.android.modules.utils.build.SdkLevel.isAtLeastR
240 assumeTrue(isAtLeastR()) in testConnectedNotification_WithSsid()
257 assumeTrue(isAtLeastR()) in testConnectedVenueInfoNotification()
275 assumeTrue(isAtLeastR()) in testConnectedVenueInfoNotification_VenueInfoDisabled()
294 assumeTrue(isAtLeastR()) in testVenueInfoNotification()
312 assumeTrue(isAtLeastR()) in testVenueInfoNotification_VenueInfoDisabled()
325 assumeTrue(isAtLeastR()) in testNonDefaultVenueInfoNotification()
336 assumeTrue(isAtLeastR()) in testEmptyCaptivePortalDataVenueInfoNotification()
347 assumeTrue(isAtLeastR()) in testUnvalidatedNetworkVenueInfoNotification()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DVersionUtils.java32 public static boolean isAtLeastR() { in isAtLeastR() method in VersionUtils
34 || SdkLevel.isAtLeastR(); in isAtLeastR()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkRequestShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
42 if (!isAtLeastR()) { in newInstance()
DNetworkShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
43 if (!isAtLeastR()) { in newInstance()
DSocketUtilsShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
44 if (!isAtLeastR()) { in newInstance()
DVpnManagerShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
46 if (!isAtLeastR()) { in newInstance()
DSettingsShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
43 if (!isAtLeastR()) { in newInstance()
DConnectivityManagerShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
48 if (!isAtLeastR()) { in newInstance()
DNetworkInformationShimImpl.java19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR;
52 if (!isAtLeastR()) { in newInstance()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java51 if (VersionUtils.isAtLeastR()) { in testNoRenameSupport_SingleSelection()
62 if (VersionUtils.isAtLeastR()) { in testOneHasRenameSupport_MultipleSelection()
74 if (VersionUtils.isAtLeastR()) { in testRenameDisabled_MultipleSelection()
DPermissionsTest.java42 if (VersionUtils.isAtLeastR()) { in testPermissionGranted_interactAcrossUsersOnR()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
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()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/
DAndroidExtendedMockitoMocker.java61 doReturn(isIt).when(SdkLevel::isAtLeastR); in mockIsAtLeastR()
82 doReturn(true).when(SdkLevel::isAtLeastR); in mockSdkLevelR()
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp302 const bool isAtLeastR = getApiLevel() >= 30; in validate() local
304 (isAtLeastR ? 3 : -1)); in validate()
306 (isAtLeastR ? 100 : -1)); in validate()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestNetworkTracker.kt32 import com.android.modules.utils.build.SdkLevel.isAtLeastR
140 assertTrue(isAtLeastR(), "Cannot specify TestNetwork LinkProperties before R")
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DShimUtils.java49 public static boolean isAtLeastR() { in isAtLeastR() method in ShimUtils
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java149 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild()
176 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
DDirectoryAddonsAdapterPrivateSpaceTest.java175 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild()
202 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DConfig.java36 if (VersionUtils.isAtLeastR() && root != null && root.isExternalStorage()) { in managedModeEnabled()
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java185 assumeTrue(ShimUtils.isAtLeastR()); in testGetConnectionOwnerUid()
200 assumeTrue(ShimUtils.isAtLeastR()); in testB141603906()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/fragments/
DAdServicesSettingsMeasurementFragment.java39 if (SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS()) { in onCreateView()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DCaptivePortalTest.kt47 import com.android.modules.utils.build.SdkLevel.isAtLeastR
205 if (isAtLeastR()) NETWORK_SETTINGS in testCaptivePortalIsNotDefaultNetwork()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRuleTest.java91 expect.withMessage("rule.atLeastR()").that(rule.isAtLeastR()).isTrue(); in testRuleIsAtLeastMethods_deviceIsR()
102 expect.withMessage("rule.atLeastR()").that(rule.isAtLeastR()).isTrue(); in testRuleIsAtLeastMethods_deviceIsS()
113 expect.withMessage("rule.atLeastR()").that(rule.isAtLeastR()).isTrue(); in testRuleIsAtLeastMethods_deviceIsS2()
124 expect.withMessage("rule.atLeastR()").that(rule.isAtLeastR()).isTrue(); in testRuleIsAtLeastMethods_deviceIsT()
135 expect.withMessage("rule.atLeastR()").that(rule.isAtLeastR()).isTrue(); in testRuleIsAtLeastMethods_deviceIsU()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/ui/
DNotificationLandingPage.java74 if( SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS() ) { in testNotificationLandingPage()
DUiSettingsMainPage.java75 if( SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS() ) { in testSettingsPage()

12