Home
last modified time | relevance | path

Searched refs:VersionUtils (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/
DThemeUiTest.java28 import com.android.documentsui.util.VersionUtils;
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()
DDarkThemeUiTest.java29 import com.android.documentsui.util.VersionUtils;
53 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_actionBarColorShouldBeDark()
73 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_navigationBarColorShouldBeDark()
80 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_windowBackgroundColorShouldBeDark()
88 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in themeNightModeEnable_statusBarColorShouldBeDark()
96 assumeFalse(VersionUtils.isAtLeastS()); // Disable for S dynamic color in appCompatThemeNightModeEnable_colorPrimaryShouldBeThemeable()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java23 import com.android.documentsui.util.VersionUtils;
51 if (VersionUtils.isAtLeastR()) { in testNoRenameSupport_SingleSelection()
62 if (VersionUtils.isAtLeastR()) { in testOneHasRenameSupport_MultipleSelection()
74 if (VersionUtils.isAtLeastR()) { in testRenameDisabled_MultipleSelection()
DPermissionsTest.java23 import com.android.documentsui.util.VersionUtils;
42 if (VersionUtils.isAtLeastR()) { in testPermissionGranted_interactAcrossUsersOnR()
DPickActivityTest.java39 import com.android.documentsui.util.VersionUtils;
122 if (VersionUtils.isAtLeastR()) { in testOnDocumentPicked_otherUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DVersionUtils.java24 public class VersionUtils { class
26 private VersionUtils() { in VersionUtils() method in VersionUtils
DCrossProfileUtils.java50 if (VersionUtils.isAtLeastR()) { in isCrossProfileIntentForwarderActivity()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentInfoTest.java37 import com.android.documentsui.util.VersionUtils;
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/apps/DocumentsUI/src/com/android/documentsui/files/
DConfig.java22 import com.android.documentsui.util.VersionUtils;
36 if (VersionUtils.isAtLeastR() && root != null && root.isExternalStorage()) { in managedModeEnabled()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java37 import com.android.documentsui.util.VersionUtils;
149 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild()
176 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
DDirectoryAddonsAdapterPrivateSpaceTest.java44 import com.android.documentsui.util.VersionUtils;
175 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild()
202 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DPreBootReceiver.java34 import com.android.documentsui.util.VersionUtils;
98 if (VersionUtils.isAtLeastS() && CONFIG_IS_LAUNCHER_ENABLED.equals(config)) { in setComponentEnabledByConfigResources()
DUserIdManager.java39 import com.android.documentsui.util.VersionUtils;
216 return VersionUtils.isAtLeastR() in isDeviceSupported()
DNavigationViewManager.java42 import com.android.documentsui.util.VersionUtils;
174 if (!VersionUtils.isAtLeastS()) { in onOffsetChanged()
DMetrics.java48 import com.android.documentsui.util.VersionUtils;
655 if (!VersionUtils.isAtLeastR()) { in write()
DUserManagerState.java50 import com.android.documentsui.util.VersionUtils;
660 return VersionUtils.isAtLeastR() in isDeviceSupported()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java50 import com.android.documentsui.util.VersionUtils;
174 if (VersionUtils.isAtLeastS()) { in shouldRestrictStorageAccessFramework()
178 if (!VersionUtils.isAtLeastR()) { in shouldRestrictStorageAccessFramework()
DDocumentInfo.java38 import com.android.documentsui.util.VersionUtils;
313 if (VersionUtils.isAtLeastR()) { in isBlockedFromTree()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DInflateMessageDocumentHolder.java30 import com.android.documentsui.util.VersionUtils;
113 if (VersionUtils.isAtLeastS()) { in bindCrossProfileMessageView()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchChipViewManagerTest.java37 import com.android.documentsui.util.VersionUtils;
98 if (VersionUtils.isAtLeastR()) { in testUpdateChips_documentsFilterOnlyAvailableAboveR()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserIdManagerTest.java33 import com.android.documentsui.util.VersionUtils;
143 if (VersionUtils.isAtLeastR()) { in testGetUserIds_deviceWithoutPermission()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java74 import com.android.documentsui.util.VersionUtils;
547 assumeTrue(VersionUtils.isAtLeastS()); in testDragAndDrop_OnReadOnlyRoot()
560 assumeTrue(VersionUtils.isAtLeastS()); in testDragAndDrop_OnLibraryRoot()
572 assumeTrue(VersionUtils.isAtLeastS()); in testDragAndDrop_DropsOnWritableRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java39 import com.android.documentsui.util.VersionUtils;
101 if (VersionUtils.isAtLeastR()) {
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java68 import com.android.documentsui.util.VersionUtils;
289 } else if (Features.CROSS_PROFILE_TABS && VersionUtils.isAtLeastR()) { in includeState()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java49 import com.android.documentsui.util.VersionUtils;
219 if (!VersionUtils.isAtLeastR()) { in testUpdateView_showSelectedUserItems_otherUser()

12