/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTest.java | 28 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()
|
D | DarkThemeUiTest.java | 29 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/ |
D | RenameDocumentUiTest.java | 23 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()
|
D | PermissionsTest.java | 23 import com.android.documentsui.util.VersionUtils; 42 if (VersionUtils.isAtLeastR()) { in testPermissionGranted_interactAcrossUsersOnR()
|
D | PickActivityTest.java | 39 import com.android.documentsui.util.VersionUtils; 122 if (VersionUtils.isAtLeastR()) { in testOnDocumentPicked_otherUser()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | VersionUtils.java | 24 public class VersionUtils { class 26 private VersionUtils() { in VersionUtils() method in VersionUtils
|
D | CrossProfileUtils.java | 50 if (VersionUtils.isAtLeastR()) { in isCrossProfileIntentForwarderActivity()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | DocumentInfoTest.java | 37 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/ |
D | Config.java | 22 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/ |
D | DirectoryAddonsAdapterTest.java | 37 import com.android.documentsui.util.VersionUtils; 149 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_shouldBlockChild() 176 if (!VersionUtils.isAtLeastR()) { in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
|
D | DirectoryAddonsAdapterPrivateSpaceTest.java | 44 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/ |
D | PreBootReceiver.java | 34 import com.android.documentsui.util.VersionUtils; 98 if (VersionUtils.isAtLeastS() && CONFIG_IS_LAUNCHER_ENABLED.equals(config)) { in setComponentEnabledByConfigResources()
|
D | UserIdManager.java | 39 import com.android.documentsui.util.VersionUtils; 216 return VersionUtils.isAtLeastR() in isDeviceSupported()
|
D | NavigationViewManager.java | 42 import com.android.documentsui.util.VersionUtils; 174 if (!VersionUtils.isAtLeastS()) { in onOffsetChanged()
|
D | Metrics.java | 48 import com.android.documentsui.util.VersionUtils; 655 if (!VersionUtils.isAtLeastR()) { in write()
|
D | UserManagerState.java | 50 import com.android.documentsui.util.VersionUtils; 660 return VersionUtils.isAtLeastR() in isDeviceSupported()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Shared.java | 50 import com.android.documentsui.util.VersionUtils; 174 if (VersionUtils.isAtLeastS()) { in shouldRestrictStorageAccessFramework() 178 if (!VersionUtils.isAtLeastR()) { in shouldRestrictStorageAccessFramework()
|
D | DocumentInfo.java | 38 import com.android.documentsui.util.VersionUtils; 313 if (VersionUtils.isAtLeastR()) { in isBlockedFromTree()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | InflateMessageDocumentHolder.java | 30 import com.android.documentsui.util.VersionUtils; 113 if (VersionUtils.isAtLeastS()) { in bindCrossProfileMessageView()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchChipViewManagerTest.java | 37 import com.android.documentsui.util.VersionUtils; 98 if (VersionUtils.isAtLeastR()) { in testUpdateChips_documentsFilterOnlyAvailableAboveR()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | UserIdManagerTest.java | 33 import com.android.documentsui.util.VersionUtils; 143 if (VersionUtils.isAtLeastR()) { in testGetUserIds_deviceWithoutPermission()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 74 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/ |
D | SearchChipViewManager.java | 39 import com.android.documentsui.util.VersionUtils; 101 if (VersionUtils.isAtLeastR()) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 68 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/ |
D | AppsRowManagerTest.java | 49 import com.android.documentsui.util.VersionUtils; 219 if (!VersionUtils.isAtLeastR()) { in testUpdateView_showSelectedUserItems_otherUser()
|