Home
last modified time | relevance | path

Searched refs:mInboundSmsTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DInboundSmsTrackerTest.java31 InboundSmsTracker mInboundSmsTracker; field in InboundSmsTrackerTest
45 mInboundSmsTracker = new InboundSmsTracker(FAKE_PDU, FAKE_TIMESTAMP, FAKE_DEST_PORT, false, in setUp()
69 assertTrue(Arrays.equals(FAKE_PDU, mInboundSmsTracker.getPdu())); in testInitialization()
70 assertEquals(FAKE_TIMESTAMP, mInboundSmsTracker.getTimestamp()); in testInitialization()
71 assertEquals(FAKE_DEST_PORT, mInboundSmsTracker.getDestPort()); in testInitialization()
72 assertFalse(mInboundSmsTracker.is3gpp2()); in testInitialization()
73 assertEquals(FAKE_ADDRESS, mInboundSmsTracker.getAddress()); in testInitialization()
74 assertEquals(FAKE_REFERENCE_NUMBER, mInboundSmsTracker.getReferenceNumber()); in testInitialization()
75 assertEquals(FAKE_SEQUENCE_NUMBER, mInboundSmsTracker.getSequenceNumber()); in testInitialization()
76 assertEquals(FAKE_MESSAGE_COUNT, mInboundSmsTracker.getMessageCount()); in testInitialization()
[all …]
DTelephonyTest.java166 protected InboundSmsTracker mInboundSmsTracker; field in TelephonyTest
345 doReturn(mInboundSmsTracker).when(mTelephonyComponentFactory) in setUp()
349 doReturn(mInboundSmsTracker).when(mTelephonyComponentFactory) in setUp()
353 doReturn(mInboundSmsTracker).when(mTelephonyComponentFactory) in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java160 doReturn(1).when(mInboundSmsTracker).getMessageCount(); in setUp()
161 doReturn(1).when(mInboundSmsTracker).getReferenceNumber(); in setUp()
162 doReturn("1234567890").when(mInboundSmsTracker).getAddress(); in setUp()
163 doReturn(1).when(mInboundSmsTracker).getSequenceNumber(); in setUp()
164 doReturn(1).when(mInboundSmsTracker).getIndexOffset(); in setUp()
165 doReturn(-1).when(mInboundSmsTracker).getDestPort(); in setUp()
166 doReturn(mMessageBody).when(mInboundSmsTracker).getMessageBody(); in setUp()
167 doReturn(mSmsPdu).when(mInboundSmsTracker).getPdu(); in setUp()
168 doReturn(mInboundSmsTrackerCV.get("date")).when(mInboundSmsTracker).getTimestamp(); in setUp()
169 doReturn(mInboundSmsTrackerCV).when(mInboundSmsTracker).getContentValues(); in setUp()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java137 doReturn(1).when(mInboundSmsTracker).getMessageCount(); in setUp()
138 doReturn(-1).when(mInboundSmsTracker).getDestPort(); in setUp()
139 doReturn(mInboundSmsTrackerCV).when(mInboundSmsTracker).getContentValues(); in setUp()
140 doReturn(smsPdu).when(mInboundSmsTracker).getPdu(); in setUp()
141 doReturn("This is the message body").when(mInboundSmsTracker).getMessageBody(); in setUp()
142 doReturn("1234567890").when(mInboundSmsTracker).getAddress(); in setUp()
216 doReturn(blockedNumber).when(mInboundSmsTracker).getDisplayAddress(); in testNewSmsFromBlockedNumber_noBroadcastsSent()