Home
last modified time | relevance | path

Searched refs:setFlagsRule (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DDesktopSystemShortcutTest.kt60 @get:Rule val setFlagsRule = SetFlagsRule(SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT) constant in com.android.quickstep.DesktopSystemShortcutTest
98 setFlagsRule.disableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_MODE) in createDesktopTaskShortcutFactory_desktopModeDisabled()
112 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_MODE) in createDesktopTaskShortcutFactory_desktopModeEnabled_DeviceNotSupported()
123 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_MODE) in createDesktopTaskShortcutFactory_desktopModeEnabled_DeviceNotSupported_OverrideEnabled()
136 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_MODE) in createDesktopTaskShortcutFactory_undockable()
147 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_MODE) in desktopSystemShortcutClicked()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/specialaccess/
DMediaRoutingControlTest.kt53 @get:Rule val setFlagsRule: SetFlagsRule = SetFlagsRule() constant in com.android.settings.spa.app.specialaccess.MediaRoutingControlTest
155 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_PRIVILEGED_ROUTING_FOR_MEDIA_ROUTING_CONTROL) in isChangeable_permissionRequestedByAppAndWatchCompanionRoleAssigned_shouldReturnTrue()
173 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_PRIVILEGED_ROUTING_FOR_MEDIA_ROUTING_CONTROL) in isChangeable_permissionNotRequestedByAppButWatchCompanionRoleAssigned_shouldReturnFalse()
191 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_PRIVILEGED_ROUTING_FOR_MEDIA_ROUTING_CONTROL) in isChangeable_permissionRequestedByAppButWatchCompanionRoleNotAssigned_shouldReturnFalse()
209 setFlagsRule.disableFlags(Flags.FLAG_ENABLE_PRIVILEGED_ROUTING_FOR_MEDIA_ROUTING_CONTROL) in isChangeable_withFlagDisabled_shouldReturnFalse()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt75 @get:Rule val setFlagsRule = SetFlagsRule() in <lambda>() constant in com.android.launcher3.util.ItemInflaterTest
126 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
155 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
188 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
218 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
248 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/
DLandscapePagedViewHandlerTest.kt38 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.quickstep.orientation.LandscapePagedViewHandlerTest
44 setFlagsRule.enableFlags( in enableGridOnlyOverview()
49 setFlagsRule.disableFlags( in enableGridOnlyOverview()
DSeascapePagedViewHandlerTest.kt38 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.quickstep.orientation.SeascapePagedViewHandlerTest
44 setFlagsRule.enableFlags( in enableGridOnlyOverview()
49 setFlagsRule.disableFlags( in enableGridOnlyOverview()
/packages/apps/Launcher3/tests/src/com/android/launcher3/backuprestore/
DBackupAndRestoreDBSelectionTest.kt47 val setFlagsRule = SetFlagsRule(SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT) constant in com.android.launcher3.backuprestore.BackupAndRestoreDBSelectionTest
51 setFlagsRule.setFlags(true, Flags.FLAG_ENABLE_NARROW_GRID_RESTORE) in setUp()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DGridMigrationTest.kt74 val setFlagsRule = SetFlagsRule(SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT) constant in GridMigrationTest
88 setFlagsRule.setFlags(false, Flags.FLAG_ENABLE_GRID_MIGRATION_FIX) in setup()
226 setFlagsRule.setFlags(true, Flags.FLAG_ENABLE_GRID_MIGRATION_FIX) in 5x5 to 3x3()
DLoaderTaskTest.kt86 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.launcher3.model.LoaderTaskTest
163 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_PRIVATE_SPACE) in setsQuietModeFlagCorrectlyForWorkProfile()
184 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_PRIVATE_SPACE) in setsQuietModeFlagCorrectlyForPrivateProfile()
DAsyncBindingTest.kt65 @get:Rule val setFlagsRule = SetFlagsRule() in <lambda>() constant in com.android.launcher3.model.AsyncBindingTest
76 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_WORKSPACE_INFLATION) in <lambda>()
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DDeviceProfileDumpTest.kt39 setFlagsRule.enableFlags(Flags.FLAG_ENABLE_SCALING_REVEAL_HOME_ANIMATION) in setUp()
41 setFlagsRule.disableFlags(Flags.FLAG_ENABLE_SCALING_REVEAL_HOME_ANIMATION) in setUp()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt55 val setFlagsRule = if (SdkLevel.isAtLeastV()) { in <lambda>() constant in android.ext.services.notification.NotificationOtpDetectionHelperTest
73 (setFlagsRule as SetFlagsRule).enableFlags( in <lambda>()
99 (setFlagsRule as SetFlagsRule) in <lambda>()
232 (setFlagsRule as SetFlagsRule) in <lambda>()
DAssistantTest.kt79 val setFlagsRule = if (SdkLevel.isAtLeastV()) { in <lambda>() constant in android.ext.services.notification.AssistantTest
103 (setFlagsRule as SetFlagsRule).enableFlags( in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppButtonsTest.kt59 @get:Rule val setFlagsRule: SetFlagsRule = SetFlagsRule() constant in com.android.settings.spa.app.appinfo.AppButtonsTest
120 setFlagsRule.disableFlags(SettingsFlags.FLAG_APP_ARCHIVING) in launchButton_displayed_archivingDisabled()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/preview/ui/
DWallpaperPreviewActivityTest.kt47 @get:Rule val setFlagsRule = SetFlagsRule() in <lambda>() constant in com.android.wallpaper.picker.preview.ui.WallpaperPreviewActivityTest
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt70 @get:Rule val setFlagsRule = SetFlagsRule(SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT) in <lambda>() constant in com.android.launcher3.AbstractDeviceProfileTest
278 setFlagsRule.setFlags(true, Flags.FLAG_ENABLE_TWOLINE_TOGGLE) in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DMobileNetworkEidPreferenceControllerTest.kt52 @get:Rule val setFlagsRule: SetFlagsRule = SetFlagsRule() constant in com.android.settings.network.telephony.MobileNetworkEidPreferenceControllerTest
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/managedata/
DManageDataFragmentTest.kt50 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.healthconnect.controller.tests.managedata.ManageDataFragmentTest
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt45 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.healthconnect.controller.tests.MainActivityTest
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt88 @get:Rule val setFlagsRule = SetFlagsRule() constant in com.android.healthconnect.controller.tests.navigation.TrampolineActivityTest
/packages/modules/Bluetooth/service/src/airplane/
DModeListenerTest.kt103 @JvmField @Rule val setFlagsRule = SetFlagsRule(SetFlagsRule.DefaultInitValueType.NULL_DEFAULT) in <lambda>() constant in com.android.server.bluetooth.airplane.test.ModeListenerTest
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt99 @get:Rule val setFlagsRule = SetFlagsRule() in <lambda>() constant in com.android.healthconnect.controller.tests.home.HomeFragmentTest