Home
last modified time | relevance | path

Searched refs:mSmsDispatchersController (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java191 private TestSmsDispatchersController mSmsDispatchersController; field in SmsDispatchersControllerTest
201 mSmsDispatchersController = new TestSmsDispatchersController(mPhone, mSmsStorageMonitor, in setUp()
214 mSmsDispatchersController.dispose(); in tearDown()
215 mSmsDispatchersController = null; in tearDown()
222 assertEquals(SmsConstants.FORMAT_UNKNOWN, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
225 assertEquals(SmsConstants.FORMAT_3GPP, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
226 assertTrue(mSmsDispatchersController.isIms()); in testSmsHandleStateUpdate()
230 assertEquals(SmsConstants.FORMAT_3GPP2, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
231 assertTrue(mSmsDispatchersController.isIms()); in testSmsHandleStateUpdate()
240 mSmsDispatchersController.setImsSmsDispatcher(mImsSmsDispatcher); in testReportSmsMemoryStatus()
[all …]
DImsSmsDispatcherTest.java63 private SmsDispatchersController mSmsDispatchersController; field in ImsSmsDispatcherTest
78 mSmsDispatchersController = mock(SmsDispatchersController.class); in setUp()
87 mImsSmsDispatcher = new ImsSmsDispatcher(mPhone, mSmsDispatchersController, in setUp()
93 when(mSmsDispatchersController.isIms()).thenReturn(true); in setUp()
96 verify(mSmsDispatchersController).setImsManager(mImsManager); in setUp()
229 verify(mSmsDispatchersController).sendRetrySms(captor.capture()); in testFallbackGsmRetry()
333 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in testSendSmswithMessageRef()
349 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in testFallbackGsmRetrywithMessageRef()
363 verify(mSmsDispatchersController).sendRetrySms(captor.capture()); in testFallbackGsmRetrywithMessageRef()
384 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in testErrorImsRetrywithMessageRef()
[all …]
DIccSmsInterfaceManagerTest.java64 mSmsDispatchersController, mMockSmsPermissions); in setUp()
DTelephonyTest.java253 protected SmsDispatchersController mSmsDispatchersController; field in TelephonyTest
540 mSmsDispatchersController = Mockito.mock(SmsDispatchersController.class); in setUp()
738 mIccSmsInterfaceManager.mDispatchersController = mSmsDispatchersController; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsDispatcherTest.java36 private SmsDispatchersController mSmsDispatchersController; field in CdmaSmsDispatcherTest
50 mCdmaSmsDispatcher = new CdmaSMSDispatcher(mPhone, mSmsDispatchersController); in onLooperPrepared()
58 mSmsDispatchersController = mock(SmsDispatchersController.class); in setUp()
62 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java200 mSmsDispatchersController.putDeliveryPendingTracker(tracker);
205 mSmsDispatchersController.notifySmsSentToEmergencyStateTracker(
282 mSmsDispatchersController.handleSmsStatusReport(format, pdu);
303 mSmsDispatchersController.injectSmsPdu(message, format, result -> {
310 mSmsDispatchersController
379 mSmsDispatchersController.setImsManager(mImsManager); in ImsSmsDispatcher()
396 mSmsDispatchersController.setImsManager(null); in ImsSmsDispatcher()
698 mSmsDispatchersController.sendRetrySms(tracker); in fallbackToPstn()
703 return mSmsDispatchersController.isCdmaFormat(getFormat()); in isCdmaMo()
DSMSDispatcher.java222 protected SmsDispatchersController mSmsDispatchersController; field in SMSDispatcher
249 mSmsDispatchersController = smsDispatchersController; in SMSDispatcher()
1020 mSmsDispatchersController.notifySmsSentFailedToEmergencyStateTracker( in notifySmsSentFailedToEmergencyStateTracker()
1052 mSmsDispatchersController.putDeliveryPendingTracker(tracker); in handleSendComplete()
1056 mSmsDispatchersController.notifySmsSentToEmergencyStateTracker( in handleSendComplete()
2108 if (!mSmsDispatchersController in sendRawPdu()
2152 mSmsDispatchersController in checkDestination()
2170 mSmsDispatchersController in checkDestination()
2177 int xmlVersion = mSmsDispatchersController.getUsageMonitor() in checkDestination()
2198 mSmsDispatchersController in checkDestination()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java94 private SmsDispatchersController mSmsDispatchersController; field in GsmSmsDispatcherTest
126 mGsmSmsDispatcher = new GsmSMSDispatcher(mPhone, mSmsDispatchersController, in onLooperPrepared()
135 mSmsDispatchersController = mock(SmsDispatchersController.class); in setUp()
146 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in setUp()
150 mGsmSmsDispatcher = new GsmSMSDispatcher(mPhone, mSmsDispatchersController, in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java68 mSmsDispatchersController.handleSmsStatusReport(SmsConstants.FORMAT_3GPP2, pdu); in handleStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java146 mSmsDispatchersController.handleSmsStatusReport(SmsConstants.FORMAT_3GPP, pdu); in handleStatusReport()