/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigInvalidTest.kt | 337 SdkLevel.isAtLeastU() in parameters() 345 SdkLevel.isAtLeastU() in parameters() 378 SdkLevel.isAtLeastU() in parameters() 386 SdkLevel.isAtLeastU() in parameters() 435 SdkLevel.isAtLeastU() in parameters() 454 SdkLevel.isAtLeastU() in parameters() 461 !SdkLevel.isAtLeastU() in parameters() 468 SdkLevel.isAtLeastU() in parameters()
|
D | ParserConfigValidTest.kt | 75 if (SdkLevel.isAtLeastU()) { in validConfig_matchesExpected() 102 if (SdkLevel.isAtLeastU()) { in validConfig_matchesExpected() 167 .apply { if (SdkLevel.isAtLeastU()) setPackageName("package") } in validConfig_matchesExpected() 202 if (SdkLevel.isAtLeastU()) { in validConfig_matchesExpected() 252 if (SdkLevel.isAtLeastU()) { in validConfig_matchesExpected()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetySourceIssue.java | 234 if (SdkLevel.isAtLeastU()) { 339 if (!SdkLevel.isAtLeastU()) { in getAttributionTitle() 421 if (!SdkLevel.isAtLeastU()) { in getCustomNotification() 453 if (!SdkLevel.isAtLeastU()) { in getNotificationBehavior() 487 if (!SdkLevel.isAtLeastU()) { in getDeduplicationId() 511 if (!SdkLevel.isAtLeastU()) { in getIssueActionability() 534 if (SdkLevel.isAtLeastU()) { in writeToParcel() 644 if (SdkLevel.isAtLeastU()) { 746 if (!SdkLevel.isAtLeastU()) { in getConfirmationDialogDetails() 765 if (SdkLevel.isAtLeastU()) { in writeToParcel() [all …]
|
D | SafetySourceData.java | 169 if (SdkLevel.isAtLeastU()) { 218 if (!SdkLevel.isAtLeastU()) { in getExtras() 234 if (SdkLevel.isAtLeastU()) { in writeToParcel() 277 if (!SdkLevel.isAtLeastU()) { in Builder() 309 if (!SdkLevel.isAtLeastU()) { in setExtras() 324 if (!SdkLevel.isAtLeastU()) { in clearExtras()
|
D | SafetyCenterIssue.java | 105 if (SdkLevel.isAtLeastU()) { 191 if (!SdkLevel.isAtLeastU()) { in getAttributionTitle() 238 if (!SdkLevel.isAtLeastU()) { in getGroupId() 318 if (SdkLevel.isAtLeastU()) { in writeToParcel() 405 if (!SdkLevel.isAtLeastU()) { in setAttributionTitle() 462 if (!SdkLevel.isAtLeastU()) { in setGroupId() 510 if (SdkLevel.isAtLeastU()) { 601 if (!SdkLevel.isAtLeastU()) { in getConfirmationDialogDetails() 668 if (SdkLevel.isAtLeastU()) { in writeToParcel() 814 if (!SdkLevel.isAtLeastU()) { in Builder() [all …]
|
D | SafetyCenterData.java | 78 if (SdkLevel.isAtLeastU()) { 178 if (!SdkLevel.isAtLeastU()) { in getDismissedIssues() 194 if (!SdkLevel.isAtLeastU()) { in getExtras() 354 if (SdkLevel.isAtLeastU()) { in writeToParcel() 375 if (!SdkLevel.isAtLeastU()) { in Builder() 384 if (!SdkLevel.isAtLeastU()) { in Builder()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourcesGroupTest.kt | 49 if (SdkLevel.isAtLeastU()) { in getType_returnsType() 72 if (SdkLevel.isAtLeastU()) { in getId_returnsId() 90 if (SdkLevel.isAtLeastU()) { in getTitleResId_returnsTitleResId() 108 if (SdkLevel.isAtLeastU()) { in getSummaryResId_returnsSummaryResId() 132 if (SdkLevel.isAtLeastU()) { in getStatelessIconType_returnsStatelessIconType() 165 if (SdkLevel.isAtLeastU()) { in getSafetySources_returnsSafetySources() 292 if (SdkLevel.isAtLeastU()) { in describeContents_returns0() 309 if (SdkLevel.isAtLeastU()) { in parcelRoundTrip_recreatesEqual() 324 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 345 .apply { if (SdkLevel.isAtLeastU()) add(STATEFUL_ALL_OPTIONAL) } in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
D | SafetySourceTest.kt | 367 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 390 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 423 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 449 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 475 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 501 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 527 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 553 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 587 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 613 if (SdkLevel.isAtLeastU()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
/packages/modules/Permission/framework-s/java/android/safetycenter/config/ |
D | SafetySource.java | 180 if (SdkLevel.isAtLeastU()) { 308 if (!SdkLevel.isAtLeastU()) { in getOptionalPackageName() 531 if (!SdkLevel.isAtLeastU()) { in areNotificationsAllowed() 547 if (!SdkLevel.isAtLeastU()) { in getDeduplicationGroup() 570 if (!SdkLevel.isAtLeastU()) { in getPackageCertificateHashes() 683 if (SdkLevel.isAtLeastU()) { in writeToParcel() 722 if (!SdkLevel.isAtLeastU()) { in Builder() 966 if (!SdkLevel.isAtLeastU()) { in setNotificationsAllowed() 986 if (!SdkLevel.isAtLeastU()) { in setDeduplicationGroup() 1003 if (!SdkLevel.isAtLeastU()) { in addPackageCertificateHash() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | stats_util.h | 57 inline bool isAtLeastU() { in isAtLeastU() function 58 const static bool isAtLeastU = android::modules::sdklevel::IsAtLeastU(); in isAtLeastU() local 59 return isAtLeastU; in isAtLeastU()
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | UwbOemExtensionCallbackListener.java | 96 if (SdkLevel.isAtLeastU()) { in onSessionStatusNotificationReceived() 115 if (SdkLevel.isAtLeastU()) { in onDeviceStatusNotificationReceived() 137 if (SdkLevel.isAtLeastU()) { in onSessionConfigurationReceived() 170 if (SdkLevel.isAtLeastU()) { in onRangingReportReceived() 206 if (SdkLevel.isAtLeastU()) { in onCheckPointedTarget()
|
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | UwbOemExtensionCallbackListenerTest.java | 133 assumeTrue(SdkLevel.isAtLeastU()); in testOnSessionStatusNotificationReceived() 142 assumeTrue(SdkLevel.isAtLeastU()); in testOnDeviceStatusNotificationReceived() 151 assumeTrue(SdkLevel.isAtLeastU()); in testOnSessionConfigurationReceived() 163 assumeTrue(SdkLevel.isAtLeastU()); in testOnRangingReportReceived() 176 assumeTrue(SdkLevel.isAtLeastU()); in testOnCheckPointedTarget()
|
/packages/modules/DnsResolver/ |
D | util.h | 70 inline bool isAtLeastU() { in isAtLeastU() function 71 const static bool isAtLeastU = android::modules::sdklevel::IsAtLeastU(); in isAtLeastU() local 72 return isAtLeastU; in isAtLeastU()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | DiscoverySession.java | 291 if (!SdkLevel.isAtLeastU()) { in initiatePairingRequest() 331 if (!SdkLevel.isAtLeastU()) { in acceptPairingRequest() 361 if (!SdkLevel.isAtLeastU()) { in rejectPairingRequest() 392 if (!SdkLevel.isAtLeastU()) { in initiateBootstrappingRequest() 427 if (!SdkLevel.isAtLeastU()) { in suspend() 460 if (!SdkLevel.isAtLeastU()) { in resume()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestData.kt | 319 if (SdkLevel.isAtLeastU()) { in safetyCenterStatusOneAlert() 356 if (confirmationDialog && SdkLevel.isAtLeastU()) { in safetyCenterIssueRecommendation() 371 if (SdkLevel.isAtLeastU()) { in <lambda>() 413 if (SdkLevel.isAtLeastU()) { in safetyCenterIssueCritical() 510 if (SdkLevel.isAtLeastU()) { in entryId() 516 if (SdkLevel.isAtLeastU()) { in SafetyCenterData() 527 return if (SdkLevel.isAtLeastU()) { in SafetyCenterData() 541 if (SdkLevel.isAtLeastU()) { in SafetyCenterData()
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataOverrides.java | 30 if (SdkLevel.isAtLeastU()) { in copyDataToBuilderWithoutIssues() 39 if (SdkLevel.isAtLeastU()) { in copyStatusToBuilder() 52 if (SdkLevel.isAtLeastU()) { in copyIssueToBuilderWithoutActions()
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxManagerTest.java | 617 assumeTrue(SdkLevel.isAtLeastU()); in testSdkAndAppProcessImportanceIsAligned_AppIsBackgrounded() 633 assumeTrue(SdkLevel.isAtLeastU()); in testSdkAndAppProcessImportanceIsAligned_AppIsBackgroundedAndForegrounded() 647 assumeTrue(SdkLevel.isAtLeastU()); in testSDKCanNotStartSandboxActivityDirectlyByAction() 663 assumeTrue(SdkLevel.isAtLeastU()); in testSDKCanNotStartSandboxActivityDirectlyByComponent() 681 assumeTrue(SdkLevel.isAtLeastU()); in testSandboxProcessShouldBeRunningToHostTheSandboxActivity() 700 assumeTrue(SdkLevel.isAtLeastU()); in testStartSdkSandboxActivity() 716 assumeTrue(SdkLevel.isAtLeastU()); in testStartSdkSandboxActivityOnTopOfASandboxActivity() 741 assumeTrue(SdkLevel.isAtLeastU()); in testStartLocalActivityOnTopOfASandboxActivity() 770 assumeTrue(SdkLevel.isAtLeastU()); in testClientAppCanClearTopWhileOtherActivitiesOnTopIncludingSandboxActivities() 849 assumeTrue(SdkLevel.isAtLeastU()); in testBackNavigationControl() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 244 if (SdkLevel.isAtLeastU()) { in acquireWifiLockWithValidParamsShouldSucceed() 271 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in secondCallToAcquireWifiLockWithSameBinderShouldFail() 294 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in releaseWifiLockShouldSucceed() 303 eq(mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU() in releaseWifiLockShouldSucceed() 322 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in releaseLocksForOneCallerNotImpactOtherCallers() 366 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in checkForProperValueForGetStrongestLockMode() 374 assertEquals(mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU() in checkForProperValueForGetStrongestLockMode() 402 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in createMergedWorkSourceShouldSucceed() 468 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in testUpdateWifiLockWorkSourceCalledWithWorkSource() 494 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in testUpdateWifiLockWorkSourceCalledWithUID() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/ |
D | SafetyCenterSearchIndexablesProvider.kt | 78 SdkLevel.isAtLeastU() && in <lambda>() 101 if (SdkLevel.isAtLeastU()) { in <lambda>() 126 staticEntryGroupsAreRemovable = SdkLevel.isAtLeastU() in <lambda>() 259 SdkLevel.isAtLeastU() && in <lambda>() 292 if (!SdkLevel.isAtLeastU()) { in <lambda>() 363 if (!SdkLevel.isAtLeastU()) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | ContextCompat.java | 44 if (SdkLevel.isAtLeastU()) { in getDeviceId() 60 if (SdkLevel.isAtLeastU()) { in createDeviceContext()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/ |
D | FiraEncoderTest.java | 250 if (!SdkLevel.isAtLeastU()) { in setUp() 370 if (SdkLevel.isAtLeastU()) { in testFiraOpenSessionParams_useUwbsUciVersion() 455 if (!SdkLevel.isAtLeastU()) { in testFiraOpenSessionParamsProvisionedStsWithSessionKey() 513 if (!SdkLevel.isAtLeastU()) { in testFiraOpenSessionParamsProvisionedStsWithoutSessionKey() 572 if (!SdkLevel.isAtLeastU()) { in testFiraOpenSessionParamsDynamicControleeIndKey() 637 if (!SdkLevel.isAtLeastU()) { in testFiraOpenSessionParamsProvControleeIndKeyWithSessionkey() 700 if (!SdkLevel.isAtLeastU()) { in testFiraOpenSessionParamsProvControleeIndKeyWithoutSessionkey() 736 assumeTrue(SdkLevel.isAtLeastU()); in testFiraDlTdoaDtTagSession() 780 assumeTrue(SdkLevel.isAtLeastU()); in testFiraDlTdoaDtTagSession_2_0() 829 assumeTrue(SdkLevel.isAtLeastU()); in testFiraContentionbasedOpenSessionParams() [all …]
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/inference/ |
D | IsolatedModelServiceProvider.java | 41 String instanceName = SdkLevel.isAtLeastU() ? TRUSTED_PARTNER_APPS_SIP : null; in getModelService() 42 int bindFlag = SdkLevel.isAtLeastU() in getModelService()
|
/packages/modules/Bluetooth/android/apishim/34/com/android/bluetooth/apishim/ |
D | BluetoothCallShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastU; 36 if (!isAtLeastU()) { in newInstance()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbServiceImpl.java | 246 if (!SdkLevel.isAtLeastU()) { in registerOemExtensionCallback() 257 if (!SdkLevel.isAtLeastU()) { in unregisterOemExtensionCallback() 386 if (!SdkLevel.isAtLeastU()) { in updateRangingRoundsDtTag() 395 if (!SdkLevel.isAtLeastU()) { in queryMaxDataSizeBytes() 592 if (!SdkLevel.isAtLeastU()) return true; // config changed only for Android U. in isAirplaneModeSensitive() 606 if (!SdkLevel.isAtLeastU()) return false; // satellite mode enabled only for Android U. in isSatelliteModeSensitive() 621 if (!SdkLevel.isAtLeastU()) { in isUwbUserRestricted()
|
/packages/modules/Connectivity/netbpfload/ |
D | NetBpfLoad.cpp | 283 const bool isAtLeastU = (effective_api_level >= __ANDROID_API_U__); in doLoad() local 294 if (isAtLeastU) ++bpfloader_ver; // [44] BPFLOADER_MAINLINE_U_VERSION in doLoad() 327 if (isAtLeastU && !isAtLeastKernelVersion(4, 14, 0)) { in doLoad() 426 if (isAtLeastU) { in doLoad()
|