Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java51 private SmsDispatchersController mSmsDispatchersController; field in SmsDispatchersControllerTest
65 mSmsDispatchersController = new SmsDispatchersController(mPhone, mSmsStorageMonitor, in onLooperPrepared()
85 mSmsDispatchersController = null; in tearDown()
92 assertEquals(SmsConstants.FORMAT_UNKNOWN, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
95 assertEquals(SmsConstants.FORMAT_3GPP, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
96 assertTrue(mSmsDispatchersController.isIms()); in testSmsHandleStateUpdate()
100 assertEquals(SmsConstants.FORMAT_3GPP2, mSmsDispatchersController.getImsSmsFormat()); in testSmsHandleStateUpdate()
101 assertTrue(mSmsDispatchersController.isIms()); in testSmsHandleStateUpdate()
107 mSmsDispatchersController.sendText("111"/* desAddr*/, "222" /*scAddr*/, TAG, in testSendImsGmsTest()
117 mSmsDispatchersController.sendText(null, "222" /*scAddr*/, TAG, in testSendImsGmsTestWithOutDesAddr()
[all …]
DImsSmsDispatcherTest.java43 @Mock private SmsDispatchersController mSmsDispatchersController; field in ImsSmsDispatcherTest
55 mImsSmsDispatcher = spy(new ImsSmsDispatcher(mPhone, mSmsDispatchersController)); in setUp()
56 when(mSmsDispatchersController.isIms()).thenReturn(true); in setUp()
105 verify(mSmsDispatchersController).sendRetrySms(captor.capture()); in testFallbackGsmRetry()
DTelephonyTest.java218 protected SmsDispatchersController mSmsDispatchersController; field in TelephonyTest
452 mIccSmsInterfaceManager.mDispatchersController = mSmsDispatchersController; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsDispatcherTest.java40 private SmsDispatchersController mSmsDispatchersController; field in CdmaSmsDispatcherTest
55 mCdmaSmsDispatcher = new CdmaSMSDispatcher(mPhone, mSmsDispatchersController); in onLooperPrepared()
65 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java155 Pair<Boolean, Boolean> result = mSmsDispatchersController.handleSmsStatusReport(
179 mSmsDispatchersController.injectSmsPdu(message, format, result -> {
392 mSmsDispatchersController.sendRetrySms(tracker); in fallbackToPstn()
398 return mSmsDispatchersController.isCdmaFormat(getFormat()); in isCdmaMo()
DSMSDispatcher.java176 protected SmsDispatchersController mSmsDispatchersController; field in SMSDispatcher
197 mSmsDispatchersController = smsDispatchersController; in SMSDispatcher()
1193 if (!mSmsDispatchersController.getUsageMonitor().check( in sendRawPdu()
1230 smsCategory = mSmsDispatchersController.getUsageMonitor().checkDestination( in checkDestination()
1243 mSmsDispatchersController.getUsageMonitor().checkDestination( in checkDestination()
1261 mSmsDispatchersController.getUsageMonitor().getPremiumSmsPermission( in checkDestination()
1435 if (mSmsDispatchersController != null) { in sendRetrySms()
1436 mSmsDispatchersController.sendRetrySms(tracker); in sendRetrySms()
1438 Rlog.e(TAG, mSmsDispatchersController + " is null. Retry failed"); in sendRetrySms()
1919 mSmsDispatchersController.setPremiumSmsPermission(mTracker.getAppPackageName(), in onClick()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java81 private SmsDispatchersController mSmsDispatchersController; field in GsmSmsDispatcherTest
114 mGsmSmsDispatcher = new GsmSMSDispatcher(mPhone, mSmsDispatchersController, in onLooperPrepared()
129 doReturn(mSmsUsageMonitor).when(mSmsDispatchersController).getUsageMonitor(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java107 mSmsDispatchersController.handleSmsStatusReport(tracker, getFormat(), in handleCdmaStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java145 Pair<Boolean, Boolean> result = mSmsDispatchersController.handleSmsStatusReport( in handleStatusReport()