Home
last modified time | relevance | path

Searched refs:mImsSmsDispatcher (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java50 private ImsSmsDispatcher mImsSmsDispatcher; field in ImsSmsDispatcherTest
59 mImsSmsDispatcher = spy(new ImsSmsDispatcher(mPhone, mSmsDispatchersController)); in setUp()
72 int token = mImsSmsDispatcher.mNextToken.get(); in testSendSms()
73 int trackersSize = mImsSmsDispatcher.mTrackers.size(); in testSendSms()
82 mImsSmsDispatcher.sendSms(mSmsTracker); in testSendSms()
84 assertEquals(token + 1, mImsSmsDispatcher.mNextToken.get()); in testSendSms()
85 assertEquals(trackersSize + 1, mImsSmsDispatcher.mTrackers.size()); in testSendSms()
97 int token = mImsSmsDispatcher.mNextToken.get(); in testFallbackGsmRetry()
100 mImsSmsDispatcher.mTrackers.put(token, mSmsTracker); in testFallbackGsmRetry()
104 mImsSmsDispatcher.getSmsListener().onSendSmsResult(token, 0, in testFallbackGsmRetry()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java96 private ImsSmsDispatcher mImsSmsDispatcher; field in SmsDispatchersController
142 mImsSmsDispatcher = new ImsSmsDispatcher(phone, this); in SmsDispatchersController()
455 if (!tracker.mUsesImsServiceForIms && mImsSmsDispatcher.isAvailable()) { in sendRetrySms()
465 ? mImsSmsDispatcher.getFormat() in sendRetrySms()
525 ? mImsSmsDispatcher in sendRetrySms()
538 return mImsSmsDispatcher.isAvailable() ? true : mIms; in isIms()
548 return mImsSmsDispatcher.isAvailable() ? mImsSmsDispatcher.getFormat() : mImsSmsFormat; in getImsSmsFormat()
606 if (mImsSmsDispatcher.isAvailable()) { in sendData()
607 mImsSmsDispatcher.sendData(callingPackage, destAddr, scAddr, destPort, data, sentIntent, in sendData()
665 if (mImsSmsDispatcher.isAvailable() || mImsSmsDispatcher.isEmergencySmsSupport(destAddr)) { in sendText()
[all …]