/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 | 250 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentText() 285 int[] oldTables = GsmAlphabet.getEnabledSingleShiftTables(); in testFragmentTurkishText() 287 GsmAlphabet.setEnabledSingleShiftTables(turkishTable); in testFragmentTurkishText() 292 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); in testFragmentTurkishText() 341 GsmAlphabet.setEnabledSingleShiftTables(oldTables); in testFragmentTurkishText() 378 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle() 379 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle() 455 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended() 457 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended() 517 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 | 24 import com.android.internal.telephony.GsmAlphabet; 839 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue, in processLaunchBrowser() 1079 desiredLanguage = GsmAlphabet.gsm8BitUnpackedToString(rawValue, valueIndex, 2); in processLanguageNotification()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 22 import com.android.internal.telephony.GsmAlphabet; 62 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
|
D | GsmSmsCbMessage.java | 32 import com.android.internal.telephony.GsmAlphabet; 269 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); in unpackBody() 283 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; 374 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu() 824 ret = GsmAlphabet.gsm7BitPackedToString(mPdu, mCur, septetCount, in getUserDataGSM7Bit() 842 ret = GsmAlphabet.gsm8BitUnpackedToString(mPdu, mCur, byteCount); in getUserDataGSM8bit() 914 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 27 import com.android.internal.telephony.GsmAlphabet; 28 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails; 385 udhLength = GsmAlphabet.UDH_SEPTET_COST_TWO_SHIFT_TABLES; in fragmentText() 387 udhLength = GsmAlphabet.UDH_SEPTET_COST_ONE_SHIFT_TABLE; in fragmentText() 393 udhLength += GsmAlphabet.UDH_SEPTET_COST_CONCATENATED_MESSAGE; in fragmentText() 397 udhLength += GsmAlphabet.UDH_SEPTET_COST_LENGTH; in fragmentText() 437 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
|
/frameworks/base/telephony/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 | GsmAlphabet.java | 40 public class GsmAlphabet { class 43 private GsmAlphabet() { } in GsmAlphabet() method in GsmAlphabet 834 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0);
|
D | SmsMessageBase.java | 19 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 25 import com.android.internal.telephony.GsmAlphabet; 328 ret.append(GsmAlphabet.gsm8BitUnpackedToString(data, in adnStringFieldToString() 346 return GsmAlphabet.gsm8BitUnpackedToString(data, offset, length, defaultCharset.trim()); in adnStringFieldToString() 435 ret = GsmAlphabet.gsm7BitPackedToString(data, offset + 1, countSeptets); in networkNameToString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 25 import com.android.internal.telephony.GsmAlphabet; 244 byteTag = !TextUtils.isEmpty(mAlphaTag) ? GsmAlphabet.stringToGsm8BitPacked(mAlphaTag) in buildAdnString()
|
D | RuimRecords.java | 34 import com.android.internal.telephony.GsmAlphabet; 321 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded() 336 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); in onRecordLoaded()
|
/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/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 41 import com.android.internal.telephony.GsmAlphabet; 482 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSMSDispatcher.java | 33 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
D | SmsMessageConverter.java | 32 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSMSDispatcher.java | 26 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ImsSmsDispatcher.java | 34 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 28 import com.android.internal.telephony.GsmAlphabet; 237 byte[] encodedBody = GsmAlphabet.stringToGsm7BitPacked(body); in encodeBody()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
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()
|
D | SmsMessage.java | 31 import com.android.internal.telephony.GsmAlphabet.TextEncodingDetails;
|