Home
last modified time | relevance | path

Searched refs:mockito (Results 1 – 25 of 964) sorted by relevance

12345678910>>...39

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DPhoneWindowManagerTests.java19 import static com.android.dx.mockito.inline.extended.ExtendedMockito.doNothing;
20 import static com.android.dx.mockito.inline.extended.ExtendedMockito.doReturn;
21 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mock;
22 import static com.android.dx.mockito.inline.extended.ExtendedMockito.never;
23 import static com.android.dx.mockito.inline.extended.ExtendedMockito.reset;
24 import static com.android.dx.mockito.inline.extended.ExtendedMockito.spy;
25 import static com.android.dx.mockito.inline.extended.ExtendedMockito.spyOn;
26 import static com.android.dx.mockito.inline.extended.ExtendedMockito.verify;
27 import static com.android.dx.mockito.inline.extended.ExtendedMockito.when;
29 import static org.mockito.ArgumentMatchers.anyBoolean;
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java18 import static com.android.dx.mockito.inline.extended.ExtendedMockito.doReturn;
19 import static com.android.dx.mockito.inline.extended.ExtendedMockito.inOrder;
20 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mock;
21 import static com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession;
22 import static com.android.dx.mockito.inline.extended.ExtendedMockito.never;
23 import static com.android.dx.mockito.inline.extended.ExtendedMockito.times;
24 import static com.android.dx.mockito.inline.extended.ExtendedMockito.verify;
25 import static com.android.dx.mockito.inline.extended.ExtendedMockito.when;
29 import static org.mockito.ArgumentMatchers.any;
30 import static org.mockito.ArgumentMatchers.anyBoolean;
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DSystemPropPokerTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyInt;
21 import static org.mockito.ArgumentMatchers.nullable;
22 import static org.mockito.Mockito.atLeastOnce;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.never;
25 import static org.mockito.Mockito.verify;
33 import org.mockito.Mock;
34 import org.mockito.MockitoAnnotations;
35 import org.mockito.Spy;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPinnedStackControllerTest.java21 import static com.android.dx.mockito.inline.extended.ExtendedMockito.never;
22 import static com.android.dx.mockito.inline.extended.ExtendedMockito.reset;
23 import static com.android.dx.mockito.inline.extended.ExtendedMockito.verify;
24 import static com.android.dx.mockito.inline.extended.ExtendedMockito.when;
26 import static org.mockito.ArgumentMatchers.any;
27 import static org.mockito.ArgumentMatchers.anyBoolean;
28 import static org.mockito.ArgumentMatchers.anyInt;
29 import static org.mockito.ArgumentMatchers.eq;
39 import org.mockito.Mock;
40 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.ArgumentMatchers.anyBoolean;
23 import static org.mockito.ArgumentMatchers.anyFloat;
24 import static org.mockito.ArgumentMatchers.anyInt;
25 import static org.mockito.ArgumentMatchers.eq;
26 import static org.mockito.Mockito.doAnswer;
27 import static org.mockito.Mockito.mock;
28 import static org.mockito.Mockito.never;
29 import static org.mockito.Mockito.reset;
30 import static org.mockito.Mockito.times;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java19 import static org.mockito.ArgumentMatchers.anyBoolean;
20 import static org.mockito.ArgumentMatchers.anyInt;
21 import static org.mockito.ArgumentMatchers.eq;
22 import static org.mockito.Mockito.any;
23 import static org.mockito.Mockito.doAnswer;
24 import static org.mockito.Mockito.never;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
41 import org.mockito.Mock;
42 import org.mockito.MockitoAnnotations;
[all …]
DKeyButtonViewTest.java23 import static org.mockito.ArgumentMatchers.anyInt;
24 import static org.mockito.ArgumentMatchers.argThat;
25 import static org.mockito.Mockito.mock;
26 import static org.mockito.Mockito.times;
27 import static org.mockito.Mockito.verify;
28 import static org.mockito.Mockito.when;
47 import org.mockito.ArgumentCaptor;
48 import org.mockito.ArgumentMatcher;
49 import org.mockito.Captor;
50 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/chooser/
DChooserHelperTest.java19 import static org.mockito.Mockito.any;
20 import static org.mockito.Mockito.anyBoolean;
21 import static org.mockito.Mockito.anyInt;
22 import static org.mockito.Mockito.eq;
23 import static org.mockito.Mockito.mock;
24 import static org.mockito.Mockito.times;
25 import static org.mockito.Mockito.verify;
26 import static org.mockito.Mockito.when;
/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/
DRecyclerViewScrollHandlingDelegateTest.java19 import static org.mockito.Matchers.anyInt;
20 import static org.mockito.Matchers.eq;
21 import static org.mockito.Mockito.doNothing;
22 import static org.mockito.Mockito.doReturn;
23 import static org.mockito.Mockito.spy;
24 import static org.mockito.Mockito.verify;
32 import org.mockito.ArgumentCaptor;
33 import org.mockito.Mock;
34 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DConnectivityPreferenceControllerTest.java21 import static org.mockito.ArgumentMatchers.anyString;
22 import static org.mockito.ArgumentMatchers.nullable;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
38 import org.mockito.ArgumentCaptor;
39 import org.mockito.Mock;
40 import org.mockito.MockitoAnnotations;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java20 import static org.mockito.Matchers.anyString;
21 import static org.mockito.Matchers.nullable;
22 import static org.mockito.Mockito.any;
23 import static org.mockito.Mockito.anyInt;
24 import static org.mockito.Mockito.doReturn;
25 import static org.mockito.Mockito.eq;
26 import static org.mockito.Mockito.isNull;
27 import static org.mockito.Mockito.never;
28 import static org.mockito.Mockito.verify;
29 import static org.mockito.Mockito.when;
[all …]
/frameworks/base/services/robotests/src/com/android/server/location/
DGnssBatchingProviderTest.java5 import static org.mockito.ArgumentMatchers.anyBoolean;
6 import static org.mockito.ArgumentMatchers.anyLong;
7 import static org.mockito.ArgumentMatchers.eq;
8 import static org.mockito.Mockito.times;
9 import static org.mockito.Mockito.verify;
10 import static org.mockito.Mockito.when;
19 import org.mockito.Mock;
20 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimatorTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyInt;
21 import static org.mockito.ArgumentMatchers.anyLong;
22 import static org.mockito.ArgumentMatchers.anyObject;
23 import static org.mockito.Mockito.doAnswer;
24 import static org.mockito.Mockito.doReturn;
25 import static org.mockito.Mockito.mock;
26 import static org.mockito.Mockito.verify;
27 import static org.mockito.Mockito.when;
49 import org.mockito.stubbing.Answer;
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPinBasedInputViewTest.java19 import static org.mockito.ArgumentMatchers.eq;
20 import static org.mockito.Mockito.mock;
21 import static org.mockito.Mockito.verify;
22 import static org.mockito.Mockito.verifyZeroInteractions;
36 import org.mockito.InjectMocks;
37 import org.mockito.Mock;
38 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLightBarTransitionsControllerTest.java19 import static org.mockito.ArgumentMatchers.eq;
20 import static org.mockito.Mockito.mock;
21 import static org.mockito.Mockito.reset;
22 import static org.mockito.Mockito.times;
23 import static org.mockito.Mockito.verify;
37 import org.mockito.Mock;
38 import org.mockito.MockitoAnnotations;
DStatusBarWindowControllerTest.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.ArgumentMatchers.anyInt;
23 import static org.mockito.Mockito.reset;
24 import static org.mockito.Mockito.verify;
25 import static org.mockito.Mockito.when;
40 import org.mockito.ArgumentCaptor;
41 import org.mockito.Mock;
42 import org.mockito.MockitoAnnotations;
DStatusBarRemoteInputCallbackTest.java19 import static org.mockito.ArgumentMatchers.anyInt;
20 import static org.mockito.Mockito.mock;
21 import static org.mockito.Mockito.spy;
22 import static org.mockito.Mockito.verify;
23 import static org.mockito.Mockito.when;
24 import static org.mockito.internal.verification.VerificationModeFactory.times;
43 import org.mockito.Mock;
44 import org.mockito.MockitoAnnotations;
/frameworks/base/tests/net/java/com/android/server/
DNetworkManagementServiceTest.java19 import static org.mockito.Mockito.doNothing;
20 import static org.mockito.Mockito.doReturn;
21 import static org.mockito.Mockito.mock;
22 import static org.mockito.Mockito.reset;
23 import static org.mockito.Mockito.timeout;
24 import static org.mockito.Mockito.verify;
25 import static org.mockito.Mockito.verifyNoMoreInteractions;
47 import org.mockito.ArgumentCaptor;
48 import org.mockito.Captor;
49 import org.mockito.Mock;
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixinTest.java20 import static org.mockito.ArgumentMatchers.any;
21 import static org.mockito.ArgumentMatchers.anyInt;
22 import static org.mockito.ArgumentMatchers.eq;
23 import static org.mockito.ArgumentMatchers.nullable;
24 import static org.mockito.Mockito.mock;
25 import static org.mockito.Mockito.never;
26 import static org.mockito.Mockito.times;
27 import static org.mockito.Mockito.verify;
28 import static org.mockito.Mockito.when;
42 import org.mockito.Mock;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelTest.java18 import static org.mockito.ArgumentMatchers.any;
19 import static org.mockito.ArgumentMatchers.anyBoolean;
20 import static org.mockito.ArgumentMatchers.anyInt;
21 import static org.mockito.ArgumentMatchers.eq;
22 import static org.mockito.Mockito.doAnswer;
23 import static org.mockito.Mockito.mock;
24 import static org.mockito.Mockito.never;
25 import static org.mockito.Mockito.verify;
26 import static org.mockito.Mockito.when;
46 import org.mockito.Mock;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java22 import static org.mockito.Matchers.nullable;
23 import static org.mockito.Mockito.any;
24 import static org.mockito.Mockito.anyBoolean;
25 import static org.mockito.Mockito.anyInt;
26 import static org.mockito.Mockito.doReturn;
27 import static org.mockito.Mockito.eq;
28 import static org.mockito.Mockito.times;
29 import static org.mockito.Mockito.verify;
49 import org.mockito.ArgumentCaptor;
50 import org.mockito.Mock;
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DDefaultAppInfoTest.java21 import static org.mockito.ArgumentMatchers.anyInt;
22 import static org.mockito.ArgumentMatchers.anyString;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.verify;
26 import static org.mockito.Mockito.when;
38 import org.mockito.Mock;
39 import org.mockito.MockitoAnnotations;
/frameworks/base/tests/net/java/android/net/ip/
DInterfaceControllerTest.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.Mockito.doNothing;
23 import static org.mockito.Mockito.times;
24 import static org.mockito.Mockito.verify;
38 import org.mockito.ArgumentCaptor;
39 import org.mockito.Captor;
40 import org.mockito.Mock;
41 import org.mockito.MockitoAnnotations;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGlobalActionPerformerTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyBoolean;
21 import static org.mockito.ArgumentMatchers.eq;
22 import static org.mockito.Mockito.verify;
23 import static org.mockito.Mockito.when;
35 import org.mockito.Mock;
36 import org.mockito.MockitoAnnotations;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java19 import static org.mockito.Matchers.any;
20 import static org.mockito.Matchers.anyInt;
21 import static org.mockito.Matchers.argThat;
22 import static org.mockito.Mockito.doReturn;
23 import static org.mockito.Mockito.eq;
24 import static org.mockito.Mockito.never;
25 import static org.mockito.Mockito.verify;
50 import org.mockito.ArgumentCaptor;
51 import org.mockito.ArgumentMatcher;
52 import org.mockito.Mock;
[all …]

12345678910>>...39