Searched refs:mImsSmsDispatcher (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ImsSmsDispatcherTest.java | 70 private ImsSmsDispatcher mImsSmsDispatcher; field in ImsSmsDispatcherTest 87 mImsSmsDispatcher = new ImsSmsDispatcher(mPhone, mSmsDispatchersController, in setUp() 101 mImsSmsDispatcher = null; in tearDown() 113 int token = mImsSmsDispatcher.mNextToken.get(); in testOnMemoryAvailable() 115 mImsSmsDispatcher.onMemoryAvailable(); in testOnMemoryAvailable() 116 assertEquals(token + 1, mImsSmsDispatcher.mNextToken.get()); in testOnMemoryAvailable() 127 int token = mImsSmsDispatcher.mNextToken.get(); in testOnMemoryAvailableResultErrorRetry() 129 mImsSmsDispatcher.onMemoryAvailable(); in testOnMemoryAvailableResultErrorRetry() 130 assertEquals(token + 1, mImsSmsDispatcher.mNextToken.get()); in testOnMemoryAvailableResultErrorRetry() 133 mImsSmsDispatcher.getSmsListener().onMemoryAvailableResult(token + 1, in testOnMemoryAvailableResultErrorRetry() [all …]
|
D | SmsDispatchersControllerTest.java | 183 private TestImsSmsDispatcher mImsSmsDispatcher; field in SmsDispatchersControllerTest 208 mImsSmsDispatcher = null; in tearDown() 239 ImsSmsDispatcher mImsSmsDispatcher = Mockito.mock(ImsSmsDispatcher.class); in testReportSmsMemoryStatus() local 240 mSmsDispatchersController.setImsSmsDispatcher(mImsSmsDispatcher); in testReportSmsMemoryStatus() 243 verify(mImsSmsDispatcher).onMemoryAvailable(); in testReportSmsMemoryStatus() 481 verify(mImsSmsDispatcher).sendText(eq("911"), eq("2222"), eq("text"), eq(mSentIntent), in testSendTextForEmergencyWhenDomainPs() 531 verify(mImsSmsDispatcher).sendMultipartText(eq("911"), eq("2222"), eq(parts), in testSendMultipartTextForEmergencyWhenDomainPs() 547 when(mImsSmsDispatcher.getFormat()).thenReturn(SmsConstants.FORMAT_3GPP); in testSendRetrySmsForEmergencyWhenDomainPs() 570 verify(mImsSmsDispatcher).sendSms(eq(mTracker)); in testSendRetrySmsForEmergencyWhenDomainPs() 703 when(mImsSmsDispatcher.isAvailable()).thenReturn(true); in testNotifyDomainSelectionTerminatedWhenImsAvailableAndNormalSms() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsDispatchersController.java | 131 private ImsSmsDispatcher mImsSmsDispatcher; field in SmsDispatchersController 381 mImsSmsDispatcher = new ImsSmsDispatcher(phone, this, ImsManager::getConnector); in SmsDispatchersController() 705 mImsSmsDispatcher = imsSmsDispatcher; in setImsSmsDispatcher() 796 if (mImsSmsDispatcher.isAvailable()) { in sendRetrySms() 818 ? mImsSmsDispatcher.getFormat() in sendRetrySms() 899 ? mImsSmsDispatcher in sendRetrySms() 912 mImsSmsDispatcher.onMemoryAvailable(); in reportSmsMemoryStatus() 929 return mImsSmsDispatcher.isAvailable() ? true : mIms; in isIms() 939 return mImsSmsDispatcher.isAvailable() ? mImsSmsDispatcher.getFormat() : mImsSmsFormat; in getImsSmsFormat() 997 return isCdmaFormat(mImsSmsDispatcher.getFormat()); in isCdmaMo() [all …]
|