Home
last modified time | relevance | path

Searched defs:underTest (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/log/table/
DTableChangeTest.kt35 val underTest = TableChange() in setString_isString() constant
51 val underTest = TableChange() in setString_null() constant
67 val underTest = TableChange() in setBoolean_isBoolean() constant
83 val underTest = TableChange() in setInt_isInt() constant
99 val underTest = TableChange() in setInt_null() constant
115 val underTest = TableChange() in setThenReset_isEmpty() constant
137 val underTest = TableChange(columnPrefix = "fakePrefix", columnName = "fakeName") in getName_hasPrefix() constant
145 val underTest = TableChange(columnPrefix = "", columnName = "fakeName") in getName_noPrefix() constant
152 val underTest = TableChange(columnName = "name", isInitial = false) in getVal_notInitial() constant
160 val underTest = TableChange(columnName = "name", isInitial = true) in getVal_isInitial() constant
[all …]
/frameworks/libs/systemui/mechanics/tests/src/com/android/mechanics/
DDistanceGestureContextTest.kt32 val underTest = in setDistance_maxDirection_increasingInput_keepsDirection() constant
47 val underTest = in setDistance_minDirection_decreasingInput_keepsDirection() constant
62 val underTest = in setDistance_maxDirection_decreasingInput_keepsDirection_belowDirectionChangeSlop() constant
75 val underTest = in setDistance_maxDirection_decreasingInput_switchesDirection_aboveDirectionChangeSlop() constant
88 val underTest = in setDistance_minDirection_increasingInput_keepsDirection_belowDirectionChangeSlop() constant
101 val underTest = in setDistance_minDirection_decreasingInput_switchesDirection_aboveDirectionChangeSlop() constant
114 val underTest = in reset_resetsFurthestValue() constant
136 val underTest = in setDirectionChangeSlop_smallerThanCurrentDelta_switchesDirection() constant
/frameworks/libs/systemui/mechanics/tests/src/com/android/mechanics/spec/
DMotionSpecTest.kt31 val underTest = MotionSpec.builder(Spring).complete() in <lambda>() constant
37 val underTest = in <lambda>() constant
58 val underTest = MotionSpec(forward, reverse) in <lambda>() constant
74 val underTest = MotionSpec(forward, reverse) in <lambda>() constant
82 val underTest = MotionSpec.builder(Spring).complete() in <lambda>() constant
95 val underTest = MotionSpec.builder(Spring).complete() in <lambda>() constant
108 val underTest = in <lambda>() constant
125 val underTest = in <lambda>() constant
155 val underTest = MotionSpec(forward, reverse) in <lambda>() constant
172 val underTest = in <lambda>() constant
[all …]
DDirectionalMotionSpecTest.kt79 val underTest = DirectionalMotionSpec.builder(Spring).complete() in findBreakpointIndex_returnsMinForEmptySpec() constant
88 val underTest = DirectionalMotionSpec.builder(Spring).complete() in findBreakpointIndex_throwsForNonFiniteInput() constant
101 val underTest = in findBreakpointIndex_atBreakpoint_returnsIndex() constant
109 val underTest = in findBreakpointIndex_afterBreakpoint_returnsPreviousIndex() constant
117 val underTest = in findBreakpointIndex_beforeBreakpoint_returnsIndex() constant
125 val underTest = in findBreakpointIndexByKey_returnsIndex() constant
135 val underTest = in findBreakpointIndexByKey_unknown_returnsMinusOne() constant
145 val underTest = in findSegmentIndex_returnsIndexForSegment_ignoringDirection() constant
158 val underTest = in findSegmentIndex_forInvalidKeys_returnsMinusOne() constant
DSegmentTest.kt35 val underTest = in segmentData_isValidForInput_betweenBreakpointsSameDirection_isTrue() constant
45 val underTest = in segmentData_isValidForInput_betweenBreakpointsOppositeDirection_isFalse() constant
55 val underTest = in segmentData_isValidForInput_inMaxDirection_sampledAtVariousPositions_matchesExpectation() constant
70 val underTest = in segmentData_isValidForInput_inMinDirection_sampledAtVariousPositions_matchesExpectation() constant
85 val underTest = in segmentData_entryBreakpoint_maxDirection_returnsMinBreakpoint() constant
95 val underTest = in segmentData_entryBreakpoint_minDirection_returnsMaxBreakpoint() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt143 val underTest = createUnderTest() in createLockScreenStateVisible() constant
159 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
175 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
191 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
207 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
223 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
239 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
255 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitVisible() constant
271 val underTest = createUnderTest() in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
287 val underTest = createUnderTest() in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt134 val underTest = createUnderTest(isEnabled = false, bubbles = bubbles) in initialize_flagDisabled() constant
150 val underTest = createUnderTest(isEnabled = true, bubbles = null) in initialize_bubblesNotPresent() constant
173 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_handleSystemKey() constant
185 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_keyGestureTypeOpenNotes_isRegistered() constant
202 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in handlesShortcut_keyGestureTypeOpenNotes() constant
223 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in handlesShortcut_stylusTailButton() constant
244 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in ignoresUnrelatedShortcuts() constant
259 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_userUnlocked_shouldUpdateNoteTask() constant
271 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_onRoleHoldersChanged_shouldRunOnRoleHoldersChanged() constant
285 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_onProfilesChanged_shouldUpdateNoteTask() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/domain/interactor/
DSingleNotificationChipInteractorTest.kt63 val underTest = factory.create(startingNotif, creationTime = 1) in notificationChip_startsWithStartingModel() constant
79 val underTest = in notificationChip_updatesAfterSet() constant
115 val underTest = in notificationChip_ignoresSetWithDifferentKey() constant
144 val underTest = in notificationChip_ignoresSetWithNullPromotedContent() constant
172 val underTest = in notificationChip_missingStatusBarIconChipView_cdFlagDisabled_inConstructor_emitsNull() constant
191 val underTest = in notificationChip_missingStatusBarIconChipView_cdFlagEnabled_inConstructor_emitsNotNull() constant
210 val underTest = in notificationChip_cdEnabled_missingStatusBarIconChipView_inConstructor_emitsNotNull() constant
236 val underTest = factory.create(startingNotif, creationTime = 1) in notificationChip_cdFlagDisabled_missingStatusBarIconChipView_inSet_emitsNull() constant
261 val underTest = factory.create(startingNotif, creationTime = 123L) in notificationChip_cdFlagEnabled_missingStatusBarIconChipView_inSet_emitsNotNull() constant
286 val underTest = factory.create(startingNotif, creationTime = 1) in notificationChip_missingStatusBarIconChipView_inSet_cdEnabled_emitsNotNull() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/data/repository/
DSceneContainerRepositoryTest.kt48 val underTest = kosmos.sceneContainerRepository in allContentKeys() constant
55 val underTest = kosmos.sceneContainerRepository in currentScene() constant
71 val underTest = kosmos.sceneContainerRepository in currentOverlays() constant
81 val underTest = kosmos.sceneContainerRepository in changeScene_noSuchSceneInContainer_throws() constant
88 val underTest = kosmos.sceneContainerRepository in snapToScene_noSuchSceneInContainer_throws() constant
95 val underTest = kosmos.sceneContainerRepository in isVisible() constant
109 val underTest = kosmos.sceneContainerRepository in transitionState_defaultsToIdle() constant
121 val underTest = kosmos.sceneContainerRepository in transitionState_reflectsUpdates() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/
DShadeDisplaysRepositoryTest.kt69 val underTest = createUnderTest() in createUnderTest() constant
96 val underTest = createUnderTest() in displayId_afterDisplayDisconnected_fallsBackToDefaultDisplay() constant
120 val underTest = createUnderTest() in policy_updatesBasedOnSettingValue_defaultDisplay() constant
129 val underTest = createUnderTest() in policy_updatesBasedOnSettingValue_anyExternal() constant
139 val underTest = createUnderTest() in policy_updatesBasedOnSettingValue_lastStatusBarTouch() constant
149 val underTest = createUnderTest() in policy_updatesBasedOnSettingValue_focusBased() constant
158 val underTest = createUnderTest(shadeOnDefaultDisplayWhenLocked = true) in displayId_afterKeyguardHides_goesBackToPreviousDisplay() constant
183 val underTest = createUnderTest() in onDisplayChangedSucceeded_displayIdChanges() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/notetask/
DNoteTaskInfoTest.kt35 val underTest = DEFAULT_INFO.copy(isKeyguardLocked = true) in launchMode_keyguardLocked_launchModeActivity() constant
42 val underTest = DEFAULT_INFO.copy(entryPoint = WIDGET_PICKER_SHORTCUT_IN_MULTI_WINDOW_MODE) in launchMode_multiWindowMode_launchModeActivity() constant
49 val underTest = DEFAULT_INFO.copy(isKeyguardLocked = false) in launchMode_keyguardUnlocked_launchModeAppBubble_withDefaultExpandBehavior() constant
57 val underTest = DEFAULT_INFO.copy(isKeyguardLocked = false, entryPoint = QS_NOTES_TILE) in launchMode_keyguardUnlocked_qsTileEntryPoint_launchModeAppBubble_withKeepIfExpandedExpandBehavior() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/headsup/
DHeadsUpAnimatorTest.kt46 val underTest = HeadsUpAnimator(context, kosmos.fakeSystemBarUtilsProxy) in getHeadsUpYTranslation_fromBottomTrue_hasStatusBarChipFalse_usesBottomAndYAbove() constant
58 val underTest = HeadsUpAnimator(context, kosmos.fakeSystemBarUtilsProxy) in getHeadsUpYTranslation_fromBottomTrue_hasStatusBarChipTrue_usesBottomAndYAbove() constant
71 val underTest = HeadsUpAnimator(context, kosmos.fakeSystemBarUtilsProxy) in getHeadsUpYTranslation_fromBottomFalse_hasStatusBarChipFalse_usesTopMarginAndYAbove() constant
83 val underTest = HeadsUpAnimator(context, kosmos.fakeSystemBarUtilsProxy) in getHeadsUpYTranslation_fromBottomFalse_hasStatusBarChipTrue_usesTopMarginAndStatusBarHeight() constant
97 val underTest = HeadsUpAnimator(context, kosmos.fakeSystemBarUtilsProxy) in getHeadsUpYTranslation_resourcesUpdated() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
DQSColumnsViewModelTest.kt72 val underTest = qsColumnsViewModelFactory.create(null) in mediaLocationNull_singleOrSplit_alwaysSingleShadeColumns() constant
96 val underTest = qsColumnsViewModelFactory.create(null) in mediaLocationNull_dualShade_alwaysDualShadeColumns() constant
120 val underTest = qsColumnsViewModelFactory.create(LOCATION_QS) in mediaLocationQS_dualShade_alwaysDualShadeColumns() constant
143 val underTest = qsColumnsViewModelFactory.create(LOCATION_QQS) in mediaLocationQQS_dualShade_alwaysDualShadeColumns() constant
165 val underTest = qsColumnsViewModelFactory.create(LOCATION_QS) in mediaLocationQS_singleOrSplit_halfColumnsOnCorrectConfigurationAndVisible() constant
190 val underTest = qsColumnsViewModelFactory.create(LOCATION_QQS) in mediaLocationQQS_singleOrSplit_halfColumnsOnCorrectConfigurationAndVisible() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DPanelInteractorImplTest.kt44 val underTest = PanelInteractorImpl(shadeController) in openPanels_callsCentralSurfaces() constant
53 val underTest = PanelInteractorImpl(shadeController) in collapsePanels_callsCentralSurfaces() constant
62 val underTest = PanelInteractorImpl(shadeController) in forceCollapsePanels_callsCentralSurfaces() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerActionButtonInteractorTest.kt106 val underTest = kosmos.bouncerActionButtonInteractor in noTelephonyRadio_noButton() constant
115 val underTest = kosmos.bouncerActionButtonInteractor in noTelecomManager_noButton() constant
123 val underTest = kosmos.bouncerActionButtonInteractor in duringCall_returnToCallButton() constant
146 val underTest = kosmos.bouncerActionButtonInteractor in noCall_secureAuthMethod_emergencyCallButton() constant
179 val underTest = kosmos.bouncerActionButtonInteractor in noCall_insecureAuthMethodButSecureSim_emergencyCallButtonIsActionButton() constant
197 val underTest = kosmos.bouncerActionButtonInteractor in noCall_insecure_noButton() constant
211 val underTest = kosmos.bouncerActionButtonInteractor in noCall_simSecureButEmergencyNotSupported_noButton() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/data/repository/
DStockTilesRepositoryTest.kt46 val underTest = StockTilesRepository(kosmos.mainResources) in stockTilesMatchesResources_evenDimmerFlagOn_configOn() constant
64 val underTest = StockTilesRepository(kosmos.mainResources) in stockTilesMatchesResources_evenDimmerFlagOn_configOff() constant
77 val underTest = StockTilesRepository(kosmos.mainResources) in stockTilesMatchesResources_evenDimmerFlagOff() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt84 val underTest = in <lambda>() constant
140 val underTest = in <lambda>() constant
211 val underTest = in <lambda>() constant
270 val underTest = in <lambda>() constant
344 val underTest = in <lambda>() constant
364 val underTest = utils.footerActionsViewModel(shadeMode = ShadeMode.Split) in alpha_inSplitShade_followsExpansion() constant
384 val underTest = utils.footerActionsViewModel(shadeMode = ShadeMode.Split) in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay() constant
408 val underTest = utils.footerActionsViewModel(shadeMode = ShadeMode.Single) in alpha_inSingleShade_followsExpansion_with_0_9_delay() constant
432 val underTest = utils.footerActionsViewModel(shadeMode = ShadeMode.Single) in backgroundAlpha_inSingleShade_always1() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/footer/domain/interactor/
DFooterActionsInteractorTest.kt66 val underTest = utils.footerActionsInteractor(qsSecurityFooterUtils = qsSecurityFooterUtils) in showDeviceMonitoringDialog() constant
81 val underTest = utils.footerActionsInteractor(uiEventLogger = uiEventLogger) in showPowerMenuDialog() constant
112 val underTest = in showSettings_userSetUp() constant
145 val underTest = in showSettings_userNotSetUp() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/kotlin/
DDisposableHandlesTest.kt33 val underTest = DisposableHandles() in disposeWorksOnce() constant
51 val underTest = DisposableHandles() in replaceCallsDispose() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DChipTransitionHelperTest.kt48 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in createChipFlow_typicallyFollowsInputFlow() constant
84 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in activityStopped_chipHiddenWithoutAnimationFor500ms() constant
126 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in activityStopped_stoppedAgainBefore500ms_chipReshownAfterSecond500ms() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DCallbackControllerAutoAddableTest.kt45 val underTest = in <lambda>() constant
71 val underTest = in <lambda>() constant
101 val underTest = in strategyIfNotAdded() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/irecording/ui/mapper/
DIssueRecordingMapperTest.kt56 val underTest = IssueRecordingMapper(resources, theme) in whenData_isRecording_useCorrectResources() constant
63 val underTest = IssueRecordingMapper(resources, theme) in whenData_isNotRecording_useCorrectResources() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/display/data/repository/
DPerDisplayInstanceRepositoryImplTest.kt49 private val underTest: PerDisplayInstanceRepositoryImpl<TestPerDisplayInstance> = constant in com.android.systemui.display.data.repository.PerDisplayInstanceRepositoryImplTest
116 val underTest = in perDisplay_afterCustomLifecycleManagerRemovesDisplay_destroyInstanceInvoked() constant
135 val underTest = in perDisplay_lifecycleManagerDoesNotContainIt_displayRepositoryDoes_returnsNull() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/model/
DSysUiStateExtTest.kt33 private val underTest = kosmos.sysUiState constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/shared/
DQSPipelineFlagsRepositoryTest.kt15 private val underTest = QSPipelineFlagsRepository() constant

12345678910>>...34