Home
last modified time | relevance | path

Searched refs:WspTypeDecoder (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java19 import com.android.internal.telephony.WspTypeDecoder;
225 WspTypeDecoder unit = new WspTypeDecoder( in testWellKnownShortIntegerMimeTypeValues()
245 WspTypeDecoder unit = new WspTypeDecoder(data); in testWellKnownLongIntegerMimeTypeValues()
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testConstrainedMediaExtensionMedia()
286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthExtensionMedia()
301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownShortInteger()
317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownShortIntegerWithUnknownValue()
336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownLongInteger()
355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testGeneralFormShortLengthWellKnownLongIntegerWithUnknownValue()
[all …]
DWapPushOverSmsTest.java76 doReturn(WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO).when(mWspTypeDecoder).getValueString(); in testDispatchWapPdu()
127 doReturn(WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO).when(mWspTypeDecoder).getValueString(); in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
DTelephonyTest.java138 protected WspTypeDecoder mWspTypeDecoder;
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java32 import com.android.internal.telephony.WspTypeDecoder;
1866 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder1()
1894 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder2()
1916 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder3()
1963 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder4()
1988 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder5()
2020 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder6()
2051 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder7()
2079 if ((pduType != WspTypeDecoder.PDU_TYPE_PUSH) && in dispatchWapPdu()
2080 (pduType != WspTypeDecoder.PDU_TYPE_CONFIRMED_PUSH)) { in dispatchWapPdu()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java178 if ((pduType != WspTypeDecoder.PDU_TYPE_PUSH) && in decodeWapPdu()
179 (pduType != WspTypeDecoder.PDU_TYPE_CONFIRMED_PUSH)) { in decodeWapPdu()
190 if ((pduType != WspTypeDecoder.PDU_TYPE_PUSH) in decodeWapPdu()
191 && (pduType != WspTypeDecoder.PDU_TYPE_CONFIRMED_PUSH)) { in decodeWapPdu()
203 WspTypeDecoder pduDecoder = in decodeWapPdu()
249 if (mimeType != null && mimeType.equals(WspTypeDecoder.CONTENT_TYPE_B_PUSH_CO)) { in decodeWapPdu()
426 && WspTypeDecoder.CONTENT_TYPE_B_MMS.equals(result.mimeType); in isWapPushForMms()
601 if (WspTypeDecoder.CONTENT_TYPE_B_MMS.equals(mimeType)) { in getPermissionForType()
611 if (WspTypeDecoder.CONTENT_TYPE_B_MMS.equals(mimeType)) { in getAppOpsPermissionForIntent()
DTelephonyComponentFactory.java96 public WspTypeDecoder makeWspTypeDecoder(byte[] pdu) { in makeWspTypeDecoder()
97 return new WspTypeDecoder(pdu); in makeWspTypeDecoder()
DWspTypeDecoder.java26 public class WspTypeDecoder { class
206 public WspTypeDecoder(byte[] pdu) { in WspTypeDecoder() method in WspTypeDecoder
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java37 import com.android.internal.telephony.WspTypeDecoder;
329 WspTypeDecoder pduDecoder = new WspTypeDecoder(omaPdu); in checkDuplicatePortOmadmWapPush()
345 return (WspTypeDecoder.CONTENT_TYPE_B_PUSH_SYNCML_NOTI.equals(mimeType)); in checkDuplicatePortOmadmWapPush()