Searched refs:udhLength (Results 1 – 3 of 3) sorted by relevance
385 int udhLength = 0; in fillData() local387 udhLength = UDH_SEPTET_COST_LENGTH; in fillData()389 udhLength += UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fillData()391 udhLength += UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fillData()395 if (pair.length > (SmsConstants.MAX_USER_DATA_SEPTETS - udhLength)) { in fillData()396 if (udhLength == 0) { in fillData()397 udhLength = UDH_SEPTET_COST_LENGTH; in fillData()399 udhLength += UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fillData()400 int septetsPerPart = SmsConstants.MAX_USER_DATA_SEPTETS - udhLength; in fillData()402 numSeptetsWithHeader = udhLength * msgCount + pair.length; in fillData()[all …]
941 int udhLength;943 udhLength = UDH_SEPTET_COST_LENGTH + UDH_SEPTET_COST_TWO_SHIFT_TABLES;945 udhLength = UDH_SEPTET_COST_LENGTH + UDH_SEPTET_COST_ONE_SHIFT_TABLE;947 udhLength = 0;951 if (septets + udhLength > SmsConstants.MAX_USER_DATA_SEPTETS) {952 if (udhLength == 0) {953 udhLength = UDH_SEPTET_COST_LENGTH;955 udhLength += UDH_SEPTET_COST_CONCATENATED_MESSAGE;956 int septetsPerMessage = SmsConstants.MAX_USER_DATA_SEPTETS - udhLength;961 septetsRemaining = SmsConstants.MAX_USER_DATA_SEPTETS - udhLength - septets;
436 int udhLength; in fragmentText() local438 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText()440 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText()442 udhLength = 0; in fragmentText()446 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText()449 if (udhLength != 0) { in fragmentText()450 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText()453 limit = SmsConstants.MAX_USER_DATA_SEPTETS - udhLength; in fragmentText()