/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 53 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/ |
D | VersionUtils.java | 32 public static boolean isAtLeastR() { in isAtLeastR() method in VersionUtils 34 || SdkLevel.isAtLeastR(); in isAtLeastR()
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | NetworkRequestShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 42 if (!isAtLeastR()) { in newInstance()
|
D | NetworkShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 43 if (!isAtLeastR()) { in newInstance()
|
D | SocketUtilsShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 44 if (!isAtLeastR()) { in newInstance()
|
D | VpnManagerShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 46 if (!isAtLeastR()) { in newInstance()
|
D | SettingsShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 43 if (!isAtLeastR()) { in newInstance()
|
D | ConnectivityManagerShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 48 if (!isAtLeastR()) { in newInstance()
|
D | NetworkInformationShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastR; 52 if (!isAtLeastR()) { in newInstance()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | RenameDocumentUiTest.java | 51 if (VersionUtils.isAtLeastR()) { in testNoRenameSupport_SingleSelection() 62 if (VersionUtils.isAtLeastR()) { in testOneHasRenameSupport_MultipleSelection() 74 if (VersionUtils.isAtLeastR()) { in testRenameDisabled_MultipleSelection()
|
D | PermissionsTest.java | 42 if (VersionUtils.isAtLeastR()) { in testPermissionGranted_interactAcrossUsersOnR()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | DocumentInfoTest.java | 164 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/ |
D | AndroidExtendedMockitoMocker.java | 61 doReturn(isIt).when(SdkLevel::isAtLeastR); in mockIsAtLeastR() 82 doReturn(true).when(SdkLevel::isAtLeastR); in mockSdkLevelR()
|
/packages/modules/DnsResolver/ |
D | DnsTlsTransport.cpp | 302 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/ |
D | TestNetworkTracker.kt | 32 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/ |
D | ShimUtils.java | 49 public static boolean isAtLeastR() { in isAtLeastR() method in ShimUtils
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapterTest.java | 149 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild() 176 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
|
D | DirectoryAddonsAdapterPrivateSpaceTest.java | 175 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild() 202 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | Config.java | 36 if (VersionUtils.isAtLeastR() && root != null && root.isExternalStorage()) { in managedModeEnabled()
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 185 assumeTrue(ShimUtils.isAtLeastR()); in testGetConnectionOwnerUid() 200 assumeTrue(ShimUtils.isAtLeastR()); in testB141603906()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/fragments/ |
D | AdServicesSettingsMeasurementFragment.java | 39 if (SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS()) { in onCreateView()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | CaptivePortalTest.kt | 47 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/ |
D | AbstractSdkLevelSupportedRuleTest.java | 91 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/ |
D | NotificationLandingPage.java | 74 if( SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS() ) { in testNotificationLandingPage()
|
D | UiSettingsMainPage.java | 75 if( SdkLevel.isAtLeastR() && !SdkLevel.isAtLeastS() ) { in testSettingsPage()
|