/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | MinimumTilesResourceRepositoryTest.kt | 31 val testableResources = context.orCreateTestableResources constant in com.android.systemui.qs.pipeline.data.repository.MinimumTilesResourceRepositoryTest 36 testableResources.addOverride(R.integer.quick_settings_min_num_tiles, minTwo) in minimumQSTiles_followsConfig() 41 testableResources.addOverride(R.integer.quick_settings_min_num_tiles, minSix) in minimumQSTiles_followsConfig()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardSecurityContainerControllerTest.kt | 166 private lateinit var testableResources: TestableResources in <lambda>() variable in com.android.keyguard.KeyguardSecurityContainerControllerTest 181 testableResources = mContext.getOrCreateTestableResources() in <lambda>() 182 testableResources.resources.configuration.orientation = Configuration.ORIENTATION_UNDEFINED in <lambda>() 184 whenever(view.resources).thenReturn(testableResources.resources) in <lambda>() 338 testableResources.resources.configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in <lambda>() 376 testableResources.addOverride(R.bool.can_use_one_handed_bouncer, false) in <lambda>() 392 testableResources.addOverride(R.bool.can_use_one_handed_bouncer, true) in <lambda>() 407 testableResources.addOverride(R.bool.can_use_one_handed_bouncer, true) in <lambda>() 422 testableResources.addOverride(R.bool.can_use_one_handed_bouncer, true) in <lambda>() 437 testableResources.addOverride(R.bool.can_use_one_handed_bouncer, true) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManagerTest.kt | 58 private val testableResources = context.orCreateTestableResources constant in com.android.systemui.statusbar.notification.row.BigPictureIconManagerTest 245 testableResources.addOverride( in onIconUpdated_supportedTypeButTooWide_resizedPlaceholderLoaded() 264 testableResources.addOverride( in onIconUpdated_supportedTypeButTooHigh_resizedPlaceholderLoaded() 464 testableResources.addOverride( in overrideMaxImageSizes() 468 testableResources.addOverride( in overrideMaxImageSizes()
|
D | NotificationContentViewTest.kt | 71 private val testableResources = mContext.getOrCreateTestableResources() in <lambda>() constant in com.android.systemui.statusbar.notification.row.NotificationContentViewTest 675 private fun px(@DimenRes id: Int): Int = testableResources.resources.getDimensionPixelSize(id) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | DevicePostureControllerImplTest.kt | 65 private lateinit var testableResources: TestableResources variable in com.android.systemui.statusbar.policy.DevicePostureControllerImplTest 72 testableResources = context.getOrCreateTestableResources() in setUp() 73 testableResources.addOverride( in setUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalEditModeViewModelTest.kt | 94 private val testableResources = context.orCreateTestableResources constant in com.android.systemui.communal.view.viewmodel.CommunalEditModeViewModelTest 265 testableResources.resources, in onOpenWidgetPicker_launchesWidgetPickerActivity() 282 testableResources.resources, in onOpenWidgetPicker_launcherActivityNotResolved_doesNotLaunchWidgetPickerActivity() 306 testableResources.resources, in onOpenWidgetPicker_activityLaunchThrowsException_failure()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSPanelControllerTest.kt | 73 private val testableResources: TestableResources = mContext.orCreateTestableResources constant in com.android.systemui.qs.QSPanelControllerTest 82 whenever(qsPanel.resources).thenReturn(testableResources.resources) in setUp() 188 testableResources.addOverride(R.bool.config_use_split_notification_shade, shouldUse) in setShouldUseSplitShade()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/ui/viewmodel/ |
D | VolumePanelViewModelTest.kt | 58 private val testableResources = context.orCreateTestableResources constant 76 testableResources.overrideConfiguration( in orientationChanges_panelOrientationChanges()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | SysUITestModule.kt | 98 fun provideResources(testableResources: TestableResources): Resources = in bindTestableContext() 99 testableResources.resources in bindTestableContext()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/domain/interactor/ |
D | ConfigurationInteractorTest.kt | 51 val testableResources = context.getOrCreateTestableResources() in setUp() constant 52 testableResources.overrideConfiguration(configuration) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculatorTest.kt | 56 private val testableResources = mContext.orCreateTestableResources in <lambda>() constant 74 testableResources.resources, in <lambda>() 392 testableResources.resources.getDimensionPixelSize(id).toFloat() in <lambda>()
|
D | StackScrollAlgorithmTest.kt | 79 private val testableResources = mContext.getOrCreateTestableResources() in <lambda>() constant in com.android.systemui.statusbar.notification.stack.StackScrollAlgorithmTest 87 testableResources.resources.getDimensionPixelSize(id).toFloat() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/domain/interactor/ |
D | HideNotificationsInteractorTest.kt | 95 val testableResources = context.getOrCreateTestableResources() in setUp() constant 96 testableResources.overrideConfiguration(configuration) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 1132 final TestableResources testableResources = getContext().getOrCreateTestableResources(); in onLocaleChanged_enabled_updateA11yWindowTitle() local 1133 testableResources.addOverride(com.android.internal.R.string.android_system_label, in onLocaleChanged_enabled_updateA11yWindowTitle()
|
D | WindowMagnificationControllerTest.java | 1104 final TestableResources testableResources = getContext().getOrCreateTestableResources(); in onLocaleChanged_enabled_updateA11yWindowTitle() local 1105 testableResources.addOverride(com.android.internal.R.string.android_system_label, in onLocaleChanged_enabled_updateA11yWindowTitle()
|