Home | History | Annotate | Download | only in gsm

Lines Matching refs:mncLength

215         mncLength = UNINITIALIZED;
501 if (mncLength == UNINITIALIZED || mncLength == UNKNOWN) {
502 Log.d(LOG_TAG, "getSIMOperatorNumeric: bad mncLength");
508 return imsi.substring(0, 3 + mncLength);
551 if (((mncLength == UNKNOWN) || (mncLength == 2)) &&
556 mncLength = 3;
562 if (mncLength == UNKNOWN) {
567 mncLength = MccTable.smallestDigitsMccForMnc(mcc);
569 mncLength = UNKNOWN;
574 if (mncLength != UNKNOWN && mncLength != UNINITIALIZED) {
575 // finally have both the imsi and the mncLength and can parse the imsi properly
576 MccTable.updateMccMncConfiguration(phone, imsi.substring(0, 3 + mncLength));
807 mncLength = (int)data[3] & 0xf;
809 if (mncLength == 0xf) {
810 mncLength = UNKNOWN;
813 if (((mncLength == UNINITIALIZED) || (mncLength == UNKNOWN) ||
814 (mncLength == 2)) && ((imsi != null) && (imsi.length() >= 6))) {
818 mncLength = 3;
824 if (mncLength == UNKNOWN || mncLength == UNINITIALIZED) {
829 mncLength = MccTable.smallestDigitsMccForMnc(mcc);
831 mncLength = UNKNOWN;
836 mncLength = UNKNOWN;
841 if (imsi != null && mncLength != UNKNOWN) {
844 MccTable.updateMccMncConfiguration(phone, imsi.substring(0, 3 + mncLength));