/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
UiccCardTest.java | 207 eq(mChannelId), anyInt(), anyInt(), anyInt(), anyInt(), anyInt(), anyString(),
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
TestAlarmManager.java | 20 import static org.mockito.Mockito.anyInt; 51 doAnswer(new SetListenerAnswer()).when(mAlarmManager).set(anyInt(), anyLong(), anyString(), 53 doAnswer(new SetListenerAnswer()).when(mAlarmManager).setExact(anyInt(), anyLong(),
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockAlarmManager.java | 20 import static org.mockito.Mockito.anyInt; 52 doAnswer(new SetListenerAnswer()).when(mAlarmManager).set(anyInt(), anyLong(), anyString(), 54 doAnswer(new SetListenerAnswer()).when(mAlarmManager).setExact(anyInt(), anyLong(),
|
SoftApManagerTest.java | 20 import static org.mockito.Mockito.anyInt; 113 verify(mListener, never()).onStateChanged(anyInt(), anyInt());
|
MockWifiMonitor.java | 21 import static org.mockito.Mockito.anyInt; 52 .when(mWifiMonitor).registerHandler(anyString(), anyInt(), any(Handler.class));
|
RttServiceTest.java | 21 import static org.mockito.Matchers.anyInt; 127 verify(mWifiNative).enableRttResponder(anyInt()); 146 when(mWifiNative.enableRttResponder(anyInt())).thenReturn(config); 200 verify(mWifiNative, times(1)).enableRttResponder(anyInt()); 221 when(mWifiNative.enableRttResponder(anyInt())).thenReturn(null);
|
WifiStateMachineTest.java | 199 anyInt())).thenReturn(PackageManager.PERMISSION_GRANTED); 440 when(mWifiNative.setBand(anyInt())).thenReturn(true); 530 when(mWifiNative.setBand(anyInt())).thenReturn(true); 557 when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())) 571 when(mWifiNative.setNetworkExtra(anyInt(), anyString(), (Map<String, String>) anyObject())) 584 when(mWifiNative.getNetworkVariable(anyInt(), anyString())) 637 verify(mWifiNative, never()).setNetworkVariable(anyInt(), anyString(), anyString()); 689 verify(mWifiNative, never()).removeNetwork(anyInt()); 737 verify(mWifiNative, never()).selectNetwork(anyInt()); 793 verify(mWifiNative, never()).removeNetwork(anyInt()); [all...] |
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/ |
DialerRingtoneManagerTest.java | 177 Mockito.verify(mInCallTonePlayer, Mockito.never()).play(Mockito.anyInt()); 185 Mockito.verify(mInCallTonePlayer, Mockito.never()).play(Mockito.anyInt()); 193 Mockito.verify(mInCallTonePlayer).play(Mockito.anyInt());
|
InCallTonePlayerTest.java | 50 Mockito.when(mToneGeneratorFactory.newInCallToneGenerator(Mockito.anyInt(), 51 Mockito.anyInt())).thenReturn(mToneGenerator);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
EditTextTest.java | 6 import static org.mockito.Matchers.anyInt; 82 when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandlerTest.java | 36 import static org.mockito.Mockito.anyInt; 70 doReturn(true).when(mTelephonyManager).getSmsReceiveCapableForPhone(anyInt(), anyBoolean());
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
DevicePolicyUtilsTest.java | 36 import static com.google.testing.littlemock.LittleMock.anyInt; 106 .when(mockUm).getProfiles(anyInt());
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
AudioRecordViewTest.java | 60 Matchers.<OnInfoListener>any(), Matchers.anyInt())).thenReturn(true); 65 Matchers.<OnInfoListener>any(), Matchers.anyInt());
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastTest.java | 29 import static org.mockito.Mockito.anyInt;
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
VideoProviderTest.java | 58 import static org.mockito.Matchers.anyInt; 269 .onSessionModifyResponseReceived(anyInt(), any(VideoProfile.class), 401 .onCallSessionEvent(anyInt()); 420 .onPeerDimensionsChanged(anyInt(), anyInt()); 440 .onVideoQualityChanged(anyInt());
|
CallAudioManagerTest.java | 41 import static org.mockito.Matchers.anyInt; 70 }).when(mPlayerFactory).createPlayer(anyInt()); 179 anyInt(), any(CallAudioModeStateMachine.MessageArgs.class)); 188 anyInt(), any(CallAudioModeStateMachine.MessageArgs.class));
|
TelecomServiceImplTest.java | 66 import static org.mockito.Matchers.anyInt; 241 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), anyString())) 553 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); 570 doThrow(new SecurityException()).when(mAppOpsManager).checkPackage(anyInt(), anyString()); 589 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); 606 doThrow(new SecurityException()).when(mAppOpsManager).checkPackage(anyInt(), anyString()); 653 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) 667 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) 681 when(mAppOpsManager.noteOp(eq(AppOpsManager.OP_CALL_PHONE), anyInt(), anyString())) [all...] |
BluetoothManagerTest.java | 38 import static org.mockito.Matchers.anyInt; 222 verify(mListener, never()).onBluetoothStateChange(anyInt(), anyInt());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestBase.java | 33 import static org.mockito.Matchers.anyInt; 161 anyInt(),
|
DevicePolicyManagerServiceMigrationTest.java | 39 import static org.mockito.Matchers.anyInt; 123 anyInt(), any(Bundle.class)); 238 anyInt(), any(Bundle.class));
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
ChooseLockSettingsHelperTest.java | 19 import static org.mockito.Matchers.anyInt; 133 when(mockLockPatternUtils.getKeyguardStoredPasswordQuality(anyInt()))
|
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLSessionCacheTest.java | 48 LittleMock.verify(mock).getSessionData(LittleMock.anyString(), LittleMock.anyInt());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ImsSMSDispatcherTest.java | 25 import static org.mockito.Mockito.anyInt; 129 anyInt(), anyInt(), any(Message.class));
|
CallManagerTest.java | 38 import static org.mockito.Matchers.anyInt; 156 verify(mPhone, times(1)).acceptCall(anyInt()); 208 verify(mPhone, times(0)).sendBurstDtmf(anyString(), anyInt(), anyInt(), (Message) any());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTrackerTest.java | 53 import static org.mockito.Mockito.anyInt; 96 }).when(mImsCall).accept(anyInt()); 109 }).when(mImsCall).reject(anyInt()); 121 }).when(mImsCall).terminate(anyInt()); 148 anyInt(), anyInt()); 158 }).when(mImsManager).open(anyInt(), (PendingIntent) any(),
|