Home
last modified time | relevance | path

Searched refs:clearInvocations (Results 1 – 25 of 173) sorted by relevance

1234567

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
H A DCompatUIWindowManagerTest.java123 clearInvocations(mLayout); in testCreateSizeCompatButton()
161 clearInvocations(mLayout); in testCreateCameraCompatControl()
218 clearInvocations(mLayout); in testUpdateCompatInfo()
229 clearInvocations(mLayout); in testUpdateCompatInfo()
240 clearInvocations(mLayout); in testUpdateCompatInfo()
249 clearInvocations(mLayout); in testUpdateCompatInfo()
258 clearInvocations(mLayout); in testUpdateCompatInfo()
266 clearInvocations(mLayout); in testUpdateCompatInfo()
275 clearInvocations(mLayout); in testUpdateCompatInfo()
387 clearInvocations(mLayout); in testOnCameraDismissButtonClicked()
[all …]
H A DUserAspectRatioSettingsWindowManagerTest.java140 clearInvocations(mWindowManager); in testCreateUserAspectRatioButton()
141 clearInvocations(mLayout); in testCreateUserAspectRatioButton()
154 clearInvocations(mWindowManager); in testCreateUserAspectRatioButton()
180 clearInvocations(mWindowManager); in testUpdateCompatInfo()
191 clearInvocations(mWindowManager); in testUpdateCompatInfo()
200 clearInvocations(mWindowManager); in testUpdateCompatInfo()
201 clearInvocations(mLayout); in testUpdateCompatInfo()
218 clearInvocations(mWindowManager); in testUpdateCompatInfoLayoutNotInflatedYet()
226 clearInvocations(mWindowManager); in testUpdateCompatInfoLayoutNotInflatedYet()
246 clearInvocations(mWindowManager); in testUpdateDisplayLayout()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DHeadsUpViewBinderTest.java81 clearInvocations(mLogger); in testLoggingForStandardFlow()
86 clearInvocations(mLogger); in testLoggingForStandardFlow()
91 clearInvocations(mLogger); in testLoggingForStandardFlow()
96 clearInvocations(mLogger); in testLoggingForStandardFlow()
103 clearInvocations(mLogger); in testLoggingForStandardFlow()
108 clearInvocations(mLogger); in testLoggingForStandardFlow()
122 clearInvocations(mLogger); in testLoggingForAbortFlow()
127 clearInvocations(mLogger); in testLoggingForAbortFlow()
132 clearInvocations(mLogger); in testLoggingForAbortFlow()
146 clearInvocations(mLogger); in testLoggingForEarlyUnbindFlow()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationWakeUpCoordinatorTest.kt45 import org.mockito.Mockito.clearInvocations
130 clearInvocations(stackScrollerController)
152 clearInvocations(stackScrollerController)
161 clearInvocations(stackScrollerController)
223 clearInvocations(wakeUpListener)
257 clearInvocations(wakeUpListener)
267 clearInvocations(wakeUpListener)
277 clearInvocations(wakeUpListener)
323 clearInvocations(stackScrollerController)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/
H A DTouchInsetManagerTest.java21 import static org.mockito.Mockito.clearInvocations;
82 clearInvocations(mAttachedSurfaceControl); in testViewOnAttachedHandling()
111 clearInvocations(mAttachedSurfaceControl); in testViewOnDetachedHandling()
156 clearInvocations(mAttachedSurfaceControl); in testMultipleRegions()
176 clearInvocations(mAttachedSurfaceControl); in testMultipleRegions()
202 clearInvocations(mAttachedSurfaceControl); in testMultipleViews()
222 clearInvocations(mAttachedSurfaceControl); in testMultipleViews()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DNotificationShadeWindowControllerImplTest.java175 clearInvocations(mWindowManager); in attach_visibleWithWallpaper()
189 clearInvocations(mWindowManager); in attach_lightScrimHidesWallpaper()
200 clearInvocations(mWindowManager); in attach_scrimDoesntHideWallpaper()
210 clearInvocations(mWindowManager); in setScrimsVisibility_earlyReturn()
218 clearInvocations(mWindowManager); in attach_animatingKeyguardAndSurface_wallpaperVisible()
241 clearInvocations(mWindowManager); in setBouncerShowing_isFocusable_whenNeedsInput()
252 clearInvocations(mWindowManager); in setKeyguardShowing_focusable_notAltFocusable_whenNeedsInput()
263 clearInvocations(mWindowManager); in setPanelExpanded_notFocusable_altFocusable_whenPanelIsOpen()
303 clearInvocations(mWindowManager); in rotationBecameAllowed_layoutParamsUpdated()
318 clearInvocations(mWindowManager); in rotationBecameNotAllowed_layoutParamsUpdated()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
H A DConditionMonitorTest.java132 Mockito.clearInvocations(callback); in testOverridingCondition()
182 Mockito.clearInvocations(callback); in testMultipleOverridingConditions()
307 clearInvocations(callback); in removeCallback_shouldNoLongerReceiveUpdate()
342 clearInvocations(callback); in updateCallbacks_allConditionsMet_reportTrue()
361 clearInvocations(callback); in updateCallbacks_oneConditionStoppedMeeting_reportFalse()
375 clearInvocations(callback); in updateCallbacks_shouldOnlyUpdateWhenValueChanges()
441 clearInvocations(callback); in setUnsetCondition_shouldAffectValue()
446 clearInvocations(callback); in setUnsetCondition_shouldAffectValue()
470 clearInvocations(callback); in clearingOverridingCondition_shouldBeExcluded()
493 clearInvocations(callback); in settingUnsetOverridingCondition_shouldBeIncluded()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerSettingsTests.java30 import static org.mockito.Mockito.clearInvocations;
93 clearInvocations(mWm.mRoot); in testFreeformWindow_valueChanged_updatesDisplaySettings()
99 clearInvocations(mWm.mRoot); in testFreeformWindow_valueChanged_updatesDisplaySettings()
142 clearInvocations(mWm.mRoot); in testChangeBaseDisplaySettingsPath()
143 clearInvocations(mWm.mDisplayWindowSettings); in testChangeBaseDisplaySettingsPath()
144 clearInvocations(mWm.mDisplayWindowSettingsProvider); in testChangeBaseDisplaySettingsPath()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
H A DDeviceStateProviderImplTest.java275 Mockito.clearInvocations(listener); in create_lidSwitch()
367 Mockito.clearInvocations(listener); in create_sensor()
380 Mockito.clearInvocations(listener); in create_sensor()
393 Mockito.clearInvocations(listener); in create_sensor()
429 Mockito.clearInvocations(listener); in test_flagDisableWhenThermalStatusCritical()
434 Mockito.clearInvocations(listener); in test_flagDisableWhenThermalStatusCritical()
446 Mockito.clearInvocations(listener); in test_flagDisableWhenThermalStatusCritical()
486 Mockito.clearInvocations(listener); in test_flagDisableWhenPowerSaveEnabled()
491 Mockito.clearInvocations(listener); in test_flagDisableWhenPowerSaveEnabled()
503 Mockito.clearInvocations(listener); in test_flagDisableWhenPowerSaveEnabled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardStatusViewControllerWithCoroutinesTest.kt29 import org.mockito.Mockito.clearInvocations
44 clearInvocations(mKeyguardSliceViewController)
58 clearInvocations(mKeyguardSliceViewController)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DRebootEscrowManagerTests.java361 clearInvocations(mRebootEscrow); in prepareRebootEscrow_Success()
387 clearInvocations(mRebootEscrow); in prepareRebootEscrow_ClearCredentials_Success()
407 clearInvocations(mRebootEscrow); in armService_Success()
452 clearInvocations(mRebootEscrow); in armService_HalFailure_NonFatal()
470 clearInvocations(mRebootEscrow); in armService_MultipleUsers_Success()
504 clearInvocations(mRebootEscrow); in armService_RebootEscrowServiceException_Failure()
527 clearInvocations(mRebootEscrow); in loadRebootEscrowDataIfAvailable_Success()
1192 clearInvocations(mRebootEscrow); in loadRebootEscrowDataIfAvailable_TooManyBootsInBetween_NoMetrics()
1223 clearInvocations(mRebootEscrow); in loadRebootEscrowDataIfAvailable_ManualReboot_Failure_NoMetrics()
1251 clearInvocations(mRebootEscrow); in loadRebootEscrowDataIfAvailable_OTAFromBeforeArmedStatus_SuccessMetrics()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
H A DDevicePostureControllerTest.java22 import static org.mockito.Mockito.clearInvocations;
87 clearInvocations(mOnDevicePostureChangedListener); in onDevicePostureChanged_differentPosture_callbackListener()
102 clearInvocations(mOnDevicePostureChangedListener); in onDevicePostureChanged_samePosture_doesNotCallbackListener()
H A DLaunchAdjacentControllerTest.kt33 import org.mockito.Mockito.clearInvocations
85 clearInvocations(syncQueue)
97 clearInvocations(syncQueue)
140 clearInvocations(syncQueue)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DMediaHierarchyManagerTest.kt59 import org.mockito.Mockito.clearInvocations
138 clearInvocations(mediaCarouselController)
170 clearInvocations(mediaCarouselController)
197 clearInvocations(mediaCarouselController)
221 clearInvocations(mediaCarouselController)
247 clearInvocations(mediaCarouselController)
273 clearInvocations(mediaCarouselController)
460 clearInvocations(mediaCarouselController)
501 clearInvocations(mediaCarouselController)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
H A DComplicationLayoutEngineTest.java93 void clearInvocations() { in clearInvocations() method in ComplicationLayoutEngineTest.ViewInfo
94 Mockito.clearInvocations(view); in clearInvocations()
155 firstViewInfo.clearInvocations(); in testComplicationMarginPosition()
258 firstViewInfo.clearInvocations(); in testDirectionLayout()
319 firstViewInfo.clearInvocations(); in testPositionLayout()
320 secondViewInfo.clearInvocations(); in testPositionLayout()
406 firstViewInfo.clearInvocations(); in testDefaultMargin()
407 secondViewInfo.clearInvocations(); in testDefaultMargin()
483 firstViewInfo.clearInvocations(); in testComplicationMargin()
484 secondViewInfo.clearInvocations(); in testComplicationMargin()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
H A DShellTaskOrganizerTests.java368 clearInvocations(mCompatUI); in testOnSizeCompatActivityChanged()
378 clearInvocations(mCompatUI); in testOnSizeCompatActivityChanged()
387 clearInvocations(mCompatUI); in testOnSizeCompatActivityChanged()
407 clearInvocations(mCompatUI); in testOnEligibleForLetterboxEducationActivityChanged()
417 clearInvocations(mCompatUI); in testOnEligibleForLetterboxEducationActivityChanged()
426 clearInvocations(mCompatUI); in testOnEligibleForLetterboxEducationActivityChanged()
445 clearInvocations(mCompatUI); in testOnCameraCompatActivityChanged()
456 clearInvocations(mCompatUI); in testOnCameraCompatActivityChanged()
467 clearInvocations(mCompatUI); in testOnCameraCompatActivityChanged()
478 clearInvocations(mCompatUI); in testOnCameraCompatActivityChanged()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DViewConfigCoordinatorTest.kt36 import org.mockito.Mockito.clearInvocations
128 clearInvocations(entry, row)
159 clearInvocations(entry, row)
195 clearInvocations(entry, row)
/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DTransactionManagerTest.java31 import static org.mockito.Mockito.clearInvocations;
151 clearInvocations(mOrganizer); in testApply()
161 clearInvocations(mOrganizer); in testApply()
172 clearInvocations(mOrganizer); in testApply()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/
H A DDreamOverlayStateControllerTest.java23 import static org.mockito.Mockito.clearInvocations;
84 Mockito.clearInvocations(mCallback); in testStateChange_overlayActive()
111 clearInvocations(mCallback); in testCallback()
209 clearInvocations(callback); in testComplicationFilteringWhenShouldHideComplications()
220 clearInvocations(callback); in testComplicationFilteringWhenShouldHideComplications()
363 clearInvocations(callback); in testShouldShowComplicationsSetToFalse_stillShowsHomeControls_featureEnabled()
373 clearInvocations(callback); in testShouldShowComplicationsSetToFalse_stillShowsHomeControls_featureEnabled()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
H A DDeviceStateNotificationControllerTest.java22 import static org.mockito.Mockito.clearInvocations;
176 Mockito.clearInvocations(mNotificationManager); in test_powerSaveNotification()
212 Mockito.clearInvocations(mNotificationManager); in test_thermalNotification()
251 clearInvocations(mNotificationInfoProvider); in test_notificationInfoProvider()
257 clearInvocations(mNotificationInfoProvider); in test_notificationInfoProvider()
263 clearInvocations(mNotificationInfoProvider); in test_notificationInfoProvider()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
H A DUnfoldHapticsPlayerTest.kt30 import org.mockito.Mockito.clearInvocations
80 clearInvocations(vibrator)
106 clearInvocations(vibrator)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
H A DNaturalRotationUnfoldProgressProviderTest.kt33 import org.mockito.Mockito.clearInvocations
106 clearInvocations(transitionListener)
117 clearInvocations(transitionListener)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/conditions/
H A DDreamConditionTest.java22 import static org.mockito.Mockito.clearInvocations;
107 clearInvocations(mCallback); in testChange()
112 clearInvocations(mCallback); in testChange()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DDistractingPackageHelperTest.kt30 import org.mockito.Mockito.clearInvocations
70 clearInvocations(pms)
71 clearInvocations(broadcastHelper)
149 clearInvocations(pms)
150 clearInvocations(broadcastHelper)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DWallpaperControllerTest.kt38 import org.mockito.Mockito.clearInvocations
107 clearInvocations(wallpaperManager)
117 clearInvocations(wallpaperManager)

1234567