Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java73 doReturn(true).when(mWspTypeDecoder).decodeUintvarInteger(anyInt()); in testDispatchWapPdu()
74 doReturn(true).when(mWspTypeDecoder).decodeContentType(anyInt()); in testDispatchWapPdu()
75 doReturn((long)2).when(mWspTypeDecoder).getValue32(); in testDispatchWapPdu()
76 doReturn(2).when(mWspTypeDecoder).getDecodedDataLength(); in testDispatchWapPdu()
77 doReturn(WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO).when(mWspTypeDecoder).getValueString(); in testDispatchWapPdu()
118 assertEquals(mWspTypeDecoder.getContentParameters(), in testDispatchWapPdu()
128 doReturn(true).when(mWspTypeDecoder).decodeUintvarInteger(anyInt()); in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
129 doReturn(true).when(mWspTypeDecoder).decodeContentType(anyInt()); in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
130 doReturn((long) 2).when(mWspTypeDecoder).getValue32(); in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
131 doReturn(2).when(mWspTypeDecoder).getDecodedDataLength(); in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
[all …]
DTelephonyTest.java227 protected WspTypeDecoder mWspTypeDecoder; field in TelephonyTest
514 mWspTypeDecoder = Mockito.mock(WspTypeDecoder.class); in setUp()
662 doReturn(mWspTypeDecoder).when(mTelephonyComponentFactory) in setUp()