/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 126 if (SdkLevel.isAtLeastS()) { in assertNoRedaction() 155 if (SdkLevel.isAtLeastS()) { in testWifiInfoRedactNoRedactions() 208 if (SdkLevel.isAtLeastS()) { in assertLocationSensitiveRedaction() 236 if (SdkLevel.isAtLeastS()) { in testWifiInfoRedactLocationSensitiveInfo() 265 if (SdkLevel.isAtLeastS()) { in testWifiInfoRedactLocalMacAddressInfo() 285 assumeTrue(SdkLevel.isAtLeastS()); in testWifiInfoRedactNetworkSettingsInfo() 304 if (SdkLevel.isAtLeastS()) { in testWifiInfoRedactNetworkSettingsInfo() 344 assumeTrue(SdkLevel.isAtLeastS()); in testWifiInfoRedactLocationAndLocalMacAddressSensitiveInfo() 361 if (SdkLevel.isAtLeastS()) { in testWifiInfoRedactLocationAndLocalMacAddressSensitiveInfo() 372 assumeTrue(SdkLevel.isAtLeastS()); in testWifiInfoParcelWriteReadWithNullInfoElements() [all …]
|
D | WifiNetworkSuggestionTest.java | 204 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForOemPaidEnhancedOpenNetworkWithBssid() 232 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForOemPrivateEnhancedOpenNetworkWithBssid() 318 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi() 354 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 393 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts() 466 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi() 537 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi() 590 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch() 826 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderWithBothWpa3PasphraseAndEnterprise() 900 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSuggestionBuilderWithBothEnterpriseAndPasspointConfig() [all …]
|
D | SoftApConfigurationTest.java | 89 if (SdkLevel.isAtLeastS()) { in testBasicSettings() 151 if (SdkLevel.isAtLeastS()) { in testWpa2WithAllFieldCustomized() 171 if (SdkLevel.isAtLeastS()) { in testWpa2WithAllFieldCustomized() 391 assumeTrue(SdkLevel.isAtLeastS()); in testDualBands() 405 assumeTrue(SdkLevel.isAtLeastS()); in testDualChannels() 439 assumeTrue(SdkLevel.isAtLeastS()); in testInvalidBandWhenSetBands() 480 assumeTrue(SdkLevel.isAtLeastS()); in testInvalidConfigWhenSetChannels() 541 assumeTrue(SdkLevel.isAtLeastS()); in testInvalidConfigWhenSet60GhzChannels()
|
D | WifiNetworkSpecifierTest.java | 185 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi() 220 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 258 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts() 363 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi() 398 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi() 622 assumeTrue(SdkLevel.isAtLeastS()); in testWifiNetworkSpecifierBuilderWithBothWpa3PasphraseAndEnterprise() 881 if (SdkLevel.isAtLeastS()) { in testRedact()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreReportTest.java | 242 if (SdkLevel.isAtLeastS()) { in verifySentNetworkScore() 264 if (SdkLevel.isAtLeastS()) { in verifySentAnyNetworkScore() 294 assumeTrue(SdkLevel.isAtLeastS()); in mbbNetworkForceKeepUp() 329 assumeTrue(SdkLevel.isAtLeastS()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 386 assumeTrue(SdkLevel.isAtLeastS()); in testExternalScorerWhileLingering_sendLingeringScore() 507 if (SdkLevel.isAtLeastS()) { in giveUpOnBadRssiWhenDataIsNotMoving() 923 assumeFalse(SdkLevel.isAtLeastS()); in testFrameworkGetsUpdatesScore() 938 if (SdkLevel.isAtLeastS()) { in testFrameworkGetsUpdatesScore() 950 if (SdkLevel.isAtLeastS()) { in testFrameworkGetsUpdatesScore() 963 if (SdkLevel.isAtLeastS()) { in testFrameworkGetsUpdatesScore() [all …]
|
D | SoftApStoreDataTest.java | 339 if (SdkLevel.isAtLeastS()) { in serializeSoftAp() 350 if (SdkLevel.isAtLeastS()) { in serializeSoftAp() 359 if (SdkLevel.isAtLeastS()) { in serializeSoftAp() 373 if (SdkLevel.isAtLeastS()) { in deserializeSoftAp() 389 if (SdkLevel.isAtLeastS()) { in deserializeSoftAp() 402 if (SdkLevel.isAtLeastS()) { in deserializeSoftAp() 682 if (SdkLevel.isAtLeastS()) { in deserializeSoftApWithAllConfigInR() 695 assumeTrue(SdkLevel.isAtLeastS()); in deserializeSoftApWithAllConfigInSExceptUserConfiguration()
|
D | WifiNativeTest.java | 729 assumeTrue(SdkLevel.isAtLeastS()); in testStartHalUpdatesCoexUnsafeChannels() 774 assumeFalse(SdkLevel.isAtLeastS()); in testScan() 792 assumeTrue(SdkLevel.isAtLeastS()); in testScanWithBundle() 974 assumeTrue(SdkLevel.isAtLeastS()); in testSetCoexUnsafeChannels() 1265 assumeTrue(SdkLevel.isAtLeastS()); in testCountryCodeChangedListener() 1284 if (SdkLevel.isAtLeastS()) { in testSetStaCountryCodeSuccessful() 1296 if (SdkLevel.isAtLeastS()) { in testSetStaCountryCodeFailure() 1309 if (SdkLevel.isAtLeastS()) { in testSetApCountryCodeSuccessful() 1321 if (SdkLevel.isAtLeastS()) { in testSetApCountryCodeFailure() 1334 if (SdkLevel.isAtLeastS()) { in testSetChipCountryCodeSuccessful() [all …]
|
D | DppMetricsTest.java | 190 assumeTrue(SdkLevel.isAtLeastS()); in testUpdateDppEnrolleeResponderRequests() 235 assumeTrue(SdkLevel.isAtLeastS()); in testUpdateDppEnrolleeSuccess() 500 assumeTrue(SdkLevel.isAtLeastS()); in testUpdateDppFailureUriGeneration() 520 assumeTrue(SdkLevel.isAtLeastS()); in testUpdateDppFailureEnrolleeFailedToScanNetworkChannel()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 51 import static com.android.modules.utils.build.SdkLevel.isAtLeastS; 242 if (isAtLeastS()) { in testSetUids() 315 if (isAtLeastS()) { in testParcelNetworkCapabilities() 344 if (isAtLeastS()) { in testParcelSane() 366 assumeTrue(isAtLeastS()); in testNetworkCapabilitiesCopyWithNoRedactions() 380 assumeTrue(isAtLeastS()); in testNetworkCapabilitiesCopyWithoutLocationSensitiveFields() 397 if (isAtLeastS()) { in testOemPaid() 519 if (isAtLeastS()) { in testEqualsNetCapabilities() 584 if (isAtLeastS()) { in testCombineCapabilities() 592 if (isAtLeastS()) { in testCombineCapabilities() [all …]
|
D | NetworkAgentConfigTest.kt | 22 import com.android.modules.utils.build.SdkLevel.isAtLeastS 47 if (isAtLeastS()) { in testParcelNetworkAgentConfig() 51 if (isAtLeastS()) { in testParcelNetworkAgentConfig() 70 if (isAtLeastS()) { in testBuilder() 84 if (isAtLeastS()) { in testBuilder()
|
D | CaptivePortalDataTest.kt | 51 if (SdkLevel.isAtLeastS()) { in <lambda>() 60 if (SdkLevel.isAtLeastS()) { in <lambda>() 74 val fieldCount = if (SdkLevel.isAtLeastS()) 10 else 7 in makeBuilder() 96 if (SdkLevel.isAtLeastS()) { in testEquals()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTest.java | 50 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeDisable_actionBarColorShouldBeLight() 69 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeDisable_navigationBarColorShouldBeLight() 76 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeDisable_windowBackgroundColorShouldBeLight() 83 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeDisable_statusBarColorShouldBeLight() 90 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in appCompatThemeNightModeDisable_colorPrimaryShouldBeThemeable()
|
D | DarkThemeUiTest.java | 53 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_actionBarColorShouldBeDark() 79 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_windowBackgroundColorShouldBeDark() 87 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_statusBarColorShouldBeDark() 95 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in appCompatThemeNightModeEnable_colorPrimaryShouldBeThemeable()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApStoreData.java | 126 if (!SdkLevel.isAtLeastS()) { in serializeData() 155 if (SdkLevel.isAtLeastS()) { in serializeData() 252 if (SdkLevel.isAtLeastS()) { in deserializeData() 258 if (SdkLevel.isAtLeastS()) { in deserializeData() 263 if (SdkLevel.isAtLeastS()) { in deserializeData() 268 if (SdkLevel.isAtLeastS()) { in deserializeData() 296 if (SdkLevel.isAtLeastS()) { in deserializeData()
|
D | WifiApConfigStore.java | 179 if (SdkLevel.isAtLeastS() && ApConfigUtil.isBridgedModeSupported(mContext) in upgradeSoftApConfiguration() 184 if (SdkLevel.isAtLeastS()) { in upgradeSoftApConfiguration() 248 if (SdkLevel.isAtLeastS() && config.getBands().length > 1) { in resetToDefaultForUnsupportedConfig() 288 if (SdkLevel.isAtLeastS()) { in resetToDefaultForUnsupportedConfig() 303 if (bands.length > 1 && SdkLevel.isAtLeastS()) { in sanitizePersistentApConfig() 362 if (SdkLevel.isAtLeastS()) { in getDefaultApConfiguration() 372 if (SdkLevel.isAtLeastS()) { in getDefaultApConfiguration() 427 if (SdkLevel.isAtLeastS()) { in generateLocalOnlyHotspotConfig() 576 if (SdkLevel.isAtLeastS()) { in validateApWifiConfiguration()
|
D | WifiShellCommand.java | 681 if (!SdkLevel.isAtLeastS()) { in onCommand() 690 if (!SdkLevel.isAtLeastS()) { in onCommand() 711 || (SdkLevel.isAtLeastS() in onCommand() 719 if (SdkLevel.isAtLeastS()) { in onCommand() 753 || (SdkLevel.isAtLeastS() in onCommand() 849 if (!SdkLevel.isAtLeastS()) { in onCommand() 856 if (!SdkLevel.isAtLeastS()) { in onCommand() 863 if (!SdkLevel.isAtLeastS()) { in onCommand() 1060 if (SdkLevel.isAtLeastS()) { in buildWifiConfiguration() 1113 if (SdkLevel.isAtLeastS()) { in buildSoftApConfiguration() [all …]
|
D | ExternalScoreUpdateObserverProxy.java | 96 if (!SdkLevel.isAtLeastS()) { in notifyStatusUpdate() 110 if (!SdkLevel.isAtLeastS()) { in requestNudOperation() 124 if (!SdkLevel.isAtLeastS()) { in blocklistCurrentBssid()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SoftApConfiguration.java | 605 if (!SdkLevel.isAtLeastS()) { in getChannels() 706 if (!SdkLevel.isAtLeastS()) { in getMacRandomizationSetting() 729 if (!SdkLevel.isAtLeastS()) { in isBridgedModeOpportunisticShutdownEnabled() 761 if (!SdkLevel.isAtLeastS()) { in isIeee80211axEnabled() 780 if (!SdkLevel.isAtLeastS()) { in isUserConfiguration() 1109 if (!SdkLevel.isAtLeastS()) { in setBands() 1216 if (!SdkLevel.isAtLeastS()) { in setChannels() 1438 if (!SdkLevel.isAtLeastS()) { in setMacRandomizationSetting() 1479 if (!SdkLevel.isAtLeastS()) { in setBridgedModeOpportunisticShutdownEnabled() 1507 if (!SdkLevel.isAtLeastS()) { in setIeee80211axEnabled()
|
D | WifiNetworkSuggestion.java | 514 if (!SdkLevel.isAtLeastS()) { in setSubscriptionId() 798 if (!SdkLevel.isAtLeastS()) { in setOemPaid() 841 if (!SdkLevel.isAtLeastS()) { in setOemPrivate() 874 if (!SdkLevel.isAtLeastS()) { in setCarrierMerged() 897 if (!SdkLevel.isAtLeastS()) { in setIsWpa3SaeH2eOnlyModeEnabled() 1441 if (!SdkLevel.isAtLeastS()) { in isOemPaid() 1454 if (!SdkLevel.isAtLeastS()) { in isOemPrivate() 1465 if (!SdkLevel.isAtLeastS()) { in isCarrierMerged() 1512 if (!SdkLevel.isAtLeastS()) { in getSubscriptionId()
|
D | WifiInfo.java | 929 if (!SdkLevel.isAtLeastS()) { in isOemPaid() 948 if (!SdkLevel.isAtLeastS()) { in isOemPrivate() 969 if (!SdkLevel.isAtLeastS()) { in isCarrierMerged() 1059 if (!SdkLevel.isAtLeastS()) { in getSubscriptionId() 1279 if (SdkLevel.isAtLeastS()) { in writeToParcel() 1334 if (SdkLevel.isAtLeastS()) { 1420 if (!SdkLevel.isAtLeastS()) { in isPrimary() 1436 if (!SdkLevel.isAtLeastS()) return false; in equals() 1487 if (!SdkLevel.isAtLeastS()) return System.identityHashCode(this); in hashCode()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 372 if (mDeps.isAtLeastS()) { in updateStatsEntry() 385 if (mDeps.isAtLeastS()) { in updateStatsEntriesAndWaitForUpdate() 405 if (mDeps.isAtLeastS()) { in updateStatsEntryForTetherOffloadGetAndClearStats() 413 if (mDeps.isAtLeastS()) { in clearStatsInvocations() 429 if (mDeps.isAtLeastS()) { in verifyTetherOffloadGetStats() 437 if (mDeps.isAtLeastS()) { in verifyNeverTetherOffloadGetStats() 446 if (!mDeps.isAtLeastS()) return; in verifyStartUpstreamIpv6Forwarding() 457 if (!mDeps.isAtLeastS()) return; in verifyStopUpstreamIpv6Forwarding() 463 if (!mDeps.isAtLeastS()) return; in verifyNoUpstreamIpv6ForwardingChange() 477 if (mDeps.isAtLeastS()) { in verifyTetherOffloadRuleAdd() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | AdminRestrictedPermissionsUtils.java | 47 if (SdkLevel.isAtLeastS()) { 67 if (!SdkLevel.isAtLeastS()) { in mayAdminGrantPermission() 89 if (!SdkLevel.isAtLeastS()) { in mayAdminGrantPermission()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 313 if (SdkLevel.isAtLeastS()) { in getUnsafeChannelFreqsFromCoex() 411 if (SdkLevel.isAtLeastS()) { in chooseApChannel() 450 if (SdkLevel.isAtLeastS()) { in chooseApChannel() 493 if (SdkLevel.isAtLeastS() in removeUnavailableBands() 711 return SdkLevel.isAtLeastS() && context.getResources().getBoolean( in isBridgedModeSupported() 836 || (SdkLevel.isAtLeastS() && !currentConfig.getChannels().toString() in checkConfigurationChangeNeedToRestart() 867 if (config.getBands().length > 1 && SdkLevel.isAtLeastS()) { in checkSupportAllConfiguration()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 300 public boolean isAtLeastS() { in isAtLeastS() method in BpfCoordinator.Dependencies 301 return SdkLevel.isAtLeastS(); in isAtLeastS() 306 if (!isAtLeastS()) return null; in getBpfDownstream4Map() 318 if (!isAtLeastS()) return null; in getBpfUpstream4Map() 330 if (!isAtLeastS()) return null; in getBpfDownstream6Map() 342 if (!isAtLeastS()) return null; in getBpfUpstream6Map() 354 if (!isAtLeastS()) return null; in getBpfStatsMap() 366 if (!isAtLeastS()) return null; in getBpfLimitMap() 378 if (!isAtLeastS()) return null; in getBpfDevMap() 496 if (!isUsingBpf() || !mDeps.isAtLeastS()) return; in startMonitoring() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | VersionUtils.java | 33 return isAtLeastS() // Keep reference to isAtLeastS() so it's not stripped from test apk in isAtLeastR() 41 public static boolean isAtLeastS() { in isAtLeastS() method in VersionUtils
|