/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v35/ |
D | MultiDeviceUtils.kt | 56 SdkLevel.isAtLeastV() && in <lambda>() 68 if (!SdkLevel.isAtLeastV()) { in <lambda>() 90 if (!SdkLevel.isAtLeastV() || deviceId == ContextCompat.DEVICE_ID_DEFAULT) { in <lambda>() 107 !SdkLevel.isAtLeastV() || in <lambda>() 115 !SdkLevel.isAtLeastV() || in <lambda>() 132 if (!SdkLevel.isAtLeastV()) { in <lambda>() 162 if (!SdkLevel.isAtLeastV() || isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 201 if (!SdkLevel.isAtLeastV() || isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 249 if (!SdkLevel.isAtLeastV() || isDefaultDeviceId(persistentDeviceId)) { in <lambda>() 294 if (!SdkLevel.isAtLeastV() || isDefaultDeviceId(persistentDeviceId)) { in <lambda>() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserManagerStateTest.java | 97 if (SdkLevel.isAtLeastV()) { in setup() 168 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_allProfilesCurrentUserSystem_allShowInSharingSurfacesSeparate() 182 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_allProfilesCurrentUserManaged_allShowInSharingSurfacesSeparate() 196 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_allProfilesCurrentUserPrivate_allShowInSharingSurfacesSeparate() 229 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndPrivateUserCurrentUserSystem_returnsBoth() 240 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndPrivateUserCurrentUserPrivate_returnsBoth() 251 if (SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndOtherUserCurrentUserOtherPreV_returnsCurrentUser() 262 if (!SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndOtherUserCurrentUserOtherPostV_returnsSystemUser() 285 if (SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndManagedUserCurrentUserSystem_returnsBothInOrder() 296 if (SdkLevel.isAtLeastV()) return; in testGetUserIds_systemAndManagedUserCurrentUserManaged_returnsBothInOrder() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | UserItemsCombinerTest.java | 103 if (SdkLevel.isAtLeastV()) { in setUp() 124 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_empty() 161 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsPersonal_personalItemsOnly() 177 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsWork_personalItemsOnly() 191 if (!SdkLevel.isAtLeastV()) return; in testCreatePresentableListForAllUsers_currentIsPrivate_personalItemsOnly() 233 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsPersonal_workItemsOnly() 250 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsWork_workItemsOnly() 264 if (!SdkLevel.isAtLeastV()) return; in testCreatePresentableListForAllUsers_currentIsPrivate_workItemsOnly() 320 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsPersonal_allUsersItems() 331 if (SdkLevel.isAtLeastV()) { in testCreatePresentableListForAllUsers_currentIsPersonal_allUsersItems() [all …]
|
/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/ |
D | UnattendedRebootManagerTest.java | 85 assumeTrue(SdkLevel.isAtLeastV()); in setUp() 155 assumeTrue(SdkLevel.isAtLeastV()); in maybePrepareUnattendedReboot() 168 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot() 190 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_requiresCharging_notCharging() 228 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_doesNotRequireCharging_notCharging() 255 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_requiresCharging_flagNotEnabled() 282 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_noPinLock() 303 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_noPreparation() 323 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_simPinPreparationFailed() 344 assumeTrue(SdkLevel.isAtLeastV()); in scheduleReboot_noInternet() [all …]
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigInvalidTest.kt | 71 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 84 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 97 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 189 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 202 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 269 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 475 SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi() in parameters() 488 !SdkLevel.isAtLeastV() in parameters()
|
D | ParserConfigValidTest.kt | 81 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in validConfig_matchesExpected() 108 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in validConfig_matchesExpected() 144 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in validConfig_matchesExpected() 175 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in validConfig_matchesExpected()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/ |
D | WifiP2pGroupTest.java | 78 if (SdkLevel.isAtLeastV()) { in testSetterGetter() 83 if (SdkLevel.isAtLeastV()) { in testSetterGetter() 94 if (SdkLevel.isAtLeastV()) { in testSetterGetter() 106 if (SdkLevel.isAtLeastV()) { in testSetterGetter() 111 if (SdkLevel.isAtLeastV()) { in testSetterGetter() 132 if (SdkLevel.isAtLeastV()) { in testSetterGetter()
|
D | WifiP2pDeviceTest.java | 161 if (SdkLevel.isAtLeastV()) { in testParcelReadWrite() 178 if (SdkLevel.isAtLeastV()) { in testParcelReadWrite() 188 assumeTrue(SdkLevel.isAtLeastV()); in testInterfaceMacAddressSetterGetter() 199 assumeTrue(SdkLevel.isAtLeastV()); in testIpAddressSetterGetter()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourceTest.kt | 395 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 428 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 454 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 480 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 506 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 532 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 558 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 592 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 618 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 644 if (SdkLevel.isAtLeastV() && Flags.privateProfileTitleApi()) { in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | UserManagerStateTest.java | 78 if (SdkLevel.isAtLeastV()) { in setUp() 158 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testGetAllUserProfileIdsThatNeedToShowInPhotoPicker_currentUserIsPersonalUser() 172 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testGetAllUserProfileIdsThatNeedToShowInPhotoPicker_currentUserIsManagedUser() 186 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testGetAllUserProfileIdsThatNeedToShowInPhotoPicker_currentUserIsOtherUser1() 223 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testUserIds_multiUserProfilesAvailable_currentUserIsPersonalUser() 237 if (SdkLevel.isAtLeastV()) { in testUserIds_multiUserProfilesAvailable_currentUserIsPersonalUser() 243 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testUserIds_multiUserProfilesAvailable_currentUserIsPersonalUser() 274 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testUserIds_multiUserProfilesAvailable_currentUserIsOtherUser2() 317 UserHandle currentUserProfile = SdkLevel.isAtLeastV() ? mOtherUser1 : mManagedUser; in testCurrentUser_AfterSettingASpecificUserAsCurrentUser() 335 List<UserId> userIdList = SdkLevel.isAtLeastV() ? Arrays.asList( in testCurrentUser_AfterSettingASpecificUserAsCurrentUser()
|
/packages/modules/Connectivity/netbpfload/ |
D | NetBpfLoad.cpp | 284 const bool isAtLeastV = (effective_api_level >= __ANDROID_API_V__); in doLoad() local 296 if (isAtLeastV) ++bpfloader_ver; // [46] BPFLOADER_MAINLINE_V_VERSION in doLoad() 334 if (isAtLeastV && !isAtLeastKernelVersion(4, 19, 0)) { in doLoad() 341 if (isAtLeastV && isKernel32Bit() && isAtLeastKernelVersion(5, 16, 0)) { in doLoad() 347 if (isAtLeastV && isKernel32Bit() && isX86()) { in doLoad() 352 if (isAtLeastV) { in doLoad()
|
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
D | NearbyManagerTest.java | 201 assumeTrue(SdkLevel.isAtLeastV()); in testsetPoweredOffFindingEphemeralIds() 212 assumeTrue(SdkLevel.isAtLeastV()); in testsetPoweredOffFindingEphemeralIds_noPrivilegedPermission() 227 assumeTrue(SdkLevel.isAtLeastV()); in testSetAndGetPoweredOffFindingMode_enabled() 245 assumeTrue(SdkLevel.isAtLeastV()); in testSetAndGetPoweredOffFindingMode_disabled() 259 assumeTrue(SdkLevel.isAtLeastV()); in testSetPoweredOffFindingMode_noPrivilegedPermission() 274 assumeTrue(SdkLevel.isAtLeastV()); in testGetPoweredOffFindingMode_noPrivilegedPermission()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApInfoTest.java | 59 if (SdkLevel.isAtLeastV()) { in testCopyOperator() 80 if (SdkLevel.isAtLeastV()) { in testParcelOperation() 112 if (SdkLevel.isAtLeastV()) { in testInitialValue() 137 if (SdkLevel.isAtLeastV()) { in testGetXXXAlignedWithSetXXX()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVoipDetectorTest.java | 77 assumeTrue(SdkLevel.isAtLeastV()); in setUp() 99 assumeTrue(SdkLevel.isAtLeastV()); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode() 157 assumeTrue(SdkLevel.isAtLeastV()); in testNotifyWifiConnectedDisconnectedInSecondaryClientMode() 168 assumeTrue(SdkLevel.isAtLeastV()); in testNotifyWifiConnectedDisconnectedInPrimarySecondaryClientModeSwitch() 169 assumeTrue(SdkLevel.isAtLeastV()); in testNotifyWifiConnectedDisconnectedInPrimarySecondaryClientModeSwitch()
|
D | WifiRoamingConfigStoreTest.java | 81 assumeTrue(SdkLevel.isAtLeastV()); in testRoamingModeByDeviceAdmin() 98 assumeTrue(SdkLevel.isAtLeastV()); in testRoamingModeByNonAdmin() 115 assumeTrue(SdkLevel.isAtLeastV()); in testSaveAndLoadFromStore() 143 assumeTrue(SdkLevel.isAtLeastV()); in createRoamingPolicyTestXmlForParsing()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PhotoPickerSettingsActivity.java | 74 if (SdkLevel.isAtLeastV() 112 if (SdkLevel.isAtLeastV()) { in onCreate() 131 if (SdkLevel.isAtLeastV()) { in onDestroy() 221 boolean userIdProvided = SdkLevel.isAtLeastV() && mSettingsViewModel in getTargetFragment() 251 if (SdkLevel.isAtLeastV() in getInitialProfileTab()
|
D | PhotoPickerActivity.java | 247 if (SdkLevel.isAtLeastV()) { in onCreate() 1183 if (mConfigStore.isPrivateSpaceInPhotoPickerEnabled() && SdkLevel.isAtLeastV()) { in CrossProfileListeners() 1217 if (mConfigStore.isPrivateSpaceInPhotoPickerEnabled() && SdkLevel.isAtLeastV()) { 1242 && SdkLevel.isAtLeastV())) { 1251 && !SdkLevel.isAtLeastV() && SdkLevel.isAtLeastS()) { 1312 if (SdkLevel.isAtLeastV()) { in handleProfileOff() 1334 if (SdkLevel.isAtLeastV()) { in handleProfileRemoved() 1347 if (SdkLevel.isAtLeastV()) { in handleProfileAdded() 1366 if (SdkLevel.isAtLeastV()) { in handleProfileOn() 1414 if (!(mConfigStore.isPrivateSpaceInPhotoPickerEnabled() && SdkLevel.isAtLeastV())) return; in updateRecentsScreenshotSetting()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | UserManagerState.java | 283 if (SdkLevel.isAtLeastV()) { in setUserIdsInternal() 519 if (SdkLevel.isAtLeastV()) { in isCrossProfileStrategyDelegatedToParent() 622 if (SdkLevel.isAtLeastV()) { in getProfileLabelsForAll() 634 if (SdkLevel.isAtLeastV()) { in getProfileLabel() 656 if (SdkLevel.isAtLeastV()) { in getProfileBadgeForAll() 668 if (SdkLevel.isAtLeastV()) { in getProfileBadge() 687 if (SdkLevel.isAtLeastV()) { in getShowInQuietMode()
|
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/cts/ |
D | TestUtils.java | 20 import static com.android.modules.utils.build.SdkLevel.isAtLeastV; 101 return isAtLeastV() in isProfileEnabled() 106 return isAtLeastV() in isProfileEnabled()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/b2b/ |
D | WifiRoamingModeManagerTest.java | 74 assumeTrue(SdkLevel.isAtLeastV()); in testSetPerSsidRoamingMode() 87 assumeTrue(SdkLevel.isAtLeastV()); in testRemovePerSsidRoamingMode() 97 assumeTrue(SdkLevel.isAtLeastV()); in testGetPerSsidRoamingMode()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 410 if (!SdkLevel.isAtLeastV()) { in getVendorData() 427 if (!SdkLevel.isAtLeastV()) { in setVendorData() 467 if (SdkLevel.isAtLeastV()) { in WifiP2pGroup() 486 if (SdkLevel.isAtLeastV()) { in writeToParcel() 507 if (SdkLevel.isAtLeastV()) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | UserManagerState.java | 188 if (SdkLevel.isAtLeastV() && mConfigStore.isPrivateSpaceInDocsUIEnabled()) { in RuntimeUserManagerState() 238 if (!SdkLevel.isAtLeastV()) return; in onProfileActionStatusChange() 293 if (!SdkLevel.isAtLeastV()) { in areHiddenInQuietModeProfilesPresent() 328 if (SdkLevel.isAtLeastV()) { in getUserIdsInternal() 395 if (SdkLevel.isAtLeastV()) { in getUserIdToLabelMapInternal() 478 if (SdkLevel.isAtLeastV()) { in getUserIdToBadgeMapInternal() 549 if (!SdkLevel.isAtLeastV()) { in getCanForwardToProfileIdMapInternal()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | IconHelperTest.java | 74 mTestUserManagerState.userIds = SdkLevel.isAtLeastV() in setUp() 100 if (!SdkLevel.isAtLeastV() || !isPrivateSpaceEnabled) return; in testShouldShowBadge_returnTrue_onPrivateUser() 141 if (!SdkLevel.isAtLeastV() || !isPrivateSpaceEnabled) return; in testShouldShowBadge_returnFalseOnPrivateUser_withoutMultipleUsers()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/ |
D | RoleManagerCompat.java | 56 if (SdkLevel.isAtLeastV() && Flags.systemServerRoleControllerEnabled()) { in isRoleFallbackEnabledAsUser() 71 if (SdkLevel.isAtLeastV() && Flags.systemServerRoleControllerEnabled()) { in setRoleFallbackEnabledAsUser()
|
/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/ |
D | WifiManagerShimImpl.java | 19 import static com.android.modules.utils.build.SdkLevel.isAtLeastV; 50 if (!isAtLeastV()) { in newInstance()
|