/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmAlphabetTest.java | 19 import com.android.internal.telephony.GsmAlphabet; 42 byte[] userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, in test7bitWithHeader() 44 int septetCount = GsmAlphabet.countGsmSeptetsUsingTables(message, true, 0, 0); in test7bitWithHeader() 45 String parsedMessage = GsmAlphabet.gsm7BitPackedToString( in test7bitWithHeader() 55 assertEquals(0, GsmAlphabet.charToGsm('@')); in testBasic() 58 assertEquals(0x7f, GsmAlphabet.charToGsm('\u00e0')); in testBasic() 66 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic() 67 GsmAlphabet.charToGsm(sGsmExtendedChars.charAt(i))); in testBasic() 72 assertEquals(GsmAlphabet.GSM_EXTENDED_ESCAPE, in testBasic() 73 GsmAlphabet.charToGsm('\u20ac')); in testBasic() [all …]
|
D | GsmSmsTest.java | 246 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentText() 281 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); in testFragmentTurkishText() 283 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); in testFragmentTurkishText() 288 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentTurkishText() 337 GsmAlphabet.setEnabledSingleShiftTables(oldTables); in testFragmentTurkishText() 374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle() 375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle() 451 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended() 453 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended() 513 if (c == GsmAlphabet.GSM_EXTENDED_ESCAPE) { in testDecodeExtendedFallback() [all …]
|
D | SmsMessageBodyTest.java | 573 GsmAlphabet.TextEncodingDetails ted = in callGsmLengthMethods() 595 GsmAlphabet.TextEncodingDetails ted = in callCdmaLengthMethods()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 20 import com.android.internal.telephony.GsmAlphabet; 120 byte[] tempData = GsmAlphabet in format() 129 data = GsmAlphabet.stringToGsm8BitPacked(mInData); in format() 194 data = GsmAlphabet.stringToGsm8BitPacked(mLang); in format()
|
D | ValueParser.java | 19 import com.android.internal.telephony.GsmAlphabet; 338 text = GsmAlphabet.gsm7BitPackedToString(rawValue, in retrieveTextString() 341 text = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in retrieveTextString()
|
D | CommandParamsFactory.java | 23 import com.android.internal.telephony.GsmAlphabet; 808 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in processLaunchBrowser()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsMessage.java | 24 import com.android.internal.telephony.GsmAlphabet; 25 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 338 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText() 340 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText() 346 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText() 350 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText() 390 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 21 import com.android.internal.telephony.GsmAlphabet; 61 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
|
D | GsmSmsCbMessage.java | 23 import com.android.internal.telephony.GsmAlphabet; 247 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody() 261 language = GsmAlphabet.gsm7BitPackedToString(pdu, offset, 2); in unpackBody()
|
D | SmsMessage.java | 26 import com.android.internal.telephony.GsmAlphabet; 27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 285 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu() 707 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, in getUserDataGSM7Bit() 725 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); in getUserDataGSM8bit() 797 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
|
D | GsmSMSDispatcher.java | 32 import com.android.internal.telephony.GsmAlphabet; 213 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody, in calculateLength()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 25 import com.android.internal.telephony.GsmAlphabet; 264 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, in adnStringFieldToString() 282 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); in adnStringFieldToString() 371 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets); in networkNameToString()
|
D | AdnRecord.java | 25 import com.android.internal.telephony.GsmAlphabet; 259 byteTag = GsmAlphabet.stringToGsm8BitPacked(mAlphaTag); in buildAdnString()
|
D | RuimRecords.java | 38 import com.android.internal.telephony.GsmAlphabet; 317 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded() 332 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); in onRecordLoaded()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 155 return GsmAlphabet.isGsmSeptets(c) && UserData.charToAscii.get(c, -1) != -1; in noTranslationNeeded() 158 return GsmAlphabet.isGsmSeptets(c); in noTranslationNeeded()
|
D | SmsMessageBase.java | 19 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
D | ImsSMSDispatcher.java | 349 protected GsmAlphabet.TextEncodingDetails calculateLength( in calculateLength()
|
D | SMSDispatcher.java | 67 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsMessage.java | 21 import com.android.internal.telephony.GsmAlphabet; 198 GsmAlphabet.TextEncodingDetails ted = in calculateLength()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 32 import com.android.internal.telephony.GsmAlphabet; 181 protected GsmAlphabet.TextEncodingDetails calculateLength(CharSequence messageBody, in calculateLength()
|
D | SmsMessage.java | 31 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | GsmAlphabet.java | 40 public class GsmAlphabet { class 43 private GsmAlphabet() { } in GsmAlphabet() method in GsmAlphabet 834 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0);
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 40 import com.android.internal.telephony.GsmAlphabet; 484 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 27 import com.android.internal.telephony.GsmAlphabet; 241 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 26 import com.android.internal.telephony.GsmAlphabet; 27 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 558 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0); in encode7bitGsm() 1096 String result = GsmAlphabet.gsm7BitPackedToString(data, offset, numFields, paddingBits, in decode7bitGsm()
|