Home
last modified time | relevance | path

Searched refs:notNull (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DImeInsetsSourceConsumerTest.java30 import static org.mockito.ArgumentMatchers.notNull;
136 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingControl()
139 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingControl()
168 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingLeash()
171 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingLeash()
180 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingLeash()
183 and(not(eq(statsToken)), notNull())); in testImeRequestedVisibleAwaitingLeash()
232 eq(expectSkipAnim) /* skipAnim */, and(not(eq(statsToken)), notNull())); in verifyImeGetAndClearSkipAnimationOnce()
250 eq(true) /* skipAnim */, and(not(eq(statsToken)), notNull())); in verifyImeGetAndClearSkipAnimationOnce()
DInsetsControllerTest.java48 import static org.mockito.ArgumentMatchers.notNull;
224 verify(mockListener).onCancelled(notNull()); in testControlsRevoked_duringAnim()
269 verify(loggingListener).onReady(notNull(), anyInt()); in testSystemDrivenInsetsAnimationLoggingListener_onReady()
549 verify(mockListener).onCancelled(notNull()); in testCancellation_afterGainingControl()
578 verify(listener).onReady(notNull(), eq(ime())); in testControlImeNotReady()
981 verify(listener).onReady(notNull(), eq(ime())); in testImeRequestedVisibleDuringPredictiveBackAnim()
/frameworks/av/media/libmedia/
DOMXBuffer.cpp140 bool notNull; in readFromParcel() local
141 status_t err = parcel->readBool(&notNull); in readFromParcel()
145 if (notNull) { in readFromParcel()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSyncEngineTests.java40 import static org.mockito.ArgumentMatchers.notNull;
95 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testTrivialSyncCallback()
121 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitingSyncCallback()
187 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testInvisibleSyncCallback()
220 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitForChildrenCallback()
249 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitForParentCallback()
279 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testFillsParent()
316 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testReparentOut()
351 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testReparentIn()
452 verify(listener, times(0)).onTransactionReady(eq(id), notNull()); in testQueueSyncSet()
[all …]
DActivityStarterTests.java80 import static org.mockito.ArgumentMatchers.notNull;
941 notNull() /* options */); in testBringTaskToFrontOnSecondaryDisplay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessSliderControllerTest.kt47 import org.mockito.Mockito.notNull
112 verify(brightnessSliderView).setOnSeekBarChangeListener(notNull()) in testListenersAddedOnAttach()
127 verify(brightnessSliderView).setAdminBlocker(notNull()) in testEnforceAdminRelayed()
153 verify(brightnessSliderView).setOnDispatchTouchEventListener(notNull()) in testSettingMirrorControllerReliesValuesAndSetsTouchTracking()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DWidgetInteractionHandlerTest.kt35 import org.mockito.kotlin.notNull
72 /* animationController = */ notNull(), in launchAnimatorIsUsedForWidgetView()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/smartspace/
DSmartspaceInteractionHandlerTest.kt36 import org.mockito.kotlin.notNull
73 /* animationController = */ notNull(), in launchAnimatorIsUsedForSmartspaceView()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DInputManagerMockHelper.java21 import static org.mockito.ArgumentMatchers.notNull;
78 }).when(mIInputManagerMock).registerInputDevicesChangedListener(notNull()); in InputManagerMockHelper()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DDefaultClockProviderTest.kt45 import org.mockito.ArgumentMatchers.notNull
112 verify(mockSmallClockView).onTimeZoneChanged(notNull()) in createClock()
113 verify(mockLargeClockView).onTimeZoneChanged(notNull()) in createClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackSizeCalculator.kt40 import kotlin.properties.Delegates.notNull in <lambda>()
68 private var maxKeyguardNotifications by notNull<Int>() in <lambda>()
80 private var dividerHeight by notNull<Float>() in <lambda>()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceTestBase.java30 import static org.mockito.ArgumentMatchers.notNull;
300 .showSoftInput(any() /* showInputToken */ , notNull() /* statsToken */, in verifyShowSoftInput()
312 .hideSoftInput(any() /* hideInputToken */, notNull() /* statsToken */, in verifyHideSoftInput()
DDefaultImeVisibilityApplierTest.java36 import static org.mockito.ArgumentMatchers.notNull;
229 eq(mWindowToken), eq(displayIdToShowIme), and(not(eq(statsToken)), notNull())); in testApplyImeVisibility_hideImeWhenUnbinding()
DImeVisibilityStateComputerTest.java42 import static org.mockito.ArgumentMatchers.notNull;
291 notNull() /* statsToken */, resultCaptor.capture()); in testOnApplyImeVisibilityFromComputer()
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt61 import org.mockito.ArgumentMatchers.notNull
269 verify(listener.asBinder()).linkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle()
271 verify(listener.asBinder(), times(1)).linkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle()
275 verify(listener.asBinder(), never()).unlinkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle()
277 verify(listener.asBinder()).unlinkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle()
284 verify(listener1.asBinder()).linkToDeath(notNull(), anyInt()) in testOneListenerPerProcess()
304 verify(listener.asBinder()).unlinkToDeath(notNull(), anyInt()) in testProcessDeathRemovesListener()
308 verify(listener.asBinder(), times(2)).linkToDeath(notNull(), anyInt()) in testProcessDeathRemovesListener()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayInsetsControllerTest.java24 import static org.mockito.ArgumentMatchers.notNull;
98 verify(mWm).setDisplayWindowInsetsController(eq(SECOND_DISPLAY), notNull()); in testOnDisplayAdded_setsDisplayWindowInsetsControllerOnWMService()
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnManagerTest.java27 import static org.mockito.ArgumentMatchers.notNull;
154 .registerVcnStatusCallback(eq(SUB_GROUP), notNull(), any()); in testRegisterVcnStatusCallback()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceViewBufferTestBase.kt32 private var mInitialBlastConfig by Delegates.notNull<Boolean>()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionManagerTest.java28 import static org.mockito.ArgumentMatchers.notNull;
201 eq(200f), eq(300f), eq(0f), eq(0f), notNull()); in enableWithAnimation_hasConnection_enableWindowMagnification()
227 notNull()); in disable_hasConnectionAndEnabled_disableWindowMagnification()
676 eq(1f), eq(1f), eq(0f), eq(0f), notNull()); in enableWindowMagnification_connecting_invokeConnectionMethodAfterConnected()
750 eq(100f), eq(200f), eq(0f), eq(0f), notNull()); in centerGetter_enabledOnTestDisplayWindowAtCenter_expectedValues()
764 eq(100f), eq(200f), eq(-1f), eq(-1f), notNull()); in centerGetter_enabledOnTestDisplayWindowAtLeftTop_expectedValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java28 import static org.mockito.ArgumentMatchers.notNull;
401 when(usbManager.hasPermission(notNull(), eq(COMPONENT_NAME.getPackageName()), in connectUsbBrailleDisplay_throwsForMissingUsbPermission()
422 when(usbManager.hasPermission(notNull(), eq(COMPONENT_NAME.getPackageName()), in connectUsbBrailleDisplay_callsOnConnectionFailedForEmptySerialNumber()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorControllerTest.java27 import static org.mockito.ArgumentMatchers.notNull;
96 verify(mNativeWrapperMock).init(eq(VIBRATOR_ID), notNull()); in createController_initializesNativeWrapper()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DStageCoordinatorTests.java36 import static org.mockito.ArgumentMatchers.notNull;
370 verify(mTaskOrganizer).startNewTransition(eq(TRANSIT_SPLIT_DISMISS), notNull()); in testExitSplitScreenAfterFoldedAndWakeUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java27 import static org.mockito.Matchers.notNull;
311 verify(mServiceContext, times(1)).sendIntentSender(notNull(IntentSender.class)); in checkRequestPinShortcut()
622 verify(mServiceContext, times(1)).sendIntentSender(notNull(IntentSender.class)); in testRequestPinShortcut_dynamicExists_alreadyPinned()
701 verify(mServiceContext, times(1)).sendIntentSender(notNull(IntentSender.class)); in testRequestPinShortcut_manifestExists_alreadyPinned()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java51 import static org.mockito.ArgumentMatchers.notNull;
211 when(mContext.registerReceiver(notNull(), notNull())).then(inv -> { in setUp()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DExtendedMockitoRuleTest.java24 import static org.mockito.ArgumentMatchers.notNull;

12