Lines Matching refs:msgType
110 int msgType = TYPE_SMS;
355 int msgType = 0;
356 if (fi.msgType == FilterInfo.TYPE_SMS) {
357 msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
358 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
359 msgType = c.getInt(c.getColumnIndex(Mms.MESSAGE_BOX));
362 if (msgType == 2) {
375 if (fi.msgType == FilterInfo.TYPE_SMS) {
377 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
410 if (fi.msgType == FilterInfo.TYPE_MMS) {
422 if (fi.msgType == FilterInfo.TYPE_SMS) {
424 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
456 if (fi.msgType == FilterInfo.TYPE_SMS) {
459 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
471 if (fi.msgType == FilterInfo.TYPE_SMS) {
477 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
489 if (fi.msgType == FilterInfo.TYPE_SMS) {
490 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
491 if (msgType == 1) {
496 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
509 if (fi.msgType == FilterInfo.TYPE_SMS) {
510 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
511 if (msgType != 1) {
517 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
531 if (fi.msgType == FilterInfo.TYPE_SMS) {
532 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
533 if (msgType == 1) {
538 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
551 if (fi.msgType == FilterInfo.TYPE_SMS) {
552 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
553 if (msgType == 1) {
559 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
573 if (fi.msgType == FilterInfo.TYPE_SMS) {
575 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
620 if (fi.msgType == FilterInfo.TYPE_SMS) {
622 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
643 if (fi.msgType == FilterInfo.TYPE_SMS) {
649 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
742 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
743 if (msgType == 1) {
784 if (fi.msgType == FilterInfo.TYPE_SMS) {
786 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
789 if (D) Log.d(TAG, "Unknown msg type: " + fi.msgType);
823 int msgType = c.getInt(c.getColumnIndex(Sms.TYPE));
824 if (msgType == 1) {
865 if (fi.msgType == FilterInfo.TYPE_SMS) {
867 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
870 Log.d(TAG, "Unknown msg type: " + fi.msgType);
931 if (fi.msgType == FilterInfo.TYPE_SMS) {
933 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
958 if (fi.msgType == FilterInfo.TYPE_SMS) {
960 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
966 if (fi.msgType == FilterInfo.TYPE_SMS) {
968 } else if (fi.msgType == FilterInfo.TYPE_MMS) {
1106 int msgType = ap.getFilterMessageType();
1109 if (msgType == -1)
1111 if ((msgType & 0x03) == 0)
1114 if (((msgType & 0x01) == 0) && (phoneType == TelephonyManager.PHONE_TYPE_GSM))
1117 if (((msgType & 0x02) == 0) && (phoneType == TelephonyManager.PHONE_TYPE_CDMA))
1124 int msgType = ap.getFilterMessageType();
1126 if (msgType == -1)
1129 if ((msgType & 0x08) == 0)
1157 fi.msgType = FilterInfo.TYPE_SMS;
1177 fi.msgType = FilterInfo.TYPE_MMS;
1213 fi.msgType = FilterInfo.TYPE_SMS;
1225 fi.msgType = FilterInfo.TYPE_MMS;
1254 fi.msgType = FilterInfo.TYPE_SMS;
1268 fi.msgType = FilterInfo.TYPE_MMS;