/frameworks/base/core/tests/coretests/src/android/view/ |
D | ImeInsetsSourceConsumerTest.java | 30 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()
|
D | InsetsControllerTest.java | 48 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/ |
D | OMXBuffer.cpp | 140 bool notNull; in readFromParcel() local 141 status_t err = parcel->readBool(¬Null); in readFromParcel() 145 if (notNull) { in readFromParcel()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SyncEngineTests.java | 40 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 …]
|
D | ActivityStarterTests.java | 80 import static org.mockito.ArgumentMatchers.notNull; 941 notNull() /* options */); in testBringTaskToFrontOnSecondaryDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/ |
D | BrightnessSliderControllerTest.kt | 47 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/ |
D | WidgetInteractionHandlerTest.kt | 35 import org.mockito.kotlin.notNull 72 /* animationController = */ notNull(), in launchAnimatorIsUsedForWidgetView()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/smartspace/ |
D | SmartspaceInteractionHandlerTest.kt | 36 import org.mockito.kotlin.notNull 73 /* animationController = */ notNull(), in launchAnimatorIsUsedForSmartspaceView()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | InputManagerMockHelper.java | 21 import static org.mockito.ArgumentMatchers.notNull; 78 }).when(mIInputManagerMock).registerInputDevicesChangedListener(notNull()); in InputManagerMockHelper()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/ |
D | DefaultClockProviderTest.kt | 45 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/ |
D | NotificationStackSizeCalculator.kt | 40 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/ |
D | InputMethodManagerServiceTestBase.java | 30 import static org.mockito.ArgumentMatchers.notNull; 300 .showSoftInput(any() /* showInputToken */ , notNull() /* statsToken */, in verifyShowSoftInput() 312 .hideSoftInput(any() /* hideInputToken */, notNull() /* statsToken */, in verifyHideSoftInput()
|
D | DefaultImeVisibilityApplierTest.java | 36 import static org.mockito.ArgumentMatchers.notNull; 229 eq(mWindowToken), eq(displayIdToShowIme), and(not(eq(statsToken)), notNull())); in testApplyImeVisibility_hideImeWhenUnbinding()
|
D | ImeVisibilityStateComputerTest.java | 42 import static org.mockito.ArgumentMatchers.notNull; 291 notNull() /* statsToken */, resultCaptor.capture()); in testOnApplyImeVisibilityFromComputer()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | BatteryControllerTests.kt | 61 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/ |
D | DisplayInsetsControllerTest.java | 24 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/ |
D | VcnManagerTest.java | 27 import static org.mockito.ArgumentMatchers.notNull; 154 .registerVcnStatusCallback(eq(SUB_GROUP), notNull(), any()); in testRegisterVcnStatusCallback()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceViewBufferTestBase.kt | 32 private var mInitialBlastConfig by Delegates.notNull<Boolean>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationConnectionManagerTest.java | 28 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/ |
D | AccessibilityServiceConnectionTest.java | 28 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/ |
D | VibratorControllerTest.java | 27 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/ |
D | StageCoordinatorTests.java | 36 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/ |
D | ShortcutManagerTest8.java | 27 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/ |
D | UiModeManagerServiceTest.java | 51 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/ |
D | ExtendedMockitoRuleTest.java | 24 import static org.mockito.ArgumentMatchers.notNull;
|