/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
WebViewUpdateServiceTest.java | 528 Matchers.anyInt()); 541 Matchers.anyInt()); 556 Matchers.anyInt()); 590 Matchers.anyInt() /* user */); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneTest.java | 68 import static org.mockito.Matchers.anyInt; 527 anyInt(), 531 anyInt()); 555 anyInt(), 559 anyInt());
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
BlockedNumberProviderTest.java | 18 import static org.mockito.Matchers.anyInt; 75 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), anyString())) 434 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), anyString()))
|
/external/littlemock/tests/com/google/testing/littlemock/ |
LittleMockTest.java | 24 import static com.google.testing.littlemock.LittleMock.anyInt; 689 verify(mFoo).findByInt(anyInt()); 700 doReturn("b").when(mFoo).findByInt(anyInt()); 840 verify(mFoo, atLeastOnce()).get(anyInt()); 848 verify(mFoo, atLeastOnce()).get(anyInt()); 912 anyInt(); [all...] |
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
CameraEvictionTest.java | 188 verify(spyStateCb, never()).onError(any(CameraDevice.class), anyInt()); 226 verify(spyStateCb, never()).onError(any(CameraDevice.class), anyInt());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
LingerMonitorTest.java | 38 import static org.mockito.Mockito.anyInt; 301 .showNotification(anyInt(), any(), any(), any(), any(), anyBoolean());
|
DnsEventListenerServiceTest.java | 37 import static org.mockito.Mockito.anyInt;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
SupplicantPnoScannerTest.java | 278 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).thenReturn(true); 279 when(mWifiNative.enableNetworkWithoutConnect(anyInt())).thenReturn(true);
|
/external/mockito/src/org/mockito/ |
Matchers.java | 24 * //stubbing using anyInt() argument matcher
25 * when(mockedList.get(anyInt())).thenReturn("element");
31 * verify(mockedList).get(anyInt());
41 * verify(mock).someMethod(anyInt(), anyString(), <b>eq("third argument")</b>);
44 * verify(mock).someMethod(anyInt(), anyString(), <b>"third argument"</b>);
165 public static int anyInt() {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 40 import static org.easymock.EasyMock.anyInt; [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConnectivityManagerTest.java | 224 when(wifiConfigManager.getWifiConfiguration(anyInt())).thenReturn(null); [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
WrapContentBasicTest.java | 35 import static org.mockito.Mockito.anyInt;
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
ExternalCallNotifierTest.java | 19 import static org.mockito.Matchers.anyInt;
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
ComposeMessageViewTest.java | 119 }).when(mockDraftMessageData).checkDraftForAction(Mockito.anyBoolean(), Mockito.anyInt(),
|
ConversationInputManagerTest.java | 102 Mockito.verify(mockMediaPicker).open(Mockito.anyInt(), Mockito.eq(true /* animate */));
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 24 import static org.mockito.Matchers.anyInt; 645 verify(mNotifManager, never()).notify(anyString(), anyInt(), isA(Notification.class)); 657 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); 669 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DevicePolicyManagerTest.java | 55 import static org.mockito.Matchers.anyInt; 97 when(mContext.userManager.isUserUnlocked(anyInt())).thenReturn(true); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
BaseShortcutManagerTest.java | 25 import static org.mockito.Matchers.anyInt; 681 when(mMockUserManager.getUserInfo(anyInt())).thenAnswer(new AnswerWithSystemCheck<>( 690 when(mMockUserManager.isUserRunning(anyInt())).thenAnswer(new AnswerWithSystemCheck<>( 693 when(mMockUserManager.isUserUnlocked(anyInt())) 699 when(mMockUserManager.isUserUnlockingOrUnlocked(anyInt())) 705 when(mMockActivityManagerInternal.getUidProcessState(anyInt())).thenReturn( 771 }).when(res).getString(anyInt()); 778 }).when(res).getResourceName(anyInt()); 794 }).when(mMockPackageManager).getResourcesForApplicationAsUser(anyString(), anyInt()); [all...] |
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/ |
PreProvisioningControllerTest.java | 24 import static org.mockito.Mockito.anyInt; 143 verify(mUi).showErrorAndClose(anyInt(), anyString());
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
ChannelTest.java | 98 }).when(mockPackageManager).getActivityInfo(Mockito.<ComponentName>any(), Mockito.anyInt());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
EnterprisePolicyGuardTest.java | 269 when(mockUm.getProfiles(Matchers.anyInt())).thenReturn(userInfos);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
BasicCallTests.java | 20 import static org.mockito.Matchers.anyInt; 486 verify(audioManager, timeout(TEST_TIMEOUT)).requestAudioFocusForCall(anyInt(), anyInt()); [all...] |
TelecomSystemTest.java | 22 import static org.mockito.Matchers.anyInt; 619 anyInt(), 622 anyInt(), [all...] |
/external/easymock/src/org/easymock/ |
EasyMock.java | 243 public static int anyInt() {
[all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaCallTrackerTest.java | 108 extractNetworkPortionAlt(mDialString)), anyInt(),
|