Home
last modified time | relevance | path

Searched refs:mSimulatedCommandsVerifier (Results 1 – 18 of 18) sorted by relevance

/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDeviceStateMonitorTest.java193 reset(mSimulatedCommandsVerifier); in setUp()
218 reset(mSimulatedCommandsVerifier); in verifySetUnsolResponseFilter()
226 verify(mSimulatedCommandsVerifier).setUnsolResponseFilter( in verifySetUnsolResponseFilter()
234 verify(mSimulatedCommandsVerifier).setUnsolResponseFilter( in verifySetUnsolResponseFilter()
242 verify(mSimulatedCommandsVerifier).setUnsolResponseFilter(anyInt(), in testSetUnsolResponseFilter_noReduandantCall()
244 reset(mSimulatedCommandsVerifier); in testSetUnsolResponseFilter_noReduandantCall()
247 verify(mSimulatedCommandsVerifier, never()).setUnsolResponseFilter(anyInt(), in testSetUnsolResponseFilter_noReduandantCall()
251 verify(mSimulatedCommandsVerifier, never()).setUnsolResponseFilter(anyInt(), in testSetUnsolResponseFilter_noReduandantCall()
260 verify(mSimulatedCommandsVerifier).setUnsolResponseFilter( in testScreenOnOff()
266 verify(mSimulatedCommandsVerifier).setUnsolResponseFilter( in testScreenOnOff()
[all …]
DSmsStorageMonitorTest.java86 verify(mSimulatedCommandsVerifier, never()).reportSmsMemoryStatus(anyBoolean(), in testSmsMemoryStatus()
94 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(false), any(Message.class)); in testSmsMemoryStatus()
100 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(false), any(Message.class)); in testSmsMemoryStatus()
107 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(true), any(Message.class)); in testSmsMemoryStatus()
113 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(true), any(Message.class)); in testSmsMemoryStatus()
131 verify(mSimulatedCommandsVerifier, times(1 + MAX_RETRIES)) in testRetrySmsMemoryStatus()
141 verify(mSimulatedCommandsVerifier, times(2 + MAX_RETRIES)) in testRetrySmsMemoryStatus()
155 verify(mSimulatedCommandsVerifier, never()).reportSmsMemoryStatus(anyBoolean(), in testReportSmsMemoryStatusToIms()
163 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(false), any(Message.class)); in testReportSmsMemoryStatusToIms()
169 verify(mSimulatedCommandsVerifier).reportSmsMemoryStatus(eq(false), any(Message.class)); in testReportSmsMemoryStatusToIms()
[all …]
DSignalStrengthControllerTest.java176 reset(mSimulatedCommandsVerifier); in setUp()
638 verify(mSimulatedCommandsVerifier, atLeastOnce()) in testSetHysteresisDb_WithCarrierConfigValue()
654 reset(mSimulatedCommandsVerifier); in testSetHysteresisDb_WithCarrierConfigValue()
675 reset(mSimulatedCommandsVerifier); in testSetHysteresisDb_BetweenCarrierConfigSignalThresholdInfoThresholdDelta()
693 verify(mSimulatedCommandsVerifier, atLeastOnce()) in testSetHysteresisDb_BetweenCarrierConfigSignalThresholdInfoThresholdDelta()
719 verify(mSimulatedCommandsVerifier, atLeastOnce()) in testSetHysteresisDb_WithInvalidCarrierConfigValue()
735 reset(mSimulatedCommandsVerifier); in testSetHysteresisDb_WithInvalidCarrierConfigValue()
948 reset(mSimulatedCommandsVerifier); in consolidateAndSetReportingCriteria_allEmptyThresholdShouldBeDisabled()
1428 reset(mSimulatedCommandsVerifier); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
1437 verify(mSimulatedCommandsVerifier, never()).setSignalStrengthReportingCriteria(anyList(), in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
[all …]
DGsmCdmaCallTrackerTest.java97 verify(mSimulatedCommandsVerifier).dial(eq(TEST_DIAL_STRING), eq(true), in testCLIRMode()
124 verify(mSimulatedCommandsVerifier).dial( in testMOCallDial()
280 verify(mSimulatedCommandsVerifier).acceptCall(isA(Message.class)); in testMTCallAccept()
400 verify(mSimulatedCommandsVerifier).getCurrentCalls(any(Message.class)); in testUpdatePhoneType()
407 verify(mSimulatedCommandsVerifier, times(2)).getCurrentCalls(any(Message.class)); in testUpdatePhoneType()
432 verify(mSimulatedCommandsVerifier).getCurrentCalls(any(Message.class)); in testUpdatePhoneTypeWithActiveCall()
DGsmCdmaPhoneTest.java727 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()
733 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()
739 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()
745 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()
750 verify(mSimulatedCommandsVerifier).sendBurstDtmf("1234567890", 0, 0, null); in testSendBurstDtmf()
955 verify(mSimulatedCommandsVerifier, times(0)).queryCallForwardStatus( in testGetCallForwardingOption()
962 verify(mSimulatedCommandsVerifier).queryCallForwardStatus( in testGetCallForwardingOption()
990 verify(mSimulatedCommandsVerifier, times(0)).setCallForward(anyInt(), anyInt(), anyInt(), in testSetCallForwardingOption()
996 verify(mSimulatedCommandsVerifier).setCallForward(eq(CF_ACTION_ENABLE), in testSetCallForwardingOption()
1013 verify(mSimulatedCommandsVerifier).getBasebandVersion(nullable(Message.class)); in testHandleInitialMessages()
[all …]
DSmsDispatchersControllerTest.java280 verify(mSimulatedCommandsVerifier).sendImsGsmSms(eq("038122F2"), in testSendImsGmsTest()
290 verify(mSimulatedCommandsVerifier, times(0)).sendImsGsmSms(anyString(), anyString(), in testSendImsGmsTestWithOutDesAddr()
299 verify(mSimulatedCommandsVerifier).sendImsCdmaSms((byte[])any(), eq(0), eq(0), in testSendImsCdmaTest()
312 verify(mSimulatedCommandsVerifier).sendImsCdmaSms(captor.capture(), eq(0), eq(0), in testSendRetrySmsCdmaTest()
325 verify(mSimulatedCommandsVerifier).sendImsGsmSms((String)isNull(), (String)isNull(), eq(0), in testSendRetrySmsGsmTest()
378 verify(mSimulatedCommandsVerifier).sendImsGsmSms(eq(smsc), anyString(), in testSendImsGmsTestWithSmsc()
1114 verify(mSimulatedCommandsVerifier, times(0)).sendImsGsmSms(anyString(), anyString(), in testSendCarrierRoamingNbIotNtnText()
1120 verify(mSimulatedCommandsVerifier, times(1)).sendImsGsmSms(anyString(), anyString(), in testSendCarrierRoamingNbIotNtnText()
DIccSmsInterfaceManagerTest.java121 verify(mSimulatedCommandsVerifier).setGsmBroadcastConfig(any(), in testSynchronization()
145 verify(mSimulatedCommandsVerifier).getSmscAddress(getSmscCaptor.capture()); in testSynchronization()
DTelephonyTest.java225 protected SimulatedCommandsVerifier mSimulatedCommandsVerifier; field in TelephonyTest
512 mSimulatedCommandsVerifier = Mockito.mock(SimulatedCommandsVerifier.class); in setUp()
957 mSimulatedCommandsVerifier); in setUp()
DServiceStateTrackerTest.java1566 verify(mSimulatedCommandsVerifier).setOnRestrictedStateChanged(any(Handler.class), in testOnRestrictedStateChanged()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataServiceManagerTest.java157 verify(mSimulatedCommandsVerifier).setupDataCall(anyInt(), any(DataProfile.class), in testSetupDataCall()
170 verify(mSimulatedCommandsVerifier, never()).setupDataCall(anyInt(), any(DataProfile.class), in testSetupDataCallServiceNotBound()
181 verify(mSimulatedCommandsVerifier).deactivateDataCall(anyInt(), anyInt(), in testDeactivateDataCall()
191 verify(mSimulatedCommandsVerifier, never()).deactivateDataCall(anyInt(), anyInt(), in testDeactivateDataCallServiceNotBound()
201 verify(mSimulatedCommandsVerifier).setInitialAttachApn(any(DataProfile.class), in testSetInitialAttachApn()
211 verify(mSimulatedCommandsVerifier, never()).setInitialAttachApn(any(DataProfile.class), in testSetInitialAttachApnServiceNotBound()
221 verify(mSimulatedCommandsVerifier).setDataProfile(any(DataProfile[].class), in testSetDataProfile()
231 verify(mSimulatedCommandsVerifier, never()).setDataProfile(any(DataProfile[].class), in testSetDataProfileServiceNotBound()
241 verify(mSimulatedCommandsVerifier).startHandover(any(Message.class), anyInt()); in testStartHandover()
250 verify(mSimulatedCommandsVerifier, never()).startHandover(any(Message.class), anyInt()); in testStartHandoverServiceNotBound()
[all …]
DKeepAliveTrackerTest.java104 verify(mSimulatedCommandsVerifier, times(1)) in checkStartStopNattKeepalive()
140 verify(mSimulatedCommandsVerifier, times(1)) in checkStartStopNattKeepalive()
154 verify(mSimulatedCommandsVerifier, times(1)) in checkStartStopNattKeepalive()
182 verify(mSimulatedCommandsVerifier, times(1)) in checkStartNattKeepaliveFail()
212 verify(mSimulatedCommandsVerifier, never()).stopNattKeepalive(anyInt(), any(Message.class)); in checkStartNattKeepaliveFail()
DDataNetworkTest.java498 verify(mSimulatedCommandsVerifier, never()).allocatePduSessionId(any(Message.class)); in testCreateDataNetwork()
730 verify(mSimulatedCommandsVerifier, never()).allocatePduSessionId(any(Message.class)); in testCreateImsDataNetwork()
952 verify(mSimulatedCommandsVerifier, never()).releasePduSessionId(nullable(Message.class), in testTearDown()
1016 verify(mSimulatedCommandsVerifier).allocatePduSessionId(any(Message.class)); in testCreateDataNetworkOnIwlan()
1067 verify(mSimulatedCommandsVerifier).releasePduSessionId(nullable(Message.class), eq(1)); in testTearDownIwlan()
1335 verify(mSimulatedCommandsVerifier).registerForNattKeepaliveStatus(any(Handler.class), in testRegisterUnregisterEvents()
1337 verify(mSimulatedCommandsVerifier).registerForPcoData(any(Handler.class), anyInt(), in testRegisterUnregisterEvents()
1339 verify(mSimulatedCommandsVerifier).registerForNotAvailable(any(Handler.class), anyInt(), in testRegisterUnregisterEvents()
1358 verify(mSimulatedCommandsVerifier).unregisterForNattKeepaliveStatus(any(Handler.class)); in testRegisterUnregisterEvents()
1359 verify(mSimulatedCommandsVerifier).unregisterForPcoData(any(Handler.class)); in testRegisterUnregisterEvents()
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java176 verify(mSimulatedCommandsVerifier).acknowledgeLastIncomingGsmSms(true, 0, null); in testSmsStatus()
190 verify(mSimulatedCommandsVerifier).sendSMS(anyString(), anyString(), any(Message.class)); in testSendSmsToRegularNumber_doesNotNotifyblockedNumberProvider()
210 verify(mSimulatedCommandsVerifier).sendSMS(anyString(), anyString(), any(Message.class)); in testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider()
258 verify(mSimulatedCommandsVerifier, times(0)).sendSMS(anyString(), anyString(), in testSendTextWithInvalidDestAddr()
422 verify(mSimulatedCommandsVerifier, times(0)) in sendSmsWithCarrierAppResponse()
473 verify(mSimulatedCommandsVerifier).sendSMS(anyString(), anyString(), any(Message.class)); in testSendSmsByCarrierAppNoResponse()
486 verify(mSimulatedCommandsVerifier).sendSMS(anyString(), anyString(), any(Message.class)); in testSendSmsByCarrierAppBindingFailed()
534 verify(mSimulatedCommandsVerifier, times(0)).sendSMS(anyString(), anyString(), in testSendMultipartSmsByCarrierApp()
550 verify(mSimulatedCommandsVerifier).sendSMSExpectMore(anyString(), anyString(), in testSendMultipartSmsByCarrierAppNoResponse()
552 verify(mSimulatedCommandsVerifier).sendSMS(anyString(), anyString(), in testSendMultipartSmsByCarrierAppNoResponse()
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsDispatcherTest.java84 verify(mSimulatedCommandsVerifier).sendCdmaSms(nullable(byte[].class), any(Message.class)); in testSendSms()
91 verify(mSimulatedCommandsVerifier).sendCdmaSms(any(byte[].class), any(Message.class)); in testSendText()
98 verify(mSimulatedCommandsVerifier, times(0)).sendImsGsmSms(anyString(), anyString(), in testSendTextWithOutDesAddr()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java184 verify(mSimulatedCommandsVerifier).changeIccPinForApp( in testChangeIccLockPassword()
197 verify(mSimulatedCommandsVerifier).supplyIccPinForApp( in testSupplyPin()
DIccRecordsTest.java97 verify(mSimulatedCommandsVerifier).registerForIccRefresh(eq(mIccRecords), in testDisposeCallsUnregisterForIccRefresh()
101 verify(mSimulatedCommandsVerifier).unregisterForIccRefresh(eq(mIccRecords)); in testDisposeCallsUnregisterForIccRefresh()
DUiccProfileTest.java226 verify(mSimulatedCommandsVerifier, times(2)).iccOpenLogicalChannel(isA(String.class), in testUpdateUiccProfile()
228 verify(mSimulatedCommandsVerifier, times(2)).iccTransmitApduLogicalChannel( in testUpdateUiccProfile()
DUiccControllerTest.java156 verify(mSimulatedCommandsVerifier, times(1)).getIccCardStatus(any(Message.class)); in testSanity()