Home
last modified time | relevance | path

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

12345678910>>...34

/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/log/table/
H A 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 …]
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
H A DNoteTaskQuickAffordanceConfigTest.kt146 val underTest = createUnderTest() in createLockScreenStateVisible() constant
162 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
178 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
194 val underTest = createUnderTest() in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
210 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
226 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
242 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
258 val underTest = createUnderTest() in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitVisible() constant
274 val underTest = createUnderTest() in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant
290 val underTest = createUnderTest() in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant
[all …]
/aosp_15_r20/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
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
H A 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
190 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in handlesShortcut_keyGestureTypeOpenNotes() constant
211 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in handlesShortcut_stylusTailButton() constant
232 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in ignoresUnrelatedShortcuts() constant
247 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_userUnlocked_shouldUpdateNoteTask() constant
259 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_onRoleHoldersChanged_shouldRunOnRoleHoldersChanged() constant
273 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_onProfilesChanged_shouldUpdateNoteTask() constant
283 val underTest = createUnderTest(isEnabled = true, bubbles = bubbles) in initialize_onUserChanged_shouldUpdateNoteTask() constant
[all …]
/aosp_15_r20/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/domain/usecase/
DGetPermissionGroupUsageDetailsUseCaseTest.kt137 val underTest = in <lambda>() constant
163 val underTest = in <lambda>() constant
199 val underTest = in <lambda>() constant
235 val underTest = in <lambda>() constant
262 val underTest = in <lambda>() constant
285 val underTest = in <lambda>() constant
324 val underTest = in <lambda>() constant
361 val underTest = in <lambda>() constant
395 val underTest = in <lambda>() constant
421 val underTest = in <lambda>() constant
[all …]
DGetPermissionUsageUseCaseTest.kt122 val underTest = getPermissionGroupUsageUseCase(appOpsUsageModelFlow) in <lambda>() constant
151 val underTest = in <lambda>() constant
184 val underTest = in <lambda>() constant
212 val underTest = getPermissionGroupUsageUseCase(appOpsUsageModelFlow) in <lambda>() constant
238 val underTest = getPermissionGroupUsageUseCase(appOpsUsageModelFlow) in <lambda>() constant
261 val underTest = getPermissionGroupUsageUseCase(appOpsUsageModelFlow) in <lambda>() constant
288 val underTest = getPermissionGroupUsageUseCase(appOpsUsageModelFlow) in <lambda>() constant
330 val underTest = in <lambda>() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/domain/interactor/
H A DSingleNotificationChipInteractorTest.kt51 val underTest = factory.create(startingNotif) in notificationChip_startsWithStartingModel() constant
64 val underTest = in notificationChip_updatesAfterSet() constant
89 val underTest = in notificationChip_ignoresSetWithDifferentKey() constant
108 val underTest = in notificationChip_missingStatusBarIconChipView_inConstructor_emitsNull() constant
120 val underTest = in notificationChip_cdEnabled_missingStatusBarIconChipView_inConstructor_emitsNotNull() constant
141 val underTest = factory.create(startingNotif) in notificationChip_missingStatusBarIconChipView_inSet_emitsNull() constant
157 val underTest = factory.create(startingNotif) in notificationChip_missingStatusBarIconChipView_inSet_cdEnabled_emitsNotNull() constant
180 val underTest = in notificationChip_appIsVisibleOnCreation_emitsNull() constant
195 val underTest = in notificationChip_appNotVisibleOnCreation_emitsValue() constant
208 val underTest = in notificationChip_hidesWhenAppIsVisible() constant
[all …]
/aosp_15_r20/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
/aosp_15_r20/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/data/repository/
DImageEffectsRepositoryImplTest.kt92 val underTest = getImageEffectsRepositoryForTesting(areEffectsAvailable = true) in <lambda>() constant
99 val underTest = getImageEffectsRepositoryForTesting(areEffectsAvailable = false) in <lambda>() constant
107 val underTest = getImageEffectsRepositoryForTesting() in <lambda>() constant
128 val underTest = getImageEffectsRepositoryForTesting(isEffectTriggered = true) in <lambda>() constant
143 val underTest = getImageEffectsRepositoryForTesting(isEffectTriggered = false) in <lambda>() constant
163 val underTest = getImageEffectsRepositoryForTesting() in <lambda>() constant
186 val underTest = getImageEffectsRepositoryForTesting() in <lambda>() constant
205 val underTest = getImageEffectsRepositoryForTesting() in <lambda>() constant
219 val underTest = getImageEffectsRepositoryForTesting() in <lambda>() constant
227 val underTest = in <lambda>() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/data/repository/
H A DSceneContainerRepositoryTest.kt51 val underTest = kosmos.sceneContainerRepository in allContentKeys() constant
58 val underTest = kosmos.sceneContainerRepository in currentScene() constant
74 val underTest = kosmos.sceneContainerRepository in currentOverlays() constant
84 val underTest = kosmos.sceneContainerRepository in changeScene_noSuchSceneInContainer_throws() constant
91 val underTest = kosmos.sceneContainerRepository in snapToScene_noSuchSceneInContainer_throws() constant
98 val underTest = kosmos.sceneContainerRepository in isVisible() constant
112 val underTest = kosmos.sceneContainerRepository in transitionState_defaultsToIdle() constant
124 val underTest = kosmos.sceneContainerRepository in transitionState_reflectsUpdates() constant
/aosp_15_r20/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/menu/
DMenuControllerTest.kt58 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in build_menu_test() constant
71 val underTest = MenuController(fakeRootProviderWithDuplicates, mockContext, mapOf()) in expect_exception_when_menu_has_duplicate_ids() constant
81 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_opening_submenu_the_currentParent_is_updated_correctly() constant
93 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in expect_exception_if_the_submenu_is_not_a_direct_child_of_the_current_parent() constant
106 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_navigating_up_then_the_currentParent_is_updated_correctly() constant
119 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in when_the_menu_is_reloaded_then_the_menu_is_updated_and_the_currentParent_preserved() constant
132 val underTest = MenuController(fakeRootProvider, mockContext, mapOf()) in expect_exception_when_action_is_not_supported() constant
143 val underTest = MenuController( in when_an_additional_reducer_is_provided_the_menuController_uses_it() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/footer/ui/viewmodel/
H A DFooterActionsViewModelTest.kt81 val underTest = utils.footerActionsViewModel(showPowerButton = false) in <lambda>() constant
144 val underTest = in <lambda>() constant
214 val underTest = in <lambda>() constant
277 val underTest = in <lambda>() constant
360 val underTest = in <lambda>() constant
379 val underTest = utils.footerActionsViewModel() in alpha_inSplitShade_followsExpansion() constant
399 val underTest = utils.footerActionsViewModel() in backgroundAlpha_inSplitShade_followsExpansion_with_0_15_delay() constant
423 val underTest = utils.footerActionsViewModel() in alpha_inSingleShade_followsExpansion_with_0_9_delay() constant
447 val underTest = utils.footerActionsViewModel() in backgroundAlpha_inSingleShade_always1() constant
/aosp_15_r20/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DPermissionUsageDetailsViewModelTest.kt155 val underTest = in <lambda>() constant
191 val underTest = in <lambda>() constant
224 val underTest = in <lambda>() constant
254 val underTest = in <lambda>() constant
290 val underTest = getViewModel(CAMERA_PERMISSION_GROUP, discretePackageOps) in <lambda>() constant
323 val underTest = in <lambda>() constant
358 val underTest = getViewModel(CAMERA_PERMISSION_GROUP, discretePackageOps) in <lambda>() constant
385 val underTest = getViewModel(CAMERA_PERMISSION_GROUP, discretePackageOps) in <lambda>() constant
411 val underTest = in <lambda>() constant
442 val underTest = in <lambda>() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
H A 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
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
H A DQSColumnsViewModelTest.kt73 val underTest = qsColumnsViewModelFactory.create(null) in mediaLocationNull_singleOrSplit_alwaysSingleShadeColumns() constant
96 val underTest = qsColumnsViewModelFactory.create(null) in mediaLocationNull_dualShade_alwaysDualShadeColumns() constant
119 val underTest = qsColumnsViewModelFactory.create(LOCATION_QS) in mediaLocationQS_dualShade_alwaysDualShadeColumns() constant
141 val underTest = qsColumnsViewModelFactory.create(LOCATION_QQS) in mediaLocationQQS_dualShade_alwaysDualShadeColumns() constant
163 val underTest = qsColumnsViewModelFactory.create(LOCATION_QS) in mediaLocationQS_singleOrSplit_halfColumnsOnCorrectConfigurationAndVisible() constant
188 val underTest = qsColumnsViewModelFactory.create(LOCATION_QQS) in mediaLocationQQS_singleOrSplit_halfColumnsOnCorrectConfigurationAndVisible() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/notetask/
H A 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
/aosp_15_r20/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachineTest.kt58 val underTest = CustomizationToolStateMachine(mockMenuController, mock()) in when_the_action_toggle_is_received_the_page_state_is_updated() constant
92 val underTest = CustomizationToolStateMachine(mockMenuController, mock()) in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController() constant
118 val underTest = CustomizationToolStateMachine(mockMenuController, spyPanelController) in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController() constant
142 val underTest = CustomizationToolStateMachine(mockMenuController, mock()) in expect_exception_when_action_is_not_implemented_in_the_state_machine() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/footer/domain/interactor/
H A DFooterActionsInteractorTest.kt65 val underTest = utils.footerActionsInteractor(qsSecurityFooterUtils = qsSecurityFooterUtils) in showDeviceMonitoringDialog() constant
80 val underTest = utils.footerActionsInteractor(uiEventLogger = uiEventLogger) in showPowerMenuDialog() constant
110 val underTest = in showSettings_userSetUp() constant
143 val underTest = in showSettings_userNotSetUp() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
H A 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
/aosp_15_r20/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/panel/
DPanelControllerTest.kt37 val underTest = PanelController( in openPanel_action_opens_a_panel_and_the_extras_are_collected_correctly() constant
52 val underTest = PanelController(mapOf()) in when_the_panel_is_closed_the_value_for_the_state_is_null() constant
60 val underTest = PanelController( in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch() constant
/aosp_15_r20/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DSelectablePreviewInteractorTest.kt44 val underTest = in <lambda>() constant
64 val underTest = in <lambda>() constant
96 val underTest = in <lambda>() constant
DSelectionInteractorTest.kt50 val underTest = in <lambda>() constant
78 val underTest = in singleSelection_itemRemovedNoPendingIntentUpdates() constant
112 val underTest = in <lambda>() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
H A DChipTransitionHelperTest.kt50 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in createChipFlow_typicallyFollowsInputFlow() constant
82 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in activityStopped_chipHiddenWithoutAnimationFor500ms() constant
122 val underTest = ChipTransitionHelper(kosmos.applicationCoroutineScope) in activityStopped_stoppedAgainBefore500ms_chipReshownAfterSecond500ms() constant

12345678910>>...34